main
liudan 1 year ago
parent 310eaa8617
commit edbeaa9fdd
  1. 28
      pages/index/searchPage.vue
  2. BIN
      static/xiaohui.png

@ -60,8 +60,12 @@
<view v-if="contentList.length>0" :class="noSearch?'nosearchListContent marginTop':'nosearchListContent'">
<view class="firstItem" v-for="item in contentList"
:key="item.id" @click="goNextSection(item)">
<text>{{item.name}}</text>
<text>{{item.subName}}</text>
<image src="../../static/xiaohui.png" mode=""></image>
<view class="schoolInfo">
<view class="schoolName">{{item.name}}</view>
<view class="schoolSubName">Massachusetts Institute of Technology</view>
<view class="schoolSubName">{{item.subName}}</view>
</view>
</view>
</view>
<view class="nodata" v-if="contentList.length==0">
@ -279,13 +283,29 @@ export default{
background: #FFFFFF;
display: flex;
align-items: center;
justify-content: space-between;
&>text{
// justify-content: space-between;
.schoolInfo{
flex:1;
margin-left:20rpx;
.schoolName{
font-size: 30upx;
font-family: PingFang SC;
font-weight: 500;
color: #333333;
}
.schoolSubName{
font-size: 24upx;
font-family: PingFang SC;
font-weight: 500;
color: #999999;
margin-top:14upx;
}
}
image{
width:110upx;
height:110upx;
}
}
}
.tagList{

Binary file not shown.

After

Width:  |  Height:  |  Size: 572 KiB

Loading…
Cancel
Save