zhb 2 viikkoa sitten
vanhempi
commit
710540646b

+ 4 - 4
components/cwg-complex-search.vue

@@ -22,12 +22,12 @@
                                     :placeholder="field.placeholder || '请选择日期'" @change="handleDateChange" />
                             </template>
                             <template v-else-if="field.type === 'daterange'">
-                                <uni-datetime-picker :start="dateLimit.start" :end="dateLimit.end"
+                                <uni-datetime-picker class="cursor-pointer" :start="dateLimit.start" :end="dateLimit.end"
                                     v-model="formData[field.key]" type="daterange"
                                     :placeholder="field.placeholder || '请选择日期范围'" @change="handleDateChange" />
                             </template>
                             <template v-else-if="field.type === 'picker'">
-                                <uni-data-picker style="min-width: 100px" v-model="formData[field.key]"
+                                <uni-data-picker class="cursor-pointer" style="min-width: 100px" v-model="formData[field.key]"
                                     :localdata="field.options" :popup-title="field.popupTitle || t('State.All')"
                                     :map="field.map || { value: 'value', text: 'label' }"
                                     @change="(e) => field.onChange?.(e)"
@@ -52,7 +52,7 @@
             <!-- 移动端:只显示筛选按钮,点击弹出底部抽屉 -->
             <view class="mobile-filter">
                 <view v-if="dateField" class="mobile-date-wrapper">
-                    <uni-datetime-picker :start="dateLimit.start" :end="dateLimit.end" v-model="formData[dateField.key]"
+                    <uni-datetime-picker class="cursor-pointer" :start="dateLimit.start" :end="dateLimit.end" v-model="formData[dateField.key]"
                         :type="dateField.type === 'daterange' ? 'daterange' : 'date'"
                         :placeholder="dateField.placeholder || (dateField.type === 'daterange' ? '选择日期范围' : '选择日期')"
                         @change="handleDateChange" />
@@ -95,7 +95,7 @@
                                 :placeholder="field.placeholder || '请输入数字'" clearable />
                         </template>
                         <template v-else-if="field.type === 'picker'">
-                            <uni-data-picker v-model="tempFormData[field.key]" :localdata="field.options"
+                            <uni-data-picker class="cursor-pointer" v-model="tempFormData[field.key]" :localdata="field.options"
                                 :popup-title="field.popupTitle || t('State.All')"
                                 :map="field.map || { value: 'value', text: 'label' }"
                                 @change="(e) => field.onChange?.(e)" @nodeclick="(node) => field.onNodeClick?.(node)" />

+ 1 - 1
uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="uni-calendar">
+	<view class="uni-calendar cursor-pointer">
 		<view v-if="!insert && show" class="uni-calendar__mask" :class="{ 'uni-calendar--mask-show': aniMaskShow }"
 			@click="clean"></view>
 		<view v-if="insert || show" class="uni-calendar__content"

+ 1 - 1
uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue

@@ -1,5 +1,5 @@
 <template>
-  <view class="uni-data-tree">
+  <view class="uni-data-tree cursor-pointer">
     <view class="uni-data-tree-input" @click="handleInput">
       <slot :options="options" :data="inputSelected" :error="errorMessage">
         <view class="input-value" :class="{ 'input-value-border': border }">

+ 1 - 1
uni_modules/uni-datetime-picker/components/uni-datetime-picker/time-picker.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="uni-datetime-picker">
+	<view class="uni-datetime-picker cursor-pointer">
 		<view @click="initTimePicker">
 			<slot>
 				<view class="uni-datetime-picker-timebox-pointer"

+ 1 - 1
uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue

@@ -1,5 +1,5 @@
 <template>
-	<view class="uni-date">
+	<view class="uni-date cursor-pointer">
 		<view class="uni-date-editor" @click="show">
 			<slot>
 				<view class="uni-date-editor--x"