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.
gitProject1/src/miniprogram/pages/main/main.wxml

47 lines
1.4 KiB

<view >
<!-- 主页面中展示老师上传的信息 -->
<view>
<view class="button-wrapper">
<button bindtap="goToPageHom">Recommend</button>
<button bindtap="goToPageMes">Demand</button>
</view>
</view>
<!-- 实现教员推荐页面和学员需求页面间的且交换 -->
<!-- 搜索框 -->
<view class="cover">
<scroll-view>
<image src="/images/app.png"class="app"/>
</scroll-view>
</view>
<view class="search-wrapper">
<view class="search-bar">
<input class="search-input" type="text" placeholder="请输入搜索内容"></input>
<button class="search-button">搜索</button>
</view>
</view>
<view class="show_information" wx:for="{{[1,2,3,4,5]}}">
<!-- //当每通过一个教员上传的简历信息则创建一个 -->
<view class="content-container">
<image class="image" src="图片地址"></image>
<view class="text-container">
<text class="title">标题</text>
<view>
<text class="description">描述信息</text>
</view>
</view>
</view>
<view class="button-container">
<button class="button" bind:tap="goToComments">评论</button>
<button class="button" bind:tap="contactTeacher">联系</button>
</view>
</view>
<view class="desc">这里是家教帮平台,再也不用担心孩子的学习了</view>
</view>