Kaynağa Gözat

update code

master
guzhenfu 2 yıl önce
ebeveyn
işleme
ce7cb95b45
2 değiştirilmiş dosya ile 58 ekleme ve 5 silme
  1. +4
    -3
      src/view/about.vue
  2. +54
    -2
      src/view/vip-service.vue

+ 4
- 3
src/view/about.vue Dosyayı Görüntüle

@@ -22,7 +22,7 @@
<el-row>
<el-col :span="12" v-for="(item, index) in dataList" :key="index" >
<el-card class="box-card" shadow="never" style="margin: 0 10px" :body-style="{ padding: '0px'}">
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0 10px 0;height: 100%;width: 100%"/>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0 10px 0;height: 100%;width: 100%"/>
<p style="color: #333">{{item.title}}</p>
</el-card>
</el-col>
@@ -72,13 +72,14 @@ export default {
async getDetailRequest(id){
let res = await getDetailRequest(id)
if(res.code == 200){
this.dataList = res.data.records
this.dataList = res.data
console.log("this.dataList:"+JSON.stringify(this.dataList))
}
},

changeType(index){
this.activeIndex = index;
console.log(this.titleList[index].id)
this.getDetailRequest(this.titleList[index].id)
}
},


+ 54
- 2
src/view/vip-service.vue Dosyayı Görüntüle

@@ -6,13 +6,65 @@
<div slot="header">
<span>会员服务</span>
</div>
<div class="menu-item active">会员名录</div>
<div class="menu-item active">会员服务</div>
<div class="menu-item">会员名录</div>
<div class="menu-item">会员介绍</div>
<div class="menu-item">入会申请</div>
<div class="menu-item">问题反馈</div>
</el-card>
</el-col>
<el-col :span="20">


<el-col :span="20" v-if="activeIndex == 0">
<el-card shadow="never" style="margin: 0 10px;">
<div style="text-align: center">
<h2>上海市集成电路行业协会第五届理事会理事名单</h2>
<div style="margin: 10px"><span style="margin-right: 20px">作者:SICA</span><span>发布日期:2011年12月28日 星期三</span></div>
</div>
<template>
<el-table
:data="tableData"
border
style="width: 100%">
<el-table-column
type="index"
align="center"
width="50"
label="序号">
</el-table-column>
<el-table-column
prop="name"
label="理事单位名称"
align="center"
width="180">
</el-table-column>
<el-table-column
prop="address"
align="center"
label="姓名">
</el-table-column>
<el-table-column
prop="address"
align="center"
label="单位职务">
</el-table-column>
<el-table-column
prop="address"
align="center"
label="专业">
</el-table-column>
</el-table>
</template>
<el-pagination
background
layout="prev, pager, next"
:total="1000" prev-text="上一页" next-text="下一页" style="float: right;margin: 10px">
</el-pagination>
</el-card>
</el-col>


<el-col :span="20" v-if="activeIndex == 1">
<el-card shadow="never" style="margin: 0 10px;">
<div style="text-align: center">
<h2>上海市集成电路行业协会第五届理事会理事名单</h2>


Yükleniyor…
İptal
Kaydet