|
|
@ -68,6 +68,8 @@ |
|
|
|
<!-- todo: empty --> |
|
|
|
</view> |
|
|
|
|
|
|
|
<popupActivate ref="popupActivate"></popupActivate> |
|
|
|
|
|
|
|
<tabber select="record"/> |
|
|
|
</view> |
|
|
|
</template> |
|
|
@ -78,6 +80,7 @@ |
|
|
|
|
|
|
|
import tabber from '@/components/base/tabbar.vue' |
|
|
|
import suspendDropdown from '@/components/base/suspendDropdown.vue' |
|
|
|
import popupActivate from '@/components/center/popupActivate.vue' |
|
|
|
|
|
|
|
const URL_MAPPING = { // state -> url |
|
|
|
'0': '/pages_order/record/personalSharing', |
|
|
@ -91,6 +94,7 @@ |
|
|
|
components : { |
|
|
|
tabber, |
|
|
|
suspendDropdown, |
|
|
|
popupActivate, |
|
|
|
}, |
|
|
|
computed : { |
|
|
|
...mapGetters(['userShop']), |
|
|
@ -167,6 +171,10 @@ |
|
|
|
}, |
|
|
|
//跳转分享详情页面 |
|
|
|
toSharingDetail(id) { |
|
|
|
if (!this.userInfo.isPay) { |
|
|
|
this.$refs.popupActivate.open() |
|
|
|
return |
|
|
|
} |
|
|
|
uni.navigateTo({ |
|
|
|
url: `${URL_MAPPING[this.queryParams.state]}?id=${id}` |
|
|
|
}) |
|
|
|