全局样式

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