Commit a1d52376 by 刘海龙

111

parent 1dbbaaef
<include file="__THEME__/public_header_w3g" />
<style type="text/css">
.yulanBox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.5); z-index: 25; }
.tips_box { width: 250px; border-radius: 4px; overflow: hidden; background: #fff; }
.tips_box { width: 250px; border-radius: 4px; overflow: hidden; background: #fff; position: relative; }
.tips_title { width: 100%; text-align: center; margin-top: 17px; font-size: 15px; color: #4A4A4A; }
.tips_body { width: 100%; margin-top: 9px; padding: 0 25px; font-size: 12px; color: #999; line-height: 17px; padding-bottom: 20px; box-sizing: border-box; }
.tips_foot { width: 100%; border-top: 1px solid #DFDFDF; display: flex; align-items: center;justify-content: space-between; overflow: hidden; }
......@@ -9,6 +9,7 @@
.tips_foot_R { width: 50%; height: 45px; text-align: center; line-height: 45px; font-size: 15px; color: #09BB07; }
.zhenti_tab { display: flex; align-items: center; background: #fff; z-index: 20; }
.van-tabs__nav--line { z-index: 21; }
.close_yulan { width: 15px; height: 15px; position: absolute; top: 8px; right: 8px; }
</style>
<div id="app">
......@@ -111,7 +112,7 @@
<div v-show="yulan==index">
<div class="yulanBox">
<div class="tips_box">
<img src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<img class="close_yulan" @click="close_yulan(index)" src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot">
......@@ -313,7 +314,7 @@
break;
}
},
close_yulan:
startDo: function(item) {
let url = "{:U('exams/index/examsroom')}" + "&paper_id=" + item.id + "&joinType=1"
window.location.href = url
......@@ -362,7 +363,9 @@
this.yulan = index;
}
},
close_yulan:function(index){
this.yulan = index + 1;
},
onTopTab: function(tab) {
if(this.tab == 0) {
this.page=1
......
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