| | |
| | | </view> |
| | | |
| | | <!-- #ifndef MP-WEIXIN --> |
| | | <!-- <view @click="logout" class="flex item align-center"> |
| | | <view v-show="isPC" @click="logout" class="flex item align-center"> |
| | | <u-icon name="/static/icon/quit.png" size="18"></u-icon> |
| | | <view class="flex align-center justify-between solid-bottom margin-left-sm"> |
| | | <view class="title">退出登录</view> |
| | |
| | | <u-icon name="error" color="#848B9E" size="16"></u-icon> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | <!-- #endif --> |
| | | <!-- #ifdef MP-WEIXIN --> |
| | | <button open-type="share" class="flex item align-center"> |
| | |
| | | loginCode: "", |
| | | showTab: false, |
| | | tabIndex: 0, |
| | | res_data:'123' |
| | | res_data:'123', |
| | | isPC:false |
| | | }; |
| | | }, |
| | | computed: { |
| | |
| | | // #ifdef H5 |
| | | if (/MicroMessenger/i.test(navigator.userAgent)) { |
| | | platform = 'gzh'; |
| | | }else{ |
| | | if (!this.userInfo.token) { |
| | | this.isPC = false |
| | | }else{ |
| | | this.isPC = true |
| | | } |
| | | |
| | | } |
| | | // #endif |
| | | return (platform == 'gzh' && this.$store.state.config.wxGzhPay == 1) || (platform == 'wxmp' && this.$store.state.config.mpPay == 1) |