|
@@ -24,7 +24,7 @@
|
|
|
|
|
|
</view>
|
|
|
<!-- <button @click="pay">支付</button> -->
|
|
|
- <view class="categorys">
|
|
|
+ <view class="categorys" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<view style="width:100%">
|
|
|
<view class="categorys-item" :key="index" v-for="(item, index) in categorys">
|
|
|
<view :data-theme="theme" @click="() => {
|
|
@@ -41,7 +41,7 @@
|
|
|
|
|
|
</view>
|
|
|
|
|
|
- <view :data-theme="theme" v-if="goodsStatus.isPay == 0" @click="pay" class="pay">
|
|
|
+ <view :data-theme="theme" v-if="goodsStatus.isPay == 0&&baZiIsPay=='1'" @click="pay" class="pay">
|
|
|
<view class="pay-button"> 开通会员立即查看</view>
|
|
|
</view>
|
|
|
<scroll-view :scroll-into-view="currentPoint" :scroll-with-animation="false" :scroll-y="true" class="content">
|
|
@@ -165,7 +165,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view id="grtd" class="result">
|
|
|
+ <view id="grtd" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -189,7 +189,7 @@
|
|
|
</view>
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
|
|
|
- <view id="cyfx" class="result">
|
|
|
+ <view id="cyfx" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -213,7 +213,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
</view>
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="hyqg" class="result">
|
|
|
+ <view id="hyqg" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -237,7 +237,7 @@
|
|
|
<img mode="widthFix" class="imgFooter"
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
</view>
|
|
|
- <view id="zngx" class="result">
|
|
|
+ <view id="zngx" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -262,7 +262,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
</view>
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="wxpy" class="result">
|
|
|
+ <view id="wxpy" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -284,7 +284,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <!-- <view id="csph" class="result">
|
|
|
+ <!-- <view id="csph" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -302,7 +302,7 @@
|
|
|
</view> -->
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="xysz" class="result">
|
|
|
+ <view id="xysz" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -351,7 +351,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="gjpq" class="result">
|
|
|
+ <view id="gjpq" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -376,7 +376,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="cgpy" class="result">
|
|
|
+ <view id="cgpy" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -406,7 +406,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="jkyf" class="result">
|
|
|
+ <view id="jkyf" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -433,7 +433,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="xyfw" class="result">
|
|
|
+ <view id="xyfw" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -458,7 +458,7 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="mzgr" class="result">
|
|
|
+ <view id="mzgr" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -481,7 +481,7 @@
|
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
|
</view>
|
|
|
<view style="width: 100%;height: 35rpx;"></view>
|
|
|
- <view id="tjhy" class="result">
|
|
|
+ <view id="tjhy" class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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"
|
|
@@ -504,7 +504,7 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
- <!-- <view class="result">
|
|
|
+ <!-- <view class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
|
|
@@ -533,7 +533,7 @@
|
|
|
<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 class="result">
|
|
|
+ <view class="result" :class="{'hidden':baZiIsPay!='1'}">
|
|
|
<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" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
|
|
@@ -569,6 +569,7 @@ import mNumberBlur from '@/components/m-number-blur/m-number-blur.vue'
|
|
|
export default Vue.extend({
|
|
|
data() {
|
|
|
return {
|
|
|
+ baZiIsPay: uni.getStorageSync("IS_BAZI")||'0',
|
|
|
currentPoint: 'bzmp',
|
|
|
theme: 'yellow',
|
|
|
title: '国学',
|
|
@@ -901,7 +902,7 @@ export default Vue.extend({
|
|
|
}).then(res => {
|
|
|
wx.requestPayment({
|
|
|
...res.data.data,
|
|
|
- success: (res: any) => {
|
|
|
+ complete: (res: any) => {
|
|
|
uni.showToast({
|
|
|
title: '查询支付结果',
|
|
|
icon: 'loading',
|