Merge remote-tracking branch 'origin/master'
# Conflicts: # api/api.js # pages/index/index.vue # pages/user/index.vue
This commit is contained in:
commit
b630ea73df
14
api/api.js
14
api/api.js
|
@ -359,11 +359,19 @@ export function getinstallment(data) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 到首页查询ip地址
|
||||||
|
|
||||||
// 首页记录ip
|
|
||||||
export function logoip() {
|
export function getip() {
|
||||||
return request.get(`login/log`, {}, {
|
return request.get('login/log', {
|
||||||
noAuth: true
|
noAuth: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 查询签约是否成功
|
||||||
|
// export function getqytrue(data) {
|
||||||
|
// return request.get('order/getSignResult/',data,{
|
||||||
|
// noAuth: true
|
||||||
|
// })
|
||||||
|
// }
|
||||||
|
|
|
@ -450,12 +450,18 @@
|
||||||
|
|
||||||
.periodization .returnthedate a {
|
.periodization .returnthedate a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: block;
|
// display: block;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
border: 1px solid rgb(255, 87, 51);
|
border: 1px solid rgb(255, 87, 51);
|
||||||
color: #000;
|
color: #000;
|
||||||
|
// width: 100% !important;
|
||||||
|
padding: 0 20rpx;
|
||||||
|
padding-right: 40rpx;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.returnthedate{
|
||||||
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.periodization .returnthedate a:nth-of-type(1) {
|
.periodization .returnthedate a:nth-of-type(1) {
|
||||||
width: 198rpx;
|
width: 198rpx;
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
|
|
|
@ -170,6 +170,7 @@
|
||||||
setCouponReceive,
|
setCouponReceive,
|
||||||
getTheme,
|
getTheme,
|
||||||
getAppVersion,
|
getAppVersion,
|
||||||
|
getip
|
||||||
} from '@/api/api.js';
|
} from '@/api/api.js';
|
||||||
import {
|
import {
|
||||||
spread
|
spread
|
||||||
|
@ -370,6 +371,9 @@
|
||||||
this.setTabList()
|
this.setTabList()
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
this.getipdz()
|
||||||
|
|
||||||
|
|
||||||
if (app.globalData.isIframe) {
|
if (app.globalData.isIframe) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
let active;
|
let active;
|
||||||
|
@ -420,7 +424,6 @@
|
||||||
let mapeMpQrCodeValue = this.$util.formatMpQrCodeData(qrCodeValue);
|
let mapeMpQrCodeValue = this.$util.formatMpQrCodeData(qrCodeValue);
|
||||||
app.globalData.spread = mapeMpQrCodeValue.spread;
|
app.globalData.spread = mapeMpQrCodeValue.spread;
|
||||||
app.globalData.channelId = mapeMpQrCodeValue.channelId;
|
app.globalData.channelId = mapeMpQrCodeValue.channelId;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (options.spread) app.globalData.spread = options.spread; //非小程序扫码进入情况下,直接获取url中的分销员id保存在globalDta中
|
if (options.spread) app.globalData.spread = options.spread; //非小程序扫码进入情况下,直接获取url中的分销员id保存在globalDta中
|
||||||
if (options.channelId) app.globalData.channelId = options.channelId; //非小程序扫码进入情况下,直接获取url中的分销员id保存在globalDta中
|
if (options.channelId) app.globalData.channelId = options.channelId; //非小程序扫码进入情况下,直接获取url中的分销员id保存在globalDta中
|
||||||
|
@ -470,6 +473,14 @@
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 获取IP地址
|
||||||
|
getipdz(){
|
||||||
|
getip().then(res => {
|
||||||
|
console.log(res,111)
|
||||||
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
menusTap(url) {
|
menusTap(url) {
|
||||||
goPage().then(res => {
|
goPage().then(res => {
|
||||||
if (url == '/pages/goods_cate/goods_cate') {
|
if (url == '/pages/goods_cate/goods_cate') {
|
||||||
|
|
|
@ -1110,7 +1110,7 @@
|
||||||
uid: this.$store.getters.uid
|
uid: this.$store.getters.uid
|
||||||
}
|
}
|
||||||
getidentity(data).then(res=>{
|
getidentity(data).then(res=>{
|
||||||
if (res.message == '操作成功') {
|
if (res.message == '操作成功' && res.data != '') {
|
||||||
this.sfxx = '已完成'
|
this.sfxx = '已完成'
|
||||||
this.identification = res.data
|
this.identification = res.data
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user