|
@@ -6,37 +6,39 @@
|
|
|
<image mode="scaleToFill" src="/image/close-blue.png" class="close-stle" onTap="closeTip"/>
|
|
|
</view>
|
|
|
<!--服务列表-->
|
|
|
- <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.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 class="settling-list-wrapper">
|
|
|
+ <view class="setting-list">
|
|
|
+ <view class="setting-list-title">
|
|
|
+ {{servanteditlist.subjectType}}
|
|
|
</view>
|
|
|
- <view class="item-body" a:if="{{subjectitem.isCustom==1}}">
|
|
|
- <textarea placeholder="请输入文字" onBlur="customanswer" data-id="{{subjectitem.subjectId}}">{{subjectitem.customAnswer}}</textarea>
|
|
|
+ <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}}">{{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 class="common-button-wrapper">
|
|
|
- <button type="primary" data-id="{{item.subtypeNo}}" class="common-button" hover-class="active-button" onTap="dailytasksdeit" >提交</button>
|
|
|
- </view>
|
|
|
</view>
|
|
|
</view>
|