1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <view class="servant-settings-page">
- <!--服务设置-->
- <view class="servant-setting-header" a:if="{{tips}}">
- <image mode="scaleToFill" src="/image/notice-blue.png" class="notice-style"/>
- <text onTap="toservantdetail">您可以查看保姆偏好,双向沟通更清晰</text>
- <image mode="scaleToFill" src="/image/close-blue.png" class="close-stle" onTap="closeTip"/>
- </view>
- <!--服务列表-->
- <view class="settling-list-wrapper">
- <view class="setting-list">
- <view class="setting-list-title">
- {{servanteditlist.subjectType}}
- </view>
- <view class="setting-list-item" a:for="{{servanteditlist.subjectList}}" a:for-item="subjectitem" key="{{subjectindex}}">
- <view a:if="{{subjectitem.isChoose}}" >
- <text class="item-title">{{subjectitem.index}}.{{subjectitem.subject}}</text>
- <view a:if="{{subjectitem.chooseType==1}}"> <!---单选-->
- <checkbox-group onChange="answerselectedSingle" data-id="{{subjectitem.subjectId}}">
- <label class="checkbox" a:for="{{subjectitem.answer}}" a:for-item="answeritem" key="label-{{answerindex}}">
- <checkbox value="{{answeritem.answer}}" checked="{{answeritem.isChoose}}" color="#09AFFF" />
- <text class="checkbox-text">{{answeritem.answer}}</text>
- </label>
- </checkbox-group>
- </view>
- <view a:if="{{subjectitem.chooseType==2}}"><!---多选-->
- <checkbox-group onChange="answerselected" data-id="{{subjectitem.subjectId}}">
- <label class="checkbox" a:for="{{subjectitem.answer}}" a:for-item="answeritem" key="label-{{answerindex}}">
- <checkbox value="{{answeritem.answer}}" checked="{{answeritem.isChoose}}" color="#09AFFF" />
- <text class="checkbox-text">{{answeritem.answer}}</text>
- </label>
- </checkbox-group>
- </view>
- </view>
- <view class="item-body" a:if="{{subjectitem.isCustom==1}}">
- <textarea placeholder="请输入文字" onBlur="customanswer" data-id="{{subjectitem.subjectId}}" value="{{subjectitem.customAnswer}}"></textarea>
- </view>
- </view>
- <!--提交按钮-->
- <view class="common-button-wrapper">
- <button type="primary" data-id="{{item.subtypeNo}}" class="common-button" hover-class="active-button" onTap="dailytasksdeit" >提交</button>
- </view>
- </view>
- </view>
- </view>
|