weliam-smartcity智慧城市
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
7.5 KiB

<view class="pubService data-v-f7affd78"><view class="form data-v-f7affd78"><view class="title data-v-f7affd78">基础信息</view><view class="formItem data-v-f7affd78"><view class="formName data-v-f7affd78">服务标题<text class="f-20 c-ff4444 data-v-f7affd78">*</text></view><view class="formContent data-v-f7affd78"><input class="input data-v-f7affd78" type="text" value="{{fromData.title}}" placeholder="请输入服务标题说明" data-event-opts="{{[['input',[['__set_model',['$0','title','$event',[]],['fromData']]]]]}}" bindinput="__e"/></view></view><view class="formItem data-v-f7affd78" style="line-height:0;height:auto;"><view class="formName data-v-f7affd78" style="line-height:100rpx;">服务类型<text class="f-20 c-ff4444 data-v-f7affd78">*</text></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="formContent data-v-f7affd78" style="padding:30rpx 0;" bindtap="__e"><block wx:if="{{$root.g0==0}}"><input class="inputLeft data-v-f7affd78" style="line-height:40rpx;height:50rpx;" type="number" maxlength="11" disabled="{{true}}" value="" placeholder-class="col-9" placeholder="点击选择所属服务"/></block><block wx:else><view class="f-28 col-3 data-v-f7affd78"><block wx:for="{{fromData.catearray}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="check-item data-v-f7affd78">{{''+item.title+''}}<image src="{{imgfixUrls+'homemakingImg/imgcolse.png'}}" mode data-event-opts="{{[['tap',[['deletcheck',['$0'],[[['fromData.catearray','',index,'id']]]]]]]}}" catchtap="__e" class="data-v-f7affd78"></image></view></block></view></block></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="iconfont icon-right t-r f-28 data-v-f7affd78" style="font-size:28rpx;color:#999999;line-height:100rpx;" bindtap="__e"></view></view><view class="formItem data-v-f7affd78" style="line-height:0;height:auto;"><view class="formName data-v-f7affd78" style="line-height:100rpx;">支付方式</view><view class="formContent data-v-f7affd78"><picker value="{{indexs}}" range="{{arrs}}" range-key="title" data-event-opts="{{[['change',[['Change',['$event']]]]]}}" bindchange="__e" class="data-v-f7affd78"><view class="input data-v-f7affd78">{{arrs[indexs].title}}</view></picker></view><view class="iconfont icon-right t-r f-28 data-v-f7affd78" style="font-size:28rpx;color:#999999;line-height:100rpx;"></view></view><block wx:if="{{indexs!=0}}"><view class="formItem data-v-f7affd78"><view class="formName data-v-f7affd78">支付金额<text class="f-20 c-ff4444 data-v-f7affd78">*</text></view><view class="formContent dis-flex data-v-f7affd78"><input class="input data-v-f7affd78" type="text" value="{{fromData.price}}" placeholder="请输入支付金额" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['fromData']]]]]}}" bindinput="__e"/><text class="f-28 col-3 data-v-f7affd78">元</text></view></view></block><block wx:if="{{indexs!=0}}"><view class="formItem data-v-f7affd78"><view class="formName data-v-f7affd78">计费单位<text class="f-20 c-ff4444 data-v-f7affd78">*</text></view><view class="formContent dis-flex data-v-f7affd78"><input class="input data-v-f7affd78" type="text" value="{{fromData.unit}}" placeholder="例:小时、平方、KG" data-event-opts="{{[['input',[['__set_model',['$0','unit','$event',[]],['fromData']]]]]}}" bindinput="__e"/></view></view></block></view><view class="line data-v-f7affd78"></view><view class="form data-v-f7affd78"><view class="title data-v-f7affd78">首图展示</view><view class="f-24 col-9 data-v-f7affd78" style="padding-top:20rpx;">(推荐尺寸200x200)</view><view class="imgs data-v-f7affd78"><block wx:if="{{fromData.thumb}}"><view class="img-item data-v-f7affd78"><image src="{{fromData.thumb}}" mode class="data-v-f7affd78"></image><image class="imgclise data-v-f7affd78" src="{{imgfixUrls+'homemakingImg/imgcolse.png'}}" mode data-event-opts="{{[['tap',[['deletImg',[0,true]]]]]}}" bindtap="__e"></image></view></block><block wx:else><view data-event-opts="{{[['tap',[['uploadFiles',[1,6]]]]]}}" class="img-item data-v-f7affd78" bindtap="__e"><image src="{{imgfixUrls+'homemakingImg/upload.png'}}" mode class="data-v-f7affd78"></image></view></block></view></view><view class="line data-v-f7affd78"></view><view class="form data-v-f7affd78"><view class="title data-v-f7affd78">案例图</view><view class="f-24 col-9 data-v-f7affd78" style="padding-top:20rpx;">(上传案例图,最多上传5张照片)</view><view class="imgs data-v-f7affd78"><block wx:for="{{fromData.adv}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="img-item data-v-f7affd78"><image src="{{item}}" mode class="data-v-f7affd78"></image><image class="imgclise data-v-f7affd78" src="{{imgfixUrls+'homemakingImg/imgcolse.png'}}" mode data-event-opts="{{[['tap',[['deletImg',[index]]]]]}}" bindtap="__e"></image></view></block><block wx:if="{{$root.g1<5}}"><view data-event-opts="{{[['tap',[['uploadFiles',[2,5]]]]]}}" class="img-item data-v-f7affd78" bindtap="__e"><image src="{{imgfixUrls+'homemakingImg/upload.png'}}" mode class="data-v-f7affd78"></image></view></block></view></view><view class="line data-v-f7affd78"></view><view class="form data-v-f7affd78"><view class="title data-v-f7affd78" style="padding-bottom:30rpx;">上传视频</view><view class="videoBox data-v-f7affd78"><block wx:if="{{!fromData.videourl}}"><view data-event-opts="{{[['tap',[['upVideo',['$event']]]]]}}" class="video data-v-f7affd78" bindtap="__e"><image src="{{imgfixUrls+'homemakingImg/videoUpload.png'}}" mode class="data-v-f7affd78"></image></view></block><block wx:else><view class="video data-v-f7affd78"><video class="text-video-left data-v-f7affd78" x5-video-player-type="h5" x5-video-player-fullscreen="true" x5-video-orientation="portraint" controls="{{true}}" src="{{fromData.videourl}}"></video><image class="imgclise data-v-f7affd78" src="{{imgfixUrls+'homemakingImg/imgcolse.png'}}" mode data-event-opts="{{[['tap',[['deletvideo',['$event']]]]]}}" bindtap="__e"></image></view></block></view></view><view class="line data-v-f7affd78"></view><view class="form data-v-f7affd78"><view class="title data-v-f7affd78" style="padding-bottom:30rpx;">服务说明</view><view class="textarea-box data-v-f7affd78"><textarea class="textarea data-v-f7affd78" value="{{fromData.detail}}" placeholder="请输入服务说明" data-event-opts="{{[['input',[['__set_model',['$0','detail','$event',[]],['fromData']]]]]}}" bindinput="__e"></textarea></view></view><view data-event-opts="{{[['tap',[['Adservice',['$event']]]]]}}" class="issue data-v-f7affd78" catchtap="__e">发布服务</view><pop-manager vue-id="00d8a842-1" show="{{showoccupation}}" type="bottom" overlay="false" showOverlay="false" data-event-opts="{{[['^clickmask',[['e2']]]]}}" bind:clickmask="__e" class="data-v-f7affd78" bind:__l="__l" vue-slots="{{['default']}}"><view class="cicupation data-v-f7affd78"><view class="cicupation-left data-v-f7affd78"><block wx:for="{{cate}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkLeft',['$0'],[[['cate','',index,'id']]]]]]]}}" class="{{['data-v-f7affd78',item.checked?'left-item':'left-nocheck']}}" bindtap="__e">{{''+item.title+''}}</view></block></view><view class="cicupation-right data-v-f7affd78"><block wx:for="{{rightList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['checkRight',['$0'],[[['rightList','',index,'id']]]]]]]}}" class="{{['data-v-f7affd78',item.checked?'right-item':'right-nocheck']}}" bindtap="__e">{{''+item.title+''}}</view></block></view></view></pop-manager></view>