Commit 665c8da4 authored by xiejb's avatar xiejb

安装 按钮样式调整

parent 4a0000f6
......@@ -17,12 +17,12 @@
<div class="customEmpty" :image="sphImage"
:style="{backgroundImage: 'url(' + bagImage + ')' }" style="background-repeat: no-repeat;background-size: contain;">
<img class='subImg' :src="sphImage"/>
<div class="subTitle">上药移动APP</div>
<div class="subTitle">上药移动</div>
<div class="updateTime">
<span style="margin-right: 10px;">版本:{{versionNumber}}</span> |
<span style="margin-left: 10px;">大小:28 MB</span>
</div>
<div class="updateTime">更新时间:2021-03-10</div>
<div class="updateTime">更新时间:{{updateonTime}}</div>
<img class='qrImg' :src="qrImage"/>
<van-button @click="getJudgeBrowserAction()" round type="info" class="bottom-button">安 装</van-button>
<!-- <van-button @click="versionUpdateHttpAction('42')" round type="info" class="bottom-button">iOS版下载(V.{{this.iosInfo.title}})</van-button> -->
......@@ -52,7 +52,8 @@ export default {
sphImage: require('@/assets/img/icon_sph.png'),
bagImage: require('@/assets/img/bagImage.png'),
qrImage: require('@/assets/img/qrImage.png'),
versionNumber: ''
versionNumber: '',
updateonTime: ''
}
},
computed: {
......@@ -140,7 +141,7 @@ export default {
if (browser.versions.Safari) {
this.activeTab = this.activeTab + '/Safari'
// window.location.href = 'https://www.baidu.com/'
this.versionUpdateHttpAction('42',true)
this.versionUpdateHttpAction('42',false)
}
}
if (browser.versions.android) {
......@@ -149,7 +150,7 @@ export default {
this.isShowNoticeBar = true
} else {
this.activeTab = this.activeTab + '/android'
this.versionUpdateHttpAction('43',true)
this.versionUpdateHttpAction('43',false)
}
}
}
......@@ -177,10 +178,12 @@ export default {
if (type === '42') {
this.iosInfo = rt.list[0]
this.versionNumber = this.iosInfo.title
this.updateonTime = this.iosInfo.updateon
// android
} else if (type === '43') {
this.androidInfo = rt.list[0]
this.versionNumber = this.androidInfo.title
this.updateonTime = this.androidInfo.updateon
}
if(!isFirst) {
window.location.href = rt.list[0].comments
......@@ -282,18 +285,22 @@ export default {
border-radius: 8px;
}
.qrImg{
width:180px;
height:180px;
width:120px;
height:120px;
display: block;
margin-top:40px;
border-radius: 8px;
}
.bottom-button {
width: 50%;
margin-top:50px;
width: 45%;
margin-top:40px;
background-color: #1989fa;
margin-bottom: 10px;
font-size: 18px;
line-height: 18px;
.van-button__content{
height: auto;
}
}
}
......
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