| | |
| | | <template v-if="device!=='mobile'"> |
| | | <screenfull class="right-menu-item hover-effect" /> |
| | | </template> |
| | | <span v-if="appShow" style="color: white" @click="downApp">APP下载</span> |
| | | <!-- <span v-if="appShow" style="color: white" @click="downApp">APP下载</span>--> |
| | | <!-- <el-popover--> |
| | | <!-- placement="right"--> |
| | | <!-- trigger="hover">--> |
| | |
| | | </el-dropdown> |
| | | </div> |
| | | |
| | | <el-dialog :visible.sync="appDialogVisible" |
| | | :modal-append-to-body="false" :close-on-click-modal="false" |
| | | width="320px" |
| | | title="监管APP安卓版浏览器扫码下载"> |
| | | <div id="appcode" style="height: 200px;width: 200px"/> |
| | | </el-dialog> |
| | | <!-- <el-dialog :visible.sync="appDialogVisible"--> |
| | | <!-- :modal-append-to-body="false" :close-on-click-modal="false"--> |
| | | <!-- width="320px"--> |
| | | <!-- title="APP安卓版浏览器扫码下载">--> |
| | | <!-- <div id="appcode" style="height: 200px;width: 200px"/>--> |
| | | <!-- </el-dialog>--> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | prefixUrl:process.env.IMG_API, |
| | | warnBJList: [], |
| | | warnBJVisible: false, |
| | | pageSize: 10, |
| | |
| | | methods: { |
| | | getAppCode(){ |
| | | const roles = this.roles |
| | | for (let role in roles){ |
| | | if(roles[role].name == '生产企业' || |
| | | roles[role].name == '销售企业'){ |
| | | this.appShow = false; |
| | | } |
| | | } |
| | | // for (let role in roles){ |
| | | // if(roles[role].name == '生产企业' || |
| | | // roles[role].name == '销售企业'){ |
| | | // this.appShow = false; |
| | | // } |
| | | // } |
| | | const _this = this |
| | | const params = {} |
| | | params['filetype'] = "监管" |
| | | params['filetype'] = "众泰APP" |
| | | newAppFile(params).then(response => { |
| | | const res = response.data; |
| | | if (res.code == 200) { |
| | | const result = res.result; |
| | | _this.appCode = result.fileurl |
| | | _this.appCode = this.prefixUrl + result.fileurl |
| | | } |
| | | }).catch(error => { |
| | | }) |
| | |
| | | </script> |
| | | <style rel="stylesheet/scss" lang="scss" scoped> |
| | | .navbar { |
| | | height: 60px; |
| | | height: 80px; |
| | | position: fixed; |
| | | z-index: 1000; |
| | | width: 100%; |
| | | background-color: rgba(3,78,162,1);; |
| | | overflow: hidden; |
| | | box-shadow: 0 3px 8px rgba(3,78,162,.6); |
| | | |
| | | .hamburger-container { |
| | | line-height: 46px; |
| | | height: 100%; |
| | |
| | | .right-menu { |
| | | float: right; |
| | | height: 100%; |
| | | line-height: 50px; |
| | | line-height: 80px; |
| | | |
| | | &:focus { |
| | | outline: none; |
| | |
| | | margin-right: 30px; |
| | | |
| | | .avatar-wrapper { |
| | | margin-top: 5px; |
| | | position: relative; |
| | | |
| | | .user-avatar { |