'1.30提交了'
This commit is contained in:
parent
38b120d270
commit
a4de0e97ef
|
@ -1,8 +1,8 @@
|
||||||
//移动端商城API
|
//移动端商城API
|
||||||
// let domain = 'http://117.50.163.143:20410'
|
// let domain = 'http://117.50.163.143:20410'
|
||||||
// let domain = 'http://117.50.215.20:20410'
|
// let domain = 'http://117.50.215.20:20410'
|
||||||
let domain = 'http://192.168.2.14:8081'
|
// let domain = 'http://192.168.2.14:8081'
|
||||||
// let domain = 'http://106.75.49.247:20410'
|
let domain = 'http://106.75.49.247:20410'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// 请求域名 格式: https://您的域名
|
// 请求域名 格式: https://您的域名
|
||||||
|
@ -10,8 +10,9 @@ module.exports = {
|
||||||
// HTTP_REQUEST_URL:'',
|
// HTTP_REQUEST_URL:'',
|
||||||
HTTP_REQUEST_URL: domain,
|
HTTP_REQUEST_URL: domain,
|
||||||
// H5商城地址
|
// H5商城地址
|
||||||
// HTTP_H5_URL: 'http://106.75.49.247:20410',
|
HTTP_H5_URL: 'http://106.75.49.247:20410',
|
||||||
HTTP_H5_URL: 'http://192.168.2.14:8081',
|
// HTTP_H5_URL: 'http://192.168.2.14:8081',
|
||||||
|
// HTTP_H5_URL: 'http://117.50.215.20:20410',
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
HTTP_REQUEST_URL:domain,
|
HTTP_REQUEST_URL:domain,
|
||||||
|
@ -30,3 +31,4 @@ module.exports = {
|
||||||
//分页最多显示条数
|
//分页最多显示条数
|
||||||
LIMIT: 10
|
LIMIT: 10
|
||||||
};
|
};
|
||||||
|
|
|
@ -163,7 +163,7 @@
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "wx46c3a73d8c4f7051",
|
"appid" : "wx424c861adb20990f",
|
||||||
"libVersion" : "latest",
|
"libVersion" : "latest",
|
||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : false,
|
"urlCheck" : false,
|
||||||
|
|
|
@ -770,11 +770,11 @@
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
.logoicon {
|
.logoicon {
|
||||||
width: 100%;
|
width: 80rpx;
|
||||||
height: 500rpx;
|
height: 140rpx;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 30%;
|
top: 38%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,8 +59,7 @@
|
||||||
<!-- 完善身份信息 -->
|
<!-- 完善身份信息 -->
|
||||||
<view class="identity" @click="btnimprovess">
|
<view class="identity" @click="btnimprovess">
|
||||||
<view class="lt">
|
<view class="lt">
|
||||||
<image src="https://img.51miz.com/Element/00/77/81/22/fcdde517_E778122_151271f0.png" mode="">
|
<image src="../../../static/images/xx.png" mode=""></image>
|
||||||
</image>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="cen">
|
<view class="cen">
|
||||||
<text>完善身份信息 {{sfxx}}</text>
|
<text>完善身份信息 {{sfxx}}</text>
|
||||||
|
|
|
@ -349,21 +349,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 判断身份证
|
|
||||||
// idcardinp() {
|
|
||||||
// let result = /^[1-9]\d{5}(18|19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[1-2][0-9]|3[0-1])\d{3}([0-9]|X)$/
|
|
||||||
// if (this.idcard == '') {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '身份证不能为空'
|
|
||||||
// });
|
|
||||||
// } else if (result.test(this.idcard)) {
|
|
||||||
|
|
||||||
// } else {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '请填写正确的身份证'
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// 判断手机号
|
// 判断手机号
|
||||||
telinp() {
|
telinp() {
|
||||||
let photopatten = /^1[3456789]\d{9}$/
|
let photopatten = /^1[3456789]\d{9}$/
|
||||||
|
@ -407,20 +393,7 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// telinpthre() {
|
|
||||||
// let photopatten = /^1[3456789]\d{9}$/
|
|
||||||
// if (this.telthre == '') {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '常用手机号不能为空'
|
|
||||||
// });
|
|
||||||
// } else if (photopatten.test(this.telthre)) {
|
|
||||||
|
|
||||||
// } else {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '请填写正确的手机号'
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
// 点击显示联系人关系
|
// 点击显示联系人关系
|
||||||
openPopup(e) {
|
openPopup(e) {
|
||||||
this.$refs[e].open();
|
this.$refs[e].open();
|
||||||
|
@ -450,19 +423,6 @@
|
||||||
this.lxrmorenadd = val
|
this.lxrmorenadd = val
|
||||||
this.personflagb = false
|
this.personflagb = false
|
||||||
},
|
},
|
||||||
// 判断邮箱
|
|
||||||
// emitextinp() {
|
|
||||||
// let aqq = /^[A-Za-z0-9\u4e00-\u9fa5]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/
|
|
||||||
// if (this.emitext == '') {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '常用邮箱不能为空'
|
|
||||||
// });
|
|
||||||
// } else if (!aqq.test(this.emitext)) {
|
|
||||||
// return this.$util.Tips({
|
|
||||||
// title: '请填写正确的邮箱'
|
|
||||||
// });
|
|
||||||
// }
|
|
||||||
// },
|
|
||||||
|
|
||||||
// 点击确定调用判断
|
// 点击确定调用判断
|
||||||
btnclick() {
|
btnclick() {
|
||||||
|
@ -650,7 +610,52 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
uploadpic: function() {
|
||||||
|
let that = this;
|
||||||
|
that.$util.uploadImageOne({
|
||||||
|
url: 'upload/image',
|
||||||
|
name: 'multipart',
|
||||||
|
model: 'user',
|
||||||
|
pid: 7
|
||||||
|
}, function(res) {
|
||||||
|
that.upLoadPositiveImg = res.data.url;
|
||||||
|
// console.log(that.upLoadPositiveImg)
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
uploadpics: function() {
|
||||||
|
let that = this;
|
||||||
|
that.$util.uploadImageOne({
|
||||||
|
url: 'upload/image',
|
||||||
|
name: 'multipart',
|
||||||
|
model: 'user',
|
||||||
|
pid: 7
|
||||||
|
}, function(res) {
|
||||||
|
that.upLoadReverseImg = res.data.url;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// file文件转base64
|
// file文件转base64
|
||||||
// getImageBase64(blob) {
|
// getImageBase64(blob) {
|
||||||
// return new Promise((resolve, reject) => {
|
// return new Promise((resolve, reject) => {
|
||||||
|
@ -677,31 +682,7 @@
|
||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
// },
|
// },
|
||||||
|
|
||||||
uploadpic: function() {
|
|
||||||
let that = this;
|
|
||||||
that.$util.uploadImageOne({
|
|
||||||
url: that.upLoadPositiveImg,
|
|
||||||
name: 'multipart',
|
|
||||||
model: 'user',
|
|
||||||
pid: 7
|
|
||||||
}, function(res) {
|
|
||||||
that.upLoadPositiveImg = res.data.url;
|
|
||||||
console.log(that.upLoadPositiveImg)
|
|
||||||
});
|
|
||||||
},
|
|
||||||
uploadpics: function() {
|
|
||||||
let that = this;
|
|
||||||
that.$util.uploadImageOne({
|
|
||||||
url: 'upload/image',
|
|
||||||
name: 'multipart',
|
|
||||||
model: 'user',
|
|
||||||
pid: 7
|
|
||||||
}, function(res) {
|
|
||||||
// console.log(res)
|
|
||||||
that.upLoadReverseImg = res.data.url;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
|
|
||||||
// 身份证反面上传
|
// 身份证反面上传
|
||||||
// uploadReverse() {
|
// uploadReverse() {
|
||||||
|
|
|
@ -509,11 +509,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoicon {
|
.logoicon {
|
||||||
width:100%;
|
width: 80rpx;
|
||||||
height: 500rpx;
|
height: 140rpx;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 30%;
|
top: 38%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -102,11 +102,11 @@
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
.logoicon {
|
.logoicon {
|
||||||
width: 100%;
|
width: 80rpx;
|
||||||
height: 500rpx;
|
height: 140rpx;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25%;
|
top: 38%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,11 +111,11 @@
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
.logoicon {
|
.logoicon {
|
||||||
width: 100%;
|
width: 80rpx;
|
||||||
height: 500rpx;
|
height: 140rpx;
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 25%;
|
top: 38%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -109,6 +109,7 @@
|
||||||
Debounce
|
Debounce
|
||||||
} from '@/utils/validate.js'
|
} from '@/utils/validate.js'
|
||||||
import dayjs from "@/plugin/dayjs/dayjs.min.js";
|
import dayjs from "@/plugin/dayjs/dayjs.min.js";
|
||||||
|
import { login } from '../../../api/public';
|
||||||
let app = getApp();
|
let app = getApp();
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|
|
@ -101,7 +101,6 @@
|
||||||
atModel
|
atModel
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
|
||||||
//logo图片
|
//logo图片
|
||||||
getLogo().then(res => {
|
getLogo().then(res => {
|
||||||
this.logoUrl = res.data.logoUrl
|
this.logoUrl = res.data.logoUrl
|
||||||
|
@ -252,7 +251,6 @@
|
||||||
let userInfo = {};
|
let userInfo = {};
|
||||||
userInfo.code = code;
|
userInfo.code = code;
|
||||||
userInfo.spread_spid = app.globalData.spread; //获取推广人ID
|
userInfo.spread_spid = app.globalData.spread; //获取推广人ID
|
||||||
|
|
||||||
userInfo.avatar = '';
|
userInfo.avatar = '';
|
||||||
userInfo.nickName = '微信用户';
|
userInfo.nickName = '微信用户';
|
||||||
userInfo.type = 'routine'
|
userInfo.type = 'routine'
|
||||||
|
@ -268,7 +266,6 @@
|
||||||
let userInfo = res.userInfo;
|
let userInfo = res.userInfo;
|
||||||
userInfo.code = code;
|
userInfo.code = code;
|
||||||
userInfo.spread_spid = app.globalData.spread; //获取推广人ID
|
userInfo.spread_spid = app.globalData.spread; //获取推广人ID
|
||||||
|
|
||||||
userInfo.avatar = userInfo.userInfo.avatarUrl;
|
userInfo.avatar = userInfo.userInfo.avatarUrl;
|
||||||
userInfo.city = userInfo.userInfo.city;
|
userInfo.city = userInfo.userInfo.city;
|
||||||
userInfo.country = userInfo.userInfo.country;
|
userInfo.country = userInfo.userInfo.country;
|
||||||
|
@ -308,8 +305,6 @@
|
||||||
if (app.globalData.spread) {
|
if (app.globalData.spread) {
|
||||||
spread(app.globalData.spread).then(res => {}) //登录成功后读取spread绑定分销关系
|
spread(app.globalData.spread).then(res => {}) //登录成功后读取spread绑定分销关系
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
self.$util.Tips({
|
self.$util.Tips({
|
||||||
title: res,
|
title: res,
|
||||||
icon: 'success'
|
icon: 'success'
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 89 KiB |
Loading…
Reference in New Issue
Block a user