已支付订单列表:where.payStatus = 1;

This commit is contained in:
2024-07-10 22:44:18 +08:00
parent 9dd834adb5
commit 1311eb03b8
611 changed files with 92828 additions and 400 deletions
@@ -0,0 +1,121 @@
"use strict";
var _a, _b;
const common_vendor = require("../../../../common/vendor.js");
const props = {
props: {
// 标题
title: {
type: [String, Number],
default: ""
},
// 标题下方的描述信息
label: {
type: [String, Number],
default: ""
},
// 右侧的内容
value: {
type: [String, Number],
default: ""
},
// 左侧图标名称,或者图片链接(本地文件建议使用绝对地址)
icon: {
type: String,
default: ""
},
// 是否禁用cell
disabled: {
type: Boolean,
default: false
},
// 是否显示下边框
border: {
type: Boolean,
default: true
},
// 内容是否垂直居中(主要是针对右侧的value部分)
center: {
type: Boolean,
default: true
},
// 点击后跳转的URL地址
url: {
type: String,
default: ""
},
// 链接跳转的方式,内部使用的是uvui封装的route方法,可能会进行拦截操作
linkType: {
type: String,
default: "navigateTo"
},
// 是否开启点击反馈(表现为点击时加上灰色背景)
clickable: {
type: Boolean,
default: false
},
// 是否展示右侧箭头并开启点击反馈
isLink: {
type: Boolean,
default: false
},
// 是否显示表单状态下的必填星号(此组件可能会内嵌入input组件)
required: {
type: Boolean,
default: false
},
// 右侧的图标箭头
rightIcon: {
type: String,
default: "arrow-right"
},
// 右侧箭头的方向,可选值为:left,up,down
arrowDirection: {
type: String,
default: ""
},
// 左侧图标样式
iconStyle: {
type: [Object, String],
default: () => {
return {};
}
},
// 右侧箭头图标的样式
rightIconStyle: {
type: [Object, String],
default: () => {
return {};
}
},
// 标题的样式
titleStyle: {
type: [Object, String],
default: () => {
return {};
}
},
// 单位元的大小,可选值为large
size: {
type: String,
default: ""
},
// 点击cell是否阻止事件传播
stop: {
type: Boolean,
default: true
},
// 标识符,cell被点击时返回
name: {
type: [Number, String],
default: ""
},
// 单元格自定义样式
cellStyle: {
type: [Object, String],
default: () => {
}
},
...(_b = (_a = common_vendor.index.$uv) == null ? void 0 : _a.props) == null ? void 0 : _b.cell
}
};
exports.props = props;
@@ -0,0 +1,88 @@
"use strict";
const uni_modules_uvUiTools_libs_mixin_mpMixin = require("../../../uv-ui-tools/libs/mixin/mpMixin.js");
const uni_modules_uvUiTools_libs_mixin_mixin = require("../../../uv-ui-tools/libs/mixin/mixin.js");
const uni_modules_uvCell_components_uvCell_props = require("./props.js");
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "uv-cell",
emits: ["click"],
mixins: [uni_modules_uvUiTools_libs_mixin_mpMixin.mpMixin, uni_modules_uvUiTools_libs_mixin_mixin.mixin, uni_modules_uvCell_components_uvCell_props.props],
computed: {
titleTextStyle() {
return this.$uv.addStyle(this.titleStyle);
}
},
methods: {
// 点击cell
clickHandler(e) {
if (this.disabled) return;
this.$emit("click", {
name: this.name
});
this.openPage();
this.stop && this.preventEvent(e);
}
}
};
if (!Array) {
const _easycom_uv_icon2 = common_vendor.resolveComponent("uv-icon");
const _easycom_uv_line2 = common_vendor.resolveComponent("uv-line");
(_easycom_uv_icon2 + _easycom_uv_line2)();
}
const _easycom_uv_icon = () => "../../../uv-icon/components/uv-icon/uv-icon.js";
const _easycom_uv_line = () => "../../../uv-line/components/uv-line/uv-line.js";
if (!Math) {
(_easycom_uv_icon + _easycom_uv_line)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: _ctx.icon
}, _ctx.icon ? {
b: common_vendor.p({
name: _ctx.icon,
["custom-style"]: _ctx.iconStyle,
size: _ctx.size === "large" ? 22 : 18
})
} : {}, {
c: _ctx.title
}, _ctx.title ? {
d: common_vendor.t(_ctx.title),
e: common_vendor.s($options.titleTextStyle),
f: common_vendor.n(_ctx.disabled && "uv-cell--disabled"),
g: common_vendor.n(_ctx.size === "large" && "uv-cell__title-text--large")
} : {}, {
h: _ctx.label
}, _ctx.label ? {
i: common_vendor.t(_ctx.label),
j: common_vendor.n(_ctx.disabled && "uv-cell--disabled"),
k: common_vendor.n(_ctx.size === "large" && "uv-cell__label--large")
} : {}, {
l: !_ctx.$uv.test.empty(_ctx.value)
}, !_ctx.$uv.test.empty(_ctx.value) ? {
m: common_vendor.t(_ctx.value),
n: common_vendor.n(_ctx.disabled && "uv-cell--disabled"),
o: common_vendor.n(_ctx.size === "large" && "uv-cell__value--large")
} : {}, {
p: _ctx.isLink
}, _ctx.isLink ? {
q: common_vendor.p({
name: _ctx.rightIcon,
["custom-style"]: _ctx.rightIconStyle,
color: _ctx.disabled ? "#c8c9cc" : "info",
size: _ctx.size === "large" ? 18 : 16
})
} : {}, {
r: common_vendor.n(`uv-cell__right-icon-wrap--${_ctx.arrowDirection}`),
s: common_vendor.n(_ctx.center && "uv-cell--center"),
t: common_vendor.n(_ctx.size === "large" && "uv-cell__body--large"),
v: common_vendor.s(_ctx.cellStyle),
w: _ctx.border
}, _ctx.border ? {} : {}, {
x: common_vendor.n(_ctx.customClass),
y: common_vendor.s(_ctx.$uv.addStyle(_ctx.customStyle)),
z: !_ctx.disabled && (_ctx.clickable || _ctx.isLink) ? "uv-cell--clickable" : "",
A: common_vendor.o((...args) => $options.clickHandler && $options.clickHandler(...args))
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7e78db41"], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/uni_modules/uv-cell/components/uv-cell/uv-cell.vue"]]);
wx.createComponent(Component);
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"uv-icon": "../../../uv-icon/components/uv-icon/uv-icon",
"uv-line": "../../../uv-line/components/uv-line/uv-line"
}
}
@@ -0,0 +1 @@
<view class="{{['uv-cell', 'data-v-7e78db41', x]}}" style="{{y}}" hover-class="{{z}}" hover-stay-time="{{250}}" bindtap="{{A}}"><view class="{{['uv-cell__body', 'data-v-7e78db41', s, t]}}" style="{{v}}"><view class="uv-cell__body__content data-v-7e78db41"><view class="uv-cell__left-icon-wrap data-v-7e78db41"><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><uv-icon wx:if="{{a}}" class="data-v-7e78db41" u-i="7e78db41-0" bind:__l="__l" u-p="{{b}}"></uv-icon></block></view><view class="uv-cell__title data-v-7e78db41"><block wx:if="{{$slots.title}}"><slot name="title"></slot></block><block wx:else><text wx:if="{{c}}" style="{{e}}" class="{{['uv-cell__title-text', 'data-v-7e78db41', f, g]}}">{{d}}</text></block><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else><text wx:if="{{h}}" class="{{['uv-cell__label', 'data-v-7e78db41', j, k]}}">{{i}}</text></block></view></view><block wx:if="{{$slots.value}}"><slot name="value"></slot></block><block wx:else><text wx:if="{{l}}" class="{{['uv-cell__value', 'data-v-7e78db41', n, o]}}">{{m}}</text></block><view class="{{['uv-cell__right-icon-wrap', 'data-v-7e78db41', r]}}"><block wx:if="{{$slots['right-icon']}}"><slot name="right-icon"></slot></block><block wx:else><uv-icon wx:if="{{p}}" class="data-v-7e78db41" u-i="7e78db41-1" bind:__l="__l" u-p="{{q}}"></uv-icon></block></view></view><uv-line wx:if="{{w}}" class="data-v-7e78db41" u-i="7e78db41-2" bind:__l="__l"></uv-line></view>
@@ -0,0 +1,110 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view.data-v-7e78db41, scroll-view.data-v-7e78db41, swiper-item.data-v-7e78db41 {
display: flex;
flex-direction: column;
flex-shrink: 0;
flex-grow: 0;
flex-basis: auto;
align-items: stretch;
align-content: flex-start;
}
.uv-cell__body.data-v-7e78db41 {
display: flex;
flex-direction: row;
box-sizing: border-box;
padding: 10px 15px;
font-size: 15px;
color: #303133;
}
.uv-cell__body__content.data-v-7e78db41 {
display: flex;
flex-direction: row;
align-items: center;
flex: 1;
}
.uv-cell__body--large.data-v-7e78db41 {
padding-top: 13px;
padding-bottom: 13px;
}
.uv-cell__left-icon-wrap.data-v-7e78db41, .uv-cell__right-icon-wrap.data-v-7e78db41 {
display: flex;
flex-direction: row;
align-items: center;
font-size: 16px;
}
.uv-cell__left-icon-wrap.data-v-7e78db41 {
margin-right: 4px;
}
.uv-cell__right-icon-wrap.data-v-7e78db41 {
margin-left: 4px;
transition: transform 0.3s;
}
.uv-cell__right-icon-wrap--up.data-v-7e78db41 {
transform: rotate(-90deg);
}
.uv-cell__right-icon-wrap--down.data-v-7e78db41 {
transform: rotate(90deg);
}
.uv-cell__title.data-v-7e78db41 {
flex: 1;
}
.uv-cell__title-text.data-v-7e78db41 {
font-size: 15px;
line-height: 22px;
color: #303133;
}
.uv-cell__title-text--large.data-v-7e78db41 {
font-size: 16px;
}
.uv-cell__label.data-v-7e78db41 {
margin-top: 5px;
font-size: 12px;
color: #909193;
line-height: 18px;
}
.uv-cell__label--large.data-v-7e78db41 {
font-size: 14px;
}
.uv-cell__value.data-v-7e78db41 {
text-align: right;
font-size: 14px;
line-height: 24px;
color: #606266;
}
.uv-cell__value--large.data-v-7e78db41 {
font-size: 15px;
}
.uv-cell--clickable.data-v-7e78db41 {
background-color: #f3f4f6;
}
.uv-cell--disabled.data-v-7e78db41 {
color: #c8c9cc;
cursor: not-allowed;
}
.uv-cell--center.data-v-7e78db41 {
align-items: center;
}