76 lines
3.1 KiB
Plaintext
76 lines
3.1 KiB
Plaintext
<!--pages/sign.wxml-->
|
|
<view class="container">
|
|
<view class="page-body">
|
|
<view class="page-section page-section-spacing swiper">
|
|
<swiper autoplay="true" interval="{{interval}}" duration="{{duration}}"
|
|
circular="true" current="{{swiperCurrent}}" bindchange="swiperChange">
|
|
<block wx:for="{{img_url}}" >
|
|
<swiper-item>
|
|
<view class="swiper-item">
|
|
<image src="{{item}}" ></image>
|
|
</view>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
</view>
|
|
<view class="dots">
|
|
<block wx:for="{{img_url}}" wx:key="unique">
|
|
<view class="dot{{index == swiperCurrent ? ' active' : ''}}"></view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<!--内容-->
|
|
<view class="view-bg top40">
|
|
<view class="countdown">
|
|
<view class="names">
|
|
<text>距离投票结束还有</text>
|
|
</view>
|
|
<view class="time" >
|
|
<text>{{day}}</text>天 <text>{{hou}}</text>时<text>{{min}}</text>分<text>{{sec}}</text>秒
|
|
</view>
|
|
<view class="tab">
|
|
<view class="list">
|
|
{{tab_number}}<text>人</text>
|
|
<text>参与者</text>
|
|
</view>
|
|
<view class="list">
|
|
{{tab_vote}}<text>票</text>
|
|
<text>投票数</text>
|
|
</view>
|
|
<view class="list">
|
|
{{tab_visit}}<text>次</text>
|
|
<text>访问量</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!--表单-->
|
|
<view class="sign">
|
|
<form>
|
|
<view wx-if='{{user.tel == "" || user.tel == undefined || user.name == "" || user.name == undefined}}'>
|
|
<view class="list" >
|
|
<text>姓名</text>
|
|
<input placeholder="请输入您的姓名" adjust-position="true" bindinput="setname" />
|
|
</view>
|
|
<view class="list">
|
|
<text>手机号</text>
|
|
<input placeholder="请输入您的联系电话" adjust-position="true" bindinput="settel" />
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<text>描述</text>
|
|
<textarea placeholder="请介绍一下作品" maxlength="100" adjust-position="true" bindinput="setdesc" />
|
|
</view>
|
|
<view class="list">
|
|
<text>上传作品</text>
|
|
<view class="img">
|
|
<image src='{{source}}'/>
|
|
<view class="{{is_upload=='1'?'uploadopacity':''}} uploadimg" bindtap="uploadimg"></view>
|
|
</view>
|
|
</view>
|
|
<view class="list">
|
|
<button bindtap="save">提交报名</button>
|
|
</view>
|
|
</form>
|
|
</view>
|
|
</view>
|
|
</view> |