Commit 43d2ed84 authored by xiejb's avatar xiejb

添加w二维码

parent d144b900
......@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
<title>上药ERP</title>
<title>上药移动</title>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=2.0&key=061c2a328572b71e2b26d9dc1a0cc703&plugin=AMap.GraspRoad"></script>
</head>
<body>
......
......@@ -6,6 +6,7 @@
</div>
</van-notice-bar> -->
<div class="head" v-if="isShowNoticeBar">
<!-- <div style="width:100%;height:100%;"></div> -->
<div class="headTitle">
请点击右上角按钮,使用默认浏览器打开本页面!
</div>
......@@ -14,12 +15,14 @@
</div>
</div>
<div class="customEmpty" :image="sphImage"
:style="{backgroundImage: 'url(' + bagImage + ')' }" style="background-repeat: no-repeat">
:style="{backgroundImage: 'url(' + bagImage + ')' }" style="background-repeat: no-repeat;background-size: contain;">
<img class='subImg' :src="sphImage"/>
<div class="subTitle">上药移动APP</div>
<van-button @click="versionUpdateHttpAction('42')" round type="info" class="bottom-button">iOS版下载({{this.iosInfo.title}})</van-button>
<van-button @click="versionUpdateHttpAction('43')" round type="info" style="margin-top: 10px" class="bottom-button">Android下载({{this.androidInfo.title}})</van-button>
<div class="updateTime">版本:{{versionNumber}}</div>
<div class="updateTime">更新时间:2021-04-30</div>
<img class='qrImg' :src="qrImage"/>
<!-- <van-button @click="versionUpdateHttpAction('42')" round type="info" class="bottom-button">iOS版下载(V.{{this.iosInfo.title}})</van-button> -->
<!-- <van-button @click="versionUpdateHttpAction('43')" round type="info" style="margin-top: 10px" class="bottom-button">Android下载(V.{{this.androidInfo.title}})</van-button> -->
</div>
</div>
</template>
......@@ -43,7 +46,9 @@ export default {
iosInfo: {},
guideImage: require('@/assets/img/guide.png'),
sphImage: require('@/assets/img/icon_sph.png'),
bagImage: require('@/assets/img/bagImage.png')
bagImage: require('@/assets/img/bagImage.png'),
qrImage: require('@/assets/img/qrImage.png'),
versionNumber: ''
}
},
computed: {
......@@ -84,8 +89,8 @@ export default {
// this.moreSearchShow = true
this.getJudgeBrowserAction()
// this.tabsTitleData()
this.versionUpdateHttpAction('42',true) // ios
this.versionUpdateHttpAction('43',true) // android
// this.versionUpdateHttpAction('42',true) // ios
// this.versionUpdateHttpAction('43',true) // android
},
destroyed() {
},
......@@ -131,7 +136,7 @@ export default {
if (browser.versions.Safari) {
this.activeTab = this.activeTab + '/Safari'
// window.location.href = 'https://www.baidu.com/'
this.versionUpdateHttpAction('42')
this.versionUpdateHttpAction('42',true)
}
}
if (browser.versions.android) {
......@@ -140,7 +145,7 @@ export default {
this.isShowNoticeBar = true
} else {
this.activeTab = this.activeTab + '/android'
this.versionUpdateHttpAction('43')
this.versionUpdateHttpAction('43',true)
}
}
}
......@@ -167,9 +172,11 @@ export default {
// ios
if (type === '42') {
this.iosInfo = rt.list[0]
this.versionNumber = this.iosInfo.title
// android
} else if (type === '43') {
this.androidInfo = rt.list[0]
this.versionNumber = this.androidInfo.title
}
if(!isFirst) {
window.location.href = rt.list[0].comments
......@@ -216,19 +223,22 @@ export default {
height: 100%;
overflow-x: hidden;
overflow-y: auto;
background-color: #FFFFFF;
background-color: #F5F5F5;
.head {
height: 100px;
height: 80px;
width: 100%;
background-color: #343434;
display: flex;
padding: 10px;
// position: absolute;
// opacity: 0.2;
// background: transparent;
.headTitle {
color: #737172;
width: 90%;
font-size: 18px;
font-size: 16px;
font-weight: 600;
line-height: 28px;
margin: auto;
......@@ -247,7 +257,11 @@ export default {
flex-direction: column;
//text-align: center;
}
.updateTime{
color: #999999;
font-size: 15px;
margin-top: 5px;
}
.subTitle {
padding: 5px;
color: #333333;
......@@ -260,10 +274,16 @@ export default {
width:80px;
height:80px;
display: block;
margin-top:30%;
margin-top:25%;
border-radius: 8px;
}
.qrImg{
width:180px;
height:180px;
display: block;
margin-top:25px;
border-radius: 8px;
}
.bottom-button {
width: 50%;
margin-top:50px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment