Sfoglia il codice sorgente

feat: 亲情卡显示字段修改

zhanghui 2 anni fa
parent
commit
1630ccf056

+ 1 - 1
myPages/familyCard/index.scss

@@ -13,7 +13,7 @@
 .loveCard{
   width: 686rpx;
   height: 284rpx;
-  background: #FFFFFF;
+  background: #F7F7F7;
   border-radius: 25rpx;
   margin-top: 24rpx;
   overflow: hidden;

+ 9 - 9
myPages/familyCard/index.vue

@@ -36,20 +36,20 @@
                                     <text class="price">{{item.amountCap}}</text>
                                 </view>
                             </view>
-<!--                            <view class="flex-col priceView borderRight1">-->
-<!--                                <text class="priceTitle">可用额度</text>-->
-<!--                                <view>-->
-<!--                                    &lt;!&ndash;<text class="priceSymbol">¥</text>&ndash;&gt;-->
-<!--                                    <text class="price">{{item.totalBalance || 0}}</text>-->
-<!--                                </view>-->
-<!--                            </view>-->
                             <view class="flex-col priceView borderRight1">
-                                <text class="priceTitle">已用额度</text>
+                                <text class="priceTitle">剩余额度</text>
                                 <view>
                                     <!--<text class="priceSymbol">¥</text>-->
-                                    <text class="price">{{item.amount || '0'}}</text>
+                                    <text class="price">{{item.totalBalance || 0}}</text>
                                 </view>
                             </view>
+<!--                            <view class="flex-col priceView borderRight1">-->
+<!--                                <text class="priceTitle">已用额度</text>-->
+<!--                                <view>-->
+<!--                                    &lt;!&ndash;<text class="priceSymbol">¥</text>&ndash;&gt;-->
+<!--                                    <text class="price">{{item.amount || '0'}}</text>-->
+<!--                                </view>-->
+<!--                            </view>-->
                         </view>
                     </view>
                 </view>

+ 7 - 1
myPages/familyCard/unbindFamilyCard/unbindFamilyCard.vue

@@ -6,10 +6,16 @@
 
         <view class="h-balance-wrap">
           <view class="h-balance">
-            <view class="recharge-balance">
+            <view v-if="type == 1" class="recharge-balance">
               <view class="name">已用额度</view>
               <view class="Number" style="font-size: 48rpx">{{ data.amount || 0 }}</view>
             </view>
+
+            <view v-if="type == 2" class="recharge-balance">
+              <view class="name">剩余额度</view>
+              <view class="Number" style="font-size: 48rpx">{{ data.totalBalance || 0 }}</view>
+            </view>
+
             <text class="openUnbind" @click="openUnbindpopup">解绑</text>
           </view>
           <view class="cardMsg flex-row">

+ 2 - 0
orderPages/bookService/index.vue

@@ -256,6 +256,8 @@
       } else {
         this.storeInfo = data;
       }
+      this.orderParam.childService = []
+	  this.price = 0
       //获取排班日期
       this.selectDate()
       this.getTemplateList()