honmeigui/pages/user/index.wxml
2022-12-26 12:02:35 +08:00

176 lines
12 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view class="content">
<scroll-view scroll-y="{{true}}" enhanced="{{true}}" class="scroll" show-scrollbar="{{false}}" bounces="{{false}}">
<!-- wx:if="{{pihuan}}" -->
<block >
<view class="top">
<view class="top_user"><span></span></view>
<view class="top_titel">
<view class="touxiang">
<!-- {{userInfo.avatar}} -->
<image style="width:100%;height:100%;border-radius:75rpx;" src="{{userInfo.avatar=='0'?'../../static/image/head.png':userInfo.avatar}}" class="_img"></image>
</view>
<view class="name">
<view class="name1">
<!-- <block wx:if="{{userInfo.nickname!='0'}}"><label>{{userInfo.nickname}}</label></block> -->
<block wx:if="{{userInfo.nickname!=0}}">
<view class="name_top">
<span>{{userInfo.nickname}}</span>
<image src="../../static/image/hy_icon.png" wx:if="{{userInfo.is_vip ==1}}" style="height: 40rpx;width: 40rpx;z-index: 99;margin-left: 16rpx;margin-bottom: 10rpx;"></image>
</view>
<view class="name_b" style="font-size: 30rpx;font-family: PingFang SC-Regular, PingFang SC;font-weight: 400;color: #666666;line-height: 35rpx;margin-top: 10rpx;">
ID:{{userInfo.uid}}
</view>
</block>
<block wx:else="{{userInfo.nickname=='0'}}">
<view class="uid">
<button hover-class="none" open-type="getuserInfo" data-event-opts="{{[['tap',[['getuserInfos',['$event']]]]]}}" bindtap="__e">点我授权</button>
<text> ID:{{userInfo.uid}}</text>
</view>
</block>
</view>
</view>
</view>
</view>
<view class="conter">
<view class="conter_div">
<view class="conter_div_conter">
<view class="conter_div_conter_l">
<view class="conter_div_conter_l_1" style="display: flex;flex-direction: column;justify-content: center;align-items: center;">
<view style="width: 100%;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;-webkit-box-orient: vertical;display: flex;justify-content: center;align-items: center;">
<span style=" font-size:40rpx;font-family:PingFang SC-Bold, PingFang SC;font-weight:bold;color:#1A1A1A;">
{{userInfo.egold?userInfo.egold:'0'}}
</span>
</view>
<span style="font-size: 30rpx;font-family: PingFang SC-Regular, PingFang SC;font-weight: 400;color: #666666;line-height: 35rpx;margin-top: 14rpx;">
账户K币
</span>
</view>
<view class="conter_div_conter_l_2" style="display: flex;flex-direction: column;justify-content: center;align-items: center;">
<span style="font-size:40rpx;font-family:PingFang SC-Bold, PingFang SC;font-weight:bold;color:#1A1A1A;">{{userInfo.vip_enddate?userInfo.vip_enddate:'0'}}</span>
<span style="font-size: 30rpx;font-family: PingFang SC-Regular, PingFang SC;font-weight: 400;color: #666666;line-height: 35rpx;margin-top: 14rpx;">
会员天数
</span>
</view>
</view>
<view class="conter_div_conter_r" wx:if="{{str!='iOS'}}">
<view class="btn_cke" data-statu="open" data-event-opts="{{[['tap',[['powerDrawer',['$event']]]]]}}" bindtap="__e">立即充值</view>
</view>
</view>
</view>
<view class="fg"></view>
<!-- <view data-event-opts="{{[['tap',[['returnRecords',['$event']]]]]}}" class="record" style="margin-top: 48rpx;" bindtap="__e">
<view class="record_left">
<view class="record_icon">
<image src="/static/image/record_icon.png"></image>
</view>
<view class="record_text">历史观看</view>
</view>
<view class="record_right">
<view class="ht">
<image src="/static/image/right.png"></image>
</view>
</view>
</view> -->
<!-- <scroll-view class="coonter1_view" scroll-left="0" scroll-x="true" show-scrollbar="{{false}}" enhanced='{{true}}'>
<block wx:for="{{taglist}}" wx:for-item="item" wx:for-index="index">
<view class="coonter1_view_for">
<view class="coonter1_view_for_image" data-event-opts="{{[['tap',[['onvideo',['$0'],[[['taglist','',index,'id']]]]]]]}}" bindtap="__e">
<image mode="aspectFill" style="width:100%;height:100%;border-radius:24rpx 24rpx 24rpx 24rpx;" src="{{item.cover}}"></image>
</view>
</view>
</block>
</scroll-view> -->
<view wx:if="{{str!='iOS'}}" data-event-opts="{{[['tap',[['retunRechargeRecord',['$event']]]]]}}" class="record" style="margin-top: 60rpx;" bindtap="__e">
<view class="record_left">
<view class="record_icon">
<image src="/static/image/detailed.png"></image>
</view>
<view class="record_text">充值明细</view>
</view>
<view class="record_right">
<view class="ht">
<image src="/static/image/right.png"></image>
</view>
</view>
</view>
<view data-event-opts="{{[['tap',[['onLxkf',['$event']]]]]}}" style="margin-top: 64rpx;" class="record" bindtap="__e">
<view class="record_left">
<view class="record_icon">
<image src="/static/image/kefu_icon.png"></image>
</view>
<view class="record_text">联系客服</view>
</view>
<view class="record_right">
<view class="ht">
<image src="/static/image/right.png"></image>
</view>
</view>
</view>
<block wx:if="{{showModalStatus}}">
<view class="drawer_screen" data-statu="close" data-event-opts="{{[['tap',[['powerDrawer',['$event']]]]]}}" bindtap="__e"></view>
</block>
<block wx:if="{{showModalStatus}}">
<view class="drawer_attr_box" animation="{{animationData}}">
<view class="drawer_content">
<view class="drawer_content_top">
<view class="drawer_content_top_left">
<view class="drawer_content_top_div1">
<image style="width:48rpx;height:48rpx;" src="/static/image/wecaht.png" class="_img"></image>
</view>
<view class="drawer_content_top_div2">微信支付</view>
</view>
<view class="drawer_content_top_right" data-event-opts="{{[['tap',[['powerDrawer',['$event']]]]]}}" bindtap="__e" data-statu="close">
<image style="width:48rpx;height:26rpx;" src="/static/image/der_buttom.png" mode="aspectFit" class="_img"></image>
</view>
</view>
<view class="drawer_tetil">我的K币{{userInfo.egold}}K币</view>
<view class="drawer_pay_div">
<block wx:for="{{paysetting}}" wx:for-item="item" wx:for-index="index">
<view data-event-opts="{{[['tap',[['borderClick',[index]]]]]}}" class="drawer_pay_div_for" style="{{(border==index?'border: 3rpx solid #ffffff;box-sizing:content-box;':'')}}" bindtap="__e">
<view class="drawer_pay_div_for_top" style="{{(border==index?'color: #DAA362;':'color: #ffffff;')}}">{{''+item.price+'元'}}</view>
<view class="drawer_pay_div_for_c">{{''+item.egold+'K币'}}</view>
<view class="drawer_pay_div_for_b">{{''+item.title+''}}</view>
<view class="drawer_pay_div_for_flot">
<block wx:if="{{item.poster=='热'}}">
<image style="width:68rpx;height:58rpx;" src="/static/image/le.png"></image>
</block>
</view>
</view>
</block>
</view>
<view data-event-opts="{{[['tap',[['payClick',['$event']]]]]}}" class="drawer_pay_btn" bindtap="__e">{{'支付'+payData.price+'元'}}<label style="font-size:32rpx;margin-left:10rpx;">{{'(优惠'+payData.giveegold/100+'元)'}}</label></view>
</view>
</view>
</block>
<block wx:if="{{fhj}}">
<view class="fhj">
<view class="fhj_img">
<image src="../../static/image/fhj.png" data-event-opts="{{[['tap',[['payFh',['$event']]]]]}}" bindtap="__e" style="width: 705rpx;height: 614rpx;"></image>
<image src="../../static/image/close_pd.png" data-event-opts="{{[['tap',[['closonpayFh',['$event']]]]]}}" bindtap="__e" style="width: 66rpx;height: 66rpx;margin-top: 80rpx;"></image>
<view class="fhj_font">
<view class="fhj_font_t">
充 <text>{{fhdata.price}}</text> 送<text>{{fhdata.zbegold}}</text>元
</view>
<view class="fhj_font_s">
得 <text>{{fhdata.egold}}</text>K币
</view>
</view>
</view>
</view>
</block>
</view>
</block>
<block wx:if="{{!pihuan}}">
</block>
</scroll-view>
<view wx:if="{{videoShow}}" data-event-opts="{{[['tap',[['closoImage',['$event']]]]]}}" bindtap="__e" style="height: 100%;width: 100%;position: fixed;top: 0;display: flex;align-items: center;justify-content: center;background-color: #000;opacity: 0.7;z-index: 99;">
</view>
<view wx:if="{{videoShow}}" style="opacity: 1;width: 100%;position: fixed;top: 30%;z-index: 9999;display: flex;align-items: center;justify-content: center;">
<image show-menu-by-longpress="true" src="{{qyImge}}" style="background-color: #fff;width: 50%;z-index: 9999;height: calc(100vh - 1046rpx);"></image>
</view>
<!-- <cell bind:startmessage='startmessage' bind:completemessage="completemessage" plugid='337f3a46be8396b1a2f7d7798e7ddaa0' /> -->
<!-- <web-view src="https://m.hlcode.cn/?id=NiyLEu8"></web-view> -->
</view>
<!-- -->