no message
This commit is contained in:
132
unpackage/dist/dev/mp-alipay/components/orderList/orderList.acss
vendored
Normal file
132
unpackage/dist/dev/mp-alipay/components/orderList/orderList.acss
vendored
Normal file
@@ -0,0 +1,132 @@
|
||||
.orderList.data-v-0fd6f456 {
|
||||
width: 100%;
|
||||
padding: 25rpx;
|
||||
box-shadow: 0rpx -6rpx 8rpx 2rpx rgba(66, 115, 229, 0.05);
|
||||
border-radius: 16rpx 16rpx 16rpx 16rpx;
|
||||
position: relative;
|
||||
background: linear-gradient(270deg, rgba(247, 247, 247, 0) -500%, #fff 100%), url("../../static/icon/b1.png");
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
.orderList_right.data-v-0fd6f456 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: start;
|
||||
font-family: DIN, DIN;
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.orderList_right image.data-v-0fd6f456 {
|
||||
margin-top: 45rpx;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
}
|
||||
.orderList_img.data-v-0fd6f456 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 20rpx;
|
||||
border-bottom: 4rpx solid #ebebeb;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.orderList_img view.data-v-0fd6f456 {
|
||||
width: 205rpx;
|
||||
height: 170rpx;
|
||||
}
|
||||
.orderList_img image.data-v-0fd6f456 {
|
||||
width: 205rpx;
|
||||
height: 170rpx;
|
||||
}
|
||||
.orderList_header.data-v-0fd6f456 {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
color: #232323;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.orderList_header_img.data-v-0fd6f456 {
|
||||
width: 52rpx;
|
||||
height: 52rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.orderList_money.data-v-0fd6f456 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
color: #eb2424;
|
||||
font-weight: bold;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.orderList_money view.data-v-0fd6f456:nth-child(1) {
|
||||
font-size: 48rpx;
|
||||
}
|
||||
.orderList_money view.data-v-0fd6f456:nth-child(2) {
|
||||
font-size: 36rpx;
|
||||
}
|
||||
.orderList_cd.data-v-0fd6f456 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.orderList_cd_m.data-v-0fd6f456 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
}
|
||||
.orderList_cd_m_img.data-v-0fd6f456 {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.orderList_cd_m_x.data-v-0fd6f456 {
|
||||
margin-right: 10rpx;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.orderList_cd_m_n.data-v-0fd6f456 {
|
||||
font-weight: bold;
|
||||
font-size: 28rpx;
|
||||
color: #232323;
|
||||
}
|
||||
.orderList_cd_m.data-v-0fd6f456:nth-child(1) {
|
||||
margin-right: 45rpx;
|
||||
}
|
||||
.orderList_note.data-v-0fd6f456 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: start;
|
||||
flex: 1;
|
||||
min-height: 50rpx;
|
||||
background: linear-gradient(270deg, rgba(247, 247, 247, 0) 0%, #f7f7f7 100%);
|
||||
border-radius: 4rpx 4rpx 4rpx 4rpx;
|
||||
font-weight: bold;
|
||||
font-size: 24rpx;
|
||||
color: #232323;
|
||||
padding: 0 15rpx;
|
||||
}
|
||||
.orderList_note_img.data-v-0fd6f456 {
|
||||
width: 31rpx;
|
||||
height: 31rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.nowrapText.data-v-0fd6f456 {
|
||||
white-space: nowrap;
|
||||
/* 超出的空白区域不换行 */
|
||||
overflow: hidden;
|
||||
/* 超出隐藏 */
|
||||
text-overflow: ellipsis;
|
||||
/* 文本超出显示省略号 */
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/orderList/orderList.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/orderList/orderList.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="data-v-0fd6f456"><view class="orderList data-v-0fd6f456" onTap="{{p}}"><view a:if="{{a}}" class="orderList_img data-v-0fd6f456"><image a:for="{{b}}" a:for-item="i" a:key="a" class="data-v-0fd6f456" src="{{i.b}}" mode="aspectFill"></image><view a: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"><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="{{k}}" mode="widthFix"></image><view class="{{('data-v-0fd6f456') + ' ' + o}}">{{l}} <text a:if="{{m}}" class="data-v-0fd6f456">,占用说明:{{n}}</text></view></view></view></view>
|
||||
69
unpackage/dist/dev/mp-alipay/components/orderList/orderList.js
vendored
Normal file
69
unpackage/dist/dev/mp-alipay/components/orderList/orderList.js
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
"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}`
|
||||
});
|
||||
};
|
||||
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_assets._imports_2$2,
|
||||
l: common_vendor.t(__props.info.parkCostInfo),
|
||||
m: __props.info.occupyCostInfo
|
||||
}, __props.info.occupyCostInfo ? {
|
||||
n: common_vendor.t(__props.info.occupyCostInfo)
|
||||
} : {}, {
|
||||
o: common_vendor.n(__props.type == "list" ? "nowrapText" : ""),
|
||||
p: 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"]]);
|
||||
my.createComponent(Component);
|
||||
5
unpackage/dist/dev/mp-alipay/components/orderList/orderList.json
vendored
Normal file
5
unpackage/dist/dev/mp-alipay/components/orderList/orderList.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
44
unpackage/dist/dev/mp-alipay/components/search/search.acss
vendored
Normal file
44
unpackage/dist/dev/mp-alipay/components/search/search.acss
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;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/search/search.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/search/search.axml
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 onChange="{{b}}" onConfirm="{{c}}" u-i="030144b5-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"></up-input></view></view></view>
|
||||
48
unpackage/dist/dev/mp-alipay/components/search/search.js
vendored
Normal file
48
unpackage/dist/dev/mp-alipay/components/search/search.js
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
"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" : "")
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createComponent(_sfc_main);
|
||||
7
unpackage/dist/dev/mp-alipay/components/search/search.json
vendored
Normal file
7
unpackage/dist/dev/mp-alipay/components/search/search.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
11
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.acss
vendored
Normal file
11
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.acss
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: 0;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.axml
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>
|
||||
14
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.js
vendored
Normal file
14
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"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
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createComponent(_sfc_main);
|
||||
5
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.json
vendored
Normal file
5
unpackage/dist/dev/mp-alipay/components/statusBar/statusBar.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
27
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.acss
vendored
Normal file
27
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.acss
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
.tabbar_pages {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: 750rpx;
|
||||
height: 140rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
background-color: #fff;
|
||||
box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(88, 140, 255, 0.1);
|
||||
border-radius: 15rpx 15rpx 0rpx 0rpx;
|
||||
z-index: 99;
|
||||
}
|
||||
.tabbar_pages_view view {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.tabbar_pages_view view image {
|
||||
width: 65rpx;
|
||||
height: 65rpx;
|
||||
}
|
||||
1
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.axml
vendored
Normal file
1
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.axml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="tabbar_pages p30"><view a:for="{{a}}" a:for-item="item" a:key="h" class="tabbar_pages_view" onTap="{{item.i}}"><view a:if="{{item.a}}"><view style="height:70rpx"><image mode="widthFix" style="width:132rpx;height:64rpx" src="{{item.b}}"></image></view><view style="{{'color:' + item.d}}">{{item.c}}</view></view><view a:else><view style="height:70rpx"><image mode="widthFix" src="{{item.e}}"></image></view><view style="{{'color:' + item.g}}">{{item.f}}</view></view></view></view>
|
||||
80
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.js
vendored
Normal file
80
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.js
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "tabbar",
|
||||
props: {
|
||||
path: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const data = __props;
|
||||
let list = common_vendor.ref([
|
||||
{
|
||||
pagePath: "/pages/home/home",
|
||||
text: "首页",
|
||||
icon_select: "/static/tabbar/select_home.png",
|
||||
icon: "/static/tabbar/home.png",
|
||||
type: 0
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/index/index",
|
||||
text: "地图",
|
||||
icon_select: "/static/tabbar/select_sq.png",
|
||||
icon: "/static/tabbar/sq.png",
|
||||
type: 0
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/sweep/sweep",
|
||||
text: "扫码充电",
|
||||
icon_select: "/static/tabbar/find.png",
|
||||
icon: "/static/tabbar/find.png",
|
||||
type: 1
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/order/order",
|
||||
text: "订单",
|
||||
icon_select: "/static/tabbar/select_order.png",
|
||||
icon: "/static/tabbar/order.png",
|
||||
type: 0
|
||||
},
|
||||
{
|
||||
pagePath: "/pages/mine/mine",
|
||||
text: "我的",
|
||||
icon_select: "/static/tabbar/select_my.png",
|
||||
icon: "/static/tabbar/my.png",
|
||||
type: 0
|
||||
}
|
||||
]);
|
||||
const toLink = (e) => {
|
||||
common_vendor.index.vibrateShort();
|
||||
if (data.path == e)
|
||||
return true;
|
||||
common_vendor.index.switchTab({
|
||||
url: e
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(common_vendor.unref(list), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.type == 1
|
||||
}, item.type == 1 ? {
|
||||
b: item.icon,
|
||||
c: common_vendor.t(item.text),
|
||||
d: __props.path == item.pagePath ? "#4879e6" : ""
|
||||
} : {
|
||||
e: __props.path == item.pagePath ? item.icon : item.icon_select,
|
||||
f: common_vendor.t(item.text),
|
||||
g: __props.path == item.pagePath ? "#4879e6" : ""
|
||||
}, {
|
||||
h: index,
|
||||
i: common_vendor.o(($event) => toLink(item.pagePath))
|
||||
});
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
my.createComponent(_sfc_main);
|
||||
5
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.json
vendored
Normal file
5
unpackage/dist/dev/mp-alipay/components/tabbar/tabbar.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"component": true,
|
||||
"styleIsolation": "apply-shared",
|
||||
"usingComponents": {}
|
||||
}
|
||||
Reference in New Issue
Block a user