121 lines
4.9 KiB
Plaintext
121 lines
4.9 KiB
Plaintext
<import src="../../wxParse/wxParse.wxml" />
|
|
<import src="../common/common.wxml" />
|
|
<view class="container">
|
|
<header-nav inner-text="Some text">{{ title }}</header-nav>
|
|
<go-login wx:if="{{ isAuthorization==1 }}" bindislogin="islogin"></go-login>
|
|
<block wx:if='{{showPage=="guide"}}'>
|
|
<view class='guide-page'>
|
|
<!-- <view class='image-box'><image mode='widthFix' class='image' src="{{ guide.image }}" bindtap='previewImg'></image></view> -->
|
|
|
|
|
|
<view class='introduction'>
|
|
<template is="wxParse" data="{{wxParseData:note.nodes }}" />
|
|
</view>
|
|
<view class='sign-btn' bindtap='getForm' wx:if='{{ guide.button}}'>
|
|
<form-id>
|
|
<text wx:if='{{ guide.button}}'>{{ guide.button }}</text>
|
|
</form-id>
|
|
</view>
|
|
</view>
|
|
</block>
|
|
|
|
<block wx:if='{{showPage=="form"}}'>
|
|
<view class='inform-box'>
|
|
<view class='title'>关于iRent</view>
|
|
<view wx:for="{{ data.about }}" wx:key="index" class='item'>{{ item }}</view>
|
|
</view>
|
|
<view class='inform-box'>
|
|
<view class='title'>预订须知</view>
|
|
<view wx:for="{{ data.notice }}" wx:key="index" class='item'>{{ item }}</view>
|
|
</view>
|
|
<view class='form-page'>
|
|
<form bindsubmit='submit' report-submit='true'>
|
|
<view class='grey-block'>
|
|
|
|
|
|
<block wx:for="{{ fields}}" wx:key="index">
|
|
<!-- 输入 -->
|
|
<view class='containers' wx:if="{{ item.type=='text'}}">
|
|
<view class='name'>{{ item.title }}
|
|
<view class='sign' wx:if="{{ item.required }}">*</view>
|
|
</view>
|
|
<view class="cont num-box">
|
|
<input placeholder='{{ item.placeholder}}' placeholder-class='placeholder' data-letter='{{ item.identifier }}' value='{{ item.defalt }}' bindinput='input'></input>
|
|
</view>
|
|
</view>
|
|
<!-- 单选 -->
|
|
<view class='containers' wx:if="{{ item.type=='radio'}}">
|
|
<view class='name'>{{ item.title }}
|
|
<view class='sign' wx:if="{{ item.required }}">*</view>
|
|
</view>
|
|
<view class="{{selectBox[index].name ?'cont' :'cont color-c' }}" bindtap='select_shows' data-box="{{ item.identifier }}">
|
|
<view class='inner'>
|
|
{{ selectBox[index].name ? selectBox[index].name : '请选择' }}
|
|
<image src='../../img/toright.png' class='tobottombtn'></image>
|
|
|
|
</view>
|
|
|
|
<template is="select1" data="{{ data:selectBox[index] }}" />
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 看图 -->
|
|
<view class='containers information' wx:if="{{ item.type=='textarea'}}">
|
|
<template is="wxParse" data="{{wxParseData:noteBox.nodes }}" />
|
|
<view class='name-long'>{{ item.title }}</view>
|
|
<textarea placeholder='{{ item.placeholder}}' placeholder-class='placeholder' data-letter='{{ item.identifier }}' value='{{ item.defalt }}' bindinput='input'></textarea>
|
|
</view>
|
|
|
|
</block>
|
|
</view>
|
|
<view class='grey-block'>
|
|
<view class='box'>
|
|
<view class='btn-boxs'>
|
|
<button data-status="1" form-type='submit' wx:if='{{ data.button }}' class="publish publish2">{{ data.button }}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</form>
|
|
</view>
|
|
</block>
|
|
|
|
<block wx:if='{{showPage=="success"}}'>
|
|
<view class='success-page'>
|
|
<!-- <image class='success-ok' mode='widthFix' src="../../img/success-ok.png"></image>
|
|
<view class='title'>您的预登记表填写成功!</view> -->
|
|
<view class='especial'>
|
|
<view class='name'>{{ needing.title }}</view>
|
|
<view class='item' wx:for="{{ needing.message }}" wx:key="index">{{ item }}</view>
|
|
<!-- <view class='times'><view class='color-blue'>{{ needing.day }}</view>{{ needing.datetype }}<view class='color-blue'>{{ needing.date }}</view>{{ needing.tips }}</view> -->
|
|
|
|
<!-- <view class='times'>{{ needing.tips2 }}</view> -->
|
|
<view class='step-box'>
|
|
<view class='i'>
|
|
<view>
|
|
<view class='step'>方法一</view>
|
|
<text>{{ needing.step1 }}</text>
|
|
</view>
|
|
<view class='tips' bindtap='copy' data-content="{{ needing.url }}">官网
|
|
<view class='url'>{{ needing.url }}</view>(点击可复制)</view>
|
|
</view>
|
|
<view class='i'>
|
|
<view class='step'>方法二</view>
|
|
<text>{{ needing.step2 }}</text>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view class='qrcode-box'>
|
|
<image class='qrcode' mode='widthFix' src="{{ needing.qrcode }}" bindtap='previewImg'></image>
|
|
<view class='question'>
|
|
{{ needing.more }}
|
|
</view>
|
|
<view class='tips' bindtap='copy' data-content="{{ needing.wechat }}">微信号:{{ needing.wechat }}(点击可复制)</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
</block>
|
|
|
|
</view> |