购物车逻辑
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<text>{{ userInfo.telephone }}</text>
|
||||
</view>
|
||||
|
||||
<image :src='assetsUrl("ic_qrcode_white.png")' />
|
||||
<image :src='assetsUrl("ic_qrcode_white.png")' @click.stop='gotoPath("qrcode")' />
|
||||
</view>
|
||||
|
||||
<view class='bottom-row'>
|
||||
@@ -130,6 +130,10 @@ const { userInfo } = storeToRefs(store);
|
||||
const gotoPath = (path: string) => {
|
||||
if(path === 'follow_official_account') {
|
||||
showOfficialAccountDialog();
|
||||
} else if(path === 'qrcode') {
|
||||
uni.switchTab({
|
||||
url: '/pages/qrcode/index'
|
||||
});
|
||||
} else {
|
||||
goPath(path);
|
||||
}
|
||||
@@ -138,7 +142,6 @@ const gotoPath = (path: string) => {
|
||||
const showOfficialAccountDialog = () => {
|
||||
officialAccountDialogRef.value.show();
|
||||
};
|
||||
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
|
Reference in New Issue
Block a user