Commit 65843ab5 by 冷斌

fix bug

parent 0b65910d
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
.tips_foot_R { width: 50%; height: 45px; text-align: center; line-height: 45px; font-size: 15px; color: #09BB07; } .tips_foot_R { width: 50%; height: 45px; text-align: center; line-height: 45px; font-size: 15px; color: #09BB07; }
</style> </style>
<div id="app"> <div id="app">
<div class="layout_v tab_container"> <div class="layout_v tab_container">
<van-tabs :border="false" v-model="tab" sticky @change="onTopTab" line-width="72px" line-height="4px" background="white" <van-tabs :border="false" v-model="tab" sticky @change="onTopTab" line-width="72px" line-height="4px" background="white"
color="#A3E460" title-inactive-color="#333333" title-active-color="#A3E460"> color="#A3E460" title-inactive-color="#333333" title-active-color="#A3E460">
...@@ -191,19 +191,19 @@ ...@@ -191,19 +191,19 @@
</template> </template>
</van-tabbar-item> </van-tabbar-item>
</van-tabbar> </van-tabbar>
<!-- 下载预览提示 --> <!-- 下载预览提示 -->
<div class="yulanBox"> <!-- <div class="yulanBox">-->
<div class="tips_box"> <!-- <div class="tips_box">-->
<div class="tips_title">提示</div> <!-- <div class="tips_title">提示</div>-->
<div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div> <!-- <div class="tips_body">套餐下架后用户便无法找到该商品进行购买,你确定要下架吗?</div>-->
<div class="tips_foot"> <!-- <div class="tips_foot">-->
<div class="tips_foot_L">下载预览</div> <!-- <div class="tips_foot_L">下载预览</div>-->
<div class="tips_foot_R">下载全部</div> <!-- <div class="tips_foot_R">下载全部</div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> <!-- </div>-->
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
...@@ -333,9 +333,7 @@ ...@@ -333,9 +333,7 @@
// if (item.attach) { // if (item.attach) {
// window.location.href = item.attach; // window.location.href = item.attach;
// } // }
// console.log(item.attach)
var link = document.createElement('a'); var link = document.createElement('a');
console.log(this.download[index].title)
// 设置下载的文件名 // 设置下载的文件名
link.download = this.download[index].title; link.download = this.download[index].title;
link.style.display = 'none'; link.style.display = 'none';
...@@ -387,8 +385,6 @@ ...@@ -387,8 +385,6 @@
dataType: "json", dataType: "json",
success: function(res) { success: function(res) {
if(res.status == 1) { if(res.status == 1) {
console.log(res)
console.log(that.zhenti )
let array = res.data.data.length > 0 ? res.data.data : [] let array = res.data.data.length > 0 ? res.data.data : []
that.zhenti = [].concat(array.map( r => { that.zhenti = [].concat(array.map( r => {
return { return {
......
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