forked from lsl/xzjl-ui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
138 lines
7.5 KiB
138 lines
7.5 KiB
<!--pages/home/me/indexx.wxml-->
|
|
<!-- <t-avatar class="avatar" size="large" image="{{userInfo.avatar}}" /> -->
|
|
<image class="avatar" src="{{userInfo.avatar}}" />
|
|
<view class="xxt"></view><!--星星背景图片-->
|
|
<view class="txk" bindtap="go2Grzl"></view><!--头像框-->
|
|
<view class="txkx" bindtap="go2Grzl"> </view><!--头像框里面的图标-->
|
|
<view class="nickname">{{userInfo.nick}}</view><!--用户昵称-->
|
|
<view class="unhybs" wx:if="{{!userInfo.isChatVip}}" bindtap="go2Member"></view><!--非会员图标-->
|
|
<view class="hydqr" wx:if="{{!userInfo.isChatVip}}"> 开通VIP会员</view><!--非会员提示-->
|
|
<view class="hybs" wx:if="{{userInfo.isChatVip}}" bindtap="go2Member2"></view><!--会员图标-->
|
|
<view class="hydqr" wx:if="{{userInfo.isChatVip}}"> 还有21天到期</view><!--会员提示-->
|
|
|
|
<view class="gnk">
|
|
<!-- <view class="smst" >说明书</view> -->
|
|
<!-- <view class="jrsqt">加入社群</view> -->
|
|
<view class="wdsbt">我的设备</view>
|
|
<view class="sx"></view>
|
|
<!-- <view class="circle k1" bindtap="go2Manual"> -->
|
|
<!-- <view class="sms"></view>
|
|
</view> -->
|
|
<view class="circle k2" bindtap="go2Device">
|
|
<view class="sq"></view>
|
|
</view>
|
|
<!-- <view class="circle k3" bindtap="go2Sq">
|
|
<view class="sb"></view>
|
|
</view> -->
|
|
</view>
|
|
<!--功能操作框-->
|
|
<view class="mycell" bindtap="ljXzjl" >
|
|
<!-- <t-cell hover arrow bindtap="go2Gw">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-triangles.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >了解星座精灵</text>
|
|
</t-cell> -->
|
|
<t-cell hover bindtap="doBdsjh" >
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-phone.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >绑定手机号</text>
|
|
<text slot="note" wx:if="{{userInfo.hasPhone}}">{{userInfo.phone}}</text>
|
|
</t-cell>
|
|
<!-- <t-cell hover arrow bindtap="go2Cjwt">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-help%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >常见问题</text>
|
|
</t-cell> -->
|
|
<t-cell hover arrow bindtap="go2Yjfk">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-edit%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >意见反馈</text>
|
|
</t-cell>
|
|
<!-- <t-cell hover arrow bindtap="go2Yhsyxy">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-editor%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >用户使用协议</text>
|
|
</t-cell> -->
|
|
<!-- <t-cell hover arrow bindtap="go2Ysxy">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-audit%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >隐私协议</text>
|
|
</t-cell> -->
|
|
<t-cell hover>
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-layers%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >小程序版本</text>
|
|
<text slot="note" >V1.0</text>
|
|
</t-cell>
|
|
<t-cell hover arrow bindtap="go2Jcjb" wx:if="{{userInfo.loverId}}">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/myqcloud.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >解除羁绊</text>
|
|
</t-cell>
|
|
<t-cell hover arrow bindtap="logout">
|
|
<t-icon slot="left-icon" name="https://wish-assets.windymuse.com.cn/xy/iconPark-logout%402x.png" size="50rpx"/>
|
|
<text slot="title" class="mycelltext" >退出登录</text>
|
|
</t-cell>
|
|
<view class="meempty"></view>
|
|
<t-toast id="t-toast" />
|
|
|
|
<t-dialog id="t-dialog" />
|
|
</view>
|
|
|
|
<view class="bdsjhVisible" wx:if="{{bdsjhVisible}}">
|
|
<!-- 绑定手机号码 -->
|
|
<view class="bdsjh" wx:if="{{showPhone}}">
|
|
<view class="bdsjhm1" wx:if="{{isHavePhone}}">更改手机号码</view>
|
|
<view class="bdsjhm1" wx:else>验证手机号码</view>
|
|
<view class="bdsjhm2" wx:if="{{isHavePhone}}">如设备丢失,可凭手机号码找回账号</view>
|
|
<view class="bdsjhm2" wx:else>请勿将验证码告知他人</view>
|
|
<view class="sjhm1">手机号码</view>
|
|
<view class="input-example sjhminput1">
|
|
<t-input model:value="{{phone}}" bindblur="getPhone" placeholder="请输入手机号" />
|
|
</view>
|
|
<view class="sjhbkx"></view>
|
|
|
|
<view class="yzm1">验证码</view>
|
|
<view class="input-example sjhminput2">
|
|
<t-input
|
|
model:value="{{phoneVerificationCode}}"
|
|
bindblur="getVerificationCode"
|
|
placeholder="请输入验证码"
|
|
class="phoneCode"
|
|
/>
|
|
<view class="cxhq" bindtap="getCode">{{isCxHq?countdown:'立即获取'}}</view>
|
|
</view>
|
|
<view class="yzmbkx"></view>
|
|
<view class="bdsjh-btn">
|
|
<view class="qxSjh" bindtap="doCancelSjh">取消</view>
|
|
<view class="wcSjh" bindtap="doEXecSjh">完成</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 绑定成功提示 -->
|
|
<view class="bd-success" wx:if="{{bdSuccess}}">
|
|
<view class="bd-success-text">
|
|
<view class="text1">已成功绑定</view>
|
|
<view class="text2">可在我的设备中查看</view>
|
|
</view>
|
|
<view class="bd-success-btn">
|
|
<view class="btn" bindtap="bdSuccessBtn">好的</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 手机号码已存在 -->
|
|
<view class="exist-phone" wx:if="{{existPhone}}">
|
|
<view class="exist-phone-text1">此手机号已存在</view>
|
|
<view class="exist-phone-text2">如设备丢失,可在此页面找回账号</view>
|
|
<view class="exist-phone-text3">如需要绑定新设备请点击下方选项</view>
|
|
<view class="exist-phone-btn"><view class="btn" bindtap="findData">找回账号数据</view></view>
|
|
<view class="exist-phone-btn"><view class="btn" bindtap="bindinNewPhone">绑定新设备</view></view>
|
|
<view class="exist-phone-btn"><view class="btn" bindtap="closeExistPhone">取消</view></view>
|
|
</view>
|
|
|
|
<!-- 找回账号数据 -->
|
|
<view class="exist-phone" wx:if="{{findAccount}}">
|
|
<view class="exist-phone-text1">找回账号数据</view>
|
|
<view class="exist-phone-text4">为保护用户数据隐私</view>
|
|
<view class="exist-phone-text5">找回操作将会使[原设备]失效</view>
|
|
<view class="exist-phone-text5">找回后,只有新设备可登录账号</view>
|
|
<view class="exist-phone-text5">此操作将无法撤销</view>
|
|
<view class="exist-phone-text5">确定要找回吗?</view>
|
|
<view class="exist-btn">
|
|
<view class="btn" bindtap="closeFindData">取消</view>
|
|
<view class="btn" bindtap="retrieveAccount">确定</view>
|
|
</view>
|
|
</view>
|
|
</view> |