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.
79 lines
3.0 KiB
79 lines
3.0 KiB
<view |
|
class="page" |
|
style="background: url('{{imageUrl}}home-bg.png?t={{Timestamp}}') no-repeat top center/100% 580rpx;padding-top:{{menuButtonInfo.top}}px;" |
|
> |
|
<image class="logo" mode="widthFix" src="{{imageUrl}}home-logo.png?t={{Timestamp}}"></image> |
|
<image class="page-title" src="{{imageUrl}}home-title.png?t={{Timestamp}}"></image> |
|
<view |
|
class="page-slogan" |
|
style="background: url('{{imageUrl}}slogan-bg.png?t={{Timestamp}}') no-repeat top center/100% 100%;" |
|
> |
|
基于循证医学的科学、系统性健康信息,以简单易懂具体事项为基础,高效地构建健康导航,助力人人都做家庭健康师,从而提高预期寿命和健康寿命,减短带病生存期,增进生命质量和幸福感。 |
|
</view> |
|
<view class="search" bind:tap="handleSearch"> |
|
<image class="icon" src="{{imageUrl}}icon-search.png?t={{Timestamp}}"></image> |
|
<input |
|
type="text" |
|
disabled="{{true}}" |
|
class="input" |
|
placeholder-class="place-input" |
|
confirm-type="search" |
|
bindconfirm="handleSearch" |
|
placeholder="请输入要搜索的内容" |
|
/> |
|
</view> |
|
<swiper |
|
wx:if="{{bannerList.length>0}}" |
|
class="swiper" |
|
autoplay |
|
interval="{{5000}}" |
|
indicator-dots="{{bannerList.length>1}}" |
|
indicator-color="{{bannerList.length>1 ? 'rgba(255,255,255,0.62)' :'transparent'}}" |
|
indicator-active-color="{{bannerList.length>1 ? '#FFFFFF' :'transparent'}}" |
|
> |
|
<swiper-item |
|
class="swiper-item" |
|
wx:for="{{bannerList}}" |
|
wx:key="configId" |
|
bind:tap="handleBanner" |
|
data-index="{{index}}" |
|
> |
|
<image class="banner" mode="aspectFill" src="{{item.configImg}}"></image> |
|
</swiper-item> |
|
</swiper> |
|
<view class="cards"> |
|
<view |
|
class="card" |
|
wx:for="{{cateList}}" |
|
wx:key="index" |
|
style="background: url('{{imageUrl}}home-card-bg.png?t={{Timestamp}}') no-repeat center/100%" |
|
bind:tap="handleDetail" |
|
data-index="{{index}}" |
|
> |
|
<view class="title">{{item.CateName}}</view> |
|
<view class="content">{{item.Intro}}</view> |
|
</view> |
|
</view> |
|
<view class="remark"> |
|
<view class="r-header">留言板</view> |
|
<textarea |
|
class="r-content" |
|
model:value="{{remark}}" |
|
placeholder-class="textarea-placeholder" |
|
placeholder="欢迎反馈您的问题" |
|
></textarea> |
|
<view wx:if="{{feedbackCount>0}}" class="submit" bind:tap="handleRemark">提交</view> |
|
<view wx:else class="submit not-submit" bind:tap="handleNotRemark">提交</view> |
|
</view> |
|
</view> |
|
|
|
<van-popup show="{{ show }}" bind:close="onClose" round style="--popup-background-color: transparent"> |
|
<view class="popup"> |
|
<view class="popup-container"> |
|
<image class="badge" src="{{imageUrl}}login-popup-badge.png?t={{Timestamp}}"></image> |
|
<image class="title" src="{{imageUrl}}login-popup-title.png?t={{Timestamp}}"></image> |
|
<view class="conform" bind:tap="handleTopic">开始</view> |
|
<view class="cancel" bind:tap="handleCancelTopic">关闭</view> |
|
</view> |
|
</view> |
|
</van-popup>
|
|
|