You need to sign in or sign up before continuing.
hookehuyr

style: 统一分数显示格式,添加空格增强可读性

...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
14 <span v-if="item.component_props.max" style="color: gray"> 14 <span v-if="item.component_props.max" style="color: gray">
15 (最多可选数:&nbsp;{{ item.component_props.max }}) 15 (最多可选数:&nbsp;{{ item.component_props.max }})
16 </span> 16 </span>
17 - <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">({{ item.component_props.score }} 分)</span> 17 + <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">( {{ item.component_props.score }} 分 )</span>
18 </div> 18 </div>
19 <div v-if="item.component_props.note" class="note" v-html="item.component_props.note" /> 19 <div v-if="item.component_props.note" class="note" v-html="item.component_props.note" />
20 <van-field v-if="!item.component_props.readonly" :rules="item.rules" :border="false"> 20 <van-field v-if="!item.component_props.readonly" :rules="item.rules" :border="false">
......
1 <!-- 1 <!--
2 * @Date: 2022-08-30 13:46:51 2 * @Date: 2022-08-30 13:46:51
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-11-24 16:52:05 4 + * @LastEditTime: 2025-11-24 17:26:26
5 * @FilePath: /data-table/src/components/PickerField/index.vue 5 * @FilePath: /data-table/src/components/PickerField/index.vue
6 * @Description: 单列选择器组件 6 * @Description: 单列选择器组件
7 --> 7 -->
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <span v-if="item.component_props.disabled_show"><van-icon name="https://cdn.ipadbiz.cn/custom_form/icon/closed-eye1.png" /></span> 11 <span v-if="item.component_props.disabled_show"><van-icon name="https://cdn.ipadbiz.cn/custom_form/icon/closed-eye1.png" /></span>
12 <span v-if="item.component_props.required" style="color: red">&nbsp;*</span> 12 <span v-if="item.component_props.required" style="color: red">&nbsp;*</span>
13 <span :class="[ReadonlyShow ? 'readonly-show' : '']">{{ item.component_props.label }}</span> 13 <span :class="[ReadonlyShow ? 'readonly-show' : '']">{{ item.component_props.label }}</span>
14 - <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">({{ item.component_props.score }} 分)</span> 14 + <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">( {{ item.component_props.score }} 分 )</span>
15 </div> 15 </div>
16 <van-field :name="item.name" :rules="item.rules" style="padding: 0;"> 16 <van-field :name="item.name" :rules="item.rules" style="padding: 0;">
17 <template #input> 17 <template #input>
......
1 <!-- 1 <!--
2 * @Date: 2022-08-30 11:34:19 2 * @Date: 2022-08-30 11:34:19
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-11-24 15:01:52 4 + * @LastEditTime: 2025-11-24 17:25:36
5 * @FilePath: /data-table/src/components/RadioField/index.vue 5 * @FilePath: /data-table/src/components/RadioField/index.vue
6 * @Description: 单项选择控件 6 * @Description: 单项选择控件
7 --> 7 -->
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
11 <span v-if="item.component_props.disabled_show"><van-icon name="https://cdn.ipadbiz.cn/custom_form/icon/closed-eye1.png" /></span> 11 <span v-if="item.component_props.disabled_show"><van-icon name="https://cdn.ipadbiz.cn/custom_form/icon/closed-eye1.png" /></span>
12 <span v-if="item.component_props.required" style="color: red">&nbsp;*</span> 12 <span v-if="item.component_props.required" style="color: red">&nbsp;*</span>
13 <span :class="[ReadonlyShow ? 'readonly-show' : '']">{{ item.component_props.label }}</span> 13 <span :class="[ReadonlyShow ? 'readonly-show' : '']">{{ item.component_props.label }}</span>
14 - <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">({{ item.component_props.score }} 分)</span> 14 + <span v-if="item.component_props.score" style="margin-left: 0.5rem; color: red;">( {{ item.component_props.score }} 分 )</span>
15 </div> 15 </div>
16 <div v-if="item.component_props.note" class="note" v-html="item.component_props.note" /> 16 <div v-if="item.component_props.note" class="note" v-html="item.component_props.note" />
17 <van-field v-if="!item.component_props.readonly" :rules="item.rules"> 17 <van-field v-if="!item.component_props.readonly" :rules="item.rules">
......