index.wxml 1.56 KB
<view class="container" style="width:100%;height:100%;"><image class="background" src="{{model.isDefault=='1'?'../../static/mkBg.png':BASE_URL+model.banner[0].url}}" mode="scaleToFill"></image><view style="position:absolute;bottom:100rpx;left:150rpx;"><view style="border:2px solid pink;min-width:400rpx;height:50rpx;padding:15rpx;border-radius:20rpx;margin-bottom:30rpx;"><input style="width:100%;height:100%;" placeholder="请输入姓名" placeholder-style="color:pink;" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['form']]]]]}}" value="{{form.name}}" bindinput="__e"/></view><view style="border:2px solid pink;min-width:400rpx;height:50rpx;padding:15rpx;border-radius:20rpx;margin-bottom:30rpx;"><input style="width:100%;height:100%;" placeholder="请输入Email地址" placeholder-style="color:pink;" data-event-opts="{{[['input',[['__set_model',['$0','email','$event',[]],['form']]]]]}}" value="{{form.email}}" bindinput="__e"/></view><view style="border:2px solid pink;min-width:400rpx;height:50rpx;padding:15rpx;border-radius:20rpx;margin-bottom:30rpx;"><input style="width:100%;height:100%;" placeholder="请输入手机号码" placeholder-style="color:pink;" data-event-opts="{{[['input',[['__set_model',['$0','phone','$event',[]],['form']]]]]}}" value="{{form.phone}}" bindinput="__e"/></view><view style="text-align:center;"><view data-event-opts="{{[['tap',[['Confirm',['$event']]]]]}}" style="border:2px solid pink;padding:20rpx;border-radius:20rpx;color:white;font-weight:bold;background-color:pink;" bindtap="__e">立即兑换</view></view></view></view>