| | |
| | | </view> |
| | | <view class="flex justify-center align-center flex-direction"> |
| | | <button @click="toChat" style="width: calc(100vw - 60rpx); height: 100rpx;" class="cu-btn text-bold chat-button"> |
| | | 开始咨询 (余{{sum_num}}次) </button> |
| | | 开始咨询 (余{{num}}次) </button> |
| | | </view> |
| | | <view class="tool padding-top-xl"> |
| | | <view class="header"> |
| | |
| | | uni.hideHomeButton() |
| | | // #endif |
| | | |
| | | if(this.$store.state.userInfo.num&&this.$store.state.userInfo.pay_num){ |
| | | this.setting_data = setting |
| | | this.userinfo_data = this.$store.state.userInfo |
| | | this.sum_num = this.userinfo_data.num+this.userinfo_data.pay_num |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | |
| | | |
| | | }, |
| | | created() { |
| | | if(this.$store.state.userInfo.num&&this.$store.state.userInfo.pay_num){ |
| | | this.setting_data = setting |
| | | this.userinfo_data = this.$store.state.userInfo |
| | | this.sum_num = this.userinfo_data.num+this.userinfo_data.pay_num |
| | | } |
| | | let st_open = uni.getStorageSync('openid') |
| | | this.shar_openid = st_open |
| | | var url_local = location.href.split("#")[0] |