提交 23643d41 编写于 作者: SWanzi's avatar SWanzi

添加注释

上级 674ae076
......@@ -27,7 +27,7 @@
export default {
methods:{
day1(){
this.$router.replace('/DetailedMatchSituation')
this.$router.replace('/DailySchedule')
}
},
methods:{
......
<template>
<div class="ausopen">
<div class="block">
<!--设置图片轮播-->
<el-carousel ref="nop" arrow="never" height="550px" width="800px" :autoplay="true">
<div @touchstart="start($event)" @touchmove="move($event)">
<el-carousel-item class="el_carousel__item_style" v-for="item in list" v-bind:key="item">
......@@ -10,12 +11,13 @@
</el-carousel>
</div>
<div>
<!--设置澳网图标-->
<svg xmlns="http://www.w3.org/2000/svg" id="svg1" viewBox="0 0 88 44" width=100px height=100px>
<title>Australian Open Logo</title>
<path d="M65.4 31.1c-5.2 0-9.4-4.2-9.4-9.5 0-5.2 4.2-9.5 9.4-9.5s9.4 4.2 9.4 9.5-4.2 9.5-9.4 9.5M65.5 0C53.6 0 44 9.7 44 21.7s9.6 21.7 21.5 21.7S87 33.7 87 21.7C86.9 9.7 77.3 0 65.5 0"></path>
<path d="M25 1h-6.9L0 42.5h13.4L21.6 21l8.1 21.5h13.4z"></path>
</svg>
<!--设置按钮-->
<button class="btn" @click="details">Learn More</button>
</div>
</div>
......@@ -25,6 +27,7 @@
export default {
name: 'index',
//返回轮播图片地址
data(){
return {
type: false,
......@@ -48,6 +51,7 @@ export default {
startTime: '',
}
},
//设置按钮点击事件
methods:{
details(){
this.$router.replace('/Layout')
......@@ -59,6 +63,7 @@ export default {
</script>
<style>
/*轮播图样式设置 */
.el-carousel__item h3 {
color: #475669;
font-size: 14px;
......
......@@ -20,8 +20,6 @@ import Day1 from '../components/Day1'
export default {
components: { Menu,DayButtons,Day1},
}
</script>
<style>
......
<template>
<div class="layout">
<!--设置背景图片-->
<div class="background">
<img src="static\pic\p2.jpg" width="100%" height="100%" alt="" />
</div>
<!--引入导航栏-->
<div id="menu">
<Menu/>
</div>
......@@ -17,7 +19,7 @@
<span id="ti3">Leaders</span>
<span id="ti4">Leaders</span>
</div>
<!--设置表格-->
<el-table id="table1"
:data="tableData1"
stripe
......
......@@ -5,6 +5,7 @@
</div>
<div id="menu"><Menu/></div>
<div id="content">
<!--按钮、标题-->
<div>
<svg id="left" t="1679453034319" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4747" width="200" height="200"><path d="M512 64C265.6 64 64 265.6 64 512s201.6 448 448 448 448-201.6 448-448S758.4 64 512 64z m0 852c-222.2 0-404-181.8-404-404s181.8-404 404-404 404 181.8 404 404-181.8 404-404 404z" p-id="4748" data-spm-anchor-id="a313x.7781069.0.i30" class="selected" fill="#ffffff"></path><path d="M418 512l179.6-179.6c8.6-8.6 8.6-22.5 0-31.1s-22.5-8.6-31.1 0L371.3 496.4c-8.6 8.6-8.6 22.5 0 31.1l195.2 195.2c8.6 8.6 22.5 8.6 31.1 0 8.6-8.6 8.6-22.5 0-31.1L418 512z" p-id="4749" data-spm-anchor-id="a313x.7781069.0.i29" class="" fill="#1296db"></path></svg>
......@@ -16,6 +17,7 @@
</div>
<div>
<!--晋级图卡片-->
<el-card class="box-card" id="box1">
<div class="text item">
<img id="pic" src="static\pic\1.svg">
......@@ -122,6 +124,7 @@
</el-card>
</div>
<!--横线-->
<div>
<el-divider id="line1"></el-divider>
<el-divider id="line2"></el-divider>
......@@ -133,6 +136,7 @@
<el-divider id="line8"></el-divider>
</div>
<!--竖线-->
<div>
<el-divider direction="vertical" id="vline1"></el-divider>
<el-divider direction="vertical" id="vline2"></el-divider>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册