已支付订单列表:where.payStatus = 1;
This commit is contained in:
+34
@@ -0,0 +1,34 @@
|
||||
"use strict";
|
||||
var _a, _b;
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const props = {
|
||||
props: {
|
||||
// 轮播的长度
|
||||
length: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 当前处于活动状态的轮播的索引
|
||||
current: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 指示器非激活颜色
|
||||
indicatorActiveColor: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
// 指示器的激活颜色
|
||||
indicatorInactiveColor: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
// 指示器模式,line-线型,dot-点型
|
||||
indicatorMode: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
...(_b = (_a = common_vendor.index.$uv) == null ? void 0 : _a.props) == null ? void 0 : _b.swiperIndicator
|
||||
}
|
||||
};
|
||||
exports.props = props;
|
||||
Vendored
+54
@@ -0,0 +1,54 @@
|
||||
"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_uvSwiper_components_uvSwiperIndicator_props = require("./props.js");
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "uv-swiper-indicator",
|
||||
mixins: [uni_modules_uvUiTools_libs_mixin_mpMixin.mpMixin, uni_modules_uvUiTools_libs_mixin_mixin.mixin, uni_modules_uvSwiper_components_uvSwiperIndicator_props.props],
|
||||
data() {
|
||||
return {
|
||||
lineWidth: 22
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
// 指示器为线型的样式
|
||||
lineStyle() {
|
||||
let style = {};
|
||||
style.width = this.$uv.addUnit(this.lineWidth);
|
||||
style.transform = `translateX(${this.$uv.addUnit(this.current * this.lineWidth)})`;
|
||||
style.backgroundColor = this.indicatorActiveColor;
|
||||
return style;
|
||||
},
|
||||
// 指示器为点型的样式
|
||||
dotStyle() {
|
||||
return (index) => {
|
||||
let style = {};
|
||||
style.backgroundColor = index === this.current ? this.indicatorActiveColor : this.indicatorInactiveColor;
|
||||
return style;
|
||||
};
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: _ctx.indicatorMode === "line"
|
||||
}, _ctx.indicatorMode === "line" ? {
|
||||
b: common_vendor.s($options.lineStyle),
|
||||
c: common_vendor.n(`uv-swiper-indicator__wrapper--${_ctx.indicatorMode}`),
|
||||
d: _ctx.$uv.addUnit($data.lineWidth * _ctx.length),
|
||||
e: _ctx.indicatorInactiveColor
|
||||
} : {}, {
|
||||
f: _ctx.indicatorMode === "dot"
|
||||
}, _ctx.indicatorMode === "dot" ? {
|
||||
g: common_vendor.f(_ctx.length, (item, index, i0) => {
|
||||
return {
|
||||
a: index,
|
||||
b: common_vendor.n(index === _ctx.current && "uv-swiper-indicator__wrapper__dot--active"),
|
||||
c: common_vendor.s($options.dotStyle(index))
|
||||
};
|
||||
})
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-1dcca93c"], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/uni_modules/uv-swiper/components/uv-swiper-indicator/uv-swiper-indicator.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
Vendored
+1
@@ -0,0 +1 @@
|
||||
<view class="uv-swiper-indicator data-v-1dcca93c"><view wx:if="{{a}}" class="{{['uv-swiper-indicator__wrapper', 'data-v-1dcca93c', c]}}" style="{{'width:' + d + ';' + ('background-color:' + e)}}"><view class="uv-swiper-indicator__wrapper--line__bar data-v-1dcca93c" style="{{b}}"></view></view><view wx:if="{{f}}" class="uv-swiper-indicator__wrapper data-v-1dcca93c"><view wx:for="{{g}}" wx:for-item="item" wx:key="a" class="{{['uv-swiper-indicator__wrapper__dot', 'data-v-1dcca93c', item.b]}}" style="{{item.c}}"></view></view></view>
|
||||
Vendored
+58
@@ -0,0 +1,58 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
view.data-v-1dcca93c, scroll-view.data-v-1dcca93c, swiper-item.data-v-1dcca93c {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.uv-swiper-indicator__wrapper.data-v-1dcca93c {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.uv-swiper-indicator__wrapper--line.data-v-1dcca93c {
|
||||
border-radius: 100px;
|
||||
height: 4px;
|
||||
}
|
||||
.uv-swiper-indicator__wrapper--line__bar.data-v-1dcca93c {
|
||||
width: 22px;
|
||||
height: 4px;
|
||||
border-radius: 100px;
|
||||
background-color: #FFFFFF;
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
.uv-swiper-indicator__wrapper__dot.data-v-1dcca93c {
|
||||
width: 5px;
|
||||
height: 5px;
|
||||
border-radius: 100px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
.uv-swiper-indicator__wrapper__dot--active.data-v-1dcca93c {
|
||||
width: 12px;
|
||||
}
|
||||
@@ -0,0 +1,140 @@
|
||||
"use strict";
|
||||
var _a, _b;
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const props = {
|
||||
props: {
|
||||
// 列表数组,元素可为字符串,如为对象可通过keyName指定目标属性名
|
||||
list: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
// 是否显示面板指示器
|
||||
indicator: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 指示器非激活颜色
|
||||
indicatorActiveColor: {
|
||||
type: String,
|
||||
default: "#fff"
|
||||
},
|
||||
// 指示器的激活颜色
|
||||
indicatorInactiveColor: {
|
||||
type: String,
|
||||
default: "rgba(255, 255, 255, 0.35)"
|
||||
},
|
||||
// 指示器样式,可通过bottom,left,right进行定位
|
||||
indicatorStyle: {
|
||||
type: [String, Object],
|
||||
default: ""
|
||||
},
|
||||
// 指示器模式,line-线型,dot-点型
|
||||
indicatorMode: {
|
||||
type: String,
|
||||
default: "line"
|
||||
},
|
||||
// 是否自动切换
|
||||
autoplay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 当前所在滑块的 index
|
||||
current: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 当前所在滑块的 item-id ,不能与 current 被同时指定
|
||||
currentItemId: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
// 滑块自动切换时间间隔
|
||||
interval: {
|
||||
type: [String, Number],
|
||||
default: 3e3
|
||||
},
|
||||
// 滑块切换过程所需时间
|
||||
duration: {
|
||||
type: [String, Number],
|
||||
default: 300
|
||||
},
|
||||
// 播放到末尾后是否重新回到开头
|
||||
circular: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 滑动方向是否为纵向
|
||||
vertical: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 前边距,可用于露出前一项的一小部分,nvue和支付宝不支持
|
||||
previousMargin: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 后边距,可用于露出后一项的一小部分,nvue和支付宝不支持
|
||||
nextMargin: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 当开启时,会根据滑动速度,连续滑动多屏,支付宝不支持
|
||||
acceleration: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 同时显示的滑块数量,nvue、支付宝小程序不支持
|
||||
displayMultipleItems: {
|
||||
type: Number,
|
||||
default: 1
|
||||
},
|
||||
// 指定swiper切换缓动动画类型,有效值:default、linear、easeInCubic、easeOutCubic、easeInOutCubic
|
||||
// 只对微信小程序有效
|
||||
easingFunction: {
|
||||
type: String,
|
||||
default: "default"
|
||||
},
|
||||
// list数组中指定对象的目标属性名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: "url"
|
||||
},
|
||||
// 图片的裁剪模式
|
||||
imgMode: {
|
||||
type: String,
|
||||
default: "aspectFill"
|
||||
},
|
||||
// 组件高度
|
||||
height: {
|
||||
type: [String, Number],
|
||||
default: 130
|
||||
},
|
||||
// 背景颜色
|
||||
bgColor: {
|
||||
type: String,
|
||||
default: "#f3f4f6"
|
||||
},
|
||||
// 组件圆角,数值或带单位的字符串
|
||||
radius: {
|
||||
type: [String, Number],
|
||||
default: 4
|
||||
},
|
||||
// 是否加载中
|
||||
loading: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否显示标题,要求数组对象中有title属性
|
||||
showTitle: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 显示的标题样式
|
||||
titleStyle: {
|
||||
type: [Object, String],
|
||||
default: ""
|
||||
},
|
||||
...(_b = (_a = common_vendor.index.$uv) == null ? void 0 : _a.props) == null ? void 0 : _b.swiper
|
||||
}
|
||||
};
|
||||
exports.props = props;
|
||||
@@ -0,0 +1,155 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
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_uvSwiper_components_uvSwiper_props = require("./props.js");
|
||||
const _sfc_main = {
|
||||
name: "uv-swiper",
|
||||
mixins: [uni_modules_uvUiTools_libs_mixin_mpMixin.mpMixin, uni_modules_uvUiTools_libs_mixin_mixin.mixin, uni_modules_uvSwiper_components_uvSwiper_props.props],
|
||||
emits: ["click", "change"],
|
||||
data() {
|
||||
return {
|
||||
currentIndex: 0
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
current(val, preVal) {
|
||||
if (val === preVal) return;
|
||||
this.currentIndex = val;
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
itemStyle() {
|
||||
return (index) => {
|
||||
const style = {};
|
||||
if (this.nextMargin && this.previousMargin) {
|
||||
style.borderRadius = this.$uv.addUnit(this.radius);
|
||||
if (index !== this.currentIndex) style.transform = "scale(0.92)";
|
||||
}
|
||||
return style;
|
||||
};
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
getItemType(item) {
|
||||
if (typeof item === "string") return this.$uv.test.video(this.getSource(item)) ? "video" : "image";
|
||||
if (typeof item === "object" && this.keyName) {
|
||||
if (!item.type) return this.$uv.test.video(this.getSource(item)) ? "video" : "image";
|
||||
if (item.type === "image") return "image";
|
||||
if (item.type === "video") return "video";
|
||||
return "image";
|
||||
}
|
||||
},
|
||||
// 获取目标路径,可能数组中为字符串,对象的形式,额外可指定对象的目标属性名keyName
|
||||
getSource(item) {
|
||||
if (typeof item === "string") return item;
|
||||
if (typeof item === "object" && this.keyName) return item[this.keyName];
|
||||
else this.$uv.error("请按格式传递列表参数");
|
||||
return "";
|
||||
},
|
||||
// 轮播切换事件
|
||||
change(e) {
|
||||
const {
|
||||
current
|
||||
} = e.detail;
|
||||
this.pauseVideo(this.currentIndex);
|
||||
this.currentIndex = current;
|
||||
this.$emit("change", e.detail);
|
||||
},
|
||||
// 切换轮播时,暂停视频播放
|
||||
pauseVideo(index) {
|
||||
const lastItem = this.getSource(this.list[index]);
|
||||
if (this.$uv.test.video(lastItem)) {
|
||||
const video = common_vendor.index.createVideoContext(`video-${index}`, this);
|
||||
video.pause();
|
||||
}
|
||||
},
|
||||
// 当一个轮播item为视频时,获取它的视频海报
|
||||
getPoster(item) {
|
||||
return typeof item === "object" && item.poster ? item.poster : "";
|
||||
},
|
||||
// 点击某个item
|
||||
clickHandler(index) {
|
||||
this.$emit("click", index);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_uv_loading_icon2 = common_vendor.resolveComponent("uv-loading-icon");
|
||||
const _easycom_uv_swiper_indicator2 = common_vendor.resolveComponent("uv-swiper-indicator");
|
||||
(_easycom_uv_loading_icon2 + _easycom_uv_swiper_indicator2)();
|
||||
}
|
||||
const _easycom_uv_loading_icon = () => "../../../uv-loading-icon/components/uv-loading-icon/uv-loading-icon.js";
|
||||
const _easycom_uv_swiper_indicator = () => "../uv-swiper-indicator/uv-swiper-indicator.js";
|
||||
if (!Math) {
|
||||
(_easycom_uv_loading_icon + _easycom_uv_swiper_indicator)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: _ctx.loading
|
||||
}, _ctx.loading ? {
|
||||
b: common_vendor.p({
|
||||
mode: "circle"
|
||||
})
|
||||
} : {
|
||||
c: common_vendor.f(_ctx.list, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: $options.getItemType(item) === "image"
|
||||
}, $options.getItemType(item) === "image" ? {
|
||||
b: $options.getSource(item),
|
||||
c: _ctx.imgMode,
|
||||
d: common_vendor.o(($event) => $options.clickHandler(index), index),
|
||||
e: _ctx.$uv.addUnit(_ctx.height),
|
||||
f: _ctx.$uv.addUnit(_ctx.radius)
|
||||
} : {}, {
|
||||
g: $options.getItemType(item) === "video"
|
||||
}, $options.getItemType(item) === "video" ? {
|
||||
h: `video-${index}`,
|
||||
i: $options.getSource(item),
|
||||
j: $options.getPoster(item),
|
||||
k: _ctx.showTitle && _ctx.$uv.test.object(item) && item.title ? item.title : "",
|
||||
l: _ctx.$uv.addUnit(_ctx.height),
|
||||
m: common_vendor.o(($event) => $options.clickHandler(index), index)
|
||||
} : {}, {
|
||||
n: _ctx.showTitle && _ctx.$uv.test.object(item) && item.title
|
||||
}, _ctx.showTitle && _ctx.$uv.test.object(item) && item.title ? {
|
||||
o: common_vendor.t(item.title),
|
||||
p: common_vendor.s(_ctx.$uv.addStyle(_ctx.titleStyle))
|
||||
} : {}, {
|
||||
q: common_vendor.s($options.itemStyle(index)),
|
||||
r: index
|
||||
});
|
||||
}),
|
||||
d: _ctx.$uv.addUnit(_ctx.height),
|
||||
e: common_vendor.o((...args) => $options.change && $options.change(...args)),
|
||||
f: _ctx.circular,
|
||||
g: _ctx.vertical,
|
||||
h: _ctx.interval,
|
||||
i: _ctx.duration,
|
||||
j: _ctx.autoplay,
|
||||
k: _ctx.current,
|
||||
l: _ctx.currentItemId,
|
||||
m: _ctx.$uv.addUnit(_ctx.previousMargin),
|
||||
n: _ctx.$uv.addUnit(_ctx.nextMargin),
|
||||
o: _ctx.acceleration,
|
||||
p: _ctx.displayMultipleItems,
|
||||
q: _ctx.easingFunction
|
||||
}, {
|
||||
r: !_ctx.loading && _ctx.indicator && !_ctx.showTitle
|
||||
}, !_ctx.loading && _ctx.indicator && !_ctx.showTitle ? {
|
||||
s: common_vendor.p({
|
||||
indicatorActiveColor: _ctx.indicatorActiveColor,
|
||||
indicatorInactiveColor: _ctx.indicatorInactiveColor,
|
||||
length: _ctx.list.length,
|
||||
current: $data.currentIndex,
|
||||
indicatorMode: _ctx.indicatorMode
|
||||
})
|
||||
} : {}, {
|
||||
t: common_vendor.s(_ctx.$uv.addStyle(_ctx.indicatorStyle)),
|
||||
v: _ctx.bgColor,
|
||||
w: _ctx.$uv.addUnit(_ctx.height),
|
||||
x: _ctx.$uv.addUnit(_ctx.radius)
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b9aa89c4"], ["__file", "/Users/gxwebsoft/APP/gxtyzx-uniapp-cli/src/uni_modules/uv-swiper/components/uv-swiper/uv-swiper.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uv-loading-icon": "../../../uv-loading-icon/components/uv-loading-icon/uv-loading-icon",
|
||||
"uv-swiper-indicator": "../uv-swiper-indicator/uv-swiper-indicator"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="uv-swiper data-v-b9aa89c4" style="{{'background-color:' + v + ';' + ('height:' + w) + ';' + ('border-radius:' + x)}}"><view wx:if="{{a}}" class="uv-swiper__loading data-v-b9aa89c4"><uv-loading-icon wx:if="{{b}}" class="data-v-b9aa89c4" u-i="b9aa89c4-0" bind:__l="__l" u-p="{{b}}"></uv-loading-icon></view><swiper wx:else class="uv-swiper__wrapper data-v-b9aa89c4" style="{{'height:' + d + ';' + ('flex:' + 1)}}" bindchange="{{e}}" circular="{{f}}" vertical="{{g}}" interval="{{h}}" duration="{{i}}" autoplay="{{j}}" current="{{k}}" currentItemId="{{l}}" previousMargin="{{m}}" nextMargin="{{n}}" acceleration="{{o}}" displayMultipleItems="{{p}}" easingFunction="{{q}}"><swiper-item wx:for="{{c}}" wx:for-item="item" wx:key="r" class="uv-swiper__wrapper__item data-v-b9aa89c4"><view class="uv-swiper__wrapper__item__wrapper data-v-b9aa89c4" style="{{item.q}}"><image wx:if="{{item.a}}" class="uv-swiper__wrapper__item__wrapper__image data-v-b9aa89c4" src="{{item.b}}" mode="{{item.c}}" bindtap="{{item.d}}" style="{{'height:' + item.e + ';' + ('border-radius:' + item.f)}}"></image><video wx:if="{{item.g}}" class="uv-swiper__wrapper__item__wrapper__video data-v-b9aa89c4" id="{{item.h}}" enable-progress-gesture="{{false}}" src="{{item.i}}" poster="{{item.j}}" title="{{item.k}}" style="{{'height:' + item.l}}" controls bindtap="{{item.m}}"></video><text wx:if="{{item.n}}" class="uv-swiper__wrapper__item__wrapper__title uv-line-1 data-v-b9aa89c4" style="{{item.p}}">{{item.o}}</text></view></swiper-item></swiper><view class="uv-swiper__indicator data-v-b9aa89c4" style="{{t}}"><block wx:if="{{$slots.indicator}}"><slot name="indicator"></slot></block><block wx:else><uv-swiper-indicator wx:if="{{r}}" class="data-v-b9aa89c4" u-i="b9aa89c4-1" bind:__l="__l" u-p="{{s}}"></uv-swiper-indicator></block></view></view>
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.uv-line-1.data-v-b9aa89c4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 1;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.uv-line-2.data-v-b9aa89c4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.uv-line-3.data-v-b9aa89c4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 3;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.uv-line-4.data-v-b9aa89c4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 4;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
.uv-line-5.data-v-b9aa89c4 {
|
||||
display: -webkit-box !important;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
word-break: break-all;
|
||||
-webkit-line-clamp: 5;
|
||||
-webkit-box-orient: vertical !important;
|
||||
}
|
||||
view.data-v-b9aa89c4, scroll-view.data-v-b9aa89c4, swiper-item.data-v-b9aa89c4 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.uv-swiper.data-v-b9aa89c4 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.uv-swiper__wrapper.data-v-b9aa89c4 {
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__wrapper__item.data-v-b9aa89c4 {
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__wrapper__item__wrapper.data-v-b9aa89c4 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: transform 0.3s;
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__wrapper__item__wrapper__image.data-v-b9aa89c4 {
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__wrapper__item__wrapper__video.data-v-b9aa89c4 {
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__wrapper__item__wrapper__title.data-v-b9aa89c4 {
|
||||
position: absolute;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
font-size: 28rpx;
|
||||
height: 60rpx;
|
||||
line-height: 60rpx;
|
||||
color: #FFFFFF;
|
||||
flex: 1;
|
||||
}
|
||||
.uv-swiper__indicator.data-v-b9aa89c4 {
|
||||
position: absolute;
|
||||
bottom: 10px;
|
||||
}
|
||||
Reference in New Issue
Block a user