no message
This commit is contained in:
77
unpackage/dist/dev/mp-weixin/components/orderList/orderList.js
vendored
Normal file
77
unpackage/dist/dev/mp-weixin/components/orderList/orderList.js
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
__name: "orderList",
|
||||
props: {
|
||||
Image: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
toNav: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
info: {
|
||||
type: Object,
|
||||
default: {}
|
||||
},
|
||||
list: {
|
||||
type: Array,
|
||||
default: []
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: "list"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const data = __props;
|
||||
let toPath = () => {
|
||||
if (!data.toNav)
|
||||
return true;
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/home/detail?id=${data.info.id}&distance=${data.info.distance}`
|
||||
});
|
||||
};
|
||||
let openMap = () => {
|
||||
common_vendor.index.openLocation({
|
||||
name: data.info.stationName,
|
||||
latitude: data.info.location.lat,
|
||||
longitude: data.info.location.lng,
|
||||
success: function() {
|
||||
common_vendor.index.__f__("log", "at components/orderList/orderList.vue:84", "success");
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: __props.Image && __props.list.length != 0
|
||||
}, __props.Image && __props.list.length != 0 ? common_vendor.e({
|
||||
b: common_vendor.f(__props.list, (i, n, i0) => {
|
||||
return {
|
||||
a: n,
|
||||
b: i
|
||||
};
|
||||
}),
|
||||
c: __props.list.length == 2
|
||||
}, __props.list.length == 2 ? {} : {}) : {}, {
|
||||
d: common_assets._imports_0$8,
|
||||
e: common_vendor.t(__props.info.stationName),
|
||||
f: common_vendor.t(__props.info.priceAmount),
|
||||
g: common_vendor.t(__props.info.gunUseCount || 0),
|
||||
h: common_vendor.t(__props.info.gunCount || 0),
|
||||
i: common_vendor.t(__props.info.distance),
|
||||
j: common_assets._imports_1$4,
|
||||
k: common_vendor.o((...args) => common_vendor.unref(openMap) && common_vendor.unref(openMap)(...args)),
|
||||
l: common_assets._imports_2$2,
|
||||
m: common_vendor.t(__props.info.parkCostInfo),
|
||||
n: common_vendor.n(__props.type == "list" ? "nowrapText" : ""),
|
||||
o: common_vendor.o((...args) => common_vendor.unref(toPath) && common_vendor.unref(toPath)(...args))
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0fd6f456"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/orderList/orderList.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/orderList/orderList.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/orderList/orderList.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/orderList/orderList.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/orderList/orderList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="data-v-0fd6f456"><view class="orderList data-v-0fd6f456" bindtap="{{o}}"><view wx:if="{{a}}" class="orderList_img data-v-0fd6f456"><image wx:for="{{b}}" wx:for-item="i" wx:key="a" class="data-v-0fd6f456" src="{{i.b}}" mode="aspectFill"></image><view wx:if="{{c}}" class="data-v-0fd6f456"></view></view><view class="data-v-0fd6f456" style="display:flex;align-items:center;justify-content:space-between"><view class="data-v-0fd6f456"><view class="orderList_header data-v-0fd6f456"><image class="orderList_header_img data-v-0fd6f456" src="{{d}}" mode="widthFix"></image><view class="data-v-0fd6f456">{{e}}</view></view><view class="orderList_money data-v-0fd6f456"><view class="data-v-0fd6f456">{{f}}</view><view class="data-v-0fd6f456">元/度</view></view><view class="orderList_cd data-v-0fd6f456"><view class="orderList_cd_m data-v-0fd6f456"><text class="orderList_cd_m_x data-v-0fd6f456">闲</text><text class="orderList_cd_m_n data-v-0fd6f456">{{g}}/{{h}}</text></view></view></view><view class="orderList_right data-v-0fd6f456" bindtap="{{k}}"><view class="data-v-0fd6f456">{{i}}KM</view><image class="orderList_note_img data-v-0fd6f456" src="{{j}}" mode="widthFix"></image></view></view><view class="orderList_note data-v-0fd6f456"><image class="orderList_note_img data-v-0fd6f456" src="{{l}}" mode="widthFix"></image><view class="{{['data-v-0fd6f456', n]}}">{{m}} </view></view></view></view>
|
||||
131
unpackage/dist/dev/mp-weixin/components/orderList/orderList.wxss
vendored
Normal file
131
unpackage/dist/dev/mp-weixin/components/orderList/orderList.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
49
unpackage/dist/dev/mp-weixin/components/search/search.js
vendored
Normal file
49
unpackage/dist/dev/mp-weixin/components/search/search.js
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
_easycom_up_input2();
|
||||
}
|
||||
const _easycom_up_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js";
|
||||
if (!Math) {
|
||||
_easycom_up_input();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "search",
|
||||
props: {
|
||||
Fixed: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
emits: ["change", "search"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
let value = common_vendor.ref("");
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
const emits = __emit;
|
||||
let change = (e) => {
|
||||
emits("change", e);
|
||||
};
|
||||
let confirm = (e) => {
|
||||
emits("search", e);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight,
|
||||
b: common_vendor.o(common_vendor.unref(change)),
|
||||
c: common_vendor.o(common_vendor.unref(confirm)),
|
||||
d: common_vendor.o(($event) => common_vendor.isRef(value) ? value.value = $event : value = $event),
|
||||
e: common_vendor.p({
|
||||
placeholder: "查找地点、电站",
|
||||
confirmType: "search",
|
||||
suffixIcon: "/static/icon/search.png",
|
||||
border: "none",
|
||||
modelValue: common_vendor.unref(value)
|
||||
}),
|
||||
f: common_vendor.n(__props.Fixed ? "Fixed" : "")
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/search/search.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/components/search/search.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/components/search/search.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/search/search.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/search/search.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{f}}"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="search"><view class="search_right p30"><up-input wx:if="{{e}}" bindchange="{{b}}" bindconfirm="{{c}}" u-i="030144b5-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></up-input></view></view></view>
|
||||
44
unpackage/dist/dev/mp-weixin/components/search/search.wxss
vendored
Normal file
44
unpackage/dist/dev/mp-weixin/components/search/search.wxss
vendored
Normal file
@@ -0,0 +1,44 @@
|
||||
.Fixed {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
padding: 0 30rpx;
|
||||
z-index: 99;
|
||||
}
|
||||
.search {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.search_left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
font-weight: bold;
|
||||
font-size: 40rpx;
|
||||
color: #232323;
|
||||
height: 86rpx;
|
||||
}
|
||||
.search_left_img {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.search .opacityLeft {
|
||||
background: rgba(255, 255, 255, 0.27);
|
||||
border-radius: 10rpx 10rpx 10rpx 10rpx;
|
||||
padding: 0 10rpx;
|
||||
}
|
||||
.search_right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
height: 86rpx;
|
||||
background: #ffffff;
|
||||
box-shadow: inset 0rpx 0rpx 22rpx 2rpx #f9fbff;
|
||||
border-radius: 20rpx 20rpx 20rpx 20rpx;
|
||||
}
|
||||
15
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
15
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "statusBar",
|
||||
setup(__props) {
|
||||
const statusBarHeight = common_vendor.index.getSystemInfoSync().statusBarHeight + "px";
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: statusBarHeight
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/statusBar/statusBar.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="position:relative"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="statusBar_blur"></view></view>
|
||||
11
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal file
11
unpackage/dist/dev/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
.statusBar_blur {
|
||||
width: 100%;
|
||||
height: 185rpx;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: #dbe6ff;
|
||||
opacity: 0.8;
|
||||
filter: blur(50px);
|
||||
z-index: -1;
|
||||
}
|
||||
Reference in New Issue
Block a user