This commit is contained in:
shuhongfan
2023-09-04 16:40:17 +08:00
commit cf5ac25c14
8267 changed files with 1305066 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
btnText: {
type: String,
default: "\u786E\u5B9A"
},
isActive: {
type: Boolean,
default: false
}
},
emits: ["@confirm"],
setup(__props, { emit: emits }) {
const handleClick = () => {
emits("confirm");
};
return (_ctx, _cache) => {
return {
a: common_vendor.t(__props.btnText),
b: common_vendor.n(__props.isActive ? "active" : ""),
c: common_vendor.o(handleClick)
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-0e2d1a4f"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/BtnFooter/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="BtnFooter data-v-0e2d1a4f"><view class="{{['btn', 'data-v-0e2d1a4f', b]}}" bindtap="{{c}}">{{a}}</view></view>

View File

@@ -0,0 +1,23 @@
/* 水平间距 */
/* 水平间距 */
.BtnFooter.data-v-0e2d1a4f {
position: fixed;
bottom: 0;
height: 172rpx;
width: 100%;
background-color: white;
}
.BtnFooter .btn.data-v-0e2d1a4f {
width: 404rpx;
height: 88rpx;
background: #CCCCCC;
border-radius: 44rpx;
color: white;
font-size: 30rpx;
text-align: center;
line-height: 88rpx;
margin: 24rpx auto 0;
}
.BtnFooter .btn.active.data-v-0e2d1a4f {
background-color: #E84134;
}

View File

@@ -0,0 +1,56 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
title: {
type: String,
default: ""
},
handleToLink: {
type: Function
},
src: {
type: String,
default: "../../static/goBack.png"
}
},
setup(__props) {
const props = __props;
let deviceNavHeight = common_vendor.ref();
let capsuleTop = common_vendor.ref();
let capsuleBottom = common_vendor.ref();
let all = common_vendor.ref();
let capsuleHeight = common_vendor.ref();
common_vendor.onLoad(() => {
common_vendor.index.getSystemInfo({
success: (res) => {
deviceNavHeight.value = res.statusBarHeight;
capsuleTop.value = common_vendor.index.getMenuButtonBoundingClientRect().top;
capsuleBottom.value = common_vendor.index.getMenuButtonBoundingClientRect().bottom;
all.value = capsuleTop.value + capsuleBottom.value - deviceNavHeight.value + "px";
capsuleHeight.value = common_vendor.index.getMenuButtonBoundingClientRect().height;
}
});
});
const handleTo = () => {
if (props.handleToLink) {
props.handleToLink();
} else {
common_vendor.index.navigateBack();
}
};
return (_ctx, _cache) => {
return {
a: common_vendor.t(__props.title),
b: __props.src,
c: common_vendor.o(handleTo),
d: common_vendor.unref(capsuleTop) + "px",
e: common_vendor.unref(capsuleHeight) + "px",
f: common_vendor.unref(all)
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-6e7b2b6e"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/Navbar/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="NavBar data-v-6e7b2b6e" style="{{'height:' + f}}"><view class="title data-v-6e7b2b6e" style="{{'padding-top:' + d + ';' + ('height:' + e)}}">{{a}} <image src="{{b}}" bindtap="{{c}}" class="navbar-image data-v-6e7b2b6e"></image></view></view>

View File

@@ -0,0 +1,20 @@
/* 水平间距 */
/* 水平间距 */
.NavBar.data-v-6e7b2b6e {
position: relative;
background-color: white;
}
.NavBar .title.data-v-6e7b2b6e {
font-weight: bold;
font-size: 32rpx;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.NavBar .navbar-image.data-v-6e7b2b6e {
width: 40rpx;
height: 40rpx;
position: absolute;
left: 26rpx;
}

View File

@@ -0,0 +1,23 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
handleToRefresh: {
type: Function
}
},
setup(__props) {
const props = __props;
const handleTo = () => {
props.handleToRefresh();
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleTo)
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-33ea5bd3"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/NetFail/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="net-fail data-v-33ea5bd3"><image src="/static/net-fail.png" class="net-fail-image data-v-33ea5bd3"/><view class="tips data-v-33ea5bd3">请检查网络</view><view class="btn data-v-33ea5bd3" bindtap="{{a}}">重新加载</view></view>

View File

@@ -0,0 +1,27 @@
/* 水平间距 */
/* 水平间距 */
.net-fail .net-fail-image.data-v-33ea5bd3 {
width: 400rpx;
height: 240rpx;
margin: 0 auto;
display: block;
margin-top: 310rpx;
}
.net-fail .tips.data-v-33ea5bd3 {
text-align: center;
font-size: 28rpx;
color: #818181;
margin-top: 40rpx;
}
.net-fail .btn.data-v-33ea5bd3 {
width: 240rpx;
height: 88rpx;
line-height: 88rpx;
text-align: center;
color: white;
font-size: 30rpx;
background-color: #E63E32;
border-radius: 44rpx;
margin: 0 auto;
margin-top: 64rpx;
}

View File

@@ -0,0 +1,58 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
_easycom_uni_icons2();
}
const _easycom_uni_icons = () => "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
const _sfc_main = {
__name: "index",
props: {
isShowCancel: {
type: Boolean,
default: false
}
},
emits: "handleSearch",
setup(__props, { emit }) {
const searchVal = common_vendor.ref("");
let capsuleTop = common_vendor.ref();
common_vendor.onLoad(() => {
common_vendor.index.getSystemInfo({
success: (res) => {
capsuleTop.value = common_vendor.index.getMenuButtonBoundingClientRect().top;
}
});
});
const handleCancel = () => {
searchVal.value = "";
emit("handleSearch", searchVal);
};
const handleSearch = (e) => {
searchVal.value = e.detail.value;
emit("handleSearch", searchVal);
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.p({
type: "search",
size: "18",
color: "#999"
}),
b: common_vendor.o(handleSearch),
c: common_vendor.o([($event) => searchVal.value = $event.detail.value, handleSearch]),
d: searchVal.value,
e: searchVal.value
}, searchVal.value ? {
f: common_vendor.o(handleCancel)
} : {}, {
g: common_vendor.unref(capsuleTop) + "px"
});
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-39bdeeba"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/uni-search/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
}
}

View File

@@ -0,0 +1 @@
<view class="navBox data-v-39bdeeba"><view class="search data-v-39bdeeba"><view class="uni-navbar data-v-39bdeeba" style="{{'padding-top:' + g}}"><view class="input-view data-v-39bdeeba"><uni-icons wx:if="{{a}}" class="input-uni-icon data-v-39bdeeba" u-i="39bdeeba-0" bind:__l="__l" u-p="{{a}}"/><input confirm-type="search" class="nav-bar-input data-v-39bdeeba" type="text" placeholder="请输入快递单号" bindconfirm="{{b}}" bindinput="{{c}}" value="{{d}}"/><icon wx:if="{{e}}" class="data-v-39bdeeba" type="clear" size="14" bindtap="{{f}}"></icon></view></view></view></view>

View File

@@ -0,0 +1,13 @@
/* 水平间距 */
/* 水平间距 */
.navBox .input-view.data-v-39bdeeba {
position: relative;
}
.navBox .input-view icon.data-v-39bdeeba {
width: 20rpx;
height: 20rpx;
position: absolute;
right: 220rpx;
top: 15rpx;
z-index: 9;
}

View File

@@ -0,0 +1,47 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
tabBars: {
type: Object,
default: () => ({})
},
staticNum: {
type: Object
}
},
emits: "",
setup(__props, { expose, emit }) {
const scrollinto = common_vendor.ref("tab0");
let tabIndex = common_vendor.ref(0);
const changeTab = (index) => {
if (tabIndex.value == index) {
return;
}
tabIndex.value = index;
emit("getTabIndex", index);
scrollinto.value = "tab" + index;
};
expose({
changeTab
});
return (_ctx, _cache) => {
return {
a: common_vendor.f(__props.tabBars, (item, index, i0) => {
return {
a: common_vendor.t(item.label),
b: common_vendor.t(__props.staticNum[index]),
c: common_vendor.n(common_vendor.unref(tabIndex) == index ? "scroll-row-item-act" : "scroll-row-item-normal"),
d: index,
e: "tab" + index,
f: common_vendor.o(($event) => changeTab(index), index)
};
}),
b: scrollinto.value
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/uni-tab/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<scroll-view scroll-x="true" class="tabScroll" scroll-into-view="{{b}}" scroll-with-animation="{{true}}"><view class="scroll-row"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" id="{{item.e}}" class="scroll-row-item" bindtap="{{item.f}}"><view class="{{item.c}}"><text class="line"></text> {{item.a}} <view class="num">{{item.b}}</view></view></view></view></scroll-view>