|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<view>
|
|
|
- <view v-for="(item, index) in teacherList" :key="index">
|
|
|
+ <view class="itemWrapper" v-for="(item, index) in teacherList" :key="index">
|
|
|
<view class="publicItem" @click="toTeachDetail(item)">
|
|
|
<view class="itemFather">
|
|
|
<image class="teachImg" :src="item.profilePhoto"></image>
|
|
@@ -68,6 +68,10 @@
|
|
|
</style>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
+ .itemWrapper{
|
|
|
+ height: 220rpx;
|
|
|
+ }
|
|
|
+
|
|
|
.itemFather{
|
|
|
position: relative;
|
|
|
display: flex;
|