|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="af-place-list-container">
|
|
|
+ <div class="af-plan-list-container">
|
|
|
<!--头部-->
|
|
|
<div class="header">
|
|
|
<div class="store-name">
|
|
@@ -25,10 +25,23 @@
|
|
|
<p class="week">{{ item.week }}</p>
|
|
|
<p class="date">{{ item.time }}</p>
|
|
|
</template>
|
|
|
- <div class="place-list"
|
|
|
- v-for="(place, idx) in item.list"
|
|
|
+ <div class="plan-list"
|
|
|
+ v-for="(plan, idx) in item.list"
|
|
|
:key="idx">
|
|
|
+ <div class="left">
|
|
|
+ <div class="avatar">
|
|
|
+ <img :src="plan.plan_head_url" alt="">
|
|
|
+ </div>
|
|
|
+ <p class="name">
|
|
|
+ <span>{{ plan.plan_author_name }}</span>
|
|
|
+ <span>{{ plan.plan_desc }}</span>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <p>{{ plan.plan_start_time }}-{{ plan.plan_end_time }}</p>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <p class="btimap" v-if="booFetch && !item.list.length">暂无数据</p>
|
|
|
</van-tab>
|
|
|
</van-tabs>
|
|
|
</div>
|
|
@@ -52,7 +65,8 @@ export default {
|
|
|
showPlanList: [],
|
|
|
active: 0,
|
|
|
listData: [],
|
|
|
- bar_id: ''
|
|
|
+ bar_id: '',
|
|
|
+ booFetch: false
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
@@ -102,7 +116,10 @@ export default {
|
|
|
} else {
|
|
|
Toast(msg)
|
|
|
}
|
|
|
- } catch (err) {}
|
|
|
+ this.booFetch = true
|
|
|
+ } catch (err) {
|
|
|
+ this.booFetch = true
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|