全局样式

This commit is contained in:
2024-03-25 13:31:38 +08:00
parent c8d62ffb1f
commit 5d911a5e02
7 changed files with 32 additions and 20 deletions

View File

@@ -43,8 +43,8 @@
</template>
<script>
// import {authority} from '@/utils/getData2.js'
import {authority} from '@/utils/mork2.js'
import {authority} from '@/utils/getData2.js'
// import {authority} from '@/utils/mork2.js'
export default {
data() {
return {
@@ -67,9 +67,17 @@
methods: {
async _authority () {
let res = await authority()
this.menuList1 = [...res.result.sonTree1]
this.menuList2 = [...res.result.sonTree2]
this.menuList = [...this.menuList1]
if (res.code === '1') {
this.menuList1 = [...res.result.rf_menu0]
this.menuList2 = [...res.result.rf_menu1]
this.menuList = [...this.menuList1]
} else {
uni.showToast({
title: res.desc,
icon: 'none'
})
}
},
changeTab (type) {
if (type === 1) {
@@ -120,7 +128,7 @@
.userInfo_wrap
_wh(100%,173rpx)
padding 0 30rpx
background linear-gradient(to bottom, $red1, $red3)
background linear-gradient(to bottom, $red1, $red2)
border-radius 12rpx
margin-bottom 68rpx
.userInfo_content

View File

@@ -171,7 +171,7 @@
_font(28rpx, 28rpx,#333)
padding-left: 10rpx
.setup-text
_font(28rpx, 28rpx,$red4,,right)
_font(28rpx, 28rpx,$red3,,right)
padding-left 25rpx
.bg
background-color: #fff;
@@ -180,7 +180,7 @@
width 100%
border-radius 46rpx
_font(36rpx,92rpx,#fff,,center)
background linear-gradient(45deg, $red1, $red3)
background linear-gradient(45deg, $red1, $red2)
.zd_content
position: relative
height: 100%