|
@@ -1,6 +1,6 @@
|
|
<!--pages/form/index.wxml-->
|
|
<!--pages/form/index.wxml-->
|
|
<view class='form-contaienr'>
|
|
<view class='form-contaienr'>
|
|
- <form>
|
|
|
|
|
|
+ <form bindsubmit="formSubmit">
|
|
<image wx:if="{{ data.top_image }}" src='{{ data.top_image }}' class='top-image'></image>
|
|
<image wx:if="{{ data.top_image }}" src='{{ data.top_image }}' class='top-image'></image>
|
|
<view class='top-desp' wx:if="{{ data.top_desp }}">{{ data.top_desp }}</view>
|
|
<view class='top-desp' wx:if="{{ data.top_desp }}">{{ data.top_desp }}</view>
|
|
<view wx:if="{{ data.mode == 1 }}" class='mode-1-container'>
|
|
<view wx:if="{{ data.mode == 1 }}" class='mode-1-container'>
|
|
@@ -44,9 +44,30 @@
|
|
<view class='form-label'>
|
|
<view class='form-label'>
|
|
<text wx:if="{{ data.radio_need == 1 }}" class='need-label'>*</text>{{ data.radio }}</view>
|
|
<text wx:if="{{ data.radio_need == 1 }}" class='need-label'>*</text>{{ data.radio }}</view>
|
|
<view class='form-input'>
|
|
<view class='form-input'>
|
|
- <label class="radio" wx:for="{{ data.radio_value }}">
|
|
|
|
- <radio value="{{ item }}"/>{{ item }}
|
|
|
|
- </label>
|
|
|
|
|
|
+ <radio-group name='radio'>
|
|
|
|
+ <label class="radio" wx:for="{{ data.radio_value }}">
|
|
|
|
+ <radio value="{{ item }}"/>{{ item }}
|
|
|
|
+ </label>
|
|
|
|
+ </radio-group>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view wx:if="{{ data.checkbox_status == 1 }}" class='form-group'>
|
|
|
|
+ <view class='form-label'>
|
|
|
|
+ <text wx:if="{{ data.checkbox_need == 1 }}" class='need-label'>*</text>{{ data.checkbox }}</view>
|
|
|
|
+ <view class='form-input'>
|
|
|
|
+ <checkbox-group name='checkbox'>
|
|
|
|
+ <label class="radio" wx:for="{{ data.checkbox_value }}">
|
|
|
|
+ <checkbox value="{{ item }}"/>{{ item }}
|
|
|
|
+ </label>
|
|
|
|
+ </checkbox-group>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class='form-btn'>
|
|
|
|
+ <view wx:if='{{ data.money && data.money != "0" }}'>
|
|
|
|
+ <button formType="submit" type='primary'>付款</button>
|
|
|
|
+ </view>
|
|
|
|
+ <view wx:else>
|
|
|
|
+ <button formType="submit" type='primary'>提交</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|