Commit 797beb9d authored by xiejb's avatar xiejb

添加按钮下载弹框

parent 43b07f81
src/assets/img/guide.png

2.03 KB | W: | H:

src/assets/img/guide.png

1.62 KB | W: | H:

src/assets/img/guide.png
src/assets/img/guide.png
src/assets/img/guide.png
src/assets/img/guide.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -137,6 +137,7 @@ export default {
if (browser.versions.weixin) {
this.activeTab = this.activeTab + '/weixin'
this.isShowNoticeBar = true
this.showDialogAction()
}
if (browser.versions.Safari) {
this.activeTab = this.activeTab + '/Safari'
......@@ -148,6 +149,7 @@ export default {
if (browser.versions.weixin) {
this.activeTab = this.activeTab + '/weixin'
this.isShowNoticeBar = true
this.showDialogAction()
} else {
this.activeTab = this.activeTab + '/android'
this.versionUpdateHttpAction('43',false)
......@@ -158,6 +160,15 @@ export default {
this.activeTab = 'weixin'
}
},
// 弹框提示
showDialogAction() {
Dialog.alert({
title: '标题',
message: '请点击右上角按钮,使用默认浏览器打开本页面!',
}).then(() => {
// on close
});
},
// 版本更新接口
versionUpdateHttpAction(type,isFirst) {
let _this = this
......@@ -243,7 +254,7 @@ export default {
// background: transparent;
.headTitle {
color: #7F7F7F;
color: #dadada;
width: 90%;
font-size: 16px;
font-weight: 600;
......
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