联系商家字段调整
This commit is contained in:
parent
74dba2ef29
commit
100744cfaf
@ -149,8 +149,16 @@ onShow(async () => {
|
||||
|
||||
const openCard = () => {
|
||||
// const url = 'https://mp.weixin.qq.com/bizmall/activatemembercard?action=preshow&&encrypt_card_id=LI%2FNyDp0x3z8XXorvvrHzSR4VUPa2vlioBg2xkDT3HqybiAFNsNgjH7pBpyKGrSA&outer_str=1702887425732870145&biz=MzU2MTg5MjgxMg%3D%3D#wechat_redirect';
|
||||
goPath(`/pages/common/webview/index?url=${decodeURIComponent(cardLink.value)}`);
|
||||
goPath(`/pages/common/webview/index?url=${encodeURIComponent(cardLink.value)}`);
|
||||
// uni.navigateToMiniProgram({ appId: 'wxeb490c6f9b154ef9' });
|
||||
// uni.addCard({
|
||||
// cardList: [
|
||||
// {
|
||||
// cardId: 'pzCtO1NU8FDcF3v09_Q76-7ZuN8I',
|
||||
// cardExt: JSON.stringify({ 'code': '12345', openId: 'wxc480826360455685', 'timestamp': Date.now(), 'signature': '' })
|
||||
// }
|
||||
// ]
|
||||
// });
|
||||
};
|
||||
|
||||
const gotoPath = (path: string) => {
|
||||
|
@ -2,12 +2,12 @@
|
||||
<view class='card-view'>
|
||||
<view class='c-flex-row'>
|
||||
<text class='key'>姓名</text>
|
||||
<text class='value'>{{companyInfo.master||companyInfo.companyName}}</text>
|
||||
<text class='value'>{{ companyConfigInfo.contactname}}</text>
|
||||
</view>
|
||||
<view class='divider' />
|
||||
<view class='c-flex-row'>
|
||||
<text class='key'>手机号</text>
|
||||
<text class='value'>{{companyInfo.telphone}}</text>
|
||||
<text class='value'>{{companyConfigInfo.contacttelephone}}</text>
|
||||
<image :src='assetsUrl("ic_contact_merchant.png")' @click.stop='call' />
|
||||
</view>
|
||||
</view>
|
||||
@ -17,10 +17,10 @@
|
||||
import { useUserStore } from '@/store';
|
||||
import { assetsUrl } from '@/utils/assets';
|
||||
|
||||
const { companyInfo } = storeToRefs(useUserStore());
|
||||
const { companyConfigInfo } = storeToRefs(useUserStore());
|
||||
const call = () => {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: companyInfo.value.telphone
|
||||
phoneNumber: companyConfigInfo.value.contacttelephone
|
||||
});
|
||||
};
|
||||
</script>
|
||||
|
@ -18,7 +18,9 @@ const useUserStore = defineStore('user', {
|
||||
mallopen: 0,
|
||||
regqrcode: undefined,
|
||||
userbgcover: undefined,
|
||||
groupqrcode: undefined
|
||||
groupqrcode: undefined,
|
||||
contactname: '',
|
||||
contacttelephone: ''
|
||||
},
|
||||
deliveryAddress: {
|
||||
addrid: '',
|
||||
|
Loading…
Reference in New Issue
Block a user