Commit 6c142f69 by yuanfeng

update

parent 03d5233c
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
<img :src="item.iconUrl" alt="照片" @click="openStudent(index)"> <img :src="item.iconUrl" alt="照片" @click="openStudent(index)">
<p>{{item.name}}</p> <p>{{item.name}}</p>
<p>{{item.desc}}</p> <p>{{item.desc}}</p>
<p>{{item.position}}</p>
</swiper-slide> </swiper-slide>
</swiper> </swiper>
</div> </div>
...@@ -101,7 +102,7 @@ ...@@ -101,7 +102,7 @@
</div> </div>
<!-- 弹框 --> <!-- 弹框 -->
<popup-frame :visible="visible" :layout="{width: '960px', height: '540px'}" @beforeClose="closePopup"> <popup-frame :visible="visible" :layout="{width: '960px', height: '540px'}" @beforeClose="closePopup">
<img src="../../../static/images/index/studentDemeanor.jpg" alt="弹框"> <img :src="'../../../static/images/index/studentDemeanor' + picIndex + '.png'" alt="弹框">
</popup-frame> </popup-frame>
</div> </div>
</template> </template>
...@@ -191,7 +192,8 @@ export default { ...@@ -191,7 +192,8 @@ export default {
}, },
greatKey: 0, greatKey: 0,
// 弹框是否显示 // 弹框是否显示
visible: false visible: false,
picIndex: 1
} }
}, },
...@@ -390,7 +392,7 @@ export default { ...@@ -390,7 +392,7 @@ export default {
}, },
// 打开学员风采弹框 // 打开学员风采弹框
openStudent (index) { openStudent (index) {
console.log(index) this.picIndex = index + 1
this.visible = true this.visible = true
}, },
// 关闭弹框 // 关闭弹框
...@@ -416,7 +418,6 @@ export default { ...@@ -416,7 +418,6 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.managePlatform-left { .managePlatform-left {
padding-top: 14px;
.partTitle { .partTitle {
font-size: 18px; font-size: 18px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
...@@ -580,19 +581,18 @@ export default { ...@@ -580,19 +581,18 @@ export default {
.swiper-slide { .swiper-slide {
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
.img { img {
width: 88px; width: 84px;
height: 88px; height: 84px;
border-radius: 50%; border-radius: 50%;
} }
p { p {
font-size: 14px; font-size: 13px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
color: #FFFFFF; color: #FFFFFF;
line-height: 20px; line-height: 20px;
margin-top: 10px; &:nth-child(1) {
&:nth-child(3) {
margin-top: 5px; margin-top: 5px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment