Przeglądaj źródła

fix:服务项目

xuyunhui 1 rok temu
rodzic
commit
c35828ab56

+ 7 - 22
myPages/myActivityDetail/myActivityDetail.vue

@@ -78,29 +78,20 @@
               <view class="ticketMsg">
                 可用次数/总次数:{{i.degree}}/{{i.totalDegree}}
               </view>
-
               <view class="ticketMsg">
-                到期时间:{{i.endTime.substring(0,10)}}
+                服务项目:{{ i.useServiceDesc }}
+              </view>
+              <view class="ticketMsg">
+                <text v-if="i.validType == 1">领取后{{ i.effectiveDays }}天内有效</text>
+                <view v-else>
+                  <view>使用期限:{{i.startTime.substring(0,10)}} 至 {{i.endTime.substring(0,10)}} </view>
+                </view>
               </view>
-              <!--            <view class="ticketMsg flex-row">-->
-              <!--              <text @click.stop="showRemark(item)">使用规则</text>-->
-              <!--              <u-icon v-if="item.id == showRemarkId" name="arrow-down-fill" color="" size="12"></u-icon>-->
-              <!--              <u-icon v-else name="play-right-fill" color="" size="12"></u-icon>-->
-              <!--            </view>-->
             </view>
 
           </view>
         </view>
 
-        <!--              <view class="flex-row justify-between link">-->
-        <!--                <text>跳转一</text>-->
-        <!--                <u-icon  name="arrow-right" color="" size="12"></u-icon>-->
-        <!--              </view>-->
-
-        <!--              <view class="flex-row justify-between link">-->
-        <!--                <text>跳转一</text>-->
-        <!--                <u-icon name="arrow-right" color="" size="12"></u-icon>-->
-        <!--              </view>-->
 
       </view>
       <view class="out2" v-if="activity.equityList">
@@ -149,13 +140,7 @@
           </view>
         </view>
       </view>
-
     </view>
-
-
-
-
-
   </view>
 </template>
 

+ 8 - 7
orderPages/activityDetail/activityDetail.vue

@@ -79,20 +79,21 @@
                 使用次数:{{ i.degree }}
               </view>
               <view class="ticketMsg">
-                领取后{{ i.effectiveDays }}天内有效
+                服务项目:{{ i.useServiceDesc }}
+              </view>
+              <view class="ticketMsg">
+                <text v-if="i.validType == 1">领取后{{ i.effectiveDays }}天内有效</text>
+                <view v-else>
+                  <view>使用期限:{{i.startTime.substring(0,10)}} 至 {{i.endTime.substring(0,10)}} </view>
+                </view>
               </view>
+
               <!--            <view class="ticketMsg flex-row">-->
               <!--              <text @click.stop="showRemark(item)">使用规则</text>-->
               <!--              <u-icon v-if="item.id == showRemarkId" name="arrow-down-fill" color="" size="12"></u-icon>-->
               <!--              <u-icon v-else name="play-right-fill" color="" size="12"></u-icon>-->
               <!--            </view>-->
             </view>
-
-            <view class="h-right-content flex-col justify-center ">
-              <!--            <view class="btn">-->
-              <!--              <text>立即领取</text>-->
-              <!--            </view>-->
-            </view>
           </view>
         </view>
 

+ 3 - 0
orderPages/myCoupon/module/mescrollUni-item.vue

@@ -63,6 +63,9 @@
               <view>
                 可用门店:<text>{{item.useStoreDesc}}</text>
               </view>
+              <view>
+                适用项目:<text>{{item.useServiceDesc}}</text>
+              </view>
               <view v-if="item.remark !=null">
                 使用说明:<text>{{item.remark}}</text>
               </view>

+ 1 - 2
orderPages/receiveCoupons/index.rpx.scss

@@ -26,17 +26,16 @@
   line-height: 40rpx;
 }
 
-
 .row-list{
   width: 686rpx;
   height: 188rpx;
   margin-top: 24rpx;
+  margin-bottom: 24rpx;
   background-image: url('/static/coupon/u210.png');
   background-repeat: no-repeat;
   background-size: cover;
 }
 
-
 .h-text{
   width: 200rpx;
   height: 188rpx;

+ 4 - 1
orderPages/receiveCoupons/index.vue

@@ -57,6 +57,10 @@
             可用门店:
             <text>{{ item.useStoreDesc }}</text>
           </view>
+          <view>
+            适用项目:
+            <text>{{ item.useServiceDesc }}</text>
+          </view>
           <view v-if="item.remark !=null">
             使用说明:
             <text>{{ item.remark }}</text>
@@ -65,7 +69,6 @@
         </view>
       </view>
     </view>
-
   </view>
 </template>
 <script>