Wire real WeChat app config, prefer activity cover over posters, and add admin cover cropping for the home banner. Co-authored-by: Cursor <cursoragent@cursor.com>
78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
<view class="root {{show ? 'on' : ''}}" wx:if="{{show}}" catchtouchmove="noop">
|
|
<view class="mask" bindtap="onCancel"></view>
|
|
<view class="sheet" catchtap="noop">
|
|
<view class="handle"></view>
|
|
<text class="title">活动报名</text>
|
|
<text class="subtitle">填写信息提交后,将推送微信服务通知</text>
|
|
|
|
<view class="notice">
|
|
<text class="notice-icon">📣</text>
|
|
<text class="notice-text">{{remindReady ? '提交后将申请活动提醒授权,同意即可在活动开始前收到微信通知' : '提交即视为同意接收活动提醒(管理员需先在后台配置订阅消息模板)'}}</text>
|
|
</view>
|
|
|
|
<view class="field">
|
|
<view class="label-row">
|
|
<text class="label">姓名</text>
|
|
<text class="required">*</text>
|
|
</view>
|
|
<input
|
|
class="input"
|
|
placeholder="请输入姓名"
|
|
placeholder-class="placeholder"
|
|
value="{{name}}"
|
|
maxlength="20"
|
|
data-field="name"
|
|
bindinput="onInput"
|
|
/>
|
|
</view>
|
|
|
|
<view class="field">
|
|
<view class="label-row">
|
|
<text class="label">手机号码</text>
|
|
<text class="required">*</text>
|
|
</view>
|
|
<input
|
|
class="input"
|
|
type="number"
|
|
placeholder="请输入手机号"
|
|
placeholder-class="placeholder"
|
|
value="{{phone}}"
|
|
maxlength="11"
|
|
data-field="phone"
|
|
bindinput="onInput"
|
|
/>
|
|
</view>
|
|
|
|
<view class="field">
|
|
<text class="label">公司名称</text>
|
|
<input
|
|
class="input"
|
|
placeholder="选填"
|
|
placeholder-class="placeholder"
|
|
value="{{company}}"
|
|
maxlength="40"
|
|
data-field="company"
|
|
bindinput="onInput"
|
|
/>
|
|
</view>
|
|
|
|
<view class="field">
|
|
<text class="label">职位</text>
|
|
<input
|
|
class="input"
|
|
placeholder="选填"
|
|
placeholder-class="placeholder"
|
|
value="{{position}}"
|
|
maxlength="40"
|
|
data-field="position"
|
|
bindinput="onInput"
|
|
/>
|
|
</view>
|
|
|
|
<view class="btn primary {{submitting ? 'busy' : ''}}" bindtap="onSubmit">
|
|
{{submitting ? '提交中…' : '提交报名'}}
|
|
</view>
|
|
<view class="btn ghost" bindtap="onCancel">取消</view>
|
|
</view>
|
|
</view>
|