sheet.wxml 1.7 KB
<navigator class="logo" hover-class="none" url="/pages/notice/notice">
    <view class="logo_bg flex_center" style="position: relative;">
        <image src="/img/Iconly-Curved-Notification@2x.png"></image>
        <text wx:if="{{redType}}" style="width: 10rpx;height: 10rpx;background: red;border-radius: 50%;position: absolute;right: 5rpx;top: 5rpx;"></text>
    </view>
</navigator>
<view class="top">
    <view class="top-1" bindtap="getmy">
        <view>
            <view style="display: flex;justify-content: center;width: 184rpx;height: 184rpx;overflow: hidden;border-radius: 50%;">
                <image src="{{token ? meData.avatar : '../../img/ic_head@2x.png'}}" mode="aspectFill"></image>
            </view>
            <view style="display: flex;justify-content: center;">
                <view class="bigtitle">{{token ? meData.nickname : ''}}</view>
            </view>
        </view>
        <text class="t3" >{{token ? '查看并编辑个人资料' : '您还没有登录,请进行登录'}}</text>
    </view>
    <view class="right">积分·{{token ? meData.score : '0'}}</view>
</view>
<view class="contents">
    <view class="cont" wx:for="{{cont}}" wx:key='key'>
        <view class="cont-box" bindtap="getmenu" data-id="{{item.id}}">
            <text class="text-1">{{item.text1}}</text>
            <view class="text-3">{{item.text2}}</view>
            <image src="/img/ic_shop_1@2x.png"></image>
        </view>
    </view>
</view>
<view class="fot-nav">
    <view>Make a little progress every day!</view>
    <view>
        每天进步一点点!
    </view>
</view>
<!--登录  -->
<login show="{{login}}"  bindmyevent="myevent"  bind:callSomeFun="getMe"></login>