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.

69 lines
2.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" src="{{imageUrl}}home-logo.png?t={{Timestamp}}"></image>
<image class="page-title" src="{{imageUrl}}home-title.png?t={{Timestamp}}"></image>
<view class="page-slogan">人人都是家庭健康师,让生活更有质量</view>
5 months ago
<view class="search" bind:tap="handleSearch">
<image class="icon" src="{{imageUrl}}icon-search.png?t={{Timestamp}}"></image>
<input
type="text"
5 months ago
disabled="{{true}}"
class="input"
placeholder-class="place-input"
confirm-type="search"
bindconfirm="handleSearch"
placeholder="请输入要搜索的内容"
/>
</view>
<swiper
class="swiper"
indicator-dots
indicator-color="rgba(255,255,255,0.62)"
indicator-active-color="#FFFFFF"
>
<swiper-item
class="swiper-item"
wx:for="{{bannerList}}"
wx:key="configId"
5 months ago
bind:tap="handleBanner"
data-index="{{index}}"
>
<image
class="banner"
mode="aspectFill"
src="{{item.configImg}}"
></image>
</swiper-item>
</swiper>
<view class="cards">
<view
class="card"
5 months ago
wx:for="{{cateList}}"
wx:key="index"
style="background: url('{{imageUrl}}home-card-bg.png?t={{Timestamp}}') no-repeat center/100%"
bind:tap="handleDetail"
5 months ago
data-index="{{index}}"
>
5 months ago
<view class="title">{{item.CateName}}</view>
<view class="content">{{item.Intro}}</view>
</view>
</view>
<view class="remark">
5 months ago
<view class="r-header">留言板</view>
5 months ago
<textarea
class="r-content"
model:value="{{remark}}"
5 months ago
placeholder-class="textarea-placeholder"
placeholder="欢迎反馈您的问题"
confirm-type="send"
bindconfirm="handleRemark"
5 months ago
></textarea>
<view
class="submit"
wx:if="{{feedbackCount>0}}"
bindconfirm="handleRemark"
>
提交
</view>
</view>
</view>