全局样式
This commit is contained in:
@@ -2,4 +2,5 @@
|
|||||||
+ 原生APP云打包使用自有证书
|
+ 原生APP云打包使用自有证书
|
||||||
+ 证书别名:testalias
|
+ 证书别名:testalias
|
||||||
+ 当前应用版本名称1.0.4
|
+ 当前应用版本名称1.0.4
|
||||||
+ 当前应用版本号104
|
+ 当前应用版本号104
|
||||||
|
+ 线上菜单接口地址:(https://apifox.com/apidoc/shared-cb4996b0-0426-44a6-82a5-0cefe2540fb9/api-152616802)
|
||||||
@@ -296,25 +296,29 @@ uni-button:after {
|
|||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
line-height: 73rpx;
|
line-height: 73rpx;
|
||||||
border-radius: 10rpx;
|
border-radius: 10rpx;
|
||||||
|
border-width: 2rpx;
|
||||||
|
border-style: solid;
|
||||||
}
|
}
|
||||||
.btn-default {
|
.btn-default {
|
||||||
color: #ff6800;
|
color: #ff6800;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border: 1px solid #ff9856;
|
border-color: #ff791a;
|
||||||
}
|
}
|
||||||
.btn-success {
|
.btn-success {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 1px solid #ff9856;
|
border-color: #ff791a;
|
||||||
background: linear-gradient(-45deg, #ff6800, #ff9856);
|
// background: linear-gradient(-45deg, #ff6800, #ff9856);
|
||||||
|
// background: linear-gradient(90deg,#ff791a,#ffa400)
|
||||||
|
background: #ff791a;
|
||||||
}
|
}
|
||||||
.btn-info {
|
.btn-info {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 1px solid #c9c9c9;
|
border-color: #c9c9c9;
|
||||||
background-color: #c9c9c9;
|
background-color: #c9c9c9;
|
||||||
}
|
}
|
||||||
uni-button[disabled]:not([type]) {
|
uni-button[disabled]:not([type]) {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
border: 1px solid #c9c9c9;
|
border-color: #c9c9c9;
|
||||||
background-color: #c9c9c9;
|
background-color: #c9c9c9;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
$red = #D7592F
|
$red = #D7592F
|
||||||
$red1 = #ff6800
|
$red1 = #ff6800
|
||||||
$red2 = #ff8227
|
$red2 = #ff9856
|
||||||
$red3 = #ff9856
|
$red3 = #ff6a00
|
||||||
$red4 = #ff6800
|
|
||||||
$green = #6CBE8B
|
$green = #6CBE8B
|
||||||
$yellow = #E9B451
|
$yellow = #E9B451
|
||||||
$blue = #6798ef
|
$blue = #6798ef
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
position fixed
|
position fixed
|
||||||
_wh(100%, calc(var(--status-bar-height) + 88rpx))
|
_wh(100%, calc(var(--status-bar-height) + 88rpx))
|
||||||
background-color $red
|
background-color $red
|
||||||
background linear-gradient(to bottom, $red1, $red2)
|
background linear-gradient(90deg, $red1, $red2)
|
||||||
z-index 200
|
z-index 200
|
||||||
padding var(--status-bar-height) 20rpx 0 20rpx
|
padding var(--status-bar-height) 20rpx 0 20rpx
|
||||||
.page_name
|
.page_name
|
||||||
|
|||||||
@@ -43,8 +43,8 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// import {authority} from '@/utils/getData2.js'
|
import {authority} from '@/utils/getData2.js'
|
||||||
import {authority} from '@/utils/mork2.js'
|
// import {authority} from '@/utils/mork2.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@@ -67,9 +67,17 @@
|
|||||||
methods: {
|
methods: {
|
||||||
async _authority () {
|
async _authority () {
|
||||||
let res = await authority()
|
let res = await authority()
|
||||||
this.menuList1 = [...res.result.sonTree1]
|
if (res.code === '1') {
|
||||||
this.menuList2 = [...res.result.sonTree2]
|
this.menuList1 = [...res.result.rf_menu0]
|
||||||
this.menuList = [...this.menuList1]
|
this.menuList2 = [...res.result.rf_menu1]
|
||||||
|
this.menuList = [...this.menuList1]
|
||||||
|
} else {
|
||||||
|
uni.showToast({
|
||||||
|
title: res.desc,
|
||||||
|
icon: 'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
changeTab (type) {
|
changeTab (type) {
|
||||||
if (type === 1) {
|
if (type === 1) {
|
||||||
@@ -120,7 +128,7 @@
|
|||||||
.userInfo_wrap
|
.userInfo_wrap
|
||||||
_wh(100%,173rpx)
|
_wh(100%,173rpx)
|
||||||
padding 0 30rpx
|
padding 0 30rpx
|
||||||
background linear-gradient(to bottom, $red1, $red3)
|
background linear-gradient(to bottom, $red1, $red2)
|
||||||
border-radius 12rpx
|
border-radius 12rpx
|
||||||
margin-bottom 68rpx
|
margin-bottom 68rpx
|
||||||
.userInfo_content
|
.userInfo_content
|
||||||
|
|||||||
@@ -171,7 +171,7 @@
|
|||||||
_font(28rpx, 28rpx,#333)
|
_font(28rpx, 28rpx,#333)
|
||||||
padding-left: 10rpx
|
padding-left: 10rpx
|
||||||
.setup-text
|
.setup-text
|
||||||
_font(28rpx, 28rpx,$red4,,right)
|
_font(28rpx, 28rpx,$red3,,right)
|
||||||
padding-left 25rpx
|
padding-left 25rpx
|
||||||
.bg
|
.bg
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
@@ -180,7 +180,7 @@
|
|||||||
width 100%
|
width 100%
|
||||||
border-radius 46rpx
|
border-radius 46rpx
|
||||||
_font(36rpx,92rpx,#fff,,center)
|
_font(36rpx,92rpx,#fff,,center)
|
||||||
background linear-gradient(45deg, $red1, $red3)
|
background linear-gradient(45deg, $red1, $red2)
|
||||||
.zd_content
|
.zd_content
|
||||||
position: relative
|
position: relative
|
||||||
height: 100%
|
height: 100%
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ export const authority = () => {
|
|||||||
let res = {
|
let res = {
|
||||||
code: '1',
|
code: '1',
|
||||||
result: {
|
result: {
|
||||||
sonTree1: [
|
rf_menu0: [
|
||||||
{menu_id: '1', path: 'RF01', title: '生产管理', sonTree: [
|
{menu_id: '1', path: 'RF01', title: '生产管理', sonTree: [
|
||||||
{menu_id: '1', title: '生箔生产进度', path: '/pages/ProductManage/SboProdProgress'},
|
{menu_id: '1', title: '生箔生产进度', path: '/pages/ProductManage/SboProdProgress'},
|
||||||
{menu_id: '2', title: '生箔工序', path: '/pages/ProductManage/SboProcess'},
|
{menu_id: '2', title: '生箔工序', path: '/pages/ProductManage/SboProcess'},
|
||||||
@@ -52,7 +52,7 @@ export const authority = () => {
|
|||||||
{menu_id: '2', title: 'RGV状态查询', path: '/pages/DispatchManage/RGVStatus'}
|
{menu_id: '2', title: 'RGV状态查询', path: '/pages/DispatchManage/RGVStatus'}
|
||||||
]}
|
]}
|
||||||
],
|
],
|
||||||
sonTree2: [
|
rf_menu1: [
|
||||||
{menu_id: '1', path: 'RF08', title: '载具入库', sonTree: [
|
{menu_id: '1', path: 'RF08', title: '载具入库', sonTree: [
|
||||||
{menu_id: '1', title: '空载具入库', path: '/pages/SecondPhase/EmptyVehicleInStore'}
|
{menu_id: '1', title: '空载具入库', path: '/pages/SecondPhase/EmptyVehicleInStore'}
|
||||||
]},
|
]},
|
||||||
|
|||||||
Reference in New Issue
Block a user