增加新模块
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
"use strict";
|
||||
const Picker = {
|
||||
// picker
|
||||
picker: {
|
||||
show: false,
|
||||
popupMode: "bottom",
|
||||
showToolbar: true,
|
||||
title: "",
|
||||
columns: [],
|
||||
loading: false,
|
||||
itemHeight: 44,
|
||||
cancelText: "取消",
|
||||
confirmText: "确定",
|
||||
cancelColor: "#909193",
|
||||
confirmColor: "#3c9cff",
|
||||
visibleItemCount: 5,
|
||||
keyName: "text",
|
||||
closeOnClickOverlay: false,
|
||||
defaultIndex: [],
|
||||
immediateChange: true,
|
||||
zIndex: 10076
|
||||
}
|
||||
};
|
||||
exports.Picker = Picker;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-plus/components/u-picker/picker.js.map
|
||||
+120
@@ -0,0 +1,120 @@
|
||||
"use strict";
|
||||
const uni_modules_uviewPlus_libs_vue = require("../../libs/vue.js");
|
||||
const uni_modules_uviewPlus_libs_config_props = require("../../libs/config/props.js");
|
||||
const props = uni_modules_uviewPlus_libs_vue.defineMixin({
|
||||
props: {
|
||||
modelValue: {
|
||||
type: Array,
|
||||
default: () => []
|
||||
},
|
||||
//是否禁用
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
disabledColor: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.input.disabledColor
|
||||
},
|
||||
hasInput: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: () => "请选择"
|
||||
},
|
||||
// 是否展示picker弹窗
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.show
|
||||
},
|
||||
// 弹出的方向,可选值为 top bottom right left center
|
||||
popupMode: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.popupMode
|
||||
},
|
||||
// 是否展示顶部的操作栏
|
||||
showToolbar: {
|
||||
type: Boolean,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.showToolbar
|
||||
},
|
||||
// 顶部标题
|
||||
title: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.title
|
||||
},
|
||||
// 对象数组,设置每一列的数据
|
||||
columns: {
|
||||
type: Array,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.columns
|
||||
},
|
||||
// 是否显示加载中状态
|
||||
loading: {
|
||||
type: Boolean,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.loading
|
||||
},
|
||||
// 各列中,单个选项的高度
|
||||
itemHeight: {
|
||||
type: [String, Number],
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.itemHeight
|
||||
},
|
||||
// 取消按钮的文字
|
||||
cancelText: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.cancelText
|
||||
},
|
||||
// 确认按钮的文字
|
||||
confirmText: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.confirmText
|
||||
},
|
||||
// 取消按钮的颜色
|
||||
cancelColor: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.cancelColor
|
||||
},
|
||||
// 确认按钮的颜色
|
||||
confirmColor: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.confirmColor
|
||||
},
|
||||
// 每列中可见选项的数量
|
||||
visibleItemCount: {
|
||||
type: [String, Number],
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.visibleItemCount
|
||||
},
|
||||
// 选项对象中,需要展示的属性键名
|
||||
keyName: {
|
||||
type: String,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.keyName
|
||||
},
|
||||
// 是否允许点击遮罩关闭选择器
|
||||
closeOnClickOverlay: {
|
||||
type: Boolean,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.closeOnClickOverlay
|
||||
},
|
||||
// 各列的默认索引
|
||||
defaultIndex: {
|
||||
type: Array,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.defaultIndex
|
||||
},
|
||||
// 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效
|
||||
immediateChange: {
|
||||
type: Boolean,
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.immediateChange
|
||||
},
|
||||
// 工具栏右侧插槽是否开启
|
||||
toolbarRightSlot: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 层级
|
||||
zIndex: {
|
||||
type: [String, Number],
|
||||
default: () => uni_modules_uviewPlus_libs_config_props.defProps.picker.zIndex
|
||||
}
|
||||
}
|
||||
});
|
||||
exports.props = props;
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-plus/components/u-picker/props.js.map
|
||||
+294
@@ -0,0 +1,294 @@
|
||||
"use strict";
|
||||
const uni_modules_uviewPlus_components_uPicker_props = require("./props.js");
|
||||
const uni_modules_uviewPlus_libs_mixin_mpMixin = require("../../libs/mixin/mpMixin.js");
|
||||
const uni_modules_uviewPlus_libs_mixin_mixin = require("../../libs/mixin/mixin.js");
|
||||
const uni_modules_uviewPlus_libs_function_index = require("../../libs/function/index.js");
|
||||
const uni_modules_uviewPlus_libs_function_test = require("../../libs/function/test.js");
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-picker",
|
||||
mixins: [uni_modules_uviewPlus_libs_mixin_mpMixin.mpMixin, uni_modules_uviewPlus_libs_mixin_mixin.mixin, uni_modules_uviewPlus_components_uPicker_props.props],
|
||||
data() {
|
||||
return {
|
||||
// 上一次选择的列索引
|
||||
lastIndex: [],
|
||||
// 索引值 ,对应picker-view的value
|
||||
innerIndex: [],
|
||||
// 各列的值
|
||||
innerColumns: [],
|
||||
// 上一次的变化列索引
|
||||
columnIndex: 0,
|
||||
showByClickInput: false,
|
||||
currentActiveValue: []
|
||||
//当前用户选中,但是还没确认的值,用户没做change操作时候,点击确认可以默认选中第一个
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
// 监听默认索引的变化,重新设置对应的值
|
||||
defaultIndex: {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler(n, o) {
|
||||
if (!o || n.join("/") != o.join("/")) {
|
||||
this.setIndexs(n, true);
|
||||
}
|
||||
}
|
||||
},
|
||||
// 监听columns参数的变化
|
||||
columns: {
|
||||
immediate: true,
|
||||
deep: true,
|
||||
handler(n) {
|
||||
this.setColumns(n);
|
||||
}
|
||||
}
|
||||
},
|
||||
emits: ["close", "cancel", "confirm", "change", "update:modelValue", "update:show"],
|
||||
computed: {
|
||||
//已选&&已确认的值显示在input上面的文案
|
||||
inputLabel() {
|
||||
let firstItem = this.innerColumns[0] && this.innerColumns[0][0];
|
||||
if (firstItem && Object.prototype.toString.call(firstItem) === "[object Object]") {
|
||||
let res = this.innerColumns[0].filter((item) => this.modelValue.includes(item["id"]));
|
||||
res = res.map((item) => item[this.keyName]);
|
||||
return res.join("/");
|
||||
} else {
|
||||
return this.modelValue.join("/");
|
||||
}
|
||||
},
|
||||
//已选,待确认的值
|
||||
inputValue() {
|
||||
let items = this.innerColumns.map((item, index) => item[this.innerIndex[index]]);
|
||||
let res = [];
|
||||
if (items[0] && Object.prototype.toString.call(items[0]) === "[object Object]") {
|
||||
items.forEach((element) => {
|
||||
res.push(element && element["id"]);
|
||||
});
|
||||
} else {
|
||||
items.forEach((element, index) => {
|
||||
res.push(element);
|
||||
});
|
||||
}
|
||||
return res;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
addUnit: uni_modules_uviewPlus_libs_function_index.addUnit,
|
||||
testArray: uni_modules_uviewPlus_libs_function_test.test.array,
|
||||
onShowByClickInput() {
|
||||
if (!this.disabled) {
|
||||
this.showByClickInput = !this.showByClickInput;
|
||||
}
|
||||
},
|
||||
// 获取item需要显示的文字,判别为对象还是文本
|
||||
getItemText(item) {
|
||||
if (uni_modules_uviewPlus_libs_function_test.test.object(item)) {
|
||||
return item[this.keyName];
|
||||
} else {
|
||||
return item;
|
||||
}
|
||||
},
|
||||
// 关闭选择器
|
||||
closeHandler() {
|
||||
if (this.closeOnClickOverlay) {
|
||||
if (this.hasInput) {
|
||||
this.showByClickInput = false;
|
||||
}
|
||||
this.$emit("update:show", false);
|
||||
this.$emit("close");
|
||||
}
|
||||
},
|
||||
// 点击工具栏的取消按钮
|
||||
cancel() {
|
||||
if (this.hasInput) {
|
||||
this.showByClickInput = false;
|
||||
}
|
||||
this.$emit("update:show", false);
|
||||
this.$emit("cancel");
|
||||
},
|
||||
// 点击工具栏的确定按钮
|
||||
confirm() {
|
||||
if (!this.currentActiveValue.length) {
|
||||
let arr = [0];
|
||||
if (Array.isArray(this.defaultIndex) && this.defaultIndex.length == this.innerColumns.length) {
|
||||
arr = [...this.defaultIndex];
|
||||
} else {
|
||||
arr = Array(this.innerColumns.length).fill(0);
|
||||
}
|
||||
this.setLastIndex(arr);
|
||||
this.setIndexs(arr);
|
||||
}
|
||||
this.$emit("update:modelValue", this.inputValue);
|
||||
if (this.hasInput) {
|
||||
this.showByClickInput = false;
|
||||
}
|
||||
this.$emit("update:show", false);
|
||||
this.$emit("confirm", {
|
||||
indexs: this.innerIndex,
|
||||
value: this.innerColumns.map((item, index) => item[this.innerIndex[index]]),
|
||||
values: this.innerColumns
|
||||
});
|
||||
},
|
||||
// 选择器某一列的数据发生变化时触发
|
||||
changeHandler(e) {
|
||||
const {
|
||||
value
|
||||
} = e.detail;
|
||||
let index = 0, columnIndex = 0;
|
||||
this.currentActiveValue = value;
|
||||
for (let i = 0; i < value.length; i++) {
|
||||
let item = value[i];
|
||||
if (item !== (this.lastIndex[i] || 0)) {
|
||||
columnIndex = i;
|
||||
index = item;
|
||||
break;
|
||||
}
|
||||
}
|
||||
this.columnIndex = columnIndex;
|
||||
const values = this.innerColumns;
|
||||
this.setLastIndex(value);
|
||||
this.setIndexs(value);
|
||||
if (!this.hasInput) {
|
||||
this.$emit("update:modelValue", this.inputValue);
|
||||
}
|
||||
this.$emit("change", {
|
||||
value: this.innerColumns.map((item, index2) => item[value[index2]]),
|
||||
index,
|
||||
indexs: value,
|
||||
// values为当前变化列的数组内容
|
||||
values,
|
||||
columnIndex
|
||||
});
|
||||
},
|
||||
// 设置index索引,此方法可被外部调用设置
|
||||
setIndexs(index, setLastIndex) {
|
||||
this.innerIndex = uni_modules_uviewPlus_libs_function_index.deepClone(index);
|
||||
if (setLastIndex) {
|
||||
this.setLastIndex(index);
|
||||
}
|
||||
},
|
||||
// 记录上一次的各列索引位置
|
||||
setLastIndex(index) {
|
||||
this.lastIndex = uni_modules_uviewPlus_libs_function_index.deepClone(index);
|
||||
},
|
||||
// 设置对应列选项的所有值
|
||||
setColumnValues(columnIndex, values) {
|
||||
this.innerColumns.splice(columnIndex, 1, values);
|
||||
this.setLastIndex(this.innerIndex.slice(0, columnIndex));
|
||||
let tmpIndex = uni_modules_uviewPlus_libs_function_index.deepClone(this.innerIndex);
|
||||
for (let i = 0; i < this.innerColumns.length; i++) {
|
||||
if (i > this.columnIndex) {
|
||||
tmpIndex[i] = 0;
|
||||
}
|
||||
}
|
||||
this.setIndexs(tmpIndex);
|
||||
},
|
||||
// 获取对应列的所有选项
|
||||
getColumnValues(columnIndex) {
|
||||
(async () => {
|
||||
await uni_modules_uviewPlus_libs_function_index.sleep();
|
||||
})();
|
||||
return this.innerColumns[columnIndex];
|
||||
},
|
||||
// 设置整体各列的columns的值
|
||||
setColumns(columns) {
|
||||
this.innerColumns = uni_modules_uviewPlus_libs_function_index.deepClone(columns);
|
||||
if (this.innerIndex.length === 0) {
|
||||
this.innerIndex = new Array(columns.length).fill(0);
|
||||
}
|
||||
},
|
||||
// 获取各列选中值对应的索引
|
||||
getIndexs() {
|
||||
return this.innerIndex;
|
||||
},
|
||||
// 获取各列选中的值
|
||||
getValues() {
|
||||
(async () => {
|
||||
await uni_modules_uviewPlus_libs_function_index.sleep();
|
||||
})();
|
||||
return this.innerColumns.map((item, index) => item[this.innerIndex[index]]);
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_u_toolbar2 = common_vendor.resolveComponent("u-toolbar");
|
||||
const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon");
|
||||
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
|
||||
(_easycom_up_input2 + _easycom_u_toolbar2 + _easycom_u_loading_icon2 + _easycom_u_popup2)();
|
||||
}
|
||||
const _easycom_up_input = () => "../u-input/u-input.js";
|
||||
const _easycom_u_toolbar = () => "../u-toolbar/u-toolbar.js";
|
||||
const _easycom_u_loading_icon = () => "../u-loading-icon/u-loading-icon.js";
|
||||
const _easycom_u_popup = () => "../u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_input + _easycom_u_toolbar + _easycom_u_loading_icon + _easycom_u_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: _ctx.hasInput
|
||||
}, _ctx.hasInput ? {
|
||||
b: common_vendor.o(($event) => $options.inputLabel = $event),
|
||||
c: common_vendor.p({
|
||||
disabled: _ctx.disabled,
|
||||
disabledColor: _ctx.disabledColor,
|
||||
placeholder: _ctx.placeholder,
|
||||
readonly: true,
|
||||
border: "surround",
|
||||
modelValue: $options.inputLabel
|
||||
}),
|
||||
d: common_vendor.o((...args) => $options.onShowByClickInput && $options.onShowByClickInput(...args))
|
||||
} : {}, {
|
||||
e: _ctx.showToolbar
|
||||
}, _ctx.showToolbar ? {
|
||||
f: common_vendor.o($options.cancel),
|
||||
g: common_vendor.o($options.confirm),
|
||||
h: common_vendor.p({
|
||||
cancelColor: _ctx.cancelColor,
|
||||
confirmColor: _ctx.confirmColor,
|
||||
cancelText: _ctx.cancelText,
|
||||
confirmText: _ctx.confirmText,
|
||||
title: _ctx.title,
|
||||
rightSlot: _ctx.toolbarRightSlot ? true : false
|
||||
})
|
||||
} : {}, {
|
||||
i: common_vendor.f($data.innerColumns, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: $options.testArray(item)
|
||||
}, $options.testArray(item) ? {
|
||||
b: common_vendor.f(item, (item1, index1, i1) => {
|
||||
return {
|
||||
a: common_vendor.t($options.getItemText(item1)),
|
||||
b: common_vendor.n(index1 === $data.innerIndex[index] && "u-picker__view__column__item--selected"),
|
||||
c: index1,
|
||||
d: index1 === $data.innerIndex[index] ? "bold" : "normal"
|
||||
};
|
||||
}),
|
||||
c: $options.addUnit(_ctx.itemHeight),
|
||||
d: $options.addUnit(_ctx.itemHeight)
|
||||
} : {}, {
|
||||
e: index
|
||||
});
|
||||
}),
|
||||
j: `height: ${$options.addUnit(_ctx.itemHeight)}`,
|
||||
k: $data.innerIndex,
|
||||
l: _ctx.immediateChange,
|
||||
m: `${$options.addUnit(_ctx.visibleItemCount * _ctx.itemHeight)}`,
|
||||
n: common_vendor.o((...args) => $options.changeHandler && $options.changeHandler(...args)),
|
||||
o: _ctx.loading
|
||||
}, _ctx.loading ? {
|
||||
p: common_vendor.p({
|
||||
mode: "circle"
|
||||
})
|
||||
} : {}, {
|
||||
q: common_vendor.o($options.closeHandler),
|
||||
r: common_vendor.p({
|
||||
show: _ctx.show || _ctx.hasInput && $data.showByClickInput,
|
||||
mode: _ctx.popupMode,
|
||||
zIndex: _ctx.zIndex
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-91b05052"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/uview-plus/components/u-picker/u-picker.js.map
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-input": "../u-input/u-input",
|
||||
"u-toolbar": "../u-toolbar/u-toolbar",
|
||||
"u-loading-icon": "../u-loading-icon/u-loading-icon",
|
||||
"u-popup": "../u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
<view class="u-picker-warrper data-v-91b05052"><view wx:if="{{a}}" class="u-picker-input cursor-pointer data-v-91b05052" bindtap="{{d}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><up-input wx:if="{{c}}" class="data-v-91b05052" u-i="91b05052-0" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"></up-input><view class="input-cover data-v-91b05052"></view></block></view><u-popup wx:if="{{r}}" class="data-v-91b05052" u-s="{{['d']}}" bindclose="{{q}}" u-i="91b05052-1" bind:__l="__l" u-p="{{r}}"><view class="u-picker data-v-91b05052"><u-toolbar wx:if="{{e}}" class="data-v-91b05052" u-s="{{['right']}}" bindcancel="{{f}}" bindconfirm="{{g}}" u-i="91b05052-2,91b05052-1" bind:__l="__l" u-p="{{h}}"><view slot="right"><slot name="toolbar-right"></slot></view></u-toolbar><slot name="toolbar-bottom"></slot><picker-view class="u-picker__view data-v-91b05052" indicatorStyle="{{j}}" value="{{k}}" immediateChange="{{l}}" style="{{'height:' + m}}" bindchange="{{n}}"><picker-view-column wx:for="{{i}}" wx:for-item="item" wx:key="e" class="u-picker__view__column data-v-91b05052"><block wx:if="{{item.a}}"><view wx:for="{{item.b}}" wx:for-item="item1" wx:key="c" class="{{['u-picker__view__column__item', 'u-line-1', 'data-v-91b05052', item1.b]}}" style="{{'height:' + item.c + ';' + ('line-height:' + item.d) + ';' + ('font-weight:' + item1.d) + ';' + ('display:' + 'block')}}">{{item1.a}}</view></block></picker-view-column></picker-view><view wx:if="{{o}}" class="u-picker--loading data-v-91b05052"><u-loading-icon wx:if="{{p}}" class="data-v-91b05052" u-i="91b05052-3,91b05052-1" bind:__l="__l" u-p="{{p}}"></u-loading-icon></view></view></u-popup></view>
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/* uni.scss */
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
.u-empty.data-v-91b05052,
|
||||
.u-empty__wrap.data-v-91b05052,
|
||||
.u-tabs.data-v-91b05052,
|
||||
.u-tabs__wrapper.data-v-91b05052,
|
||||
.u-tabs__wrapper__scroll-view-wrapper.data-v-91b05052,
|
||||
.u-tabs__wrapper__scroll-view.data-v-91b05052,
|
||||
.u-tabs__wrapper__nav.data-v-91b05052,
|
||||
.u-tabs__wrapper__nav__line.data-v-91b05052,
|
||||
.up-empty.data-v-91b05052,
|
||||
.up-empty__wrap.data-v-91b05052,
|
||||
.up-tabs.data-v-91b05052,
|
||||
.up-tabs__wrapper.data-v-91b05052,
|
||||
.up-tabs__wrapper__scroll-view-wrapper.data-v-91b05052,
|
||||
.up-tabs__wrapper__scroll-view.data-v-91b05052,
|
||||
.up-tabs__wrapper__nav.data-v-91b05052,
|
||||
.up-tabs__wrapper__nav__line.data-v-91b05052 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.u-picker.data-v-91b05052 {
|
||||
position: relative;
|
||||
}
|
||||
.u-picker-input.data-v-91b05052 {
|
||||
position: relative;
|
||||
}
|
||||
.u-picker-input .input-cover.data-v-91b05052 {
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.u-picker__view__column.data-v-91b05052 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
justify-content: center;
|
||||
}
|
||||
.u-picker__view__column__item.data-v-91b05052 {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
color: #303133;
|
||||
}
|
||||
.u-picker__view__column__item--disabled.data-v-91b05052 {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.35;
|
||||
}
|
||||
.u-picker--loading.data-v-91b05052 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgba(255, 255, 255, 0.87);
|
||||
z-index: 1000;
|
||||
}
|
||||
Reference in New Issue
Block a user