Commit d32949b4 by 李嘉林

暂存

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