| | |
| | | </view> |
| | | <view class="list"> |
| | | <template v-if="noticeList.length > 0"> |
| | | <view class="list-item" v-for="(item, index) in noticeList" :key="index"> |
| | | <view class="list-item" v-for="(item, index) in noticeList" :key="index" @click="jump(item)"> |
| | | <view class="list-item-a"> |
| | | <text>{{item.title}}</text> |
| | | <view class="dian" v-if="item.status == 0"></view> |
| | |
| | | </template> |
| | | <template v-else> |
| | | <view class="wushuju"> |
| | | <image src="/static/images/default_nodata_white.png" mode="widthFix"></image> |
| | | <image src="/static/images/default_nodata_grey.png" mode="widthFix"></image> |
| | | </view> |
| | | </template> |
| | | </view> |
| | |
| | | this.getList() |
| | | }, |
| | | methods: { |
| | | jump(item) { |
| | | if (item.objType === 0) { |
| | | uni.navigateTo({ |
| | | url: `/pagesA/pages/order-details/order-details?id=${item.objId}&userType=0` |
| | | }) |
| | | } else if (item.objType === 1) { |
| | | uni.navigateTo({ |
| | | url: '/pages/my-points/my-points' |
| | | }) |
| | | } else if (item.objType === 2) { |
| | | uni.navigateTo({ |
| | | url: '/pages/coupon/coupon' |
| | | }) |
| | | } |
| | | }, |
| | | changeRow(index) { |
| | | this.i = index |
| | | this.next = true |