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.
 
 
 

1 lines
2.1 KiB

<view class="dynamic-technician-add"><view class="pd-lg"><view class="{{['pb-md',[(subForm.type==2)?'flex-warp':'']]}}"><block wx:if="{{subForm.type==2}}"><view class="mr-md"><upload vue-id="142ffb2c-1" imagelist="{{subForm.cover}}" filetype="picture" imgtype="cover" text="上传封面" imgsize="{{1}}" data-event-opts="{{[['^upload',[['imgUpload']]],['^del',[['imgUpload']]]]}}" bind:upload="__e" bind:del="__e" bind:__l="__l"></upload></view></block><upload vue-id="142ffb2c-2" imagelist="{{subForm.imgs}}" filetype="{{subForm.type==1?'picture':'video'}}" imgtype="imgs" text="{{subForm.type==1?'上传图片':'上传视频'}}" imgsize="{{subForm.type==1?9:1}}" data-event-opts="{{[['^upload',[['imgUpload']]],['^del',[['imgUpload']]]]}}" bind:upload="__e" bind:del="__e" bind:__l="__l"></upload></view><view class="space-md"></view><input class="f-mini-title c-title" type="text" placeholder="填写标题有更多赞哟~" placeholder-class="f-mini-title c-caption" maxlength="10" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['subForm']]]]]}}" value="{{subForm.title}}" bindinput="__e"/><view class="space-lg b-1px-b"></view><view class="space-lg"></view><textarea class="textarea f-desc c-title" maxlength="400" placeholder="还有更多的想法也一起写到正文吧~" placeholder-class="f-desc c-caption" data-event-opts="{{[['input',[['__set_model',['$0','text','$event',[]],['subForm']]]]]}}" value="{{subForm.text}}" bindinput="__e"></textarea></view><view data-event-opts="{{[['tap',[['toChooseLocation',['$event']]]]]}}" class="pt-lg pl-lg pr-md flex-center f-desc" catchtap="__e"><view class="iconfont icon-dingwei _i"></view><view class="flex-1 ml-sm mr-lg c-title ellipsis-2">{{''+(subForm.lat?subForm.address:'添加地点')+''}}</view><view class="iconfont icongengduo _i"></view></view><view class="space-max-footer"></view><fix-bottom-button vue-id="142ffb2c-3" text="{{[{text:subForm.id?'编辑动态':'发布动态',type:'confirm'}]}}" bgColor="#fff" data-event-opts="{{[['^confirm',[['submit']]]]}}" bind:confirm="__e" bind:__l="__l"></fix-bottom-button></view>