Commit b4fd841d authored by 肖健's avatar 肖健

建立现有京东正式版分支,bug修复

parent fe4fd3c2
......@@ -19,7 +19,7 @@
<view class="banner">
<view class="banner-img">
<image src="http://jdnc-oss.uzosp.com/2022/06/18/9680b34d2b57444fbc212fcf27a43ffe.jpg"></image>
<image src="http://jdnc-oss.uzosp.com/2022/06/23/d868a11f485448efb960d436a2159d78.png"></image>
<view class="left" @click="goJdShop(1)">
<view class="banner-btn">
<image src="../static/index/ban-btn.png"></image>
......
......@@ -51,8 +51,13 @@ export default {
})
},
getMoveCode(){
uni.showLoading({
title: '加载中',
mask:true
});
let opts = { url: '/app/moveCode/' + this.id, method: 'get' };
this.http.httpTokenRequest(opts, {}).then(res => {
uni.hideLoading()
if (res.data.code == 200) {
let data = res.data.data
let list = []
......
......@@ -321,6 +321,14 @@ export default {
});
return;
}
let regMobile = /^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/;
if (!regMobile.test(this.model1.userMobile)) {
uni.showToast({
icon: 'none',
title: '请先填写正确的手机号'
});
return;
}
uni.showLoading({
title: '加载中',
mask:true
......
......@@ -18,7 +18,9 @@
联系方式
</div>
<div class="why">
<u--textarea height='20' v-model="feedback.contact" placeholder="请填写您的手机号或邮箱,便于我们联系 您解决问题"></u--textarea>
<u--input placeholder="请填写您的手机号或邮箱"
border="surround"
v-model="feedback.contact"></u--input>
</div>
</div>
<div class="view__btn view__no__bind" @click="addFeedback()">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment