You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
260 lines
8.4 KiB
260 lines
8.4 KiB
<view class="page" id="{{theme === 'DRUG' && 'drug-page'}}"> |
|
<mp-html |
|
wx:if="{{dataInfo.WeiContent}}" |
|
content="{{dataInfo.WeiContent}}" |
|
:preview-img="{{false}}" |
|
bindimgtap="handleImgtap" |
|
bind:longpress="handleImgLong" |
|
></mp-html> |
|
<view class="container"> |
|
<view class="banner-title">{{dataInfo.CommentTitle}}</view> |
|
<view class="form" wx:if="{{dataInfo.IsHaveComments === '1'}}"> |
|
<view class="row" wx:if="{{dataInfo.IsHaveName === '1'}}"> |
|
<view class="label required">姓名</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.name}}" |
|
data-type="name" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的姓名" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveSex === '1'}}"> |
|
<view class="label required">性别</view> |
|
<view class="select"> |
|
<view class="item {{form.sex==1 ? 'active':''}}" bind:tap="handleSex" data-value="1"> |
|
<view class="icon"></view> |
|
先生 |
|
</view> |
|
<view class="item {{form.sex==2 ? 'active':''}}" bind:tap="handleSex" data-value="2"> |
|
<view class="icon"></view> |
|
女士 |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveTelephone === '1'}}"> |
|
<view class="label required">手机</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.telephone}}" |
|
data-type="telephone" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的手机号" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveCompany === '1'}}"> |
|
<view class="label required">公司</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.company}}" |
|
data-type="company" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的公司" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHavePosition === '1'}}"> |
|
<view class="label required">职位</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.position}}" |
|
data-type="position" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的职位" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveEmail === '1'}}"> |
|
<view class="label required">邮箱</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.email}}" |
|
data-type="email" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的邮箱" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveWechat === '1'}}"> |
|
<view class="label required">微信</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.wechat}}" |
|
data-type="wechat" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的微信" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveArea === '1'}}"> |
|
<view class="label required">地区</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.area}}" |
|
data-type="area" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的地区" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveConsult === '1'}}"> |
|
<view class="label">留言</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.comment}}" |
|
data-type="comment" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的留言" |
|
/> |
|
</view> |
|
</view> |
|
<view class="submit" wx:if="{{dataInfo.IsHaveComments === '1'}}" bind:tap="handleSubmit"> |
|
{{dataInfo.SubmitButton || '立即报名'}} |
|
</view> |
|
</view> |
|
<view class="footer"> |
|
<view class="item" wx:if="{{dataInfo.IsHavePv === '1'}}"> |
|
<view class="name"> |
|
访问量 |
|
<text class="num">{{dataInfo.TotalPV}}</text> |
|
</view> |
|
</view> |
|
<view class="item" wx:if="dataInfo.IsHaveCallNo === '1'" bind:tap="handleCllaNo"> |
|
<image class="icon" src="/image/small-page-icon1.png"></image> |
|
电话咨询 |
|
</view> |
|
<view class="item" bind:tap="handlePopup"> |
|
<image class="icon" src="/image/small-page-icon2.png"></image> |
|
{{dataInfo.FrameName}} |
|
</view> |
|
</view> |
|
</view> |
|
|
|
<van-popup show="{{ show }}" bind:close="onClose" round="20rpx" closeable> |
|
<view class="popup"> |
|
<view class="popup-title">我要报名</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveName === '1'}}"> |
|
<view class="label required">姓名</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.name}}" |
|
data-type="name" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的姓名" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveSex === '1'}}"> |
|
<view class="label required">性别</view> |
|
<view class="select"> |
|
<view class="item {{form.sex==1 ? 'active':''}}" bind:tap="handleSex" data-value="1"> |
|
<view class="icon"></view> |
|
先生 |
|
</view> |
|
<view class="item {{form.sex==2 ? 'active':''}}" bind:tap="handleSex" data-value="2"> |
|
<view class="icon"></view> |
|
女士 |
|
</view> |
|
</view> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveTelephone === '1'}}"> |
|
<view class="label required">手机</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.telephone}}" |
|
data-type="telephone" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的手机号" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveCompany === '1'}}"> |
|
<view class="label required">公司</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.company}}" |
|
data-type="company" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的公司" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHavePosition === '1'}}"> |
|
<view class="label required">职位</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.position}}" |
|
data-type="position" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的职位" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveEmail === '1'}}"> |
|
<view class="label required">邮箱</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.email}}" |
|
data-type="email" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的邮箱" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveWechat === '1'}}"> |
|
<view class="label required">微信</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.wechat}}" |
|
data-type="wechat" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的微信" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveArea === '1'}}"> |
|
<view class="label required">地区</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.area}}" |
|
data-type="area" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的地区" |
|
/> |
|
</view> |
|
<view class="row" wx:if="{{dataInfo.IsHaveConsult === '1'}}"> |
|
<view class="label">留言</view> |
|
<input |
|
class="place" |
|
placeholder-class="place-default" |
|
value="{{form.comment}}" |
|
data-type="comment" |
|
bind:input="handleChange" |
|
type="text" |
|
placeholder="请输入您的留言" |
|
/> |
|
</view> |
|
<view class="popup-submit" wx:if="{{dataInfo.IsHaveComments === '1'}}" bind:tap="handleSubmit"> |
|
{{dataInfo.SubmitButton || '立即报名'}} |
|
</view> |
|
</view> |
|
</van-popup>
|
|
|