<view class="wrap"><block wx:if="{{length==0}}"><view><view class="image"><image src="https://wx.fujinyangche.com/nvrnetwork/images/my_serve.png"></image></view><view class="title">您还未创建服务项目，去添加您的服务项目</view><navigator class="add_btn" open-type="redirect" hover-class="none" url><text class="iconfont nav_ul_add"></text>添加服务项目</navigator></view></block><block wx:else><view class="serve_list"><view class="serve_list_header"><scroll-view scroll-x><block wx:for="{{header}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeActive',['$0',index],[[['header','',index]]]]]]]}}" class="{{['header_item',active===index?'active':'']}}" bindtap="__e">{{item.pServiceName+''}}<view class="line"></view></view></block></scroll-view></view><view class="serve_list_content"><block wx:for="{{contentArr}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="serve_list_content_item clear"><view class="serve_list_content_item_lf"><image src="{{url+item.faceImg}}" mode="widthFix"></image></view><view class="serve_list_content_item_middle"><view class="middle_title">{{item.name}}</view><view class="middle_price"><view class="price_now">{{"¥ "+item.disPrice}}</view><view class="price_old">{{"¥ "+item.price}}</view></view><view class="middle_bom clear"><view class="middle_time">{{"服务单位："+item.serviceTime}}</view><view data-event-opts="{{[['tap',[['write',['$0'],[[['contentArr','',index]]]]]]]}}" class="write" bindtap="__e">编辑</view><view data-event-opts="{{[['tap',[['del',['$0'],[[['contentArr','',index]]]]]]]}}" class="delete" bindtap="__e">删除</view></view></view></view><view class="back"></view></view></block></view><view class="footer"><view data-event-opts="{{[['tap',[['toIndex',['$event']]]]]}}" class="submit1" bindtap="__e">返回首页</view><view data-event-opts="{{[['tap',[['add',['$event']]]]]}}" class="submit" bindtap="__e">继续添加</view></view></view></block></view>