Commit d7997742 by 刘海龙

no message

parent 40f16421
......@@ -3,7 +3,18 @@
.van-swipe__indicator { background-color: f5f5f5; }
.van-swipe__indicators { bottom: 0; }
.scroll_h { margin-top: 10px; }
.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; 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; }
.tips_foot_L { width: 50%; height: 45px; text-align: center; line-height: 45px; border-right: 1px solid #DFDFDF; font-size: 15px; color: #09BB07; }
.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: 12px; height: 12px; position: absolute; top: 8px; right: 8px; }
</style>
<div id="app">
<div class="layout_v tab_container">
<!--search-->
......@@ -98,7 +109,23 @@
</if>
<span class="text_14_600 color_333333 weight_full van-multi-ellipsis--l2" style="margin-right: 1.5rem;margin-left: 0.625rem;">{$vo['exams_paper_title']}</span>
<if condition="$vo['price'] eq 0 or $vo['is_buy'] eq 1">
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_green layout_center">开始做题</div>
<div @click="onStart({$vo['exams_paper_id']})" class="home_button_green layout_center">
开始做题
<!-- 下载预览提示 -->
<div v-show="yulan==index">
<div class="yulanBox">
<div class="tips_box">
<img class="close_yulan" @click="close_yulan" src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot">
<div @click="onDownload(index)" class="tips_foot_L" >下载预览</div>
<div @click="onPay(item)" class="tips_foot_R">下载全部</div>
</div>
</div>
</div>
</div>
</div>
<else />
<!--
<div @click="onPay({$vo['exams_paper_id']})" class="home_button_orange layout_center">¥{$vo['price']}</div>
......
......@@ -111,16 +111,16 @@
<!-- 下载预览提示 -->
<div v-show="yulan==index">
<div class="yulanBox">
<div class="tips_box">
<img class="close_yulan" @click="close_yulan" src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot">
<div @click="onDownload(index)" class="tips_foot_L" >下载预览</div>
<div @click="onPay(item)" class="tips_foot_R">下载全部</div>
</div>
</div>
</div>
<div class="tips_box">
<img class="close_yulan" @click="close_yulan" src="/addons/theme/stv1/_static/img/guanbi@2x.png">
<div class="tips_title">提示</div>
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>
<div class="tips_foot">
<div @click="onDownload(index)" class="tips_foot_L" >下载预览</div>
<div @click="onPay(item)" class="tips_foot_R">下载全部</div>
</div>
</div>
</div>
</div>
</div>
</div>
......@@ -257,7 +257,6 @@
if(that.myTab==0){
that.loadMy()
}else{
console.log("222222222222")
that.loadMyTi()
}
}
......@@ -396,7 +395,6 @@
this.loadMy()
} else {
this.page=1
console.log("111111111")
this.myCollect=[]
this.loadMyTi()
}
......
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