Commit d32949b4 by 李嘉林

暂存

parent bee2533c
......@@ -70,7 +70,7 @@ export default {
res.longitude = res.longitude.toFixed(3)
// latitude longitude speed accuracy
log.info("~~~~~~~~~1~~~~~~~", res);
console.log("~~~~~~~~~1~~~~~~~", res);
console.log(`%c获取定位${JSON.stringify(res)}`,'color:yellow;font-size:20px;');
_this.offlineStoreReq.latitude = res.latitude;
_this.offlineStoreReq.longitude = res.longitude;
// 存缓存
......
......@@ -336,7 +336,7 @@ export default {
let h5Params = options && options.params ? JSON.parse(decodeURIComponent(options.params)) : {};
this.h5Params = h5Params;
console.log(h5Params,'--h5Params')
if (Object.keys(h5Params).length>0) {
if (Object.keys(h5Params).length>0 && h5Params.offlineShopCode) {
// 存储h5url门店信息
setStoreInfo({
offlineShopCode:h5Params.offlineShopCode,
......@@ -532,7 +532,9 @@ export default {
consumerLatitude: locationObj.latitude?locationObj.latitude.toString() : "", //纬度,小程序和app可以获取到就要传,没有不传
distributionOfficerShopCode: this.h5Params.offlineShopCode || "" //分销员门店id,没有不传
}
console.log(`%cgetEnterShopId---query${JSON.stringify(query)}`,'color:yellow;font-size:20px;')
let res = await shop.getEnterShopId(query);
console.log(`%cgetEnterShopId${JSON.stringify(res)}`,'color:yellow;font-size:20px;')
if (res.data.code == 200) {
let enterShopId = res.data.data;
console.log(enterShopId,'--enterShopId')
......
......@@ -70,6 +70,7 @@ export default {
}
// url添加门店信息参数
let { offlineShopCode, offlineShopName } = getStoreInfo();
console.log(offlineShopCode,'----index-offlineShopCode')
if (offlineShopCode) {
this.params+=`&offlineShopCode=${offlineShopCode}&offlineShopName=${offlineShopName}`
}
......@@ -155,7 +156,7 @@ export default {
Object.assign(this.$data, this.$options.data());
try {
const h5Params = options && options.params ? JSON.parse(decodeURIComponent(options.params)) : "";
if (h5Params) {
if (h5Params && h5Params.offlineShopCode) {
// 存储h5url门店信息
setStoreInfo({
offlineShopCode:h5Params.offlineShopCode,
......
......@@ -445,9 +445,9 @@ i {
}
.van-cell__title {
flex: 1;
font-size: 15px;
font-size: 14px;
font-weight: bold;
color: #191919;
color: #333;
}
.van-cell__value {
}
......@@ -460,13 +460,19 @@ i {
.updateInfo {
position: relative;
width: 100%;
.van-cell {
/deep/.van-cell {
width: 100%;
height: 55px;
// border-bottom: 1px solid #f0f2f5;
display: flex;
justify-content: space-between;
align-items: center;
.van-cell__title{
span{
font-size: 14px;
color: #333;
}
}
}
.covername {
width: 45px;
......@@ -474,10 +480,10 @@ i {
position: absolute;
right: 18px;
top: 20px;
font-size: 15px;
font-size: 14px;
font-family: MicrosoftYaHei;
font-weight: 400;
color: rgba(146, 146, 146, 1);
color: #333;
}
.sex {
top: 70px;
......@@ -490,7 +496,7 @@ i {
.tel {
height: 55px;
padding: 0 15px 0 15px;
font-size: 15px;
font-size: 14px;
i {
vertical-align: text-top;
}
......@@ -512,6 +518,6 @@ i {
}
/deep/ .van-cell__title,
.van-cell__value {
font-size: 15px;
font-size: 14px;
}
</style>
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