xz_gangba/pages/cultureDetail/cultureDetail.wxml
2020-07-11 20:20:55 +08:00

98 lines
2.8 KiB
Plaintext

<view class="culture-swiper">
<swiper indicator-dots="{{swiper.indicatorDots}}" autoplay="{{swiper.autoplay}}" current="{{swiper.current}}">
<swiper-item class="swiper-item" wx:for="{{swiper.imgUrl}}" wx:key="swiper">
<image src="{{item}}" class="swiper-img"></image>
</swiper-item>
</swiper>
<view class="prev" bindtap="prevImg">
<image src="../../images/prev.png"></image>
</view>
<view class="next" bindtap="nextImg">
<image src="../../images/next.png"></image>
</view>
</view>
<view class="culture">
<view class="culture-title">{{library.libraryTitle}}</view>
<view class="culture-info">
<view class="row">
<view class="info">
<text>项目编号:</text>
{{library.libraryNumber}}
</view>
<view class="info">
<text>数据来源:</text>
{{library.librarySource}}
</view>
</view>
<view class="row">
<view class="info">
<text>公布时间:</text>
{{library.libraryOpenDateValue}}
</view>
<view class="info">
<text>非遗级别:</text>
{{library.libraryLevel}}级
</view>
</view>
<view class="row">
<view class="info">
<text>所属地区:</text>
{{library.libraryArea}}
</view>
<view class="info">
<text>类  型:</text>
{{library.libraryTypeValue}}
</view>
</view>
<view class="row">
<view class="info">
<text>申报地区或单位:</text>
{{library.libraryAddress}}
</view>
</view>
<view class="row">
<view class="info">
<text>保护单位:</text>
{{library.libraryAuthor}}
</view>
</view>
</view>
<view class="part">
<view class="part-title">相关描述</view>
<view class="part-content">
<rich-text nodes="{{library.librarySummary}}"></rich-text>
</view>
</view>
<view class="part">
<view class="part-title">相关传承人</view>
<view class="library-person" wx:for="{{libraryPersonList}}" wx:for-item="item" wx:for-index="index" wx:key="libraryPersonList">
<view class="row">
<view class="info">
<text>编  号:</text>
{{item.libraryPersonNumber}}
</view>
<view class="info">
<text>姓  名:</text>
{{item.libraryPersonName}}
</view>
</view>
<view class="row">
<view class="info">
<text>性  别:</text>
{{item.libraryPersonSex == 1 ? '男' : '女'}}
</view>
<view class="info">
<text>出生日期:</text>
{{item.libraryPersonBirthday }}
</view>
</view>
<view class="row">
<view class="info">
<text>民  族:</text>
{{item.libraryPersonNationDictionaryName}}
</view>
</view>
</view>
</view>
</view>