首页安卓app下载二维码

This commit is contained in:
曹前明 2022-08-08 11:16:20 +08:00
parent 708a3e42a5
commit fdbcd2c634
3 changed files with 16 additions and 1 deletions

View File

@ -8,6 +8,7 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
VUE_APP_WS_API = 'ws://localhost:8000'
VUE_APP_API_BASEURL = http://127.0.0.1:8000/api
VUE_APP_BASEURL = http://127.0.0.1:8000
# 本地端口
VUE_APP_PORT = 2800

View File

@ -6,3 +6,4 @@ VUE_APP_TITLE = '曲阳金隅安全智能管控平台'
# 接口地址
VUE_APP_API_BASEURL = http://1.203.161.103:2800/api
VUE_APP_BASEURL = http://127.0.0.1:8000

View File

@ -38,6 +38,9 @@
<el-button type="success" icon="sc-icon-wechat" circle @click="wechatLogin"></el-button>
</div>
-->
<div class="login-oauth">
<el-button type="success" @click="appDown">安卓APP</el-button>
</div>
</div>
</div>
</div>
@ -50,6 +53,11 @@
</div>
</div>
</el-dialog>
<el-dialog v-model="showApp" title="安卓APP下载" :width="400" destroy-on-close>
<div class="qrCodeLogin">
<sc-qr-code class="qrCode" :size="200" :text="appUrl"></sc-qr-code>
</div>
</el-dialog>
</template>
<script>
@ -79,7 +87,9 @@
],
WechatLoginCode: "",
showWechatLogin: false,
isWechatLoginResult: false
isWechatLoginResult: false,
showApp: false,
appUrl: process.env.VUE_APP_BASEURL + '/media/zc_ehs.apk'
}
},
watch:{
@ -109,6 +119,9 @@
console.log('%c SCUI %c Gitee: https://gitee.com/lolicode/scui', 'background:#666;color:#fff;border-radius:3px;', '')
},
methods: {
appDown() {
this.showApp = true;
},
configDark(){
this.config.dark = this.config.dark ? false : true
},