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

1 line
18 KiB
Plaintext

<view class="tn-safe-area-inset-bottom data-v-cd7cd652" style="background:rgba(242, 241, 246, 1);"><tn-nav-bar vue-id="e21cf1e2-1" isBack="{{false}}" backTitle alpha="{{true}}" bottomShadow="{{false}}" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-cd7cd652"><view data-event-opts="{{[['tap',[['goBack']]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-cd7cd652"><text class="tn-icon-left data-v-cd7cd652" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-cd7cd652" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('e21cf1e2-2')+','+('e21cf1e2-1')}}" list="{{[{name:'信息修改'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{24}}" class="data-v-cd7cd652" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view style="width:100%;height:450rpx;position:absolute;top:0;" class="data-v-cd7cd652"><block wx:if="{{addMod.background_image==''}}"><image style="width:100%;height:450rpx;" src="/static/my.png" class="data-v-cd7cd652"></image></block><block wx:if="{{addMod.background_image!=''}}"><image style="width:100%;height:450rpx;" src="{{apiImgUrl+addMod.background_image}}" class="data-v-cd7cd652"></image></block><view style="bottom:28rpx;position:absolute;left:28rpx;" class="data-v-cd7cd652"><view data-event-opts="{{[['tap',[['d_img',[1]]]]]}}" style="width:150rpx;height:150rpx;position:relative;" bindtap="__e" class="data-v-cd7cd652"><image style="width:150rpx;height:150rpx;border-radius:50%;" src="{{apiImgUrl+addMod.photo_image}}" mode="aspectFill" class="data-v-cd7cd652"></image><image style="height:50rpx;width:50rpx;position:absolute;right:0;bottom:0;" src="/static/pic.png" class="data-v-cd7cd652"></image></view></view><view style="bottom:50rpx;right:28rpx;position:absolute;" class="data-v-cd7cd652"><tn-button vue-id="e21cf1e2-3" shape="round" padding="10rpx 40rpx" backgroundColor="#ffffff" fontColor="rgba(65, 142, 242, 1);" data-event-opts="{{[['^click',[['d_img',[3]]]]]}}" bind:click="__e" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}">更改背景</tn-button></view></view><view class="tn-margin-top data-v-cd7cd652" style="padding-top:450rpx;z-index:1;"><view style="font-size:32rpx;color:rgba(119, 119, 119, 1);padding:25rpx 0rpx 30rpx 50rpx;" class="data-v-cd7cd652">个人资料</view><view style="padding:0px 30rpx;" class="data-v-cd7cd652"><tn-list-view vue-id="e21cf1e2-4" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[0]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">姓名</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{addMod.nikename}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><tn-list-view vue-id="e21cf1e2-5" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">协会职务</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{position_id_name}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view><tn-select vue-id="{{('e21cf1e2-6')+','+('e21cf1e2-5')}}" mode="single" list="{{position_list}}" value="{{position_id_show}}" data-event-opts="{{[['^confirm',[['getpositionId']]],['^input',[['__set_model',['','position_id_show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-cd7cd652" bind:__l="__l"></tn-select></tn-list-view><tn-list-view vue-id="e21cf1e2-7" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">性别</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652" bindtap="__e"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{(addMod.gender==0?'女':'男')+''}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view><tn-select vue-id="{{('e21cf1e2-8')+','+('e21cf1e2-7')}}" mode="single" list="{{sex_list}}" value="{{sex_id_show}}" data-event-opts="{{[['^confirm',[['getsexId']]],['^input',[['__set_model',['','sex_id_show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-cd7cd652" bind:__l="__l"></tn-select></tn-list-view><tn-list-view vue-id="e21cf1e2-9" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[1]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">联系方式</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{addMod.phone}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><tn-list-view vue-id="e21cf1e2-10" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[4]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">个人经历</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view class="tn-text-ellipsis data-v-cd7cd652" style="font-size:28rpx;color:rgba(102, 102, 102, 1);width:400rpx;text-align:right;">{{addMod.introduction+''}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><view style="font-size:32rpx;color:rgba(119, 119, 119, 1);padding:25rpx 0rpx 30rpx 30rpx;" class="data-v-cd7cd652">公司资料</view><tn-list-view vue-id="e21cf1e2-11" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[2]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">公司名称</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{addMod.enterprise_name+''}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><tn-list-view vue-id="e21cf1e2-12" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default','title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">公司行业</view><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652" bindtap="__e"><view style="font-size:28rpx;color:rgba(102, 102, 102, 1);" class="data-v-cd7cd652">{{industry_id_name}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view><tn-select vue-id="{{('e21cf1e2-13')+','+('e21cf1e2-12')}}" mode="single" list="{{industry_list}}" value="{{industry_id_show}}" data-event-opts="{{[['^confirm',[['getindustryId']]],['^input',[['__set_model',['','industry_id_show','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-cd7cd652" bind:__l="__l"></tn-select></tn-list-view><tn-list-view vue-id="e21cf1e2-14" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between tn-flex-center tn-flex-col-center data-v-cd7cd652" style="padding:30rpx;" slot="title"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">公司图片</view><view data-event-opts="{{[['tap',[['d_img',[2]]]]]}}" class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652" bindtap="__e"><view class="data-v-cd7cd652"><block wx:if="{{addMod.company_image==''}}"><view class="data-v-cd7cd652">暂无</view></block><block wx:if="{{addMod.company_image!=''}}"><image style="width:95rpx;" src="{{apiImgUrl+addMod.company_image}}" mode="widthFix" class="data-v-cd7cd652"></image></block></view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><tn-list-view vue-id="e21cf1e2-15" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[3]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">公司地址</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view class="tn-text-ellipsis data-v-cd7cd652" style="font-size:28rpx;color:rgba(102, 102, 102, 1);width:400rpx;text-align:right;">{{''+addMod.enterprise_location+''}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view><tn-list-view vue-id="e21cf1e2-16" customTitle="{{true}}" backgroundColor="transparent" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['title']}}"><view class="tn-flex tn-flex-row-between data-v-cd7cd652" style="padding:30rpx;" slot="title" data-event-opts="{{[['tap',[['openMode',[5]]]]]}}" bindtap="__e"><view style="font-size:32rpx;color:#000000;font-weight:500;" class="data-v-cd7cd652">公司介绍</view><view class="tn-flex tn-flex-row-right tn-flex-center tn-flex-col-center data-v-cd7cd652"><view class="tn-text-ellipsis data-v-cd7cd652" style="font-size:28rpx;color:rgba(102, 102, 102, 1);width:400rpx;text-align:right;">{{''+addMod.enterprise_Introduction+''}}</view><view class="tn-icon-right data-v-cd7cd652" style="margin-left:20rpx;"></view></view></view></tn-list-view></view><view class="tn-flex data-v-cd7cd652"><view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center data-v-cd7cd652"><tn-button vue-id="e21cf1e2-17" backgroundColor="rgb(65, 142, 242)" shape="round" fontColor="#ffffff" padding="40rpx 0" width="90%" fontBold="{{true}}" data-event-opts="{{[['^click',[['setUserEditDo']]]]}}" bind:click="__e" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}"><text class="data-v-cd7cd652">提交审核</text></tn-button></view></view></view><tn-modal bind:input="__e" vue-id="e21cf1e2-18" custom="{{true}}" value="{{editInput}}" data-event-opts="{{[['^input',[['__set_model',['','editInput','$event',[]]]]]]}}" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}"><view style="text-align:center;margin-top:30rpx;" class="data-v-cd7cd652"><block wx:if="{{editType==0}}"><block class="data-v-cd7cd652"><view style="text-align:center;font-size:30rpx;margin-bottom:20rpx;" class="data-v-cd7cd652">姓名修改</view><tn-input bind:input="__e" vue-id="{{('e21cf1e2-19')+','+('e21cf1e2-18')}}" border="{{true}}" placeholder="请填写姓名" customStyle="{{({width:'400rpx'})}}" value="{{addMod.nikename}}" data-event-opts="{{[['^input',[['__set_model',['$0','nikename','$event',[]],['addMod']]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block></block><block wx:if="{{editType==1}}"><block class="data-v-cd7cd652"><view style="text-align:center;font-size:30rpx;margin-bottom:20rpx;" class="data-v-cd7cd652">联系方式</view><tn-input bind:input="__e" vue-id="{{('e21cf1e2-20')+','+('e21cf1e2-18')}}" border="{{true}}" placeholder="请填写联系方式" customStyle="{{({width:'400rpx'})}}" value="{{addMod.phone}}" data-event-opts="{{[['^input',[['__set_model',['$0','phone','$event',[]],['addMod']]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block></block><block wx:if="{{editType==2}}"><block class="data-v-cd7cd652"><view style="text-align:center;font-size:30rpx;margin-bottom:20rpx;" class="data-v-cd7cd652">公司名称</view><tn-input bind:input="__e" vue-id="{{('e21cf1e2-21')+','+('e21cf1e2-18')}}" border="{{true}}" placeholder="请填写公司名称" customStyle="{{({width:'400rpx'})}}" value="{{addMod.enterprise_name}}" data-event-opts="{{[['^input',[['__set_model',['$0','enterprise_name','$event',[]],['addMod']]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block></block><block wx:if="{{editType==3}}"><block class="data-v-cd7cd652"><view style="text-align:center;font-size:30rpx;margin-bottom:20rpx;" class="data-v-cd7cd652">公司地址</view><tn-input bind:input="__e" vue-id="{{('e21cf1e2-22')+','+('e21cf1e2-18')}}" border="{{true}}" placeholder="请填写公司地址" customStyle="{{({width:'400rpx'})}}" value="{{addMod.enterprise_location}}" data-event-opts="{{[['^input',[['__set_model',['$0','enterprise_location','$event',[]],['addMod']]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block></block></view><view class="tn-flex tn-flex-row-center data-v-cd7cd652" style="margin-top:50rpx;"><tn-button vue-id="{{('e21cf1e2-23')+','+('e21cf1e2-18')}}" width="250rpx" backgroundColor="#82B2FF" fontColor="#ffffff" data-event-opts="{{[['^click',[['e3']]]]}}" bind:click="__e" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}">确定</tn-button></view></tn-modal><tn-popup bind:input="__e" vue-id="e21cf1e2-24" mode="right" width="100%" value="{{editText}}" data-event-opts="{{[['^input',[['__set_model',['','editText','$event',[]]]]]]}}" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}"><tn-nav-bar vue-id="{{('e21cf1e2-25')+','+('e21cf1e2-24')}}" isBack="{{false}}" backTitle alpha="{{true}}" bottomShadow="{{false}}" class="data-v-cd7cd652" bind:__l="__l" vue-slots="{{['default']}}"><view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left data-v-cd7cd652"><view data-event-opts="{{[['tap',[['e4',['$event']]]]]}}" style="padding-left:15rpx;" bindtap="__e" class="data-v-cd7cd652"><text class="tn-icon-left data-v-cd7cd652" style="font-size:40rpx;"></text></view><view class="tn-margin-top data-v-cd7cd652" style="text-shadow:1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;"><tn-tabs vue-id="{{('e21cf1e2-26')+','+('e21cf1e2-25')}}" list="{{[{name:editType==4?'编辑个人经历':'编辑公司介绍'}]}}" current="{{topCurrent}}" activeColor="#000" bold="{{false}}" fontSize="{{24}}" class="data-v-cd7cd652" bind:__l="__l"></tn-tabs></view></view></tn-nav-bar><view style="background:rgba(242, 241, 246, 1);height:100%;" class="data-v-cd7cd652"><view style="{{'padding-top:'+(vuex_custom_bar_height+20+'px')+';'}}" class="data-v-cd7cd652"></view><view style="margin:30rpx;background-color:#ffffff;border-radius:40rpx;" class="data-v-cd7cd652"><view style="padding:30rpx;" class="data-v-cd7cd652"><block wx:if="{{editType==4}}"><tn-input bind:input="__e" vue-id="{{('e21cf1e2-27')+','+('e21cf1e2-24')}}" maxLength="{{1000}}" clearable="{{false}}" height="{{400}}" type="textarea" customStyle="{{({lineHeight:'42rpx',color:'#777777'})}}" value="{{introduction}}" data-event-opts="{{[['^input',[['__set_model',['','introduction','$event',[]]]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block><block wx:if="{{editType==5}}"><tn-input bind:input="__e" vue-id="{{('e21cf1e2-28')+','+('e21cf1e2-24')}}" maxLength="{{1000}}" clearable="{{false}}" height="{{400}}" type="textarea" customStyle="{{({lineHeight:'42rpx',color:'#777777'})}}" value="{{enterprise_Introduction}}" data-event-opts="{{[['^input',[['__set_model',['','enterprise_Introduction','$event',[]]]]]]}}" class="data-v-cd7cd652" bind:__l="__l"></tn-input></block></view></view><view class="tn-flex tn-flex-center tn-flex-row-center data-v-cd7cd652" style="color:#ffffff;"><view data-event-opts="{{[['tap',[['e5',['$event']]]]]}}" style="width:300rpx;height:80rpx;background:#d9d9d9;text-align:center;line-height:80rpx;" bindtap="__e" class="data-v-cd7cd652">取消</view><view data-event-opts="{{[['tap',[['editTextDo']]]]}}" style="width:300rpx;height:80rpx;background:#418EF2;margin-left:48rpx;text-align:center;line-height:80rpx;" bindtap="__e" class="data-v-cd7cd652">确定</view></view></view></tn-popup><block wx:if="{{show}}"><l-clipper vue-id="e21cf1e2-29" image-url="{{imageUrl}}" data-event-opts="{{[['^success',[['caiDo',['$event',1]]]],['^cancel',[['e6']]]]}}" bind:success="__e" bind:cancel="__e" class="data-v-cd7cd652" bind:__l="__l"></l-clipper></block><block wx:if="{{enterprise_show}}"><l-clipper vue-id="e21cf1e2-30" image-url="{{enterpriseImageUrl}}" data-event-opts="{{[['^success',[['caiDo',['$event',2]]]],['^cancel',[['e7']]]]}}" bind:success="__e" bind:cancel="__e" class="data-v-cd7cd652" bind:__l="__l"></l-clipper></block><block wx:if="{{back_show}}"><l-clipper vue-id="e21cf1e2-31" width="750" height="422" max-width="750" max-height="422" image-url="{{backImageUrl}}" data-event-opts="{{[['^success',[['caiDo',['$event',3]]]],['^cancel',[['e8']]]]}}" bind:success="__e" bind:cancel="__e" class="data-v-cd7cd652" bind:__l="__l"></l-clipper></block></view>