Ver código fonte

【誉商城】我的兑换券点击去使用跳转打开对应的活动兑换窗口

934589956 6 meses atrás
pai
commit
e1c3e16a9e
1 arquivos alterados com 5 adições e 1 exclusões
  1. 5 1
      src/views/HomeView/MyCenter.vue

+ 5 - 1
src/views/HomeView/MyCenter.vue

@@ -126,7 +126,7 @@
 
                                                 </div>
                                                 <div v-if="item.status == 0" class="status">
-                                                    <router-link to="/home/pointsMall" class="use-btn">
+                                                    <router-link :to="{path:'/home/pointsMall/redeem',query: {id: item.skuId,name: 'giftNotice',type: item.actId}}" class="use-btn">
                                                         <span @click="setTab">去使用</span>
                                                     </router-link>
                                                 </div>
@@ -189,6 +189,9 @@
                                     class="filter-item" value-format="yyyy-MM-dd" v-model="listQuery.createTime"
                                     type="date" placeholder="抽奖日期">
                                 </el-date-picker>
+                                <el-input placeholder="请输入活动名称" clearable style="width: 220px; margin-right: 30px;"
+                                           size="small" class="filter-item" v-model="listQuery.actTitle"></el-input>
+
                                 <el-button size="small" style="margin-right: 30px;" type="primary"
                                     @click="handleFilterPrizeList">查询</el-button>
                                 <el-empty v-if="prizeList.length == 0" :image-size="200"></el-empty>
@@ -388,6 +391,7 @@ export default {
                 limit: 10,
                 type: '',
                 title: '',
+                actTitle: '',
                 createTime: ''
             },
         };