国际研讨会的报名

This commit is contained in:
fengachen
2021-10-15 19:03:57 +08:00
parent 280db0a273
commit 5d4f6ac256
12 changed files with 598 additions and 28 deletions
+153
View File
@@ -0,0 +1,153 @@
<!--国际研讨会的报名-->
<view class="color-f5">
<form bindsubmit="formSubmit">
<view class="form-wrap">
<!-- 如果是小程序消息进入的报名页面 需要回显企业与参会人 参会企业不可更改 -->
<view class="form-item">
<text class="item-label flex-1">参会单位:</text>
<input placeholder-class="text-right" bindtap="selectCompany" name="selectedCompany.companyName"
bindinput="bindInputPhone" value="{{selectedCompany.companyName}}" placeholder="请选择参会单位" />
</view>
<view class="form-item">
<text class="item-label flex-1">参会人:</text>
<input placeholder-class="text-right" bindtap="selectPerson" data-selectType='1' bindinput="bindInputPhone"
value="{{selectedPerson.name}}" placeholder="请选择参会人" />
</view>
<view class="form-item">
<text class="item-label flex-1">手机号:</text>
<input placeholder-class="text-right" name="phone" bindinput="bindInputPhone" value="{{phone}}"
placeholder="请输入手机号" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">参会身份:</text>
</view>
<view>
<radio-group name='identity' bindchange="changeIdentify">
<label class="radio radio-item" wx:for="{{identifyList}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
</label>
</radio-group>
</view>
</view>
<!-- 当身份选择嘉宾才出现 -->
<view class="form-item" wx:if="{{inviteCodeShowBool}}">
<text class="item-label flex-1 validate">邀请码:</text>
<input placeholder-class="text-right" name="inviteCode" bindblur="bindInputInviteCode" value="{{inviteCode}}"
placeholder="请输入邀请码" />
</view>
<view class="form-item" wx:if="{{inviteCodeShowBool}}">
<button class="validate-btn" bindtap="validateCode">校验邀请码</button>
</view>
<!-- 选择身份是参会人和内部企业的时候显示 -->
<view wx:if="{{!inviteCodeShowBool}}">
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">缴费方式:</text>
</view>
<view>
<radio-group name='payMode' bindchange="paymentMethodRadioChange">
<label class="radio radio-item" wx:for="{{paymentMethodList}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item">
<text class="item-label flex-1 validate">是否需要发票:</text>
<picker name='needInvoice' bindchange="needInvoiceChange" range="{{needInvoiceList}}" value="{{index}}"
range-key='name'>
<view class="picker">
{{index === -1 ? '请选择' :needInvoiceList[index].name }}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1 validate">邮寄联系人:</text>
<input placeholder-class="text-right" data-selectType='2' name="phone" bindtap="selectPerson"
value="{{selectedPostPerson.name}}" placeholder="请选择邮寄联系人" />
</view>
<view class="form-item">
<text class="item-label flex-1 validate">邮寄地址:</text>
<input placeholder-class="text-right" name="postContactAddress" bindinput="bindInputPhone"
placeholder="请输入邮寄地址" />
</view>
<view class="form-item">
<text class="item-label flex-1 validate">邮编:</text>
<input placeholder-class="text-right" name="postCode" bindinput="bindInputPhone" placeholder="请输入邮编" />
</view>
<view class="form-item-radio">
<view class="radio-label">
<text class="item-label flex-1 validate">是否住酒店:</text>
</view>
<view>
<radio-group name='checkInHotel' bindchange="paymentMethodRadioChange">
<label class="radio radio-item" wx:for="{{needCheckInHotel}}" wx:key="item">
<radio class="radio-scale" value="{{item.value}}" />{{item.name}}
</label>
</radio-group>
</view>
</view>
<view class="form-item">
<text class="item-label flex-1">抵达时间:</text>
<picker name='arrivalTime' mode="date" value="{{date}}" bindchange="bindDateChangeArriveTime">
<view class="picker">
{{arrivalTime}}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1">离开时间:</text>
<picker name='departureTime' mode="date" value="{{date}}" bindchange="bindDateChangeLeaveTime">
<view class="picker">
{{departureTime}}
</view>
</picker>
</view>
<view class="form-item">
<text class="item-label flex-1">费用合计:</text>
<!-- 需要后端判断企业 是否是标准协会的企业 是标协的企业 vip费用 -->
<text>{{selectedMeeting.meetingCosts}}元</text>
</view>
<view class="btn-wrap">
<button class="btn-ok" formType="submit">确定</button>
</view>
</view>
<!-- vip显示 -->
<view wx:if="{{vipBool}}">
vip显示
</view>
<!-- 演讲嘉宾显示 -->
<view wx:if="{{speakerBool}}">
演讲嘉宾显示
</view>
<!-- 特邀嘉宾显示 -->
<view wx:if="{{guestBool}}">
特邀嘉宾显示
</view>
<!-- 合作伙伴显示 -->
<view wx:if="{{cooperatieBool}}">
合作伙伴显示
</view>
</view>
</form>
</view>