Commit ead367218c28dd1f2faed574fe5efeda814e870d
1 parent
29b527e0
Exists in
master
fix: 反馈问题修改,个人信息先隐藏、商品详情页首页按钮隐藏、搜索隐藏、首页二次返回
Showing
5 changed files
with
15 additions
and
26 deletions
Show diff stats
src/component/Tabbar4.vue
@@ -25,13 +25,15 @@ export default { | @@ -25,13 +25,15 @@ export default { | ||
25 | }, | 25 | }, |
26 | methods: { | 26 | methods: { |
27 | handZZY () { | 27 | handZZY () { |
28 | - this.$router.push({ name: 'ServiceKQ', query: { showTab: 'ZZY' } }) | 28 | + // this.$router.push({ name: 'ServiceKQ', query: { showTab: 'ZZY' },replace:true }) |
29 | + this.$router.replace({ path:'/' , query: { showTab: 'ZZY' }}) | ||
29 | }, | 30 | }, |
30 | handleKQ () { | 31 | handleKQ () { |
31 | - this.$router.push({ name: 'ServiceKQ', query: { showTab: 'KQ' } }) | 32 | + // this.$router.push({ name: 'ServiceKQ', query: { showTab: 'KQ' },replace:true }) |
33 | + this.$router.replace({ path:'/' , query: { showTab: 'KQ' }}) | ||
32 | }, | 34 | }, |
33 | handleCenter () { | 35 | handleCenter () { |
34 | - this.$router.push({ name: 'Home' }) | 36 | + this.$router.replace({ path:'/home' }) |
35 | } | 37 | } |
36 | } | 38 | } |
37 | } | 39 | } |
src/views/Home/Home.vue
@@ -24,13 +24,13 @@ | @@ -24,13 +24,13 @@ | ||
24 | </div> | 24 | </div> |
25 | <van-icon name="arrow" /> | 25 | <van-icon name="arrow" /> |
26 | </div> | 26 | </div> |
27 | - <div class="item" @click="handleMyInfo"> | 27 | + <!-- <div class="item" @click="handleMyInfo"> |
28 | <div class="left"> | 28 | <div class="left"> |
29 | <van-icon class="icon" name="user-circle-o" /> | 29 | <van-icon class="icon" name="user-circle-o" /> |
30 | <span>个人信息</span> | 30 | <span>个人信息</span> |
31 | </div> | 31 | </div> |
32 | <van-icon name="arrow" /> | 32 | <van-icon name="arrow" /> |
33 | - </div> | 33 | + </div> --> |
34 | <div class="item" @click="handelElder"> | 34 | <div class="item" @click="handelElder"> |
35 | <div class="left"> | 35 | <div class="left"> |
36 | <van-icon class="icon" name="friends-o" /> | 36 | <van-icon class="icon" name="friends-o" /> |
src/views/Home/StudentDetail.vue
@@ -27,14 +27,14 @@ | @@ -27,14 +27,14 @@ | ||
27 | <img src="@/assets/home/stu_icon1.png" alt=""> | 27 | <img src="@/assets/home/stu_icon1.png" alt=""> |
28 | <p>研学码</p> | 28 | <p>研学码</p> |
29 | </div> | 29 | </div> |
30 | - <div class="icon_item" @click="contactService"> | 30 | + <!-- <div class="icon_item" @click="contactService"> |
31 | <img src="@/assets/home/stu_icon2.png" alt=""> | 31 | <img src="@/assets/home/stu_icon2.png" alt=""> |
32 | <p>专属客服</p> | 32 | <p>专属客服</p> |
33 | </div> | 33 | </div> |
34 | <div class="icon_item"> | 34 | <div class="icon_item"> |
35 | <img src="@/assets/home/stu_icon3.png" alt=""> | 35 | <img src="@/assets/home/stu_icon3.png" alt=""> |
36 | <p>敬请期待</p> | 36 | <p>敬请期待</p> |
37 | - </div> | 37 | + </div> --> |
38 | </div> | 38 | </div> |
39 | </div> | 39 | </div> |
40 | <div class="list_box"> | 40 | <div class="list_box"> |
src/views/Service/AbroadDetail.vue
@@ -72,25 +72,12 @@ | @@ -72,25 +72,12 @@ | ||
72 | <!-- 基地信息 --> | 72 | <!-- 基地信息 --> |
73 | <abroad-base v-if="detailData" :baseId="detailData.baseId"></abroad-base> | 73 | <abroad-base v-if="detailData" :baseId="detailData.baseId"></abroad-base> |
74 | 74 | ||
75 | - <div class="Collection"> | 75 | + <div class="Collection" v-if="packageArr.length > 0"> |
76 | <div class="box box1"> | 76 | <div class="box box1"> |
77 | - <div class="icon" @click="backHome"> | ||
78 | - <p> | ||
79 | - <van-icon name="wap-home-o" /> | ||
80 | - </p> | ||
81 | - <p>首页</p> | ||
82 | - </div> | ||
83 | - <!-- <div class="icon" @click="contactService"> | ||
84 | - <p> | ||
85 | - <van-icon name="service-o" /> | ||
86 | - </p> | ||
87 | - <p>客服</p> | ||
88 | - </div> --> | ||
89 | </div> | 77 | </div> |
90 | <div class="box box2"> | 78 | <div class="box box2"> |
91 | - <span v-if="packageArr.length > 0&&detailData.applyCount>=detailData.stockCount" class="disabled">已满团</span> | ||
92 | - <span v-else-if="packageArr.length > 0" @click="checkDatePackage()">去订购</span> | ||
93 | - <!-- <span v-else class="disabled">拼团请咨询客服</span> --> | 79 | + <span v-if="detailData.applyCount>=detailData.stockCount" class="disabled">已满团</span> |
80 | + <span v-else @click="checkDatePackage()">去订购</span> | ||
94 | </div> | 81 | </div> |
95 | </div> | 82 | </div> |
96 | <van-dialog v-model="showTip" title="温馨提示" show-cancel-button confirm-button-color="#3385FF" cancel-button-color="#999" confirm-button-text="同意" cancel-button-text="再想想" @confirm="tipConfirm"> | 83 | <van-dialog v-model="showTip" title="温馨提示" show-cancel-button confirm-button-color="#3385FF" cancel-button-color="#999" confirm-button-text="同意" cancel-button-text="再想想" @confirm="tipConfirm"> |
src/views/Service/ServiceBaseKQ.vue
@@ -29,15 +29,15 @@ | @@ -29,15 +29,15 @@ | ||
29 | <div class="container" style="margin-bottom:10"> | 29 | <div class="container" style="margin-bottom:10"> |
30 | <!-- 顶部搜索、扫一扫、个人中心 --> | 30 | <!-- 顶部搜索、扫一扫、个人中心 --> |
31 | <van-sticky> | 31 | <van-sticky> |
32 | - <div class="top_tool"> | 32 | + <!-- <div class="top_tool"> |
33 | <van-search class="search" v-model="search" shape="round" background="transparent" left-icon="" right-icon="search" placeholder="搜索活动、研学旅行、服务" @search="onSearch" /> | 33 | <van-search class="search" v-model="search" shape="round" background="transparent" left-icon="" right-icon="search" placeholder="搜索活动、研学旅行、服务" @search="onSearch" /> |
34 | - </div> | 34 | + </div> --> |
35 | <div class="redLink" @click="handleRedLink"> | 35 | <div class="redLink" @click="handleRedLink"> |
36 | <img src="@/assets/keqiao/redlink.png" alt=""> | 36 | <img src="@/assets/keqiao/redlink.png" alt=""> |
37 | </div> | 37 | </div> |
38 | </van-sticky> | 38 | </van-sticky> |
39 | <div class="tabsCard"> | 39 | <div class="tabsCard"> |
40 | - <van-tabs v-model="active" sticky offset-top="34vw" z-index='100' :ellipsis="false" :before-change="beforeChange" ref="tabs"> | 40 | + <van-tabs v-model="active" sticky offset-top="19.73vw" z-index='100' :ellipsis="false" :before-change="beforeChange" ref="tabs"> |
41 | <van-tab title="革命遗址"> | 41 | <van-tab title="革命遗址"> |
42 | <van-pull-refresh v-model="loading" @refresh="onRefresh('uniList')"> | 42 | <van-pull-refresh v-model="loading" @refresh="onRefresh('uniList')"> |
43 | <ServiceListThird :list="uniList" :notab="true"></ServiceListThird> | 43 | <ServiceListThird :list="uniList" :notab="true"></ServiceListThird> |