已支付订单列表: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";
const common_vendor = require("../../../../common/vendor.js");
const ComponentClass = "uni-col";
const _sfc_main = {
name: "uniCol",
options: {
virtualHost: true
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现
},
props: {
span: {
type: Number,
default: 24
},
offset: {
type: Number,
default: -1
},
pull: {
type: Number,
default: -1
},
push: {
type: Number,
default: -1
},
xs: [Number, Object],
sm: [Number, Object],
md: [Number, Object],
lg: [Number, Object],
xl: [Number, Object]
},
data() {
return {
gutter: 0,
sizeClass: "",
parentWidth: 0,
nvueWidth: 0,
marginLeft: 0,
right: 0,
left: 0
};
},
created() {
let parent = this.$parent;
while (parent && parent.$options.componentName !== "uniRow") {
parent = parent.$parent;
}
this.updateGutter(parent.gutter);
parent.$watch("gutter", (gutter) => {
this.updateGutter(gutter);
});
},
computed: {
sizeList() {
let {
span,
offset,
pull,
push
} = this;
return {
span,
offset,
pull,
push
};
},
pointClassList() {
let classList = [];
["xs", "sm", "md", "lg", "xl"].forEach((point) => {
const props = this[point];
if (typeof props === "number") {
classList.push(`${ComponentClass}-${point}-${props}`);
} else if (typeof props === "object" && props) {
Object.keys(props).forEach((pointProp) => {
classList.push(
pointProp === "span" ? `${ComponentClass}-${point}-${props[pointProp]}` : `${ComponentClass}-${point}-${pointProp}-${props[pointProp]}`
);
});
}
});
return classList.join(" ");
}
},
methods: {
updateGutter(parentGutter) {
parentGutter = Number(parentGutter);
if (!isNaN(parentGutter)) {
this.gutter = parentGutter / 2;
}
}
},
watch: {
sizeList: {
immediate: true,
handler(newVal) {
let classList = [];
for (let size in newVal) {
const curSize = newVal[size];
if ((curSize || curSize === 0) && curSize !== -1) {
classList.push(
size === "span" ? `${ComponentClass}-${curSize}` : `${ComponentClass}-${size}-${curSize}`
);
}
}
this.sizeClass = classList.join(" ");
}
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.n($data.sizeClass),
b: common_vendor.n($options.pointClassList),
c: `${Number($data.gutter)}rpx`,
d: `${Number($data.gutter)}rpx`
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-67dffd50"], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/uni_modules/uni-row/components/uni-col/uni-col.vue"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['data-v-67dffd50', 'uni-col', a, b]}}" style="{{'padding-left:' + c + ';' + ('padding-right:' + d)}}"><slot></slot></view>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,59 @@
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const ComponentClass = "uni-row";
const modifierSeparator = "--";
const _sfc_main = {
name: "uniRow",
componentName: "uniRow",
options: {
virtualHost: true
// 在微信小程序中将组件节点渲染为虚拟节点,更加接近Vue组件的表现,可使用flex布局
},
props: {
type: String,
gutter: Number,
justify: {
type: String,
default: "start"
},
align: {
type: String,
default: "top"
},
// nvue如果使用span等属性,需要配置宽度
width: {
type: [String, Number],
default: 750
}
},
created() {
},
computed: {
marginValue() {
if (this.gutter) {
return -(this.gutter / 2);
}
return 0;
},
typeClass() {
return this.type === "flex" ? `${ComponentClass + modifierSeparator}flex` : "";
},
justifyClass() {
return this.justify !== "start" ? `${ComponentClass + modifierSeparator}flex-justify-${this.justify}` : "";
},
alignClass() {
return this.align !== "top" ? `${ComponentClass + modifierSeparator}flex-align-${this.align}` : "";
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: common_vendor.n($options.typeClass),
b: common_vendor.n($options.justifyClass),
c: common_vendor.n($options.alignClass),
d: `${Number($options.marginValue)}rpx`,
e: `${Number($options.marginValue)}rpx`
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/uni_modules/uni-row/components/uni-row/uni-row.vue"]]);
wx.createComponent(Component);
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view class="{{['uni-row', a, b, c]}}" style="{{'margin-left:' + d + ';' + ('margin-right:' + e)}}"><slot></slot></view>
@@ -0,0 +1,68 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.uni-row {
position: relative;
flex-direction: row;
box-sizing: border-box;
}
.uni-row::before,
.uni-row::after {
display: table;
content: "";
}
.uni-row::after {
clear: both;
}
.uni-row--flex {
display: flex;
flex-direction: row;
flex-wrap: wrap;
flex: 1;
}
.uni-row--flex:before, .uni-row--flex:after {
display: none;
}
.uni-row--flex-justify-center {
justify-content: center;
}
.uni-row--flex-justify-end {
justify-content: flex-end;
}
.uni-row--flex-justify-space-between {
justify-content: space-between;
}
.uni-row--flex-justify-space-around {
justify-content: space-around;
}
.uni-row--flex-align-middle {
align-items: center;
}
.uni-row--flex-align-bottom {
align-items: flex-end;
}
:host {
display: block;
}