You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.5 KiB
41 lines
1.5 KiB
<view class="container">
|
|
<!-- 轮播图 -->
|
|
<swiper class="swiper" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{5000}}" duration="{{500}}">
|
|
<block wx:for="{{banners}}" wx:key="index">
|
|
<swiper-item>
|
|
<image src="{{item.url}}" mode="aspectFill" class="swiper-img"></image>
|
|
</swiper-item>
|
|
</block>
|
|
</swiper>
|
|
|
|
<!-- 关于我们 -->
|
|
<view class="section">
|
|
<view class="section-title">关于古代数学</view>
|
|
<view class="section-content">
|
|
小程序致力于展示中国古代数学的悠久历史和丰富贡献。通过展示中国古代数学著作、算术仪器、古代知名数学家,我们希望带领您领略古代数学的魅力。
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 历史名人 -->
|
|
<view class="section">
|
|
<view class="section-title">历史名人</view>
|
|
<view class="section-content">
|
|
<view wx:for="{{historians}}" wx:key="index" class="historian">
|
|
<image src="{{item.avatar}}" mode="aspectFill" class="historian-avatar"></image>
|
|
<text class="historian-name">{{item.name}}</text>
|
|
<text class="historian-intro">{{item.intro}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 数学趣题 -->
|
|
<view class="section">
|
|
<view class="section-title">数学趣题</view>
|
|
<view class="section-content">
|
|
<view wx:for="{{mathProblems}}" wx:key="index" class="math-problem">
|
|
<text class="math-problem-title">{{item.title}}</text>
|
|
<text class="math-problem-content">{{item.content}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view> |