fix: 修复ubg
parent
74d67d9968
commit
28b5ecba88
|
@ -118,8 +118,7 @@ export default {
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
title: [{required: true, message: "标题不能不空", trigger: "blur"}],
|
title: [{required: true, message: "标题不能不空", trigger: "blur"}],
|
||||||
picUrl: [{required: true, message: "图片地址不能为空", trigger: "blur"}],
|
picUrl: [{required: true, message: "图片地址不能为空", trigger: "blur"}]
|
||||||
url: [{required: true, message: "跳转地址不能为空", trigger: "blur"}]
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
|
@ -609,12 +609,12 @@
|
||||||
"selectedIconPath": "static/images/tabbar/nav_icon_shop_active.png",
|
"selectedIconPath": "static/images/tabbar/nav_icon_shop_active.png",
|
||||||
"text": "商城"
|
"text": "商城"
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// "pagePath": "pages/goods_cate/goods_cate",
|
"pagePath": "pages/goods_cate/goods_cate",
|
||||||
// "iconPath": "static/images/tabbar/nav_icon_sort.png",
|
"iconPath": "static/images/tabbar/nav_icon_sort.png",
|
||||||
// "selectedIconPath": "static/images/tabbar/nav_icon_sort_active.png",
|
"selectedIconPath": "static/images/tabbar/nav_icon_sort_active.png",
|
||||||
// "text": "分类"
|
"text": "分类"
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/member_application/index",
|
"pagePath": "pages/member_application/index",
|
||||||
"iconPath": "static/images/tabbar/nav_icon_member.png",
|
"iconPath": "static/images/tabbar/nav_icon_member.png",
|
||||||
|
@ -628,12 +628,12 @@
|
||||||
"text": "会员权益",
|
"text": "会员权益",
|
||||||
"visible":false
|
"visible":false
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// "pagePath": "pages/order_addcart/order_addcart",
|
"pagePath": "pages/order_addcart/order_addcart",
|
||||||
// "iconPath": "static/images/tabbar/nav_icon_cart.png",
|
"iconPath": "static/images/tabbar/nav_icon_cart.png",
|
||||||
// "selectedIconPath": "static/images/3-002.png",
|
"selectedIconPath": "static/images/3-002.png",
|
||||||
// "text": "购物车"
|
"text": "购物车"
|
||||||
// },
|
},
|
||||||
{
|
{
|
||||||
"pagePath": "pages/user/index",
|
"pagePath": "pages/user/index",
|
||||||
"iconPath": "static/images/tabbar/nav_icon_my.png",
|
"iconPath": "static/images/tabbar/nav_icon_my.png",
|
||||||
|
|
|
@ -362,9 +362,7 @@
|
||||||
handleCustomer(value){
|
handleCustomer(value){
|
||||||
switch (value) {
|
switch (value) {
|
||||||
case '电话客服':
|
case '电话客服':
|
||||||
if(this.tenantInfo.serviceMobile){
|
window.location.href = `tel:4008009935`
|
||||||
window.location.href = `tel:${this.tenantInfo.serviceMobile}`
|
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
case '微信客服':
|
case '微信客服':
|
||||||
if (this.tenantInfo.wxKfUrl) {
|
if (this.tenantInfo.wxKfUrl) {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<view class="box-phone">
|
<view class="box-phone">
|
||||||
<u--form :model="form" :rules="rules" ref="uForm" labelWidth="100">
|
<u--form :model="form" :rules="rules" ref="uForm" labelWidth="100">
|
||||||
<u-form-item label="姓名" prop="userName" >
|
<u-form-item label="姓名" prop="userName" >
|
||||||
<u--input v-model="form.userName" maxlength="11" disabled placeholder="请输入您的姓名"></u--input>
|
<u--input v-model="form.userName" maxlength="11" placeholder="请输入您的姓名"></u--input>
|
||||||
</u-form-item>
|
</u-form-item>
|
||||||
<u-form-item label="手机号" prop="phone" >
|
<u-form-item label="手机号" prop="phone" >
|
||||||
<u--input v-model="form.userPhone" maxlength="11" disabled placeholder="请输入您的手机号"></u--input>
|
<u--input v-model="form.userPhone" maxlength="11" disabled placeholder="请输入您的手机号"></u--input>
|
||||||
|
@ -78,6 +78,12 @@ import store from '@/store/index';
|
||||||
userPhone:''
|
userPhone:''
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
userName: [{
|
||||||
|
required: true,
|
||||||
|
message: '姓名不能为空',
|
||||||
|
// 触发器可以同时用blur和change
|
||||||
|
trigger: ['change', 'blur']
|
||||||
|
}],
|
||||||
userPhone: [
|
userPhone: [
|
||||||
{
|
{
|
||||||
required: true,
|
required: true,
|
||||||
|
@ -136,6 +142,7 @@ import store from '@/store/index';
|
||||||
})
|
})
|
||||||
this.payInfo = {
|
this.payInfo = {
|
||||||
userPhone: store.state.app.userInfo.mobile,
|
userPhone: store.state.app.userInfo.mobile,
|
||||||
|
userName: this.form.userName,
|
||||||
orderInfos
|
orderInfos
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
@click="jumpPage('/pages/users/user_spread_code/index')">
|
@click="jumpPage('/pages/users/user_spread_code/index')">
|
||||||
<u-icon slot="icon" size="45" name="/static/images/user_icon2.png"></u-icon>
|
<u-icon slot="icon" size="45" name="/static/images/user_icon2.png"></u-icon>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="热线电话" value="023-12948338" :value="tenantInfo.serviceMobile" isLink @click="callPhone">
|
<u-cell title="热线电话" value="400-8009935" isLink @click="callPhone">
|
||||||
<u-icon slot="icon" size="45" name="/static/images/user_icon3.png"></u-icon>
|
<u-icon slot="icon" size="45" name="/static/images/user_icon3.png"></u-icon>
|
||||||
</u-cell>
|
</u-cell>
|
||||||
<u-cell title="在线客服" value="8:30-17:30" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
|
<u-cell title="在线客服" value="8:30-17:30" :value="tenantInfo.serviceTime" isLink @click="kefuClick">
|
||||||
|
@ -257,9 +257,7 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
callPhone() {
|
callPhone() {
|
||||||
if(this.tenantInfo.serviceMobile){
|
window.location.href = `tel:4008009935`
|
||||||
window.location.href = `tel:${this.tenantInfo.serviceMobile}`
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
kefuClick() {
|
kefuClick() {
|
||||||
if (this.tenantInfo.wxKfUrl) {
|
if (this.tenantInfo.wxKfUrl) {
|
||||||
|
|
|
@ -81,12 +81,11 @@
|
||||||
mask: true
|
mask: true
|
||||||
});
|
});
|
||||||
that.isHideBtn = true
|
that.isHideBtn = true
|
||||||
for(let i = 0; i<3; i++){
|
for(let i = 0; i<2; i++){
|
||||||
await htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
await htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
||||||
quality: 0.95,
|
quality: 0.95,
|
||||||
cacheBust: true
|
cacheBust: true
|
||||||
});
|
});
|
||||||
console.log('i', i)
|
|
||||||
}
|
}
|
||||||
htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
||||||
quality: 0.95,
|
quality: 0.95,
|
||||||
|
|
Loading…
Reference in New Issue