yunshangxie/unpackage/dist/dev/mp-weixin/pages/index/user.wxml

1 line
6.2 KiB
Plaintext

<view style="background-color:#EBF4F7;letter-spacing:1rpx;"><view style="{{'background:linear-gradient(50deg, #034EF9 0%, #05ACFF 99%);height:400rpx;'+('padding-top:'+(vuex_custom_bar_height+40+'rpx')+';')}}"><view class="tn-flex tn-flex-center tn-flex-col-center" style="padding:30rpx;width:100%;"><block wx:if="{{login}}"><view><image style="width:100rpx;height:100rpx;border-radius:50%;" src="{{apiImgUrl+userInfo.photo_image}}"></image></view></block><block wx:if="{{!login}}"><view><image style="width:100rpx;height:100rpx;border-radius:50%;" src="/static/def.png"></image></view></block><view style="width:100%;"><block wx:if="{{login}}"><view class="tn-flex tn-flex-col-center tn-flex-row-between"><view style="margin-left:20rpx;color:#fff;"><view style="font-size:35rpx;">{{userInfo.nikename}}</view><block wx:if="{{userInfo.status==1}}"><view style="font-size:24rpx;margin-top:10rpx;">接口返回商会+职位</view></block></view></view></block><block wx:if="{{!login}}"><view class="tn-flex tn-flex-col-center tn-flex-row-between"><view style="margin-left:20rpx;color:#fff;"><tn-button bind:click="__e" vue-id="162ab905-1" data-event-opts="{{[['^click',[['e0']]]]}}" bind:__l="__l" vue-slots="{{['default']}}">点击登陆</tn-button></view></view></block></view></view></view><view><view style="padding:30rpx;margin-top:-115rpx;background-color:transparent;"><view class="tn-flex tn-flex-center tn-flex-col-center tn-flex-row-between" style="text-align:center;padding:30rpx;background-color:#FFF;border-radius:20rpx;box-shadow:0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);"><view data-event-opts="{{[['tap',[['tn',['/pages/index/pizz_info?id='+userInfo.association_id]]]]]}}" bindtap="__e"><view><image style="width:50rpx;height:50rpx;" src="/static/ico5.png"></image></view><view style="margin-top:10rpx;"><text>所在商/协会</text></view></view><view data-event-opts="{{[['tap',[['tn',['/pages/index/events_my']]]]]}}" bindtap="__e"><view><image style="width:50rpx;height:50rpx;" src="/static/ico1.png"></image></view><view style="margin-top:10rpx;"><text>参与活动</text></view></view><view data-event-opts="{{[['tap',[['tn',['/pages/index/my_desc']]]]]}}" bindtap="__e"><view><image style="width:50rpx;height:50rpx;" src="/static/02_2.png"></image></view><view style="margin-top:10rpx;"><text>协会服务</text></view></view><view data-event-opts="{{[['tap',[['tn',['/pages/index/my_card?id='+userInfo.member_id]]]]]}}" bindtap="__e"><view><image style="width:50rpx;height:50rpx;" src="/static/ico6.png"></image></view><view style="margin-top:10rpx;"><text>我的名片</text></view></view></view></view><view style="background-color:#fff;"><view style="padding:0px 20rpx;"><tn-list-cell vue-id="162ab905-2" arrow="{{true}}" data-event-opts="{{[['^click',[['tn',['/pages/index/my_apply']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="tn-flex tn-flex-center tn-flex-col-center"><image style="width:50rpx;height:50rpx;" src="/static/ico8.png"></image><view style="margin-left:20rpx;">入会申请记录</view></view></tn-list-cell><tn-list-cell vue-id="162ab905-3" arrow="{{true}}" data-event-opts="{{[['^click',[['tn',['/pages/index/my_msg']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="tn-flex tn-flex-center tn-flex-col-center" style="position:relative;"><image style="width:50rpx;height:50rpx;" src="/static/ico9.png"></image><view style="margin-left:20rpx;">我的消息</view><tn-badge style="position:absolute;right:40rpx;" vue-id="{{('162ab905-4')+','+('162ab905-3')}}" backgroundColor="#E83A30" fontColor="#ffffff" bind:__l="__l" vue-slots="{{['default']}}">9</tn-badge></view></tn-list-cell><tn-list-cell vue-id="162ab905-5" arrow="{{true}}" data-event-opts="{{[['^click',[['tn',['/pages/index/my_idea']]]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="tn-flex tn-flex-center tn-flex-col-center"><image style="width:50rpx;height:50rpx;" src="/static/ico12.png"></image><view style="margin-left:20rpx;">意见反馈</view></view></tn-list-cell><tn-list-cell vue-id="162ab905-6" arrow="{{true}}" data-event-opts="{{[['^click',[['loginAut']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="tn-flex tn-flex-center tn-flex-col-center"><image style="width:50rpx;height:50rpx;" src="/static/ico11.png"></image><view style="margin-left:20rpx;">退出帐号</view></view></tn-list-cell></view></view></view><tn-modal bind:input="__e" vue-id="162ab905-7" custom="{{true}}" value="{{loginMod}}" data-event-opts="{{[['^input',[['__set_model',['','loginMod','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-modal-content"><view style="text-align:center;font-size:34rpx;">会员登陆</view><view class="text"><tn-form class="vue-ref" vue-id="{{('162ab905-8')+','+('162ab905-7')}}" labelWidth="{{120}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><tn-form-item vue-id="{{('162ab905-9')+','+('162ab905-8')}}" label="手机号" prop="phone" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('162ab905-10')+','+('162ab905-9')}}" value="{{loginData.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['loginData']]]]]}}" bind:__l="__l"></tn-input></tn-form-item><tn-form-item vue-id="{{('162ab905-11')+','+('162ab905-8')}}" label="密码" prop="password" bind:__l="__l" vue-slots="{{['default']}}"><tn-input bind:input="__e" vue-id="{{('162ab905-12')+','+('162ab905-11')}}" type="password" value="{{loginData.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],['loginData']]]]]}}" bind:__l="__l"></tn-input></tn-form-item></tn-form><view style="text-align:center;margin-top:30rpx;"><tn-button vue-id="{{('162ab905-13')+','+('162ab905-7')}}" backgroundColor="#E6E6E6" fontColor="#ffffff" data-event-opts="{{[['^click',[['e1']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">取消</tn-button><tn-button style="margin-left:30rpx;" vue-id="{{('162ab905-14')+','+('162ab905-7')}}" backgroundColor="tn-bg-blue" fontColor="tn-color-white" data-event-opts="{{[['^click',[['submitLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</tn-button></view></view></view></tn-modal></view>