| | |
| | | const _this = this; |
| | | this.isAgree = uni.getStorageSync('boughtEquity') |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+uni.getStorageSync('phone')+'&appId='+'47be9559-6b1b-42dd-84ed-25d028065013', |
| | | url: _this.$webHost+'/api/v2/customer/getRyxBenefitsRecordList?phone='+_this.$util.getUserInfo().phone+'&appId='+uni.getStorageSync('ygxLogin').appId, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.lst = res.data.data; |
| | |
| | | toHuiyuan(){ |
| | | const _this = this; |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/memberEquity/getUrlByShop/'+_this.$util.getUserInfo().phone, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | uni.request( { |
| | | url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/memberEquity/clickUrlByShop/'+_this.$util.getUserInfo().phone, |
| | | }) |
| | | uni.navigateTo( { |
| | | url: '/pages/users/web_page/index?webUel=' + encodeURIComponent(res.data.data.url) |
| | |
| | | getTips(){ |
| | | const _this = this; |
| | | uni.request({ |
| | | url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+uni.getStorageSync('phone'), |
| | | url: _this.$webHost+'/api/v2/shop/findExpressNo?phone='+_this.$util.getUserInfo().phone, |
| | | success: function (res) { |
| | | if(res.data.code==200){ |
| | | _this.tips = res.data.data; |
| | |
| | | <!-- 新版 --> |
| | | <view style="padding-bottom: 200rpx;"> |
| | | <!-- 返回 --> |
| | | <view style="height: 20rpx;"></view> |
| | | <view class="head" style="position: relative;height: 90rpx;padding:0 30rpx;"> |
| | | <view style="display: flex;justify-content: flex-start;position: absolute;left: 0;top: 15rpx;padding-left: 30rpx;z-index: 9;color: #FFFFFF;"> |
| | | <view @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back arrow-left" style="margin-top: 80rpx;"> |
| | | <uv-icon name="arrow-left" color="#ffffff" size="22"></uv-icon> |
| | | <uv-icon name="arrow-left" color="#ffffff" size="28"></uv-icon> |
| | | <!-- <view @tap="goHome" id="home" class="home acea-row row-center-wrapper iconfont icon-fanhui2 h5_back icon-shouye4" :style="{ height: '80rpx',lineHeight: '80rpx'}" >--> |
| | | </view> |
| | | </view> |
| | |
| | | <!-- <view style="font-size: 28rpx;font-weight: 400;background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">会员预计最高节省1359.27元</view>--> |
| | | <view style="display: flex;margin-top: 30rpx;align-items: self-end;"> |
| | | <view v-if="lst.length" style="font-size: 24rpx;width: 70%;"> |
| | | <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} 99<span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p> |
| | | <p style="font-size: 36rpx;color: #253567;font-weight: bold;">¥{{lst[0].amount.toFixed(2)}} <span style="font-size: 28rpx;margin-left: 20rpx;">{{lst[0].isBuy?'已扣款' : '待扣款'}}</span></p> |
| | | <!-- <p style="font-size: 48rpx;color: #253567;font-weight: bold;">¥99.00<span style="font-size: 28rpx;margin-left: 20rpx;">已扣款</span></p>--> |
| | | <!-- <p style="background: -webkit-linear-gradient(#FFEEE7, #F4936F);-webkit-background-clip: text;-webkit-text-fill-color: transparent;">{{lst[0].buyDate}}</p>--> |
| | | </view> |
| | |
| | | <view style="font-size: 36rpx;color: #333333;margin: 0 20rpx;"> |
| | | <span class="content-title-item">实物权益</span> |
| | | </view> |
| | | <view style="color: #666666;font-size: 24rpx;">专享权益以实际兑换页面为准</view> |
| | | <view style="color: #666666;font-size: 24rpx;">专享权益以商城实际发出商品为准</view> |
| | | <!-- <image style="width: 111rpx;height: 8rpx;" src="/static/img/qsRight.png"></image>--> |
| | | </view> |
| | | <view class="physical" style="background: url('/static/img/qsPhysical.png') no-repeat top center; background-size: 100%;width: 100%;height: 982rpx;"> |
| | |
| | | <!-- </view>--> |
| | | </view> |
| | | <view style="width: 690rpx;display: flex;gap: 20rpx;position: fixed;bottom: 40rpx;left: 30rpx;z-index: 5;"> |
| | | <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">虚拟权益</button> |
| | | <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">实物权益</button> |
| | | <button @click="toHuiyuan" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #CD8319">领取虚拟权益</button> |
| | | <button @click="getTips" style="width:50%;height: 100rpx;line-height: 100rpx;color: #ffffff;border-radius: 50rpx;font-size: 34rpx;background-color: #4766FE">查询实物权益</button> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | |
| | | |
| | | <uni-popup type="center" ref="comment" > |
| | | <view style="border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;"> |
| | | <view style="position: relative;border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;background: url('/static/img/qsTipsBg.png') no-repeat left center; background-size: 100%;height: 612rpx;"> |
| | | <view style="width: 100%;height: 200rpx;border-radius: 48rpx;"> |
| | | <view style="text-align: center;padding-top: 30rpx;" > |
| | | <image src="/static/img/yifa.png" style="width: 560rpx;height: 252rpx;"></image> |
| | |
| | | <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 84rpx;margin-bottom: 40rpx;padding: 0 28rpx;"> |
| | | <view>{{ tips }}</view> |
| | | </view> |
| | | <view @click="$refs.comment.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view> |
| | | <view @click="$refs.comment.close()" style="position: absolute;width: 400rpx;bottom: 80rpx;left: 41rpx;font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;border-radius: 56rpx">好的</view> |
| | | </view> |
| | | </uni-popup> |
| | | |
| | | <uni-popup type="center" ref="life" > |
| | | <view style="border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;"> |
| | | <view style="position: relative;border-radius: 48rpx;padding: 28rpx 0;width: 538rpx;background: #FFFFFF;padding-top: 0;background: url('/static/img/qsTipsBg.png') no-repeat left center; background-size: 100%;height: 612rpx;"> |
| | | <view style="width: 100%;height: 200rpx;border-radius: 48rpx;"> |
| | | <view style="text-align: center;padding-top: 30rpx;"> |
| | | <image src="/static/img/qsLifeIcon.png" style="width: 560rpx;height: 252rpx;"></image> |
| | |
| | | <view style="font-size: 32rpx;font-weight: 600;color: #333333;text-align: center;margin-top: 84rpx;margin-bottom: 40rpx;padding: 0 28rpx;"> |
| | | <view>{{ tips }}</view> |
| | | </view> |
| | | <view @click="$refs.life.close()" style="font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;margin-left: 30rpx;margin-right: 30rpx;border-radius: 56rpx">好的</view> |
| | | <view @click="$refs.life.close()" style="position: absolute;width: 400rpx;bottom: 80rpx;left: 41rpx;font-weight: 500;font-size: 32rpx;color: #ffffff;text-align: center;padding: 24rpx 28rpx;border-top: 2rpx solid #EEEEEE;background-color: #4766FE;border-radius: 56rpx;">好的</view> |
| | | </view> |
| | | </uni-popup> |
| | | </view> |