This commit is contained in:
cclu 2025-03-14 18:56:12 +08:00
parent a5f6252d1a
commit 9e8a8095bd
73 changed files with 473 additions and 252 deletions

View File

@ -262,7 +262,9 @@
}, },
{ {
"path": "orderRemark/index", "path": "orderRemark/index",
"style": {} "style": {
"navigationBarTitleText": "订单备注"
}
}, },
{ {
"path": "coupon/index", "path": "coupon/index",

View File

@ -106,6 +106,7 @@
:key="index" :key="index"
> >
<image class="configImg" :src="subItem.url" /> <image class="configImg" :src="subItem.url" />
<text class="configText">{{ subItem.title || "" }}</text>
</view> </view>
</view> </view>
@ -163,7 +164,7 @@
</view> </view>
</view> </view>
<!-- 时代新能源(阳光) --> <!-- 交控新能源(阳光) -->
<view class="chargeItem"> <view class="chargeItem">
<view class="chargeIconBox"> <view class="chargeIconBox">
<image <image
@ -171,7 +172,7 @@
src="/static/images/home/sunIcon.svg" src="/static/images/home/sunIcon.svg"
/> />
</view> </view>
<view class="chargeTitle">时代新能源</view> <view class="chargeTitle">交控新能源</view>
<view class="chargeInfo"> <view class="chargeInfo">
<span class="empty"></span> <span class="empty"></span>
<span class="emptyValue">{{ <span class="emptyValue">{{
@ -480,16 +481,44 @@ export default {
{ label: "国网", value: 4 }, { label: "国网", value: 4 },
], // ], //
selectPopup: 1, selectPopup: 1,
SERVERPART_TARGETOBJ: {},
}; };
}, },
props: ["serviceAreaList", "startObj", "endObj", "pageType"], props: ["serviceAreaList", "startObj", "endObj", "pageType"],
onReady() { onReady() {
console.log("onShow"); console.log("onShow");
let SERVERPART_TARGET = uni.getStorageSync("SERVERPART_TARGET");
if (SERVERPART_TARGET) {
this.SERVERPART_TARGETOBJ = JSON.parse(SERVERPART_TARGET);
} else {
//
this.handleSERVERPART_TARGETOBJ();
}
this.handldGetData(); this.handldGetData();
}, },
methods: { methods: {
//
async handleSERVERPART_TARGETOBJ() {
let SERVERPART_TARGET = await this.$api.$get(
"/EShangApiMain/FrameWork/GetFieldEnumTree",
{ FieldExplainField: "SERVERPART_TARGET" }
);
let list = this.$utils.wrapTreeNode(SERVERPART_TARGET.Result_Data.List);
let obj = {};
if (list && list.length > 0) {
list.forEach((item) => {
obj[String(item.value)] = item.label;
});
}
console.log("obj", obj);
uni.setStorageSync("SERVERPART_TARGET", JSON.stringify(obj));
this.SERVERPART_TARGETOBJ = obj;
},
async handldGetData() { async handldGetData() {
uni.showLoading({
title: "加载中...",
});
this.seatInfo = JSON.parse(uni.getStorageSync("seatInfo")); this.seatInfo = JSON.parse(uni.getStorageSync("seatInfo"));
// //
let serviceList = []; let serviceList = [];
@ -538,6 +567,7 @@ export default {
let HASPILOTLOUNGE = false; // let HASPILOTLOUNGE = false; //
let SHOWERROOM = 0; // let SHOWERROOM = 0; //
let HASCHILD = false; // let HASCHILD = false; //
let HASMOTHER = false; //
let SMALLPARKING = 0; // 轿 let SMALLPARKING = 0; // 轿
let PACKING = 0; // let PACKING = 0; //
let TRUCKPACKING = 0; // let TRUCKPACKING = 0; //
@ -554,6 +584,9 @@ export default {
let DROOMWATER_DISPENSER = 0; // let DROOMWATER_DISPENSER = 0; //
let UREA_COUNT = 0; // 尿 let UREA_COUNT = 0; // 尿
let VEHICLEWATERFILLING = 0; // let VEHICLEWATERFILLING = 0; //
let REFUELINGGUN92 = 0; // 92
let REFUELINGGUN95 = 0; // 95
let REFUELINGGUN0 = 0; // 0
if (subItem.RegionInfo && subItem.RegionInfo.length > 0) { if (subItem.RegionInfo && subItem.RegionInfo.length > 0) {
subItem.RegionInfo.forEach((thirdItem) => { subItem.RegionInfo.forEach((thirdItem) => {
@ -582,6 +615,9 @@ export default {
DROOMWATER_DISPENSER += thirdItem.DROOMWATER_DISPENSER; DROOMWATER_DISPENSER += thirdItem.DROOMWATER_DISPENSER;
UREA_COUNT += thirdItem.UREA_COUNT; UREA_COUNT += thirdItem.UREA_COUNT;
VEHICLEWATERFILLING += thirdItem.VEHICLEWATERFILLING; VEHICLEWATERFILLING += thirdItem.VEHICLEWATERFILLING;
REFUELINGGUN92 += thirdItem.REFUELINGGUN92;
REFUELINGGUN95 += thirdItem.REFUELINGGUN95;
REFUELINGGUN0 += thirdItem.REFUELINGGUN0;
if (thirdItem.HASPILOTLOUNGE) { if (thirdItem.HASPILOTLOUNGE) {
HASPILOTLOUNGE = true; HASPILOTLOUNGE = true;
@ -589,6 +625,9 @@ export default {
if (thirdItem.HASCHILD) { if (thirdItem.HASCHILD) {
HASCHILD = true; HASCHILD = true;
} }
if (thirdItem.HASMOTHER) {
HASMOTHER = true;
}
LIAUTOCHARGESum += Number(thirdItem.LIAUTOCHARGE || 0); LIAUTOCHARGESum += Number(thirdItem.LIAUTOCHARGE || 0);
STATEGRIDCHARGESum += Number(thirdItem.STATEGRIDCHARGE || 0); STATEGRIDCHARGESum += Number(thirdItem.STATEGRIDCHARGE || 0);
@ -603,157 +642,278 @@ export default {
subItem.imgList = [ subItem.imgList = [
{ {
url: url:
HASPANTRY > 0 HASPANTRY > 0 || HASWIFI > 0
? "https://eshangtech.com/minTestImg/manWCIcon.svg" ? "https://eshangtech.com/minTestImg/WC.svg"
: "https://eshangtech.com/minTestImg/nomanWCIcon.svg", : "https://eshangtech.com/minTestImg/noWC.svg",
isShow: HASPANTRY > 0, isShow: HASPANTRY > 0,
title: "卫生间",
}, },
{ {
url: url:
HASWIFI > 0 HASPANTRY > 0 || HASWIFI > 0
? "https://eshangtech.com/minTestImg/womanWCIcon.svg" ? "https://eshangtech.com/minTestImg/motherAndBaby.svg"
: "https://eshangtech.com/minTestImg/nowomanWCIcon.svg", : "https://eshangtech.com/minTestImg/nomotherAndBaby.svg",
isShow: HASPANTRY > 0 || HASWIFI > 0,
title: "母婴室",
}, },
// { // {
// url: // url:
// HASSHOWERROOM > 0
// ? "https://eshangtech.com/minTestImg/HASSHOWERROOM.svg"
// : "https://eshangtech.com/minTestImg/noHASSHOWERROOM.svg",
// isShow: HASSHOWERROOM > 0,
// title: "",
// },
{
url:
HASPILOTLOUNGE > 0
? "https://eshangtech.com/minTestImg/HASPILOTLOUNGE.svg"
: "https://eshangtech.com/minTestImg/noHASPILOTLOUNGE.svg",
isShow: HASPILOTLOUNGE > 0,
title: "司机之家",
},
// {
// url:
// HASWATERROOM > 0
// ? "https://eshangtech.com/minTestImg/HASWATERROOM.svg"
// : "https://eshangtech.com/minTestImg/noHASWATERROOM.svg",
// isShow: HASWATERROOM > 0,
// title: "",
// },
{
url:
SMALLPARKING > 0 ||
PACKING > 0 ||
TRUCKPACKING > 0 ||
DANPACKING > 0
? "https://eshangtech.com/minTestImg/SMALLPARKING.svg"
: "https://eshangtech.com/minTestImg/noSMALLPARKING.svg",
isShow:
SMALLPARKING > 0 ||
PACKING > 0 ||
TRUCKPACKING > 0 ||
DANPACKING > 0,
title: "停车场",
},
{
url:
REFUELINGGUN92 > 0 ||
REFUELINGGUN95 > 0 ||
REFUELINGGUN0 > 0
? "https://eshangtech.com/minTestImg/REFUELINGGUN.svg"
: "https://eshangtech.com/minTestImg/noREFUELINGGUN.svg",
isShow:
REFUELINGGUN92 > 0 ||
REFUELINGGUN95 > 0 ||
REFUELINGGUN0 > 0,
title: "加油站",
},
{
url:
LIAUTOCHARGESum > 0 ||
STATEGRIDCHARGESum > 0 ||
GACENERGYCHARGESum > 0
? "https://eshangtech.com/minTestImg/chargingStation.svg"
: "https://eshangtech.com/minTestImg/nochargingStation.svg",
isShow:
LIAUTOCHARGESum > 0 ||
STATEGRIDCHARGESum > 0 ||
GACENERGYCHARGESum > 0,
title: "充电桩",
},
{
url:
DININGROOMCOUNT > 0
? "https://eshangtech.com/minTestImg/DININGROOMCOUNT.svg"
: "https://eshangtech.com/minTestImg/noDININGROOMCOUNT.svg",
isShow: DININGROOMCOUNT > 0,
title: "餐饮",
},
{
url:
HASBACKGROUNDRADIO > 0
? "https://eshangtech.com/minTestImg/HASBACKGROUNDRADIO.svg"
: "https://eshangtech.com/minTestImg/noHASBACKGROUNDRADIO.svg",
isShow: HASBACKGROUNDRADIO > 0,
title: "便利店",
},
{
url: HASCHILD
? "https://eshangtech.com/minTestImg/HASCHILD.svg"
: "https://eshangtech.com/minTestImg/noHASCHILD.svg",
isShow: SMALLPARKING,
title: "车辆维修",
},
{
url:
POINTCONTROLCOUNT > 0
? "https://eshangtech.com/minTestImg/POINTCONTROLCOUNT.svg"
: "https://eshangtech.com/minTestImg/noPOINTCONTROLCOUNT.svg",
isShow: POINTCONTROLCOUNT > 0,
title: "客房",
},
// {
// url:
// HASWIFI > 0
// ? "https://eshangtech.com/minTestImg/womanWCIcon.svg"
// : "https://eshangtech.com/minTestImg/nowomanWCIcon.svg",
// },
// {
// url:
// TOILETCOUNT > 0 // TOILETCOUNT > 0
// ? "https://eshangtech.com/minTestImg/TOILETCOUNT.svg" // ? "https://eshangtech.com/minTestImg/TOILETCOUNT.svg"
// : "https://eshangtech.com/minTestImg/noTOILETCOUNT.svg", // : "https://eshangtech.com/minTestImg/noTOILETCOUNT.svg",
// isShow: TOILETCOUNT > 0, // isShow: TOILETCOUNT > 0,
// }, // },
{
url:
HASSHOWERROOM > 0
? "https://eshangtech.com/minTestImg/HASSHOWERROOM.svg"
: "https://eshangtech.com/minTestImg/noHASSHOWERROOM.svg",
isShow: HASSHOWERROOM > 0,
},
{
url:
HASWATERROOM > 0
? "https://eshangtech.com/minTestImg/HASWATERROOM.svg"
: "https://eshangtech.com/minTestImg/noHASWATERROOM.svg",
isShow: HASWATERROOM > 0,
},
{
url:
MICROWAVEOVEN > 0
? "https://eshangtech.com/minTestImg/MICROWAVEOVEN.svg"
: "https://eshangtech.com/minTestImg/noMICROWAVEOVEN.svg",
isShow: MICROWAVEOVEN > 0,
},
{
url:
WASHERCOUNT > 0
? "https://eshangtech.com/minTestImg/WASHERCOUNT.svg"
: "https://eshangtech.com/minTestImg/noWASHERCOUNT.svg",
isShow: WASHERCOUNT > 0,
},
{
url:
SLEEPINGPODS > 0
? "https://eshangtech.com/minTestImg/SLEEPINGPODS.svg"
: "https://eshangtech.com/minTestImg/noSLEEPINGPODS.svg",
isShow: SLEEPINGPODS > 0,
},
{
url:
HASPILOTLOUNGE > 0
? "https://eshangtech.com/minTestImg/HASPILOTLOUNGE.svg"
: "https://eshangtech.com/minTestImg/noHASPILOTLOUNGE.svg",
isShow: HASPILOTLOUNGE > 0,
},
{
url:
HASCHILD > 0
? "https://eshangtech.com/minTestImg/HASCHILD.svg"
: "https://eshangtech.com/minTestImg/noHASCHILD.svg",
isShow: HASCHILD > 0,
},
{
url:
DININGBXCOUNT > 0
? "https://eshangtech.com/minTestImg/DININGBXCOUNT.svg"
: "https://eshangtech.com/minTestImg/noDININGBXCOUNT.svg",
isShow: DININGBXCOUNT > 0,
},
{
url:
SMALLPARKING > 0
? "https://eshangtech.com/minTestImg/SMALLPARKING.svg"
: "https://eshangtech.com/minTestImg/noSMALLPARKING.svg",
isShow: SMALLPARKING > 0,
},
{
url:
PACKING > 0
? "https://eshangtech.com/minTestImg/PACKING.svg"
: "https://eshangtech.com/minTestImg/noPACKING.svg",
isShow: PACKING > 0,
},
{
url:
TRUCKPACKING > 0
? "https://eshangtech.com/minTestImg/TRUCKPACKING.svg"
: "https://eshangtech.com/minTestImg/noTRUCKPACKING.svg",
isShow: TRUCKPACKING > 0,
},
{
url:
DANPACKING > 0
? "https://eshangtech.com/minTestImg/DANPACKING.svg"
: "https://eshangtech.com/minTestImg/noDANPACKING.svg",
isShow: DANPACKING > 0,
},
// { // {
// url: // url:
// DININGROOMCOUNT > 0 // HASSHOWERROOM > 0
// ? "https://eshangtech.com/minTestImg/DININGROOMCOUNT.svg" // ? "https://eshangtech.com/minTestImg/HASSHOWERROOM.svg"
// : "https://eshangtech.com/minTestImg/noDININGROOMCOUNT.svg", // : "https://eshangtech.com/minTestImg/noHASSHOWERROOM.svg",
// isShow: DININGROOMCOUNT > 0, // isShow: HASSHOWERROOM > 0,
// title: "",
// }, // },
{
url:
HASBACKGROUNDRADIO > 0
? "https://eshangtech.com/minTestImg/HASBACKGROUNDRADIO.svg"
: "https://eshangtech.com/minTestImg/noHASBACKGROUNDRADIO.svg",
isShow: HASBACKGROUNDRADIO > 0,
},
// { // {
// url: // url:
// POINTCONTROLCOUNT > 0 // HASWATERROOM > 0
// ? "https://eshangtech.com/minTestImg/POINTCONTROLCOUNT.svg" // ? "https://eshangtech.com/minTestImg/HASWATERROOM.svg"
// : "https://eshangtech.com/minTestImg/noPOINTCONTROLCOUNT.svg", // : "https://eshangtech.com/minTestImg/noHASWATERROOM.svg",
// isShow: POINTCONTROLCOUNT > 0, // isShow: HASWATERROOM > 0,
// title: "",
// },
// {
// url:
// MICROWAVEOVEN > 0
// ? "https://eshangtech.com/minTestImg/MICROWAVEOVEN.svg"
// : "https://eshangtech.com/minTestImg/noMICROWAVEOVEN.svg",
// isShow: MICROWAVEOVEN > 0,
// title: "",
// },
// {
// url:
// WASHERCOUNT > 0
// ? "https://eshangtech.com/minTestImg/WASHERCOUNT.svg"
// : "https://eshangtech.com/minTestImg/noWASHERCOUNT.svg",
// isShow: WASHERCOUNT > 0,
// title: "",
// },
// // {
// // url:
// // SLEEPINGPODS > 0
// // ? "https://eshangtech.com/minTestImg/SLEEPINGPODS.svg"
// // : "https://eshangtech.com/minTestImg/noSLEEPINGPODS.svg",
// // isShow: SLEEPINGPODS > 0,
// // title: "",
// // },
// {
// url:
// HASPILOTLOUNGE > 0
// ? "https://eshangtech.com/minTestImg/HASPILOTLOUNGE.svg"
// : "https://eshangtech.com/minTestImg/noHASPILOTLOUNGE.svg",
// isShow: HASPILOTLOUNGE > 0,
// title: "",
// },
// {
// url:
// HASCHILD > 0
// ? "https://eshangtech.com/minTestImg/HASCHILD.svg"
// : "https://eshangtech.com/minTestImg/noHASCHILD.svg",
// isShow: HASCHILD > 0,
// title: "",
// },
// {
// url:
// DININGBXCOUNT > 0
// ? "https://eshangtech.com/minTestImg/DININGBXCOUNT.svg"
// : "https://eshangtech.com/minTestImg/noDININGBXCOUNT.svg",
// isShow: DININGBXCOUNT > 0,
// title: "",
// },
// {
// url:
// SMALLPARKING > 0
// ? "https://eshangtech.com/minTestImg/SMALLPARKING.svg"
// : "https://eshangtech.com/minTestImg/noSMALLPARKING.svg",
// isShow: SMALLPARKING > 0,
// title: "轿",
// },
// {
// url:
// PACKING > 0
// ? "https://eshangtech.com/minTestImg/PACKING.svg"
// : "https://eshangtech.com/minTestImg/noPACKING.svg",
// isShow: PACKING > 0,
// title: "轿",
// },
// {
// url:
// TRUCKPACKING > 0
// ? "https://eshangtech.com/minTestImg/TRUCKPACKING.svg"
// : "https://eshangtech.com/minTestImg/noTRUCKPACKING.svg",
// isShow: TRUCKPACKING > 0,
// },
// {
// url:
// DANPACKING > 0
// ? "https://eshangtech.com/minTestImg/DANPACKING.svg"
// : "https://eshangtech.com/minTestImg/noDANPACKING.svg",
// isShow: DANPACKING > 0,
// },
// // {
// // url:
// // DININGROOMCOUNT > 0
// // ? "https://eshangtech.com/minTestImg/DININGROOMCOUNT.svg"
// // : "https://eshangtech.com/minTestImg/noDININGROOMCOUNT.svg",
// // isShow: DININGROOMCOUNT > 0,
// // },
// {
// url:
// HASBACKGROUNDRADIO > 0
// ? "https://eshangtech.com/minTestImg/HASBACKGROUNDRADIO.svg"
// : "https://eshangtech.com/minTestImg/noHASBACKGROUNDRADIO.svg",
// isShow: HASBACKGROUNDRADIO > 0,
// title: "便",
// },
// // {
// // url:
// // POINTCONTROLCOUNT > 0
// // ? "https://eshangtech.com/minTestImg/POINTCONTROLCOUNT.svg"
// // : "https://eshangtech.com/minTestImg/noPOINTCONTROLCOUNT.svg",
// // isShow: POINTCONTROLCOUNT > 0,
// // },
// {
// url:
// TOILET_PAPER > 0
// ? "https://eshangtech.com/minTestImg/TOILET_PAPER.svg"
// : "https://eshangtech.com/minTestImg/noTOILET_PAPER.svg",
// isShow: TOILET_PAPER > 0,
// title: "",
// },
// {
// url:
// CHANGING_TABLE > 0
// ? "https://eshangtech.com/minTestImg/CHANGING_TABLE.svg"
// : "https://eshangtech.com/minTestImg/noCHANGING_TABLE.svg",
// isShow: CHANGING_TABLE > 0,
// title: "尿",
// },
// {
// url:
// NURSING_TABLE > 0
// ? "https://eshangtech.com/minTestImg/NURSING_TABLE.svg"
// : "https://eshangtech.com/minTestImg/noNURSING_TABLE.svg",
// isShow: NURSING_TABLE > 0,
// title: "",
// },
// {
// url:
// BABY_COT > 0
// ? "https://eshangtech.com/minTestImg/BABY_COT.svg"
// : "https://eshangtech.com/minTestImg/noBABY_COT.svg",
// isShow: BABY_COT > 0,
// title: "",
// }, // },
{
url:
TOILET_PAPER > 0
? "https://eshangtech.com/minTestImg/TOILET_PAPER.svg"
: "https://eshangtech.com/minTestImg/noTOILET_PAPER.svg",
isShow: TOILET_PAPER > 0,
},
{
url:
CHANGING_TABLE > 0
? "https://eshangtech.com/minTestImg/CHANGING_TABLE.svg"
: "https://eshangtech.com/minTestImg/noCHANGING_TABLE.svg",
isShow: CHANGING_TABLE > 0,
},
{
url:
NURSING_TABLE > 0
? "https://eshangtech.com/minTestImg/NURSING_TABLE.svg"
: "https://eshangtech.com/minTestImg/noNURSING_TABLE.svg",
isShow: NURSING_TABLE > 0,
},
{
url:
BABY_COT > 0
? "https://eshangtech.com/minTestImg/BABY_COT.svg"
: "https://eshangtech.com/minTestImg/noBABY_COT.svg",
isShow: BABY_COT > 0,
},
]; ];
// //
let LXRate = this.handleGetRandomData(0, 60); let LXRate = this.handleGetRandomData(0, 60);
@ -889,6 +1049,8 @@ export default {
servicePart: list, servicePart: list,
}; };
_this.handleGetChargeData(list, ["新桥", "丰乐", "肥东"]); _this.handleGetChargeData(list, ["新桥", "丰乐", "肥东"]);
uni.hideLoading();
}, },
// //
@ -1490,16 +1652,30 @@ export default {
.centerItem { .centerItem {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0 8rpx 0 20rpx; margin-top: 24rpx;
margin-top: 12rpx;
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: wrap; flex-wrap: wrap;
.centerConfigItem { .centerConfigItem {
width: calc(100% / 5);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 24rpx;
.configImg { .configImg {
width: 40rpx; width: 32rpx;
height: 40rpx; height: 32rpx;
margin-right: 8rpx; // margin-right: 8rpx;
margin-bottom: 8rpx;
}
.configText {
font-family: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei",
sans-serif;
font-weight: 400;
font-size: 24rpx;
color: #130f05;
line-height: 40rpx;
} }
} }
} }
@ -1507,7 +1683,7 @@ export default {
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
padding: 0 8rpx 0 20rpx; padding: 0 8rpx 0 20rpx;
margin-top: 24rpx; // margin-top: 24rpx;
.chargeBox { .chargeBox {
width: 100%; width: 100%;
display: flex; display: flex;
@ -1558,7 +1734,7 @@ export default {
} }
.emptyValue { .emptyValue {
font-family: "DINAlternate"; font-family: "DINAlternate";
font-weight: bold; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #130f05; color: #130f05;
line-height: 36rpx; line-height: 36rpx;
@ -1568,7 +1744,7 @@ export default {
} }
.sum { .sum {
font-family: "DINAlternate"; font-family: "DINAlternate";
font-weight: bold; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #716f69; color: #716f69;
line-height: 36rpx; line-height: 36rpx;

View File

@ -198,7 +198,7 @@
</view> </view>
</view> </view>
<!-- 时代新能源(交控新能源) --> <!-- 交控新能源(交控新能源) -->
<view class="chargeItem"> <view class="chargeItem">
<view class="chargeIconBox"> <view class="chargeIconBox">
<image <image
@ -1534,6 +1534,9 @@ export default {
} }
} }
} }
.chargeList ::-webkit-scrollbar {
display: none;
}
.pageBottom { .pageBottom {
width: 100%; width: 100%;

View File

@ -310,7 +310,7 @@
</view> </view>
</view> </view>
<!-- 时代新能源(阳光) --> <!-- 交控新能源(阳光) -->
<view class="chargeItem"> <view class="chargeItem">
<view class="chargeIconBox"> <view class="chargeIconBox">
<image <image
@ -644,6 +644,7 @@ export default {
}; };
this.$refs.popup.close(); this.$refs.popup.close();
this.isShow = false; this.isShow = false;
this.handleTrafficSearch();
return; return;
console.log("obj", obj); console.log("obj", obj);
@ -983,6 +984,7 @@ export default {
// //
async handleTrafficSearch() { async handleTrafficSearch() {
this.chaegeBoxList = [];
// let privacyRes = this.handleGetGoDePrivacy(); // let privacyRes = this.handleGetGoDePrivacy();
// this.myTest.navfrom( // this.myTest.navfrom(
@ -1154,6 +1156,8 @@ export default {
tolls: tolls, tolls: tolls,
haveProgress: ((smoothAcount / allAcount) * 100).toFixed(2), haveProgress: ((smoothAcount / allAcount) * 100).toFixed(2),
}; };
uni.hideLoading();
return; return;
let list = []; let list = [];
@ -1821,6 +1825,9 @@ export default {
background: #f0f5ff; background: #f0f5ff;
box-sizing: border-box; box-sizing: border-box;
padding: 12px 16px 24rpx; padding: 12px 16px 24rpx;
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
.content { .content {
width: 100%; width: 100%;
.trafficState { .trafficState {

View File

@ -25,6 +25,7 @@
<div class="time-title">联系方式</div> <div class="time-title">联系方式</div>
<view class="radio-box bb1"> <view class="radio-box bb1">
<input <input
style="font-size: 28rpx"
type="number" type="number"
placeholder="请输入联系号码" placeholder="请输入联系号码"
@input="bindKeyInput" @input="bindKeyInput"
@ -57,7 +58,11 @@
> >
<view class="section"> <view class="section">
<view class="picker"> <view class="picker">
{{ beExpectedTo ? ` 预计(${beExpectedTo})到达` : "-" }} 预计(
<span style="color: red; font-size: 28rpx">{{
beExpectedTo ? ` ${beExpectedTo}` : "-"
}}</span>
)到达
<div style="padding-top: 10rpx"> <div style="padding-top: 10rpx">
<van-icon name="arrow" size="28rpx" color="#333" /> <van-icon name="arrow" size="28rpx" color="#333" />
@ -132,7 +137,11 @@
</label> </label>
</radio-group> </radio-group>
<view class="repositioning" @click="handleAgainPosition"> <view
class="repositioning"
@click="handleAgainPosition"
v-if="hideAgainIcon"
>
<image class="icon" src="/static/images/home/repositioning.svg" /> <image class="icon" src="/static/images/home/repositioning.svg" />
</view> </view>
</div> </div>
@ -453,6 +462,7 @@ export default {
], ],
people: 0, people: 0,
peopleStr: "", // peopleStr: "", //
hideAgainIcon: true, //
}; };
}, },
components: { components: {
@ -518,15 +528,22 @@ export default {
this.peopleStr = this.packageList[this.people].label; this.peopleStr = this.packageList[this.people].label;
}, },
async handleAgainPosition() { async handleAgainPosition() {
// uni.showLoading({ uni.showLoading({
// title: "...", title: "更新位置信息...",
// }); });
let _this = this;
await new Promise((resolve) => {
setTimeout(() => {
console.log("handleAgainPosition"); console.log("handleAgainPosition");
this.storeId = this.nowStore.ShopList[1].SERVERPARTSHOP_ID; _this.storeId = _this.nowStore.ShopList[1].SERVERPARTSHOP_ID;
console.log("this.storeId ", this.storeId); console.log("_this.storeId ", _this.storeId);
_this.hideAgainIcon = false;
_this.$forceUpdate();
uni.hideLoading();
}, 2000);
});
this.$forceUpdate();
// await this.handleGetRealPosition(); // await this.handleGetRealPosition();
}, },
// //
@ -1433,7 +1450,7 @@ bodyColor = #CAA97F;
display: inline-block; display: inline-block;
.radio-unit { .radio-unit {
font-size: 26rpx; font-size: 24rpx;
line-height: 96rpx; line-height: 96rpx;
} }
@ -1441,7 +1458,7 @@ bodyColor = #CAA97F;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 28rpx; font-size: 24rpx;
padding-right: 16rpx; padding-right: 16rpx;
height: 96rpx; height: 96rpx;
line-height: 96rpx; line-height: 96rpx;
@ -1534,18 +1551,18 @@ bodyColor = #CAA97F;
color: #333; color: #333;
.order-name { .order-name {
font-size: 26rpx; font-size: 24rpx;
// font-weight bolder // font-weight bolder
flex: 0.7; flex: 0.7;
} }
.order-num { .order-num {
font-size: 26rpx; font-size: 24rpx;
flex: 0.1; flex: 0.1;
} }
.order-price { .order-price {
font-size: 26rpx; font-size: 24rpx;
flex: 0.2; flex: 0.2;
color: #333; color: #333;
text-align: right; text-align: right;
@ -1557,14 +1574,14 @@ bodyColor = #CAA97F;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 26rpx; font-size: 24rpx;
box-sizing: border-box; box-sizing: border-box;
line-height: 60rpx; line-height: 60rpx;
color: bodyColor; color: bodyColor;
.coupon-title { .coupon-title {
color: #333; color: #333;
font-size: 26rpx; font-size: 24rpx;
} }
.coupon-right { .coupon-right {
@ -1579,11 +1596,12 @@ bodyColor = #CAA97F;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
height: 42rpx; height: 42rpx;
font-size: 24rpx;
} }
.priceColor { .priceColor {
color: bodyColor; color: bodyColor;
font-size: 28rpx; font-size: 26rpx;
} }
} }
} }
@ -1592,12 +1610,12 @@ bodyColor = #CAA97F;
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
text-align: right; text-align: right;
font-size: 26rpx; font-size: 24rpx;
padding: 22rpx 16rpx; padding: 22rpx 16rpx;
.pay-price { .pay-price {
color: #333; color: #333;
font-size: 32rpx; font-size: 28rpx;
margin-left: 10rpx; margin-left: 10rpx;
font-weight: bold; font-weight: bold;
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1902,7 +1902,7 @@ function initData(vueOptions, context) {
try { try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据 data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) { } catch (e) {
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data); console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
} }
} }
@ -8945,7 +8945,7 @@ function type(obj) {
function flushCallbacks$1(vm) { function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) { if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']'); ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@ -8966,14 +8966,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成 //1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher //2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) { if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick'); ']:nextVueTick');
} }
return nextTick(cb, vm) return nextTick(cb, vm)
}else{ }else{
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope; var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick'); ']:nextMPTick');
@ -9069,7 +9069,7 @@ var patch = function(oldVnode, vnode) {
}); });
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData); var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) { if (Object.keys(diffData).length) {
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"皖美驿站","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新', ']差量更新',
JSON.stringify(diffData)); JSON.stringify(diffData));

View File

@ -262,6 +262,9 @@
text-align: justify; text-align: justify;
font-style: normal; font-style: normal;
} }
.main .chargeList.data-v-35ae074c ::-webkit-scrollbar {
display: none;
}
.main .pageBottom.data-v-35ae074c { .main .pageBottom.data-v-35ae074c {
width: 100%; width: 100%;
height: 120rpx; height: 120rpx;

View File

@ -1,3 +1,4 @@
{ {
"navigationBarTitleText": "订单备注",
"usingComponents": {} "usingComponents": {}
} }

View File

@ -260,7 +260,9 @@ var _default = {
value: "5人及以上" value: "5人及以上"
}], }],
people: 0, people: 0,
peopleStr: "" // 人数的具体 peopleStr: "",
// 人数的具体
hideAgainIcon: true // 是否显示重新定位
}; };
}, },
@ -327,18 +329,26 @@ var _default = {
handleAgainPosition: function handleAgainPosition() { handleAgainPosition: function handleAgainPosition() {
var _this2 = this; var _this2 = this;
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() { return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
var _this;
return _regenerator.default.wrap(function _callee$(_context) { return _regenerator.default.wrap(function _callee$(_context) {
while (1) { while (1) {
switch (_context.prev = _context.next) { switch (_context.prev = _context.next) {
case 0: case 0:
// uni.showLoading({ uni.showLoading({
// title: "更新位置信息...", title: "更新位置信息..."
// }); });
_this = _this2;
_context.next = 4;
return new Promise(function (resolve) {
setTimeout(function () {
console.log("handleAgainPosition"); console.log("handleAgainPosition");
_this2.storeId = _this2.nowStore.ShopList[1].SERVERPARTSHOP_ID; _this.storeId = _this.nowStore.ShopList[1].SERVERPARTSHOP_ID;
console.log("this.storeId ", _this2.storeId); console.log("_this.storeId ", _this.storeId);
_this2.$forceUpdate(); _this.hideAgainIcon = false;
// await this.handleGetRealPosition(); _this.$forceUpdate();
uni.hideLoading();
}, 2000);
});
case 4: case 4:
case "end": case "end":
return _context.stop(); return _context.stop();

File diff suppressed because one or more lines are too long

View File

@ -113,14 +113,14 @@
display: inline-block; display: inline-block;
} }
.settlement .radio-box .radio-list .radio-unit.data-v-43036aa6 { .settlement .radio-box .radio-list .radio-unit.data-v-43036aa6 {
font-size: 26rpx; font-size: 24rpx;
line-height: 96rpx; line-height: 96rpx;
} }
.settlement .radio-box .radio-list .picker.data-v-43036aa6 { .settlement .radio-box .radio-list .picker.data-v-43036aa6 {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 28rpx; font-size: 24rpx;
padding-right: 16rpx; padding-right: 16rpx;
height: 96rpx; height: 96rpx;
line-height: 96rpx; line-height: 96rpx;
@ -202,15 +202,15 @@
color: #333; color: #333;
} }
.settlement .order-list .order-name.data-v-43036aa6 { .settlement .order-list .order-name.data-v-43036aa6 {
font-size: 26rpx; font-size: 24rpx;
flex: 0.7; flex: 0.7;
} }
.settlement .order-list .order-num.data-v-43036aa6 { .settlement .order-list .order-num.data-v-43036aa6 {
font-size: 26rpx; font-size: 24rpx;
flex: 0.1; flex: 0.1;
} }
.settlement .order-list .order-price.data-v-43036aa6 { .settlement .order-list .order-price.data-v-43036aa6 {
font-size: 26rpx; font-size: 24rpx;
flex: 0.2; flex: 0.2;
color: #333; color: #333;
text-align: right; text-align: right;
@ -220,14 +220,14 @@
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 26rpx; font-size: 24rpx;
box-sizing: border-box; box-sizing: border-box;
line-height: 60rpx; line-height: 60rpx;
color: #caa97f; color: #caa97f;
} }
.settlement .coupon .coupon-title.data-v-43036aa6 { .settlement .coupon .coupon-title.data-v-43036aa6 {
color: #333; color: #333;
font-size: 26rpx; font-size: 24rpx;
} }
.settlement .coupon .coupon-right.data-v-43036aa6 { .settlement .coupon .coupon-right.data-v-43036aa6 {
display: flex; display: flex;
@ -241,21 +241,22 @@
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
height: 42rpx; height: 42rpx;
font-size: 24rpx;
} }
.settlement .coupon .coupon-right .priceColor.data-v-43036aa6 { .settlement .coupon .coupon-right .priceColor.data-v-43036aa6 {
color: #caa97f; color: #caa97f;
font-size: 28rpx; font-size: 26rpx;
} }
.settlement .price-sum.data-v-43036aa6 { .settlement .price-sum.data-v-43036aa6 {
box-sizing: border-box; box-sizing: border-box;
background-color: #fff; background-color: #fff;
text-align: right; text-align: right;
font-size: 26rpx; font-size: 24rpx;
padding: 22rpx 16rpx; padding: 22rpx 16rpx;
} }
.settlement .price-sum .pay-price.data-v-43036aa6 { .settlement .price-sum .pay-price.data-v-43036aa6 {
color: #333; color: #333;
font-size: 32rpx; font-size: 28rpx;
margin-left: 10rpx; margin-left: 10rpx;
font-weight: bold; font-weight: bold;
} }