Commit f46232c21bd3df03ebfd5c07d118e6412d65158a

Authored by zhiyangdu
1 parent 78186bee

兑换记录

src/pages/pointsExchangeRecords/pointsExchangeRecords.less
@@ -51,7 +51,6 @@ @@ -51,7 +51,6 @@
51 } 51 }
52 .is_more{ 52 .is_more{
53 text-align: center; 53 text-align: center;
54 - padding-bottom: 20px;  
55 color: #6D7278; 54 color: #6D7278;
56 font-size: 32px; 55 font-size: 32px;
57 font-weight: 500; 56 font-weight: 500;
src/pages/pointsExchangeRecords/pointsExchangeRecords.vue
1 <template> 1 <template>
2 <div class="records_back"> 2 <div class="records_back">
3 <!-- 占位 --> 3 <!-- 占位 -->
4 - <div v-show="this.isCNLive.value" class="title_box_lh" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'"> 4 + <div class="title_box_lh" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'">
5 5
6 </div> 6 </div>
7 <!--返回按钮--> 7 <!--返回按钮-->
8 <div class="title_box" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'" > 8 <div class="title_box" :style="'padding-top: ' + (($parent.top.value)+8) + 'px'" >
9 <div class="title"> <!--返回按钮--> 9 <div class="title"> <!--返回按钮-->
10 - <img v-if="this.isCNLive.value" @click="goback" 10 + <img @click="goback"
11 class="goback" src="static/img/icon_back.png" /> 11 class="goback" src="static/img/icon_back.png" />
12 <div class="text">兑换记录</div> 12 <div class="text">兑换记录</div>
13 </div> 13 </div>
src/pages/pointsMall/pointsMall.vue
@@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
19 <div class="left"> 19 <div class="left">
20 我的积分: <span>2800</span> 20 我的积分: <span>2800</span>
21 </div> 21 </div>
22 - <div class="right"> 22 + <div @click="toExchangeRecord" class="right">
23 兑换记录 23 兑换记录
24 <!-- 返回图标 --> 24 <!-- 返回图标 -->
25 <img class="back_right_iocn" src="static/img/points_icon_grey_right.png" alt=""/> 25 <img class="back_right_iocn" src="static/img/points_icon_grey_right.png" alt=""/>
@@ -142,6 +142,18 @@ export default { @@ -142,6 +142,18 @@ export default {
142 //方法表示一个具体的操作,主要书写业务逻辑; 142 //方法表示一个具体的操作,主要书写业务逻辑;
143 methods: { 143 methods: {
144 /** 144 /**
  145 + * 跳转到兑换记录详情页
  146 + * @param {Object} item [数据对象]
  147 + */
  148 + toExchangeRecord () {
  149 + this.$router.push({
  150 + path: '/pointsExchangeRecords',
  151 + query: {
  152 + uid: this.getStore("uid") || 0,
  153 + }
  154 + })
  155 + },
  156 + /**
145 * 跳转商品详情 157 * 跳转商品详情
146 * @param {Object} item [数据对象] 158 * @param {Object} item [数据对象]
147 */ 159 */