|
@@ -10,7 +10,8 @@
|
|
lineHeight: CustomBar - StatusBar + 'px;'
|
|
lineHeight: CustomBar - StatusBar + 'px;'
|
|
}"
|
|
}"
|
|
>
|
|
>
|
|
- <text @click="handleNavigateBack" class="iconfont icon-fanhui"></text>
|
|
|
|
|
|
+ <text v-if="isShowIndex" @click="handleNavigateIndex" class="iconfont icon-shouye"></text>
|
|
|
|
+ <text v-else @click="handleNavigateBack" class="iconfont icon-fanhui"></text>
|
|
</view>
|
|
</view>
|
|
<view
|
|
<view
|
|
class="search-from name"
|
|
class="search-from name"
|
|
@@ -170,6 +171,7 @@
|
|
<script>
|
|
<script>
|
|
import { mapState, mapMutations } from 'vuex'
|
|
import { mapState, mapMutations } from 'vuex'
|
|
import authorize from '@/common/config/authorize.js'
|
|
import authorize from '@/common/config/authorize.js'
|
|
|
|
+import wxLogin from '@/common/config/wxLogin.js'
|
|
import tuiLoadmore from '@/components/tui-components/loadmore/loadmore'
|
|
import tuiLoadmore from '@/components/tui-components/loadmore/loadmore'
|
|
import tuiNomore from '@/components/tui-components/nomore/nomore'
|
|
import tuiNomore from '@/components/tui-components/nomore/nomore'
|
|
import cmClubDrawer from '../components/cm-club-drawer'
|
|
import cmClubDrawer from '../components/cm-club-drawer'
|
|
@@ -219,13 +221,15 @@ export default {
|
|
rightDrawer:false,
|
|
rightDrawer:false,
|
|
isSellerpopup:false,
|
|
isSellerpopup:false,
|
|
salesParams: {
|
|
salesParams: {
|
|
|
|
+ choseServiceId:0,
|
|
clubId: 0,
|
|
clubId: 0,
|
|
spId: 0
|
|
spId: 0
|
|
},
|
|
},
|
|
|
|
+ isShowIndex:false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- onLoad() {
|
|
|
|
-
|
|
|
|
|
|
+ onLoad(option) {
|
|
|
|
+ if(option.type === 'wechat'){this.isShowIndex = true}
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
...mapState(['isManage'])
|
|
...mapState(['isManage'])
|
|
@@ -234,6 +238,7 @@ export default {
|
|
async initGetStotage() {// 初始化
|
|
async initGetStotage() {// 初始化
|
|
const userInfo = await this.$api.getStorage()
|
|
const userInfo = await this.$api.getStorage()
|
|
this.listQuery.spId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
|
|
this.listQuery.spId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
|
|
|
|
+ this.salesParams.choseServiceId = userInfo.serviceProviderId ? userInfo.serviceProviderId : 0
|
|
this.GetSellerClubList()
|
|
this.GetSellerClubList()
|
|
},
|
|
},
|
|
GetSellerClubList() {
|
|
GetSellerClubList() {
|
|
@@ -434,6 +439,9 @@ export default {
|
|
},
|
|
},
|
|
handleNavigateBack() {
|
|
handleNavigateBack() {
|
|
this.$api.navigateBack(1)
|
|
this.$api.navigateBack(1)
|
|
|
|
+ },
|
|
|
|
+ handleNavigateIndex() {
|
|
|
|
+ this.$api.navigateTo(`/pages/seller/index/index`)
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onReachBottom() {
|
|
onReachBottom() {
|
|
@@ -444,6 +452,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onShow() {
|
|
onShow() {
|
|
|
|
+ wxLogin.wxLoginAuthorize()
|
|
this.initGetStotage()
|
|
this.initGetStotage()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -483,6 +492,10 @@ page,
|
|
font-size: 44rpx;
|
|
font-size: 44rpx;
|
|
color: #333333;
|
|
color: #333333;
|
|
}
|
|
}
|
|
|
|
+ .icon-shouye{
|
|
|
|
+ font-size: 44rpx;
|
|
|
|
+ color: #333333;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
.search-from {
|
|
.search-from {
|
|
width: 382rpx;
|
|
width: 382rpx;
|