li.shaoyi 2 年之前
父節點
當前提交
c296711f01

+ 1 - 1
src/filters/index.ts

@@ -117,7 +117,7 @@ export function handleNumberValue(value: number | string = 0, suffix = '') {
  */
 export function parsePercent(value = 0, decimal = 2) {
     const val = formatDecimal(value * 100, decimal, false)
-    return handleNumberValue(val, '%')
+    return val + '%'
 }
 
 /**

二進制
src/packages/mobile/assets/images/boot-1080p.png


+ 1 - 1
src/packages/mobile/components/modules/quote/price/index.vue

@@ -66,7 +66,7 @@
                 </li>
                 <li>
                     <span>振幅</span>
-                    <span>{{ handleNumberValue(quote.amplitude.toFixed(2)) }}</span>
+                    <span>{{ parsePercent(quote.amplitude) }}</span>
                 </li>
             </ul>
         </div>

+ 1 - 1
src/packages/mobile/views/transfer/list/Index.vue

@@ -1,7 +1,7 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="订单转让" :show-back-button="false" />
+            <app-navbar title="定金转让" :show-back-button="false" />
         </template>
         <app-list :columns="columns" :data-list="dataList" @row-click="rowClick">
             <!-- 商品名称/代码 -->

+ 2 - 2
src/packages/mobile/views/user/register/Index.vue

@@ -10,7 +10,7 @@
         <Field v-model="formData.vcode" type="digit" name="vcode" label="短信验证码" placeholder="必填" autocomplete="off"
           :rules="formRules.vcode">
           <template #button>
-            <Button size="small" type="primary" :disabled="isCountdown" @click="sendVerifyCode">
+            <Button size="small" type="danger" :disabled="isCountdown" @click="sendVerifyCode">
               <span v-if="isCountdown">重新发送({{ currentTime.seconds }})</span>
               <span v-else>获取验证码</span>
             </Button>
@@ -22,7 +22,7 @@
           :rules="formRules.refernum">
           <!-- <template #button>
             <app-qrcode-scan @success="onScanSuccess">
-              <Button size="small" type="primary">扫码</Button>
+              <Button size="small" type="danger">扫码</Button>
             </app-qrcode-scan>
           </template> -->
         </Field>