fenggu/pagesA/pages/personal/personal.wxml

47 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

<!--pages/personal/personal.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">
2021-12-15 05:38:09 +00:00
<block wx:for="{{img_url}}" wx:key="index">
<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="personal-name">
{{name}} <text>{{nm_number}}票</text>
</view>
<!--作品列表-->
<view class="works">
2021-12-15 05:38:09 +00:00
<block wx:for="{{works_list}}" wx:key="index">
<view class="list">
<view class="img" bindtap='picture'>
<view class="id">{{item.ids}}<text>号</text></view>
<image mode="aspectFill" src="{{item.img}}"></image>
</view>
<view class="personal-right">
2021-12-15 05:38:09 +00:00
<view class="text">简介:{{item.text}}</view>
<view class="name"><text>{{item.number}}</text></view>
<button class="add" bindtap="vote" data-id="{{item.ids}}">投票</button>
</view>
</view>
</block>
</view>
</view>
</view>