| | |
| | | |
| | | |
| | | <link rel="stylesheet" href="../css/global.css" type="text/css" charset="utf-8" /> |
| | | <script type="text/javascript" src="../../js/global.js"></script> |
| | | |
| | | </head> |
| | | <body> |
| | |
| | | |
| | | <van-nav-bar title="工作台" @click-right="onClickRight"> |
| | | <template #right> |
| | | <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" |
| | | trigger="click" :actions="actions" @select="onSelect"> |
| | | <van-popover placement="bottom-end" :offset="[13,8]" v-model="showPopover" trigger="click" |
| | | :actions="actions" @select="onSelect"> |
| | | <template #reference> |
| | | <van-icon name="bars" size='20' color='#fff' /> |
| | | </template> |
| | |
| | | url = '../sbgl/dqby.html' |
| | | break; |
| | | case '2042': |
| | | url = '../sbgl/sbwx.html' |
| | | url = '../sbgl/wxsq.html' |
| | | break; |
| | | case '2043': |
| | | url = '../sbgl/sbwx.html' |
| | | break; |
| | | case '2044': |
| | | url = '../sbgl/wxyz.html' |
| | | break; |
| | | } |
| | |
| | | }, |
| | | // 顶部右图标下拉选择 |
| | | onSelect(action) { |
| | | vant.Toast(action.text); |
| | | if (action.text === '操作指导') { |
| | | topPopoverClick('操作指导') |
| | | } else if (action.text === '成品追溯') { |
| | | topPopoverClick('成品追溯') |
| | | } else if (action.text === '退出登录') { |
| | | topPopoverClick('退出登录') |
| | | } |
| | | this.overlayShow = false |
| | | }, |
| | | } |
| | |
| | | } |
| | | |
| | | .body { |
| | | /* width: 96%; */ |
| | | height: 600px; |
| | | background-color: grey; |
| | | margin-top: 0px; |
| | | /* margin-left: 2%; */ |
| | | background-color: #fff; |
| | | position: relative; |
| | | /* display: flex; |
| | | justify-content: center; |
| | | align-items: flex-start; */ |
| | | |
| | | } |
| | | |
| | | .van-nav-bar__content { |
| | | background-color: #2651d8; |
| | | /* background-color: #25a4ff; */ |
| | | height: 44px; |
| | | } |
| | | |