Commit 07b4217b by Lin

style(DetailFiles): 替换右侧选择框箭头图标为日历图标

- 将选择框中的箭头图标替换为日历图标,以提升用户界面的一致性和视觉效果。
- 新增 calendar-icon 样式以适应新图标的显示。
1 parent 20f1a2f6
...@@ -67,7 +67,11 @@ ...@@ -67,7 +67,11 @@
> >
<view :class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"> <view :class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]">
<view class="value text-hide">{{ customerInfo[i.valueKey] || '请选择' }}</view> <view class="value text-hide">{{ customerInfo[i.valueKey] || '请选择' }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons> <image
class="calendar-icon"
:src="require('@/assets/images/common/icon-calendar.png')"
mode="aspectFit"
/>
</view> </view>
</picker> </picker>
</template> </template>
...@@ -112,7 +116,11 @@ ...@@ -112,7 +116,11 @@
> >
<view :class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]"> <view :class="['select flex', { placeholderStyle: !customerInfo[i.valueKey] }]">
<view class="value text-hide">{{ customerInfo[i.valueKey] || '请选择' }}</view> <view class="value text-hide">{{ customerInfo[i.valueKey] || '请选择' }}</view>
<uni-icons class="arrow" type="right" :size="16"></uni-icons> <image
class="calendar-icon"
:src="require('@/assets/images/common/icon-calendar.png')"
mode="aspectFit"
/>
</view> </view>
</picker> </picker>
</template> </template>
...@@ -1030,6 +1038,12 @@ export default { ...@@ -1030,6 +1038,12 @@ export default {
margin-left: auto; margin-left: auto;
flex-shrink: 0; flex-shrink: 0;
} }
.calendar-icon {
width: 16px;
height: 16px;
margin-left: auto;
flex-shrink: 0;
}
.error { .error {
border: toRpx(2) solid #f24724 !important; border: toRpx(2) solid #f24724 !important;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!