|
@@ -1,21 +1,8 @@
|
|
<template>
|
|
<template>
|
|
<view :data-theme="theme" class="bg">
|
|
<view :data-theme="theme" class="bg">
|
|
- <!-- <view class="categorys">
|
|
|
|
- <view style="width:100%">
|
|
|
|
- <view class="categorys-item" v-for="item in categorys">
|
|
|
|
- <view :data-theme="theme" @click="() => {
|
|
|
|
- currentPoint = item.point
|
|
|
|
- }" :class="{
|
|
|
|
- 'categorys-item-text_selected': currentPoint == item.point
|
|
|
|
-}" class="categorys-item-text">{{ item.text }}</view>
|
|
|
|
- <view :data-theme="theme" :class="{
|
|
|
|
- 'categorys-item-mark_selected': currentPoint == item.point
|
|
|
|
- }" class="categorys-item-mark"></view>
|
|
|
|
- </view>
|
|
|
|
- <view class=""></view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- </view> -->
|
|
|
|
|
|
+ <view :data-theme="theme" @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">
|
|
<scroll-view :scroll-into-view="currentPoint" :scroll-with-animation="false" :scroll-y="true" class="content">
|
|
<view id="bzmp" class="user">
|
|
<view id="bzmp" class="user">
|
|
<view style="width:50%">
|
|
<view style="width:50%">
|
|
@@ -427,58 +414,6 @@
|
|
<img mode="widthFix" class="imgFooter"
|
|
<img mode="widthFix" class="imgFooter"
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
:src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_' + theme + '_bottom@2x.png'" />
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
-
|
|
|
|
- <!-- <view 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" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
|
|
|
|
- <view class="result-content ">
|
|
|
|
-
|
|
|
|
- <view class="result-desc">
|
|
|
|
- {{ userData.reportMap['缺失十神评语'] }}
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </view> -->
|
|
|
|
- <!-- <view class="result-disease">
|
|
|
|
- <view v-for="(item,index) in userData.diseasePartList" class="">
|
|
|
|
- <text style="color: #006494;"> {{ item.part }}:</text>
|
|
|
|
- <text>({{ item.degree }}) {{ item.symp }}</text>
|
|
|
|
- </view>
|
|
|
|
- </view> -->
|
|
|
|
-
|
|
|
|
- <!-- <view class="result-pay">开通会员立即查看</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 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" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_top@2x.png'" />
|
|
|
|
- <view class="result-content ">
|
|
|
|
- <view class="result-desc">
|
|
|
|
- 当我们关注身体健康时,了解各宫位的能量分布可以帮助我们判断可能出现的疾病。请特别留意以下身体部位可能存在的问题,并在早期进行检查,以便及时预防。
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- <view class="result-disease">
|
|
|
|
- <view v-for="(item, index) in userData.diseasePartList" class="">
|
|
|
|
- <text style="color: #006494;"> {{ item.part }}:</text>
|
|
|
|
- <text>({{ item.degree }}) {{ item.symp }}</text>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
- <img mode="widthFix" class="imgFooter" :src="'https://ndata.zzxcx.net/xpgx-xcx/forecast/reportBg/bg_'+theme+'_bottom@2x.png'" />
|
|
|
|
- </view> -->
|
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -758,6 +693,11 @@ export default Vue.extend({
|
|
ganZhiKongWangVoList: [{ kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }]
|
|
ganZhiKongWangVoList: [{ kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }, { kongWang: '', zhu: '' }]
|
|
|
|
|
|
|
|
|
|
|
|
+ },
|
|
|
|
+ goodsStatus:{
|
|
|
|
+ id:0,
|
|
|
|
+ isPay:0
|
|
|
|
+
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -767,7 +707,15 @@ export default Vue.extend({
|
|
this.form.sex = Number(query.sex) || this.form.sex
|
|
this.form.sex = Number(query.sex) || this.form.sex
|
|
this.form.birthday = decodeURIComponent(query.birthday || this.form.birthday)
|
|
this.form.birthday = decodeURIComponent(query.birthday || this.form.birthday)
|
|
uni.showLoading()
|
|
uni.showLoading()
|
|
|
|
+ api.birthday.studentBirthdayLog({
|
|
|
|
+ birthday:query.birthday,
|
|
|
|
+ name:query.username,
|
|
|
|
+ sex:query.sex
|
|
|
|
+
|
|
|
|
+ }).then(res=>{
|
|
|
|
+ this.goodsStatus.id = res.data.data
|
|
|
|
|
|
|
|
+ })
|
|
api.openApi.openApiGanZhiGet8ziByDate(this.form).then(res => {
|
|
api.openApi.openApiGanZhiGet8ziByDate(this.form).then(res => {
|
|
this.userData = responseDecorator.get8ziByDateDecorator(res.data.data)
|
|
this.userData = responseDecorator.get8ziByDateDecorator(res.data.data)
|
|
this.theme = this.userData.ganZhiProRowVoList[2][0].enColor
|
|
this.theme = this.userData.ganZhiProRowVoList[2][0].enColor
|
|
@@ -779,7 +727,14 @@ export default Vue.extend({
|
|
|
|
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
-
|
|
|
|
|
|
+ pay(){
|
|
|
|
+ api.wx.studentWxXcxPrepareOrder({
|
|
|
|
+ foreType:2,
|
|
|
|
+ goodsId:1,
|
|
|
|
+ goodsType:1,
|
|
|
|
+ phoneType:1
|
|
|
|
+ })
|
|
|
|
+ }
|
|
}
|
|
}
|
|
});
|
|
});
|
|
</script>
|
|
</script>
|
|
@@ -788,7 +743,47 @@ export default Vue.extend({
|
|
.bg {
|
|
.bg {
|
|
width: 100vw;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
height: 100vh;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+}
|
|
|
|
+.pay {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: auto;
|
|
|
|
+ position: fixed;
|
|
|
|
+ bottom: 0rpx;
|
|
|
|
+ z-index: 999;
|
|
|
|
+ display: flex;
|
|
|
|
+ align-items: center;
|
|
|
|
+ align-content: center;
|
|
|
|
+
|
|
|
|
+ padding-bottom: constant(safe-area-inset-bottom); //为底下圆弧的高度 34px
|
|
|
|
+ padding-bottom: env(safe-area-inset-bottom); //为底下圆弧的高度 34px
|
|
|
|
+
|
|
|
|
+ .pay-button {
|
|
|
|
+ margin: 15rpx auto;
|
|
|
|
+ border: 4rpx solid #333333;
|
|
|
|
+ background: #E74D26;
|
|
|
|
+ width: 400rpx;
|
|
|
|
+ line-height: 80rpx;
|
|
|
|
+ border-radius: 10px;
|
|
|
|
+ color: #F5EC5A;
|
|
|
|
+ text-align: center;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ //
|
|
|
|
+ // margin-top: 40rpx;
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ //
|
|
|
|
+ // left: 50%;
|
|
|
|
+ // transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
|
|
[data-theme=blue].bg {
|
|
[data-theme=blue].bg {
|