67 lines
3.1 KiB
Plaintext
67 lines
3.1 KiB
Plaintext
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
|
<view class="page">
|
|
<view class="checked_box">
|
|
<view class="price_steup_box">
|
|
<view class="price_steup_box_top">
|
|
<view class="price_steup_box_top_title">服务次数/月</view>
|
|
<view class="price_steup_box_top_stepper" bind:tap="openServiceNumber">
|
|
<text class="amount nodata" wx:if="{{monthly_frequency===''}}">请选择服务次数</text>
|
|
<text class="amount" wx:else>{{monthly_frequency===0?'不限次数':'10次'}}</text>
|
|
|
|
<van-icon name="arrow" color="#999" style="margin-top: 2rpx;"/>
|
|
</view>
|
|
</view>
|
|
<view class="price_steup_box_bottom">
|
|
<view class="price_steup_box_bottom_title">服务回合数</view>
|
|
<view class="price_steup_box_bottom_num">
|
|
|
|
<text class="price">不限制</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="vontent">
|
|
<view class="checked_box">
|
|
<view class="title">服务内容</view>
|
|
<view class="price_steup_box" style="height:240rpx" wx:for="{{items}}" wx:key="index">
|
|
<view class="price_steup_box_top" bind:tap="openCycle" data-id="{{index}}">
|
|
<view class="price_steup_box_top_title">服务周期</view>
|
|
<view class="price_steup_box_top_stepper">
|
|
<text class="amount " wx:if="{{item.service_period}}">{{item.service_period/30}}个月</text>
|
|
<text class="amount nodata" wx:else>请选择周期</text>
|
|
<van-icon name="arrow" color="#999" style="margin-top: 2rpx;"/>
|
|
</view>
|
|
</view>
|
|
<view class="price_steup_box_bottom" style="border-bottom:0.5px solid #e7e7e7;padding-bottom: 25rpx;">
|
|
<view class="price_steup_box_bottom_title">服务价格(元)</view>
|
|
<view class="price_steup_box_bottom_num">
|
|
<input type="number" class="ipt" value="{{item.service_price}}" placeholder="请设置价格" placeholder-style="font-size:28rpx;color: rgba(0,0,0,0.45);" bindinput="changeIpt" data-id="{{index}}" /><text class="unit" wx:if="{{item.service_price}}">元</text>
|
|
</view>
|
|
|
|
</view>
|
|
<view class="tips">
|
|
<view >建议服务价格设置为:{{(item.service_period/30)==1?'单次图文*10次*5~8折':(item.service_period/30)==3?'单次图文*30次*4~7折':(item.service_period/30)==6?'单次图文*60次*3~6折':(item.service_period/30)==12?'单次图文*120次*2~5折':'单次图文*10次*5'}}</view>
|
|
<view wx:if="{{items.length>1}}" bind:tap="delService" data-id="{{index}}">删除</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="continueadd" bind:tap="addServiceArr" wx:if="{{items.length<=4}}">继续添加服务内容</view>
|
|
</view>
|
|
</view>
|
|
<view class="btn" bind:tap="handle">保存</view>
|
|
<van-popup
|
|
show="{{ showCycle }}"
|
|
round
|
|
position="bottom"
|
|
custom-style="height: 35%"
|
|
>
|
|
<van-picker columns="{{ cycle_columns }}" show-toolbar bind:confirm="confirmCycle" title="周期" bind:cancel="cancelCycle"/>
|
|
</van-popup>
|
|
<van-popup
|
|
show="{{ showServiceNumber }}"
|
|
round
|
|
position="bottom"
|
|
custom-style="height: 35%"
|
|
>
|
|
<van-picker columns="{{ service_columns }}" show-toolbar bind:confirm="confirmServiceNumber" title="服务次数" bind:cancel="cancelServiceNumber"/>
|
|
</van-popup> |