Prechádzať zdrojové kódy

兑换方式修改为用户选择

sunlupeng 1 rok pred
rodič
commit
e85e0eecd2

+ 7 - 5
src/views/HomeView/GoodsDetail.vue

@@ -35,7 +35,7 @@
                 </div>
               </div>
               <p class="phone">{{ data.contactPhone }}</p>
-              <p class="address">{{ data.contactAddr }}{{ data.contactEmail }}</p>
+              <p class="address">{{ data.contactAddr }}</p>
             </div>
           </div>
       </div>
@@ -49,6 +49,7 @@
               <th style="text-align: center;">数量</th>
               <th style="text-align: center;">单价</th>
               <th style="text-align: center;">兑换方式</th>
+              <th v-if="data.reclaimAddrName" style="text-align: center;">领取地点</th>
               <th style="text-align: center;">总计</th>
             </tr>
           </thead>
@@ -62,15 +63,16 @@
                   </div>
                   <div class="prize-detail-info">
                     <h3 class="title">{{ data.name }}</h3>
-                    <p class="desc">
+                    <!-- <p class="desc">
                       <span v-if="data.location">{{ data.location }}</span>
-                    </p>
+                    </p> -->
                   </div>
                 </div>
               </td>
               <td style="text-align: center;">{{ data.skuCount }}</td>
               <td style="text-align: center;">{{ data.price }} 积分</td>
               <td style="text-align: center;">{{ data.deliveryTypeName }}</td>
+              <td v-if="data.reclaimAddrName" style="text-align: center;">{{ data.reclaimAddrName }}</td>
               <td style="text-align: center;" class="finlly-price">
                 {{ data.total }} 积分
               </td>
@@ -99,9 +101,9 @@
                   </div>
                   <div class="prize-detail-info">
                     <h3 class="title">{{ data.name }}</h3>
-                    <p class="desc">
+                    <!-- <p class="desc">
                       <span v-if="data.location">{{ data.location }}</span>
-                    </p>
+                    </p> -->
                   </div>
                 </div>
               </td>

+ 3 - 3
src/views/HomeView/PointsMall.vue

@@ -47,12 +47,12 @@
                             {{ item.dictLabel }}
                         </div>
                     </div>
-                    <div class="tab-list" style="margin-top: 10px;">
+                    <!-- <div class="tab-list" style="margin-top: 10px;">
                         <div :class="{ 'tab': true, 'checked': item.checked }" v-for="(item) in deliveryTypeList"
                             :key="item.type" @click="choseDeliveryType(item)">
                             {{ item.name }}
                         </div>
-                    </div>
+                    </div> -->
                     <div class="tab-list" style="margin-top: 10px;">
                         <div :class="{ 'tab': true, 'checked': item.checked }" v-for="(item) in orderByClauseList"
                             :key="item.orderByClause" @click="changeOrderByClause(item)">
@@ -345,7 +345,7 @@ export default {
                 name: this.goodsName,
                 productAttribute: this.productAttribute,
                 orderByClause: this.orderByClause,
-                deliveryType: this.deliveryType
+                // deliveryType: this.deliveryType
             }
 
             integralList(params).then(response => {

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 213 - 48
src/views/HomeView/RedeemView.vue