xz_mini/pages/cultureDetail/cultureDetail.wxml
dong_bo0602 d4bb4f1c78 0329
2022-03-29 11:05:37 +08:00

126 lines
4.2 KiB
Plaintext

<view class="culture-swiper">
<swiper indicator-dots="{{swiper.indicatorDots}}" autoplay="{{swiper.autoplay}}" current="{{swiper.current}}" indicator-dots="{{true}}" indicator-color="rgba(18,92,225,.6)" indicator-active-color="rgba(18,92,225,1)">
<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">
<image src="../../images/row-icon-1.png"></image>
<text>项目编号:</text>
{{library.libraryNumber}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-2.png"></image>
<text>公布时间:</text>
{{library.libraryOpenDateValue}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-3.png"></image>
<text>所属地区:</text>
{{library.libraryArea}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-4.png"></image>
<text>申报地区或单位:</text>
{{library.libraryAddress}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-5.png"></image>
<text>数据来源:</text>
{{library.librarySource}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-6.png"></image>
<text>非遗级别:</text>
{{library.libraryLevel}}级
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-7.png"></image>
<text>类  型:</text>
{{library.libraryTypeValue}}
</view>
</view>
<view class="row">
<view class="info">
<image src="../../images/row-icon-8.png"></image>
<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="person-info">
<view class="person-number">{{item.libraryPersonNumber}}</view>
<view class="person-name">{{item.libraryPersonName}}</view>
<image src="../../images/man.png" class="man" wx:if="{{item.libraryPersonSex == 1}}"></image>
<image src="../../images/woman.png" class="woman" wx:else></image>
</view>
<view class="person-info" style="margin-top: 20rpx">
<view class="person-birth">
<text>民族:</text>{{item.libraryPersonNationDictionaryName}}
</view>
<view class="person-birth">
<text>出生日期:</text>{{item.libraryPersonBirthday}}
</view>
</view>
<!-- <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>