| | |
| | | <uni-icons color="#7CC662" type="right" size="18"></uni-icons> |
| | | |
| | | </view> |
| | | <view v-else-if="currentInfo.customerDTO.userGrowthRecord.currentMemberLevel=='银卡会员'" class="v2"> |
| | | <view v-else-if="currentInfo.customerDTO.userGrowthRecord.currentMemberLevel=='银卡会员'" |
| | | class="v2"> |
| | | <image class="member-icon v2" |
| | | src="../../static/images/customer/coupon/member/icon-member-2.png"></image> |
| | | {{currentInfo.customerDTO.userGrowthRecord.currentMemberLevel}} |
| | | <uni-icons color="#7498E0" type="right" size="18"></uni-icons> |
| | | |
| | | </view> |
| | | <view v-else-if="currentInfo.customerDTO.userGrowthRecord.currentMemberLevel=='金卡会员'" class="v3"> |
| | | <view v-else-if="currentInfo.customerDTO.userGrowthRecord.currentMemberLevel=='金卡会员'" |
| | | class="v3"> |
| | | <image class="member-icon v3" |
| | | src="../../static/images/customer/coupon/member/icon-member-3.png"></image> |
| | | {{currentInfo.customerDTO.userGrowthRecord.currentMemberLevel}} |
| | | <uni-icons color="#C47810" type="right" size="18"></uni-icons> |
| | | </view> |
| | | <view v-else class="v4"> |
| | | <view v-else class="v4"> |
| | | <image class="member-icon v4" |
| | | src="../../static/images/customer/coupon/member/icon-member-4.png"></image> |
| | | {{currentInfo.customerDTO.userGrowthRecord.currentMemberLevel}} |
| | |
| | | v-if="selftype==='customer'||!selftype"> |
| | | <view> |
| | | <view class="title">积分商城</view> |
| | | <view class="score m-t-8">拥有积分:{{currentInfo.currentPoint || 0}}</view> |
| | | <view class="score m-t-8">拥有积分:{{self_point}}</view> |
| | | </view> |
| | | <view class="button m-l-a m-r-0 m-t-12"> |
| | | 去兑换 <uni-icons color="#ffffff" type="right" size="16"></uni-icons> |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | computed: { |
| | | |
| | | self_point() { |
| | | if (this.currentInfo.currentPoint) { |
| | | if (this.currentInfo.currentPoint >= 10000) { |
| | | return (this.currentInfo.currentPoint / 10000 + '万') |
| | | } else { |
| | | return this.currentInfo.currentPoint |
| | | } |
| | | } |
| | | |
| | | return 0 |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | CustomBar: uni.getStorageSync('CustomBar'), |
| | |
| | | created() { |
| | | |
| | | }, |
| | | |
| | | async onPullDownRefresh() { |
| | | await this.$store.dispatch('getCurrentInfo') |
| | | uni.stopPullDownRefresh() |