12345678910111213141516171819202122232425262728293031323334 |
- <view class="common-page-padding create-servant-page">
- <!-- 创建服务者/编辑服务者 -->
- <!-- 姓名 -->
- <view class="common-card line-cell">
- <view class="cell-title">怎么称呼您的服务者</view>
- <view class="cell-content name-content">
- <input class="input name-input" value='{{servantName}}' placeholder="请输入" onInput="bindServantInput" placeholder-class="common-placeholder" maxlength="10"/>
- </view>
- </view>
- <!-- 工种 -->
- <view class="common-card picker-wrapper">
- <!-- <view class="cell-title">选择该服务者的工种</view>
- <view class="cell-content">{{serviceModelName}}</view> -->
- <picker onChange="bindPickerChange" value="{{index}}" range="{{serviceModelList}}" class="model-picker" range-key="text">
- <view class="row">
- <view class="row-title">选择该服务者的工种</view>
- <view class="row-extra">{{serviceModelName}}</view>
- <image class="row-arrow" src="/image/icon-right.png" mode="aspectFill" />
- </view>
- </picker>
- </view>
- <!-- 工作时间 -->
- <view class="common-card work-time">
- <view class="cell-title">选择该服务者的工作时间<text class="every-week">(每周)</text></view>
- <view class="work-list">
- <view class="work-item {{workSelectedClassList.indexOf(item.index)!=-1 ?'work-item-selected':''}}" a:for="{{workInitList}}" key="{{index}}" onTap="toggleWorkTime" data-zh="{{item.workDayZh}}" data-id="{{item.index}}" >
- {{item.workDayZh}}
- </view>
- </view>
- </view>
- <view class="common-button-wrapper">
- <button type="primary" class="common-button" hover-class="active-button" onTap="createServant">编辑服务者</button>
- </view>
- </view>
|