first commit
This commit is contained in:
108
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/types.js
vendored
Normal file
108
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/types.js
vendored
Normal file
@@ -0,0 +1,108 @@
|
||||
"use strict";
|
||||
const uni_modules_wotDesignUni_components_common_props = require("../common/props.js");
|
||||
const cellProps = {
|
||||
...uni_modules_wotDesignUni_components_common_props.baseProps,
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
title: String,
|
||||
/**
|
||||
* 右侧内容
|
||||
*/
|
||||
value: uni_modules_wotDesignUni_components_common_props.makeNumericProp(""),
|
||||
/**
|
||||
* 图标类名
|
||||
*/
|
||||
icon: String,
|
||||
/**
|
||||
* 图标大小
|
||||
*/
|
||||
iconSize: uni_modules_wotDesignUni_components_common_props.numericProp,
|
||||
/**
|
||||
* 描述信息
|
||||
*/
|
||||
label: String,
|
||||
/**
|
||||
* 是否为跳转链接
|
||||
*/
|
||||
isLink: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 跳转地址
|
||||
*/
|
||||
to: String,
|
||||
/**
|
||||
* 跳转时是否替换栈顶页面
|
||||
*/
|
||||
replace: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 开启点击反馈,is-link 默认开启
|
||||
*/
|
||||
clickable: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 设置单元格大小,可选值:large
|
||||
*/
|
||||
size: String,
|
||||
/**
|
||||
* 是否展示边框线
|
||||
*/
|
||||
border: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(void 0),
|
||||
/**
|
||||
* 设置左侧标题宽度
|
||||
*/
|
||||
titleWidth: String,
|
||||
/**
|
||||
* 是否垂直居中,默认顶部居中
|
||||
*/
|
||||
center: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 是否必填
|
||||
*/
|
||||
required: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 表单属性,上下结构
|
||||
*/
|
||||
vertical: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 表单域 model 字段名,在使用表单校验功能的情况下,该属性是必填的
|
||||
*/
|
||||
prop: String,
|
||||
/**
|
||||
* 表单验证规则,结合wd-form组件使用
|
||||
*/
|
||||
rules: uni_modules_wotDesignUni_components_common_props.makeArrayProp(),
|
||||
/**
|
||||
* icon 使用 slot 时的自定义样式
|
||||
*/
|
||||
customIconClass: uni_modules_wotDesignUni_components_common_props.makeStringProp(""),
|
||||
/**
|
||||
* label 使用 slot 时的自定义样式
|
||||
*/
|
||||
customLabelClass: uni_modules_wotDesignUni_components_common_props.makeStringProp(""),
|
||||
/**
|
||||
* value 使用 slot 时的自定义样式
|
||||
*/
|
||||
customValueClass: uni_modules_wotDesignUni_components_common_props.makeStringProp(""),
|
||||
/**
|
||||
* title 使用 slot 时的自定义样式
|
||||
*/
|
||||
customTitleClass: uni_modules_wotDesignUni_components_common_props.makeStringProp(""),
|
||||
/**
|
||||
* value 文字对齐方式,可选值:left、right、center
|
||||
*/
|
||||
valueAlign: uni_modules_wotDesignUni_components_common_props.makeStringProp("right"),
|
||||
/**
|
||||
* 是否超出隐藏,显示省略号
|
||||
*/
|
||||
ellipsis: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(false),
|
||||
/**
|
||||
* 是否启用title插槽,默认启用,用来解决插槽传递时v-slot和v-if冲突问题。
|
||||
* 问题见:https://github.com/dcloudio/uni-app/issues/4847
|
||||
*/
|
||||
useTitleSlot: uni_modules_wotDesignUni_components_common_props.makeBooleanProp(true),
|
||||
/**
|
||||
* 必填标记位置,可选值:before(标签前)、after(标签后)
|
||||
*/
|
||||
markerSide: uni_modules_wotDesignUni_components_common_props.makeStringProp("before")
|
||||
};
|
||||
exports.cellProps = cellProps;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/types.js.map
|
||||
127
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.js
vendored
Normal file
127
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.js
vendored
Normal file
@@ -0,0 +1,127 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uni_modules_wotDesignUni_components_composables_useCell = require("../composables/useCell.js");
|
||||
const uni_modules_wotDesignUni_components_composables_useParent = require("../composables/useParent.js");
|
||||
const uni_modules_wotDesignUni_components_wdForm_types = require("../wd-form/types.js");
|
||||
const uni_modules_wotDesignUni_components_wdCell_types = require("./types.js");
|
||||
const uni_modules_wotDesignUni_components_common_util = require("../common/util.js");
|
||||
if (!Math) {
|
||||
wdIcon();
|
||||
}
|
||||
const wdIcon = () => "../wd-icon/wd-icon.js";
|
||||
const __default__ = {
|
||||
name: "wd-cell",
|
||||
options: {
|
||||
addGlobalClass: true,
|
||||
virtualHost: true,
|
||||
styleIsolation: "shared"
|
||||
}
|
||||
};
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
...__default__,
|
||||
props: uni_modules_wotDesignUni_components_wdCell_types.cellProps,
|
||||
emits: ["click"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const props = __props;
|
||||
const emit = __emit;
|
||||
const slots = common_vendor.useSlots();
|
||||
const cell = uni_modules_wotDesignUni_components_composables_useCell.useCell();
|
||||
const isBorder = common_vendor.computed(() => {
|
||||
return Boolean(uni_modules_wotDesignUni_components_common_util.isDef(props.border) ? props.border : cell.border.value);
|
||||
});
|
||||
const { parent: form } = uni_modules_wotDesignUni_components_composables_useParent.useParent(uni_modules_wotDesignUni_components_wdForm_types.FORM_KEY);
|
||||
const errorMessage = common_vendor.computed(() => {
|
||||
if (form && props.prop && form.errorMessages && form.errorMessages[props.prop]) {
|
||||
return form.errorMessages[props.prop];
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
});
|
||||
const isRequired = common_vendor.computed(() => {
|
||||
let formRequired = false;
|
||||
if (form && form.props.rules) {
|
||||
const rules = form.props.rules;
|
||||
for (const key in rules) {
|
||||
if (Object.prototype.hasOwnProperty.call(rules, key) && key === props.prop && Array.isArray(rules[key])) {
|
||||
formRequired = rules[key].some((rule) => rule.required);
|
||||
}
|
||||
}
|
||||
}
|
||||
return props.required || props.rules.some((rule) => rule.required) || formRequired;
|
||||
});
|
||||
const showLeft = common_vendor.computed(() => {
|
||||
const hasIcon = slots.icon || props.icon;
|
||||
const hasTitle = slots.title && props.useTitleSlot || props.title;
|
||||
const hasLabel = slots.label || props.label;
|
||||
return hasIcon || hasTitle || hasLabel;
|
||||
});
|
||||
function onClick() {
|
||||
const url = props.to;
|
||||
if (props.clickable || props.isLink) {
|
||||
emit("click");
|
||||
}
|
||||
if (url && props.isLink) {
|
||||
if (props.replace) {
|
||||
common_vendor.index.redirectTo({ url });
|
||||
} else {
|
||||
common_vendor.index.navigateTo({ url });
|
||||
}
|
||||
}
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: showLeft.value
|
||||
}, showLeft.value ? common_vendor.e({
|
||||
b: isRequired.value && _ctx.markerSide === "before"
|
||||
}, isRequired.value && _ctx.markerSide === "before" ? {} : {}, {
|
||||
c: _ctx.icon
|
||||
}, _ctx.icon ? {
|
||||
d: common_vendor.p({
|
||||
name: _ctx.icon,
|
||||
size: _ctx.iconSize,
|
||||
["custom-class"]: `wd-cell__icon ${_ctx.customIconClass}`
|
||||
})
|
||||
} : {}, {
|
||||
e: _ctx.useTitleSlot && _ctx.$slots.title
|
||||
}, _ctx.useTitleSlot && _ctx.$slots.title ? {} : _ctx.title ? {
|
||||
g: common_vendor.t(_ctx.title),
|
||||
h: common_vendor.n(_ctx.customTitleClass)
|
||||
} : {}, {
|
||||
f: _ctx.title,
|
||||
i: _ctx.label
|
||||
}, _ctx.label ? {
|
||||
j: common_vendor.t(_ctx.label),
|
||||
k: common_vendor.n(`wd-cell__label ${_ctx.customLabelClass}`)
|
||||
} : {}, {
|
||||
l: isRequired.value && _ctx.markerSide === "after"
|
||||
}, isRequired.value && _ctx.markerSide === "after" ? {} : {}, {
|
||||
m: common_vendor.s(_ctx.titleWidth ? "min-width:" + _ctx.titleWidth + ";max-width:" + _ctx.titleWidth + ";" : "")
|
||||
}) : {}, {
|
||||
n: common_vendor.t(_ctx.value),
|
||||
o: common_vendor.n(`wd-cell__value ${_ctx.customValueClass} wd-cell__value--${_ctx.valueAlign} ${_ctx.ellipsis ? "wd-cell__value--ellipsis" : ""}`),
|
||||
p: _ctx.isLink
|
||||
}, _ctx.isLink ? {
|
||||
q: common_vendor.p({
|
||||
["custom-class"]: "wd-cell__arrow-right",
|
||||
name: "arrow-right"
|
||||
})
|
||||
} : {}, {
|
||||
r: errorMessage.value
|
||||
}, errorMessage.value ? {
|
||||
s: common_vendor.t(errorMessage.value)
|
||||
} : {}, {
|
||||
t: common_vendor.n(_ctx.vertical ? "is-vertical" : ""),
|
||||
v: common_vendor.n(isBorder.value ? "is-border" : ""),
|
||||
w: common_vendor.n(_ctx.size ? "is-" + _ctx.size : ""),
|
||||
x: common_vendor.n(_ctx.center ? "is-center" : ""),
|
||||
y: common_vendor.n(_ctx.customClass),
|
||||
z: common_vendor.s(_ctx.customStyle),
|
||||
A: _ctx.isLink || _ctx.clickable ? "is-hover" : "none",
|
||||
B: common_vendor.o(onClick)
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-f1c5bbe2"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"wd-icon": "../wd-icon/wd-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="{{['data-v-f1c5bbe2', 'wd-cell', v, w, x, y]}}" style="{{z}}" hover-class="{{A}}" hover-stay-time="{{70}}" bindtap="{{B}}"><view class="{{['data-v-f1c5bbe2', 'wd-cell__wrapper', t]}}"><view wx:if="{{a}}" class="wd-cell__left data-v-f1c5bbe2" style="{{m}}"><text wx:if="{{b}}" class="wd-cell__required wd-cell__required--left data-v-f1c5bbe2">*</text><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><wd-icon wx:if="{{c}}" class="data-v-f1c5bbe2" u-i="f1c5bbe2-0" bind:__l="__l" u-p="{{d}}"></wd-icon></block><view class="wd-cell__title data-v-f1c5bbe2"><slot wx:if="{{e}}" name="title"></slot><text wx:elif="{{f}}" class="{{['data-v-f1c5bbe2', h]}}">{{g}}</text><block wx:if="{{$slots.label}}"><slot name="label"></slot></block><block wx:else><view wx:if="{{i}}" class="{{['data-v-f1c5bbe2', k]}}">{{j}}</view></block></view><text wx:if="{{l}}" class="wd-cell__required data-v-f1c5bbe2">*</text></view><view class="wd-cell__right data-v-f1c5bbe2"><view class="wd-cell__body data-v-f1c5bbe2"><view class="{{['data-v-f1c5bbe2', o]}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else>{{n}}</block></view><wd-icon wx:if="{{p}}" class="data-v-f1c5bbe2" u-i="f1c5bbe2-1" bind:__l="__l" u-p="{{q}}"/><slot wx:else name="right-icon"/></view><view wx:if="{{r}}" class="wd-cell__error-message data-v-f1c5bbe2">{{s}}</view></view></view></view>
|
||||
348
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.wxss
vendored
Normal file
348
unpackage/dist/dev/mp-weixin/uni_modules/wot-design-uni/components/wd-cell/wd-cell.wxss
vendored
Normal file
@@ -0,0 +1,348 @@
|
||||
/* 水平间距 */
|
||||
/* 水平间距 */
|
||||
/**
|
||||
* 辅助函数
|
||||
*/
|
||||
/**
|
||||
* SCSS 配置项:命名空间以及BEM
|
||||
*/
|
||||
/* 转换成字符串 */
|
||||
/* 判断是否存在 Modifier */
|
||||
/* 判断是否存在伪类 */
|
||||
/**
|
||||
* 主题色切换
|
||||
* @params $theme-color 主题色
|
||||
* @params $type 变暗’dark‘ 变亮 'light'
|
||||
* @params $mix-color 自己设置的混色
|
||||
*/
|
||||
/**
|
||||
* 颜色结果切换, 如果开启线性渐变色 使用渐变色,如果没有开启,那么使用主题色
|
||||
* @params $open-linear 是否开启线性渐变色
|
||||
* @params $deg 渐变色角度
|
||||
* @params $theme-color 当前配色
|
||||
* @params [Array] $set 主题色明暗设置,与 $color-list 数量对应
|
||||
* @params [Array] $color-list 渐变色顺序, $color-list 和 $per-list 数量相同
|
||||
* @params [Array] $per-list 渐变色比例
|
||||
*/
|
||||
/**
|
||||
* UI规范基础变量
|
||||
*/
|
||||
/*----------------------------------------- Theme color. start ----------------------------------------*/
|
||||
/* 主题颜色 */
|
||||
/* 辅助色 */
|
||||
/* 文字颜色(默认浅色背景下 */
|
||||
/* 暗黑模式 */
|
||||
/* 图形颜色 */
|
||||
/*----------------------------------------- Theme color. end -------------------------------------------*/
|
||||
/*-------------------------------- Theme color application size. start --------------------------------*/
|
||||
/* 文字字号 */
|
||||
/* 文字字重 */
|
||||
/* 尺寸 */
|
||||
/*-------------------------------- Theme color application size. end --------------------------------*/
|
||||
/* component var */
|
||||
/* action-sheet */
|
||||
/* badge */
|
||||
/* button */
|
||||
/* cell */
|
||||
/* calendar */
|
||||
/* checkbox */
|
||||
/* collapse */
|
||||
/* divider */
|
||||
/* drop-menu */
|
||||
/* input-number */
|
||||
/* input */
|
||||
/* textarea */
|
||||
/* loadmore */
|
||||
/* message-box */
|
||||
/* notice-bar */
|
||||
/* pagination */
|
||||
/* picker */
|
||||
/* col-picker */
|
||||
/* overlay */
|
||||
/* popup */
|
||||
/* progress */
|
||||
/* radio */
|
||||
/* search */
|
||||
/* slider */
|
||||
/* sort-button */
|
||||
/* steps */
|
||||
/* switch */
|
||||
/* tabs */
|
||||
/* tag */
|
||||
/* toast */
|
||||
/* loading */
|
||||
/* tooltip */
|
||||
/* popover */
|
||||
/* grid-item */
|
||||
/* statustip */
|
||||
/* card */
|
||||
/* upload */
|
||||
/* curtain */
|
||||
/* notify */
|
||||
/* skeleton */
|
||||
/* circle */
|
||||
/* swiper */
|
||||
/* swiper-nav */
|
||||
/* segmented */
|
||||
/* tabbar */
|
||||
/* tabbar-item */
|
||||
/* navbar */
|
||||
/* navbar-capsule */
|
||||
/* table */
|
||||
/* sidebar */
|
||||
/* sidebar-item */
|
||||
/* fab */
|
||||
/* count-down */
|
||||
/* keyboard */
|
||||
/* number-keyboard */
|
||||
/* passwod-input */
|
||||
/* form-item */
|
||||
/* backtop */
|
||||
/* index-bar */
|
||||
/* text */
|
||||
/* video-preview */
|
||||
/* img-cropper */
|
||||
/* floating-panel */
|
||||
/* signature */
|
||||
/**
|
||||
* 混合宏
|
||||
*/
|
||||
/**
|
||||
* SCSS 配置项:命名空间以及BEM
|
||||
*/
|
||||
/**
|
||||
* 辅助函数
|
||||
*/
|
||||
/**
|
||||
* SCSS 配置项:命名空间以及BEM
|
||||
*/
|
||||
/* 转换成字符串 */
|
||||
/* 判断是否存在 Modifier */
|
||||
/* 判断是否存在伪类 */
|
||||
/**
|
||||
* 主题色切换
|
||||
* @params $theme-color 主题色
|
||||
* @params $type 变暗’dark‘ 变亮 'light'
|
||||
* @params $mix-color 自己设置的混色
|
||||
*/
|
||||
/**
|
||||
* 颜色结果切换, 如果开启线性渐变色 使用渐变色,如果没有开启,那么使用主题色
|
||||
* @params $open-linear 是否开启线性渐变色
|
||||
* @params $deg 渐变色角度
|
||||
* @params $theme-color 当前配色
|
||||
* @params [Array] $set 主题色明暗设置,与 $color-list 数量对应
|
||||
* @params [Array] $color-list 渐变色顺序, $color-list 和 $per-list 数量相同
|
||||
* @params [Array] $per-list 渐变色比例
|
||||
*/
|
||||
/**
|
||||
* BEM,定义块(b)
|
||||
*/
|
||||
/* 定义元素(e),对于伪类,会自动将 e 嵌套在 伪类 底下 */
|
||||
/* 此方法用于生成穿透样式 */
|
||||
/* 定义元素(e),对于伪类,会自动将 e 嵌套在 伪类 底下 */
|
||||
/* 定义状态(m) */
|
||||
/* 定义状态(m) */
|
||||
/* 对于需要需要嵌套在 m 底下的 e,调用这个混合宏,一般在切换整个组件的状态,如切换颜色的时候 */
|
||||
/* 状态,生成 is-$state 类名 */
|
||||
/**
|
||||
* 常用混合宏
|
||||
*/
|
||||
/* 单行超出隐藏 */
|
||||
/* 多行超出隐藏 */
|
||||
/* 清除浮动 */
|
||||
/* 0.5px 边框 指定方向*/
|
||||
/* 0.5px 边框 环绕 */
|
||||
/**
|
||||
* 三角形实现尖角样式,适用于背景透明情况
|
||||
* @param $size 三角形高,底边为 $size * 2
|
||||
* @param $bg 三角形背景颜色
|
||||
*/
|
||||
/**
|
||||
* 正方形实现尖角样式,适用于背景不透明情况
|
||||
* @param $size 正方形边长
|
||||
* @param $bg 正方形背景颜色
|
||||
* @param $z-index z-index属性值,不得大于外部包裹器
|
||||
* @param $box-shadow 阴影
|
||||
*/
|
||||
.wot-theme-dark .wd-cell.data-v-f1c5bbe2 {
|
||||
background-color: var(--wot-dark-background2, #1b1b1b);
|
||||
color: var(--wot-dark-color, var(--wot-color-white, white));
|
||||
}
|
||||
.wot-theme-dark .wd-cell__value.data-v-f1c5bbe2 {
|
||||
color: var(--wot-dark-color, var(--wot-color-white, white));
|
||||
}
|
||||
.wot-theme-dark .wd-cell__label.data-v-f1c5bbe2 {
|
||||
color: var(--wot-dark-color3, rgba(232, 230, 227, 0.8));
|
||||
}
|
||||
.wot-theme-dark .wd-cell.is-hover.data-v-f1c5bbe2 {
|
||||
background-color: var(--wot-dark-background4, #323233);
|
||||
}
|
||||
.wot-theme-dark .wd-cell.is-border .wd-cell__wrapper.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
}
|
||||
.wot-theme-dark .wd-cell.is-border .wd-cell__wrapper.data-v-f1c5bbe2::after {
|
||||
position: absolute;
|
||||
display: block;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
transform: scaleY(0.5);
|
||||
background: var(--wot-dark-border-color, #3a3a3c);
|
||||
}
|
||||
.wot-theme-dark .wd-cell.data-v-f1c5bbe2 .wd-cell__arrow-right {
|
||||
color: var(--wot-dark-color, var(--wot-color-white, white));
|
||||
}
|
||||
.wd-cell.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
padding-left: var(--wot-cell-padding, var(--wot-size-side-padding, 15px));
|
||||
background-color: var(--wot-color-white, white);
|
||||
text-decoration: none;
|
||||
color: var(--wot-cell-title-color, rgba(0, 0, 0, 0.85));
|
||||
line-height: var(--wot-cell-line-height, 24px);
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
.wd-cell.is-border .wd-cell__wrapper.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
}
|
||||
.wd-cell.is-border .wd-cell__wrapper.data-v-f1c5bbe2::after {
|
||||
position: absolute;
|
||||
display: block;
|
||||
content: "";
|
||||
width: 100%;
|
||||
height: 1px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
transform: scaleY(0.5);
|
||||
background: var(--wot-color-border-light, #e8e8e8);
|
||||
}
|
||||
.wd-cell__wrapper.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
display: flex;
|
||||
padding: var(--wot-cell-wrapper-padding, 10px) var(--wot-cell-padding, var(--wot-size-side-padding, 15px)) var(--wot-cell-wrapper-padding, 10px) 0;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
overflow: hidden;
|
||||
}
|
||||
.wd-cell__wrapper.is-vertical.data-v-f1c5bbe2 {
|
||||
display: block;
|
||||
}
|
||||
.wd-cell__wrapper.is-vertical .wd-cell__right.data-v-f1c5bbe2 {
|
||||
margin-top: var(--wot-cell-vertical-top, 16px);
|
||||
}
|
||||
.wd-cell__wrapper.is-vertical .wd-cell__value.data-v-f1c5bbe2 {
|
||||
text-align: left;
|
||||
}
|
||||
.wd-cell__wrapper.is-vertical .wd-cell__left.data-v-f1c5bbe2 {
|
||||
margin-right: 0;
|
||||
}
|
||||
.wd-cell__wrapper.is-label.data-v-f1c5bbe2 {
|
||||
padding: var(--wot-cell-wrapper-padding-with-label, 16px) var(--wot-cell-padding, var(--wot-size-side-padding, 15px)) var(--wot-cell-wrapper-padding-with-label, 16px) 0;
|
||||
}
|
||||
.wd-cell__left.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
text-align: left;
|
||||
font-size: var(--wot-cell-title-fs, 14px);
|
||||
box-sizing: border-box;
|
||||
margin-right: var(--wot-cell-padding, var(--wot-size-side-padding, 15px));
|
||||
}
|
||||
.wd-cell__right.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
.wd-cell__title.data-v-f1c5bbe2 {
|
||||
font-size: var(--wot-cell-title-fs, 14px);
|
||||
}
|
||||
.wd-cell__required.data-v-f1c5bbe2 {
|
||||
font-size: var(--wot-cell-required-size, 18px);
|
||||
color: var(--wot-cell-required-color, var(--wot-color-danger, #fa4350));
|
||||
margin-left: var(--wot-cell-required-margin, 4px);
|
||||
}
|
||||
.wd-cell__required--left.data-v-f1c5bbe2 {
|
||||
margin-left: 0;
|
||||
margin-right: var(--wot-cell-required-margin, 4px);
|
||||
}
|
||||
.wd-cell__label.data-v-f1c5bbe2 {
|
||||
margin-top: 2px;
|
||||
font-size: var(--wot-cell-label-fs, 12px);
|
||||
color: var(--wot-cell-label-color, rgba(0, 0, 0, 0.45));
|
||||
}
|
||||
.data-v-f1c5bbe2 .wd-cell__icon {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin-right: var(--wot-cell-icon-right, 4px);
|
||||
font-size: var(--wot-cell-icon-size, 16px);
|
||||
height: var(--wot-cell-line-height, 24px);
|
||||
line-height: var(--wot-cell-line-height, 24px);
|
||||
}
|
||||
.wd-cell__body.data-v-f1c5bbe2 {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
}
|
||||
.wd-cell__value.data-v-f1c5bbe2 {
|
||||
position: relative;
|
||||
flex: 1;
|
||||
font-size: var(--wot-cell-value-fs, 14px);
|
||||
color: var(--wot-cell-value-color, rgba(0, 0, 0, 0.85));
|
||||
vertical-align: middle;
|
||||
}
|
||||
.wd-cell__value--left.data-v-f1c5bbe2 {
|
||||
text-align: left;
|
||||
}
|
||||
.wd-cell__value--right.data-v-f1c5bbe2 {
|
||||
text-align: right;
|
||||
}
|
||||
.wd-cell__value--ellipsis.data-v-f1c5bbe2 {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
min-width: 0;
|
||||
}
|
||||
.data-v-f1c5bbe2 .wd-cell__arrow-right {
|
||||
display: block;
|
||||
margin-left: 8px;
|
||||
width: var(--wot-cell-arrow-size, 18px);
|
||||
font-size: var(--wot-cell-arrow-size, 18px);
|
||||
color: var(--wot-cell-arrow-color, rgba(0, 0, 0, 0.25));
|
||||
height: var(--wot-cell-line-height, 24px);
|
||||
line-height: var(--wot-cell-line-height, 24px);
|
||||
}
|
||||
.wd-cell__error-message.data-v-f1c5bbe2 {
|
||||
color: var(--wot-form-item-error-message-color, var(--wot-color-danger, #fa4350));
|
||||
font-size: var(--wot-form-item-error-message-font-size, var(--wot-fs-secondary, 12px));
|
||||
line-height: var(--wot-form-item-error-message-line-height, 24px);
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.wd-cell.is-link.data-v-f1c5bbe2 {
|
||||
-webkit-tap-highlight-color: var(--wot-cell-tap-bg, rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
.wd-cell.is-hover.data-v-f1c5bbe2 {
|
||||
background-color: var(--wot-cell-tap-bg, rgba(0, 0, 0, 0.06));
|
||||
}
|
||||
.wd-cell.is-large .wd-cell__title.data-v-f1c5bbe2 {
|
||||
font-size: var(--wot-cell-title-fs-large, 16px);
|
||||
}
|
||||
.wd-cell.is-large .wd-cell__wrapper.data-v-f1c5bbe2 {
|
||||
padding-top: var(--wot-cell-wrapper-padding-large, 12px);
|
||||
padding-bottom: var(--wot-cell-wrapper-padding-large, 12px);
|
||||
}
|
||||
.wd-cell.is-large .wd-cell__label.data-v-f1c5bbe2 {
|
||||
font-size: var(--wot-cell-label-fs-large, 14px);
|
||||
}
|
||||
.wd-cell.is-large .wd-cell__value.data-v-f1c5bbe2 {
|
||||
font-size: var(--wot-cell-value-fs-large, 16px);
|
||||
}
|
||||
.wd-cell.is-large.data-v-f1c5bbe2 .wd-cell__icon {
|
||||
font-size: var(--wot-cell-icon-size-large, 18px);
|
||||
}
|
||||
.wd-cell.is-center .wd-cell__wrapper.data-v-f1c5bbe2 {
|
||||
align-items: center;
|
||||
}
|
||||
Reference in New Issue
Block a user