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