| | |
| | | <view>我的服务</view> |
| | | </view> |
| | | <view class="flex service-icons-container"> |
| | | <view class="service-icons" @click="goto('/sub_pages/customer/self/follow',true)"> |
| | | <image src="../../static/images/customer/service/service-icon-1.png" class="service-icon "> |
| | | <view class="service-icons" @click="goto('/sub_pages/customer/self/sign',true)"> |
| | | <image src="../../static/images/customer/coupon/icon-sign-home.png" class="service-icon "> |
| | | </image> |
| | | <view>关注店铺</view> |
| | | <view>签到</view> |
| | | <view v-if="!signToday" class="dot"></view> |
| | | </view> |
| | | <view class="service-icons" @click="goto('/sub_pages/customer/self/collect',true)"> |
| | | <image src="../../static/images/customer/service/service-icon-2.png" class="service-icon "> |
| | |
| | | </view> |
| | | <!-- #endif --> |
| | | </view> |
| | | |
| | | <!-- #ifdef PUB_CUSTOMER --> |
| | | <view class="flex service-icons-container"> |
| | | <view class="service-icons" @click="goto('/sub_pages/customer/self/follow',true)"> |
| | | <image src="../../static/images/customer/service/service-icon-1.png" class="service-icon "> |
| | | </image> |
| | | <view>关注店铺</view> |
| | | </view> |
| | | <view class="service-icons"> |
| | | |
| | | </view> |
| | | <view class="service-icons"> |
| | | |
| | | </view> |
| | | <view class="service-icons"> |
| | | |
| | | </view> |
| | | </view> |
| | | <!-- #endif --> |
| | | </view> |
| | | </view> |
| | | <!-- #endif --> |
| | |
| | | tj: {}, |
| | | tj_order: {}, |
| | | cacheUserId: '', |
| | | signToday: false |
| | | // order_pendding_num: 0, |
| | | |
| | | }; |
| | |
| | | onShow() { |
| | | this.cacheUserId = '' |
| | | this.getTj() |
| | | // #ifdef PUB_CUSTOMER |
| | | let that = this |
| | | this.$http.request('get', '/api/customer/point/sign/sign/today', {}).then(res => { |
| | | if (res.data) { |
| | | that.signToday = true |
| | | } |
| | | }) |
| | | |
| | | // #endif |
| | | //判断有没有签到 |
| | | |
| | | }, |
| | | onLoad(options) { |
| | | // const url = options.q ? decodeURIComponent(options.q) : ''; |