|
@ -42,7 +42,7 @@ |
|
|
将于<text class="activate-highlight">{{ agentDeadline }}</text>到期 |
|
|
将于<text class="activate-highlight">{{ agentDeadline }}</text>到期 |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="btn-activate"> |
|
|
|
|
|
|
|
|
<view class="btn-activate" @click="onActivate"> |
|
|
<image src="@/static/image/center/btn-activate-again.png"></image> |
|
|
<image src="@/static/image/center/btn-activate-again.png"></image> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -50,7 +50,7 @@ |
|
|
<view class="activate-tips"> |
|
|
<view class="activate-tips"> |
|
|
升级成为代理商享受更多权益 |
|
|
升级成为代理商享受更多权益 |
|
|
</view> |
|
|
</view> |
|
|
<view class="btn-activate"> |
|
|
|
|
|
|
|
|
<view class="btn-activate" @click="onActivate"> |
|
|
<image src="@/static/image/center/btn-activate.png"></image> |
|
|
<image src="@/static/image/center/btn-activate.png"></image> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -131,6 +131,8 @@ |
|
|
<image src="@/static/image/center/service.png" mode=""></image> |
|
|
<image src="@/static/image/center/service.png" mode=""></image> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<popupActivate ref="popupActivate"></popupActivate> |
|
|
|
|
|
|
|
|
<tabber select="center" /> |
|
|
<tabber select="center" /> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -140,7 +142,7 @@ |
|
|
import { |
|
|
import { |
|
|
mapGetters |
|
|
mapGetters |
|
|
} from 'vuex' |
|
|
} from 'vuex' |
|
|
import userShopCommission from '@/components/userShop/userShopCommission.vue' |
|
|
|
|
|
|
|
|
import popupActivate from '@/components/center/popupActivate.vue' |
|
|
|
|
|
|
|
|
const URL_MAPPING = { // state -> url |
|
|
const URL_MAPPING = { // state -> url |
|
|
'-1': '/pages_order/sharing/personal', |
|
|
'-1': '/pages_order/sharing/personal', |
|
@ -152,14 +154,14 @@ |
|
|
export default { |
|
|
export default { |
|
|
components: { |
|
|
components: { |
|
|
tabber, |
|
|
tabber, |
|
|
userShopCommission, |
|
|
|
|
|
|
|
|
popupActivate, |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
...mapGetters(['userShop']), |
|
|
...mapGetters(['userShop']), |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
isAgent: true, |
|
|
|
|
|
|
|
|
isAgent: false, |
|
|
agentDeadline: '2025年12月31日', |
|
|
agentDeadline: '2025年12月31日', |
|
|
notice: '如果您在使用中有任何问题或建议,请联系客服', |
|
|
notice: '如果您在使用中有任何问题或建议,请联系客服', |
|
|
updateList: [ |
|
|
updateList: [ |
|
@ -235,13 +237,13 @@ |
|
|
// todo |
|
|
// todo |
|
|
}, |
|
|
}, |
|
|
onActivate() { |
|
|
onActivate() { |
|
|
// todo |
|
|
|
|
|
|
|
|
this.$refs.popupActivate.open(this.isAgent) |
|
|
}, |
|
|
}, |
|
|
goToSharingDetail(id, state) { |
|
|
goToSharingDetail(id, state) { |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: `${URL_MAPPING[state]}?id=${id}` |
|
|
url: `${URL_MAPPING[state]}?id=${id}` |
|
|
}) |
|
|
}) |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|