first commit

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:10:55 +08:00
commit 1c24452b6c
1735 changed files with 150474 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/props.js"),o={...e.baseProps,customLabelClass:e.makeStringProp(""),customValueClass:e.makeStringProp(""),customViewClass:e.makeStringProp(""),label:String,placeholder:String,disabled:e.makeBooleanProp(!1),readonly:e.makeBooleanProp(!1),loading:e.makeBooleanProp(!1),loadingColor:e.makeStringProp("#4D80F0"),title:String,cancelButtonText:String,confirmButtonText:String,required:e.makeBooleanProp(!1),size:String,labelWidth:e.makeStringProp("33%"),useDefaultSlot:e.makeBooleanProp(!1),useLabelSlot:e.makeBooleanProp(!1),error:e.makeBooleanProp(!1),alignRight:e.makeBooleanProp(!1),beforeConfirm:Function,closeOnClickModal:e.makeBooleanProp(!0),safeAreaInsetBottom:e.makeBooleanProp(!0),ellipsis:e.makeBooleanProp(!1),columnsHeight:e.makeNumberProp(217),valueKey:e.makeStringProp("value"),labelKey:e.makeStringProp("label"),modelValue:{type:[String,Number,Array],default:""},columns:{type:Array,default:()=>[]},columnChange:Function,displayFormat:Function,zIndex:e.makeNumberProp(15),prop:String,rules:e.makeArrayProp(),immediateChange:e.makeBooleanProp(!1),rootPortal:e.makeBooleanProp(!1),clearable:e.makeBooleanProp(!1),markerSide:e.makeStringProp("before")};exports.pickerProps=o;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
{
"component": true,
"usingComponents": {
"wd-icon": "../wd-icon/wd-icon",
"wd-popup": "../wd-popup/wd-popup",
"wd-picker-view": "../wd-picker-view/wd-picker-view",
"wd-cell": "../wd-cell/wd-cell"
}
}

View File

@@ -0,0 +1 @@
<view class="{{['data-v-6a4e7584', C]}}" style="{{D}}"><wd-cell wx:if="{{a}}" class="data-v-6a4e7584" u-s="{{['title','right-icon']}}" bindclick="{{h}}" u-i="6a4e7584-0" bind:__l="__l" u-p="{{i}}"><view wx:if="{{b}}" slot="title"><slot name="label"></slot></view><view slot="right-icon"><wd-icon wx:if="{{c}}" class="data-v-6a4e7584" u-i="6a4e7584-1,6a4e7584-0" bind:__l="__l" u-p="{{d}}"/><view wx:elif="{{e}}" class="data-v-6a4e7584" catchtap="{{g}}"><wd-icon wx:if="{{f}}" class="data-v-6a4e7584" u-i="6a4e7584-2,6a4e7584-0" bind:__l="__l" u-p="{{f}}"/></view></view></wd-cell><view wx:else class="data-v-6a4e7584" bindtap="{{j}}"><slot></slot></view><wd-popup wx:if="{{B}}" class="data-v-6a4e7584" u-s="{{['d']}}" bindclose="{{z}}" u-i="6a4e7584-3" bind:__l="__l" bindupdateModelValue="{{A}}" u-p="{{B}}"><view class="wd-picker__wraper data-v-6a4e7584"><view class="wd-picker__toolbar data-v-6a4e7584" bindtouchmove="{{r}}"><view class="wd-picker__action wd-picker__action--cancel data-v-6a4e7584" bindtap="{{l}}">{{k}}</view><view wx:if="{{m}}" class="wd-picker__title data-v-6a4e7584">{{n}}</view><view class="{{['data-v-6a4e7584', p]}}" bindtap="{{q}}">{{o}}</view></view><wd-picker-view wx:if="{{y}}" class="r data-v-6a4e7584" u-r="pickerViewWd" bindchange="{{t}}" bindpickstart="{{v}}" bindpickend="{{w}}" u-i="6a4e7584-4,6a4e7584-3" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"/></view></wd-popup></view>

View File

@@ -0,0 +1 @@
.wot-theme-dark .wd-picker__action--cancel.data-v-6a4e7584{color:var(--wot-dark-color, var(--wot-color-white, white))}.wot-theme-dark .wd-picker__action.is-loading.data-v-6a4e7584{color:var(--wot-dark-color3, rgba(232, 230, 227, .8))}.wot-theme-dark .wd-picker.data-v-6a4e7584 .wd-picker__arrow,.wot-theme-dark .wd-picker.data-v-6a4e7584 .wd-picker__clear{color:var(--wot-dark-color, var(--wot-color-white, white))}.wot-theme-dark .wd-picker.data-v-6a4e7584 .wd-picker__cell--placeholder .wd-cell__value{color:var(--wot-dark-color-gray, var(--wot-color-secondary, #595959))}.data-v-6a4e7584 .wd-picker__popup{border-radius:16px 16px 0 0}.data-v-6a4e7584 .wd-picker__cell.is-disabled .wd-cell__value{color:var(--wot-input-disabled-color, #d9d9d9);cursor:not-allowed}.data-v-6a4e7584 .wd-picker__cell.is-error .wd-cell__value,.data-v-6a4e7584 .wd-picker__cell.is-error .wd-picker__arrow{color:var(--wot-input-error-color, var(--wot-color-danger, #fa4350))}.data-v-6a4e7584 .wd-picker__cell.is-large .wd-picker__arrow,.data-v-6a4e7584 .wd-picker__cell.is-large .wd-picker__clear{font-size:var(--wot-cell-icon-size-large, 18px)}.data-v-6a4e7584 .wd-picker__cell--placeholder .wd-cell__value{color:var(--wot-input-placeholder-color, #bfbfbf)}.data-v-6a4e7584 .wd-picker__arrow,.data-v-6a4e7584 .wd-picker__clear{display:block;font-size:var(--wot-cell-icon-size, 16px);color:var(--wot-cell-arrow-color, rgba(0, 0, 0, .25));line-height:var(--wot-cell-line-height, 24px)}.data-v-6a4e7584 .wd-picker__clear{color:var(--wot-cell-clear-color, #585858)}.wd-picker__wraper.data-v-6a4e7584{padding-bottom:var(--window-bottom)}.wd-picker__toolbar.data-v-6a4e7584{position:relative;display:flex;font-size:var(--wot-picker-toolbar-fs, var(--wot-fs-title, 16px));height:var(--wot-picker-toolbar-height, 54px);line-height:var(--wot-picker-action-height, 16px);justify-content:space-between;align-items:center;box-sizing:border-box}.wd-picker__action.data-v-6a4e7584{display:block;border:none;outline:none;font-size:var(--wot-picker-toolbar-fs, var(--wot-fs-title, 16px));color:var(--wot-picker-toolbar-finish-color, var(--wot-color-theme, #4d80f0));background:transparent;padding:24px 15px 14px}.wd-picker__action--cancel.data-v-6a4e7584{color:var(--wot-picker-toolbar-cancel-color, #666666)}.wd-picker__action.is-loading.data-v-6a4e7584{color:var(--wot-picker-loading-button-color, rgba(0, 0, 0, .25))}.wd-picker__title.data-v-6a4e7584{display:block;float:1;color:var(--wot-picker-toolbar-title-color, rgba(0, 0, 0, .85))}