-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/FZUSESPR21W/meeting-system-t…
…eam6 into dev
- Loading branch information
Showing
23 changed files
with
1,761 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<template> | ||
<div class="app"> | ||
<el-container> | ||
<el-header> | ||
<el-menu :default-active="activeIndex" mode="horizontal" @select="handleSelect"> | ||
<el-menu-item index="1">XXX</el-menu-item> | ||
<el-menu-item index="1">退出</el-menu-item> | ||
</el-menu> | ||
</el-header> | ||
<el-main> | ||
<div class="lunbo"> | ||
<el-carousel :interval="4000" type="card" height="300px"> | ||
<el-carousel-item v-for="item in imagesBox" :key="item.id"> | ||
<img :src="item.url" class="image" /> | ||
</el-carousel-item> | ||
</el-carousel> | ||
</div> | ||
<el-steps :active="2" align-center> | ||
<el-step title="8:30" description="开幕式"></el-step> | ||
<el-step title="9:00" description="智慧校园时代无线技术趋势及应用"></el-step> | ||
<el-step title="10:00" description="三盟科技大数据技术在院研究领域的应用和实践"></el-step> | ||
<el-step title="11:00" description="鲲鹏展翅,助推教育信息化升腾发展"></el-step> | ||
<el-step title="12:00" description="会间休息"></el-step> | ||
<el-step title="14:00" description="数字化转型,微软与您同行"></el-step> | ||
<el-step title="15:00" description="人工智能驱动的校园网络"></el-step> | ||
<el-step title="16:00" description="塞尔安全云服务平台介绍"></el-step> | ||
<el-step title="18:00" description="闭幕式"></el-step> | ||
</el-steps> | ||
<br /> | ||
<br /> | ||
<br /> | ||
<el-collapse v-model="activeName" accordion> | ||
<el-collapse-item title="智慧校园时代无线技术趋势及应用" name="1"> | ||
<div>主席:张三</div> | ||
<div>召开时间:9:00-10:00</div> | ||
</el-collapse-item> | ||
<el-collapse-item title="三盟科技大数据技术在院研究领域的应用和实践" name="2"> | ||
<div>主席:王五</div> | ||
<div>召开时间:10:00-11:00</div> | ||
</el-collapse-item> | ||
<el-collapse-item title="鲲鹏展翅,助推教育信息化升腾发展" name="3"> | ||
<div>主席:小明</div> | ||
<div>召开时间:11:00-12:00</div> | ||
</el-collapse-item> | ||
<el-collapse-item title="数字化转型,微软与您同行" name="4"> | ||
<div>主席:麦克</div> | ||
<div>召开时间:14:00-15:00</div> | ||
</el-collapse-item> | ||
</el-collapse> | ||
</el-main> | ||
</el-container> | ||
</div> | ||
</template> | ||
<style scoped> | ||
.el-header, | ||
.el-footer { | ||
background-color: #b3c0d1; | ||
color: #333; | ||
text-align: center; | ||
line-height: 60px; | ||
} | ||
.el-main { | ||
background-color: #e9eef3; | ||
color: #333; | ||
text-align: center; | ||
height: 100%; | ||
} | ||
.el-carousel__item h3 { | ||
color: #475669; | ||
font-size: 14px; | ||
opacity: 0.75; | ||
line-height: 300px; | ||
margin: 0; | ||
} | ||
.el-carousel__item:nth-child(2n) { | ||
background-color: #99a9bf; | ||
} | ||
.el-carousel__item:nth-child(2n + 1) { | ||
background-color: #d3dce6; | ||
} | ||
.lunbo { | ||
width: 100%; | ||
height: 400px; | ||
} | ||
.el-collapse { | ||
width: 1300px; | ||
height: 800px; | ||
padding-left: 120px; | ||
} | ||
.el-collapse-item { | ||
text-align: center; | ||
background-color: #99a9bf; | ||
} | ||
.lunbo img{ | ||
width: 100%; | ||
height:100%; | ||
} | ||
.el-menu{ | ||
float: right; | ||
background-color: #b3c0d1; | ||
} | ||
</style> | ||
<script> | ||
export default { | ||
data() { | ||
return { | ||
activeName: "1", | ||
imagesBox: [ | ||
{ | ||
id: 0, | ||
/* idView: require("~@/assets/p2") */ | ||
url:require('../assets/p2.jpg') | ||
}, | ||
{ | ||
id: 1, | ||
/* idView: require("~@/assets/p2") */ | ||
url:require('../assets/p1.jpg') | ||
}, | ||
{ | ||
id: 2, | ||
/* idView: require("~@/assets/p2") */ | ||
url:require('../assets/p3.jpg') | ||
}, | ||
/* { | ||
id: 3, | ||
url:require('../assets/timg.jpg') | ||
}, */ | ||
], | ||
fiveNews: [] | ||
}; | ||
}, | ||
methods: { | ||
handleSelect(key, keyPath) { | ||
console.log(key, keyPath); | ||
} | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import java.util.List; | ||
|
||
public class MsgHandlerUtil { | ||
|
||
public static String handleMsg(String msg,int id){ | ||
String idStr = Integer.valueOf(id).toString(); | ||
String [] messages = msg.split(","); | ||
int index = -1; | ||
//拆分,记录下消息的id | ||
for (int i=0;i<messages.length;i++){ | ||
if (idStr.equals(messages[i])){ | ||
index = i; | ||
} | ||
} | ||
//合并消息 | ||
StringBuilder builder = new StringBuilder(); | ||
for (int i=0;i<messages.length;i++){ | ||
if (i!=index){ | ||
builder.append(messages[i]); | ||
builder.append(','); | ||
} | ||
} | ||
builder.deleteCharAt(builder.length()-1); | ||
return builder.toString(); | ||
} | ||
|
||
|
||
public static void main(String[] args) { | ||
String s="100,2,3,4,5,6,7,8,9,10,11,12,13,14,15"; | ||
System.out.println(MsgHandlerUtil.handleMsg(s,5)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,6)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,4)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,15)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,1)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,100)); | ||
System.out.println(MsgHandlerUtil.handleMsg(s,-3)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import java.sql.Date; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class SubConference { | ||
private int chairman_id; | ||
private int secretary_id; | ||
private Date date; | ||
private List<User> participants; | ||
|
||
public SubConference(int chairman_id, int secretary_id, Date date) { | ||
this.chairman_id = chairman_id; | ||
this.secretary_id = secretary_id; | ||
this.date = date; | ||
this.participants = new ArrayList<>(); | ||
} | ||
|
||
public int getChairman_id() { | ||
return chairman_id; | ||
} | ||
|
||
public void setChairman_id(int chairman_id) { | ||
this.chairman_id = chairman_id; | ||
} | ||
|
||
public int getSecretary_id() { | ||
return secretary_id; | ||
} | ||
|
||
public void setSecretary_id(int secretary_id) { | ||
this.secretary_id = secretary_id; | ||
} | ||
|
||
public Date getDate() { | ||
return date; | ||
} | ||
|
||
public void setDate(Date date) { | ||
this.date = date; | ||
} | ||
|
||
public List<User> getParticipants() { | ||
return participants; | ||
} | ||
|
||
public void setParticipants(List<User> participants) { | ||
this.participants = participants; | ||
} | ||
|
||
public void addParticipant(User user) { | ||
participants.add(user); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public class User { | ||
} |
Oops, something went wrong.