|
@@ -146,9 +146,9 @@
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc result-desc_limit">
|
|
|
<!-- <div v-for="(item, index) in userData.guoGuanMap" :key="index">{{ index }}.{{ item }}</div> -->
|
|
|
- <m-map-blur :map="userData.guoGuanMap"></m-map-blur>
|
|
|
+ <m-map-blur :begin="2" :isBlur="goodsStatus.isPay == 0" :map="userData.guoGuanMap"></m-map-blur>
|
|
|
</view>
|
|
|
- <!-- <view class="result-pay">开通会员立即查看</view> -->
|
|
|
+ <view @click="pay" class="result-pay">开通会员立即查看</view>
|
|
|
<!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
|
|
|
<!-- <view class="result-content-border1">
|
|
|
<view class="result-content-border2">
|
|
@@ -167,7 +167,8 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- {{ userData.reportMap['财运'] }}
|
|
|
+ <m-map-blur :isBlur="goodsStatus.isPay == 0" :map="userData.caiYun"></m-map-blur>
|
|
|
+
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -189,8 +190,9 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- <div v-for="(item,index) in userData.qingGan" :key="item">{{index}}.{{ item }}</div>
|
|
|
-
|
|
|
+ <m-map-blur :isBlur="goodsStatus.isPay == 0" :map="userData.qingGan"></m-map-blur>
|
|
|
+ <!-- <div v-for="(item,index) in userData.qingGan" :key="item">{{index}}.{{ item }}</div> -->
|
|
|
+
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -213,23 +215,21 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- {{ userData.reportMap['缺失五行评语'] }}
|
|
|
-
|
|
|
+ <m-line-blur :isBlur="goodsStatus.isPay == 0"
|
|
|
+ :text="(userData.reportMap['缺失五行评语'] + userData.reportMap['潮湿平衡'] + userData.reportMap['缺失十神评语'])"></m-line-blur>
|
|
|
+ <!-- <div>{{ userData.reportMap['缺失五行评语'] }}</div>
|
|
|
|
|
|
+ <div>{{ userData.reportMap['潮湿平衡'] }}</div>
|
|
|
+ <div>{{ userData.reportMap['缺失十神评语'] }}</div> -->
|
|
|
</view>
|
|
|
- <!-- <view class="result-pay">开通会员立即查看</view> -->
|
|
|
- <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
|
|
|
- <!-- <view class="result-content-border1">
|
|
|
- <view class="result-content-border2">
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
+
|
|
|
</view>
|
|
|
<img mode="widthFix" class="imgFooter"
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="csph" class="result">
|
|
|
+ <!-- <view id="csph" class="result">
|
|
|
<img mode="widthFix" class="imgCircle" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/circle.png">
|
|
|
<view :data-theme="theme" class="imgTitle"><text>潮</text><text>湿</text><text>平</text><text>衡</text></view>
|
|
|
<img mode="widthFix" class="imgHeader"
|
|
@@ -240,16 +240,11 @@
|
|
|
|
|
|
|
|
|
</view>
|
|
|
- <!-- <view class="result-pay">开通会员立即查看</view> -->
|
|
|
- <!-- <img mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/forecast/bg_middle.png" /> -->
|
|
|
- <!-- <view class="result-content-border1">
|
|
|
- <view class="result-content-border2">
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
+
|
|
|
</view>
|
|
|
<img mode="widthFix" class="imgFooter"
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
<view id="xysz" class="result">
|
|
@@ -297,7 +292,8 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- <view>{{ userData.piQi }}</view>
|
|
|
+ <m-line-blur :text="userData.piQi" :isBlur="goodsStatus.isPay == 0"></m-line-blur>
|
|
|
+ <!-- <view>{{ userData.piQi }}</view> -->
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -320,8 +316,13 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- <view style="text-align: left;">称骨重量:{{ userData.chenGuMap['称骨重量'] }}</view>
|
|
|
- <view>{{ userData.chenGuMap['称骨评语'] }}</view>
|
|
|
+ <div style="width: 100%;text-align: center;">
|
|
|
+ <m-line-blur :is-blur="false" :text="userData.chenGuMap['称骨重量']"></m-line-blur>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <m-line-blur :isBlur="goodsStatus.isPay == 0" :text="userData.chenGuMap['称骨评语']"></m-line-blur>
|
|
|
+ <!-- <view style="text-align: left;">称骨重量:{{ userData.chenGuMap['称骨重量'] }}</view>
|
|
|
+ <view>{{ userData.chenGuMap['称骨评语'] }}</view> -->
|
|
|
|
|
|
|
|
|
</view>
|
|
@@ -372,9 +373,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- <div :key="index" v-for="(item, index) in userData.xiFangWei">
|
|
|
- {{ item }}
|
|
|
- </div>
|
|
|
+ <m-map-blur :isBlur="goodsStatus.isPay == 0" :map="userData.xiFangWei"></m-map-blur>
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -398,7 +397,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- {{ userData.guiren }}
|
|
|
+ <m-line-blur :text="userData.guiren" :isBlur="goodsStatus.isPay == 0"></m-line-blur>
|
|
|
</view>
|
|
|
|
|
|
|
|
@@ -420,7 +419,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_top@2x.png'" />
|
|
|
<view class="result-content" :data-theme="theme">
|
|
|
<view class="result-desc">
|
|
|
- {{ userData.industry }}
|
|
|
+ <m-line-blur :text="userData.industry" :isBlur="goodsStatus.isPay == 0"></m-line-blur>
|
|
|
</view>
|
|
|
|
|
|
|
|
@@ -494,7 +493,8 @@
|
|
|
import Vue from 'vue';
|
|
|
import api from '@/api'
|
|
|
import responseDecorator from '@/utils/responseDecorator'
|
|
|
-import mMapBlur from '@/components/m-map-blur'
|
|
|
+import mMapBlur from '@/components/m-map-blur/m-map-blur.vue'
|
|
|
+import mLineBlur from '@/components/m-line-blur/m-line-blur.vue'
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
@@ -516,7 +516,7 @@ export default {
|
|
|
{ text: '财运分析', point: 'cyfx' },
|
|
|
{ text: '婚姻情感', point: 'hyqg' },
|
|
|
{ text: '五行评语', point: 'wxpy' },
|
|
|
- { text: '潮湿平衡', point: 'csph' },
|
|
|
+ // { text: '潮湿平衡', point: 'csph' },
|
|
|
{ text: '喜用数字', point: 'xysz' },
|
|
|
{ text: '格局脾气', point: 'gjpq' },
|
|
|
{ text: '称骨评语', point: 'cgpy' },
|
|
@@ -799,7 +799,7 @@ export default {
|
|
|
isPay: 0,
|
|
|
birthday: this.form.birthday,
|
|
|
}).then(res => {
|
|
|
- this.goodsId = res.data
|
|
|
+ this.goodsStatus = res.data
|
|
|
})
|
|
|
|
|
|
|
|
@@ -813,11 +813,31 @@ export default {
|
|
|
goodsId: this.goodsStatus.id
|
|
|
}).then(res => {
|
|
|
uni.requestPayment({
|
|
|
- ...res.data
|
|
|
+ ...res.data,
|
|
|
+ complete: () => {
|
|
|
+ uni.showToast({
|
|
|
+ title:'查询支付结果',
|
|
|
+ icon:'loading',
|
|
|
+ duration:3000
|
|
|
+ })
|
|
|
+ setTimeout(() => {
|
|
|
+ api.order.studentBirthdayLog({
|
|
|
+ sex: this.form.sex,
|
|
|
+
|
|
|
+ name: this.form.username,
|
|
|
+ isPay: 0,
|
|
|
+ birthday: this.form.birthday,
|
|
|
+ }).then(res => {
|
|
|
+ uni.hide
|
|
|
+ this.goodsStatus = res.data
|
|
|
+ })
|
|
|
+ }, 3000);
|
|
|
+ }
|
|
|
}).then(res => {
|
|
|
console.log(res)
|
|
|
})
|
|
|
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
filterBlurText(text, blur) {
|
|
@@ -828,6 +848,7 @@ export default {
|
|
|
},
|
|
|
components: {
|
|
|
mMapBlur,
|
|
|
+ mLineBlur
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -876,7 +897,7 @@ export default {
|
|
|
font-weight: bold;
|
|
|
display: inline-block;
|
|
|
white-space: nowrap;
|
|
|
- overflow-x: scroll;
|
|
|
+ overflow-y: scroll;
|
|
|
padding-top: 30rpx;
|
|
|
|
|
|
.categorys-item {
|
|
@@ -1243,7 +1264,7 @@ export default {
|
|
|
margin-top: 40rpx;
|
|
|
width: 400rpx;
|
|
|
text-align: center;
|
|
|
- height: 80rpx;
|
|
|
+
|
|
|
line-height: 80rpx;
|
|
|
color: #F5EC5A;
|
|
|
border-radius: 40px;
|
|
@@ -1311,4 +1332,5 @@ export default {
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
-}</style>
|
|
|
+}
|
|
|
+</style>
|