| 1 |
- <view class="content"><view class="top">爱心捐赠</view><view class="box"><view class="box-item"><view class="box-left">捐款意向</view><view class="box-right"><picker class="box-right" value="{{index}}" range="{{chooseDire}}" data-event-opts="{{[['change',[['PickerDire',['$event']]]],['tap',[['addType',['$event']]]]]}}" bindchange="__e" bindtap="__e"><text>{{intention||'请选择捐款意向'}}</text></picker></view></view><view class="box-item"><view class="box-left">捐款方式</view><view class="box-right"><picker class="box-right" value="{{index}}" range="{{chooseType}}" data-event-opts="{{[['change',[['PickerType',['$event']]]]]}}" bindchange="__e"><text>{{way||'请选择捐款方式'}}</text></picker></view></view><view class="box-item"><view class="box-left">捐款金额</view><view class="box-right"><input type="text" placeholder="单位(元)" data-event-opts="{{[['input',[['__set_model',['','money','$event',[]]]]]]}}" value="{{money}}" bindinput="__e"/></view></view></view><view class="switch-box"><view class="switch-left">是否实名公开</view><view class="switch-right"><switch style="transform:scale(0.7,0.7);" checked="{{is_public}}" color="#E63931" data-event-opts="{{[['change',[['switch1Change',['$event']]]]]}}" bindchange="__e"></switch></view></view><view class="switch-box"><view class="switch-left">寄发票</view><view class="switch-right"><switch style="transform:scale(0.7,0.7);" checked="{{is_receiptsL}}" color="#E63931" data-event-opts="{{[['change',[['switch2Change',['$event']]]]]}}" bindchange="__e"></switch></view></view><view class="infoOptional">信息(选填)</view><view class="box"><view class="box-item"><view class="box-left">捐款人/单位</view><view class="box-right"><input type="text" placeholder="请选择捐款人/单位" data-event-opts="{{[['input',[['__set_model',['','donate_er','$event',[]]]]]]}}" value="{{donate_er}}" bindinput="__e"/></view></view><view class="box-item"><view class="box-left">手机号</view><view class="box-right"><input type="text" placeholder="请填写手机号" data-event-opts="{{[['input',[['__set_model',['','mobile','$event',[]]]]]]}}" value="{{mobile}}" bindinput="__e"/></view></view><view class="box-item"><view class="box-left">联系地址</view><view class="box-right"><input type="text" placeholder="请输入联系地址(用于寄发票)" data-event-opts="{{[['input',[['__set_model',['','address','$event',[]]]]]]}}" value="{{address}}" bindinput="__e"/></view></view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="submit" bindtap="__e">提交</view></view>
|