|
@@ -3,22 +3,53 @@
|
|
|
<div class="survey">
|
|
|
<img class="bg" :src="require('@/assets/images/bg2.png')" alt="" />
|
|
|
<div class="content">
|
|
|
- <div class="title">
|
|
|
+ <!-- <div class="title">
|
|
|
<span>活动</span>
|
|
|
- </div>
|
|
|
- <div class="list">
|
|
|
- <div :class="['item1','item',{'cur':cur==0}]" @mouseover="open(0)" @mouseout="close()" @click="toType('onLine')">
|
|
|
- <p class="Ztit">线 上 活 动</p>
|
|
|
- <p class="Etit">ONLINE EVENTS</p>
|
|
|
+ </div> -->
|
|
|
+ <div class="list changeList" style="padding: 46px 0 0 70px">
|
|
|
+ <div class="changeRow" @click="toType('onLine')">
|
|
|
+ <span>ONLINE EVENTS</span>
|
|
|
+ <p>线上活动</p>
|
|
|
+ <div class="changeXian"></div>
|
|
|
</div>
|
|
|
- <div :class="['item2','item',{'cur':cur==1}]" @mouseover="open(1)" @mouseout="close()" @click="toType('volunteer')">
|
|
|
+ <div class="changeRow" @click="toType('volunteer')">
|
|
|
+ <span>VOLUNTEER SERVICE</span>
|
|
|
+ <p class="fivep">志愿者服务</p>
|
|
|
+ <div class="changeXian"></div>
|
|
|
+ </div>
|
|
|
+ <div class="changeRow" @click="toType('satisfaction')">
|
|
|
+ <span>SATISFACTION SURVEY</span>
|
|
|
+ <p class="fivep">满意度调查</p>
|
|
|
+ <div class="changeXian"></div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <!-- <div
|
|
|
+ :class="['item1', 'item', { cur: cur == 0 }]"
|
|
|
+ @mouseover="open(0)"
|
|
|
+ @mouseout="close()"
|
|
|
+ @click="toType('onLine')"
|
|
|
+ >
|
|
|
+ <p class="Ztit">线 上 活 动</p>
|
|
|
+ <p class="Etit">ONLINE EVENTS</p>
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ :class="['item2', 'item', { cur: cur == 1 }]"
|
|
|
+ @mouseover="open(1)"
|
|
|
+ @mouseout="close()"
|
|
|
+ @click="toType('volunteer')"
|
|
|
+ >
|
|
|
<p class="Ztit">志 愿 者 服 务</p>
|
|
|
- <p class="Etit">VOLUNTEER SERVICE</p>
|
|
|
+ <p class="Etit">VOLUNTEER SERVICE</p>
|
|
|
</div>
|
|
|
- <div :class="['item3','item',{'cur':cur==2}]" @mouseover="open(2)" @mouseout="close()" @click="toType('satisfaction')">
|
|
|
+ <div
|
|
|
+ :class="['item3', 'item', { cur: cur == 2 }]"
|
|
|
+ @mouseover="open(2)"
|
|
|
+ @mouseout="close()"
|
|
|
+ @click="toType('satisfaction')"
|
|
|
+ >
|
|
|
<p class="Ztit">满 意 度 调 查</p>
|
|
|
- <p class="Etit">SATISFACTION SURVEY</p>
|
|
|
- </div>
|
|
|
+ <p class="Etit">SATISFACTION SURVEY</p>
|
|
|
+ </div> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -35,7 +66,7 @@ export default {
|
|
|
data () {
|
|
|
// 这里存放数据
|
|
|
return {
|
|
|
- cur:-1,
|
|
|
+ cur: -1,
|
|
|
select: '',
|
|
|
onLineHover: false,
|
|
|
volunteerHover: false,
|
|
@@ -48,14 +79,14 @@ export default {
|
|
|
watch: {},
|
|
|
// 方法集合
|
|
|
methods: {
|
|
|
- open(num) {
|
|
|
- this.cur = num;
|
|
|
+ open (num) {
|
|
|
+ this.cur = num
|
|
|
},
|
|
|
- close() {
|
|
|
- this.cur = -1;
|
|
|
+ close () {
|
|
|
+ this.cur = -1
|
|
|
},
|
|
|
toType (type) {
|
|
|
- this.$router.push({path: '/activity-type', query: {type}})
|
|
|
+ this.$router.push({ path: '/activity-type', query: { type } })
|
|
|
},
|
|
|
mouseOver (type) {
|
|
|
this.select = type
|
|
@@ -113,103 +144,108 @@ export default {
|
|
|
z-index: -1;
|
|
|
}
|
|
|
.content {
|
|
|
- width:100%;
|
|
|
- margin:0 auto;
|
|
|
- .title {
|
|
|
- width:100%;
|
|
|
- text-align:center;
|
|
|
- margin:107px auto 80px;
|
|
|
+ width: 100%;
|
|
|
+ margin: 0 auto;
|
|
|
+ .title {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+ margin: 107px auto 80px;
|
|
|
span {
|
|
|
- font-size:36px;
|
|
|
+ font-size: 36px;
|
|
|
font-family: "Source Han Serif CN";
|
|
|
- color:rgba(148, 83, 53, 1);
|
|
|
+ color: rgba(148, 83, 53, 1);
|
|
|
font-weight: bold;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
&:before {
|
|
|
- content:'';
|
|
|
- display:inline-block;
|
|
|
- width:27px;
|
|
|
- height:36px;
|
|
|
- background:url(../../assets/images/icon-tit-left.png)center/100% no-repeat;
|
|
|
- margin-right:20px;
|
|
|
+ content: "";
|
|
|
+ display: inline-block;
|
|
|
+ width: 27px;
|
|
|
+ height: 36px;
|
|
|
+ background: url(../../assets/images/icon-tit-left.png) center/100%
|
|
|
+ no-repeat;
|
|
|
+ margin-right: 20px;
|
|
|
}
|
|
|
&:after {
|
|
|
- content:'';
|
|
|
- display:inline-block;
|
|
|
- width:27px;
|
|
|
- height:36px;
|
|
|
- background:url(../../assets/images/icon-tit-right.png)center/100% no-repeat;
|
|
|
- margin-left:20px;
|
|
|
- }
|
|
|
+ content: "";
|
|
|
+ display: inline-block;
|
|
|
+ width: 27px;
|
|
|
+ height: 36px;
|
|
|
+ background: url(../../assets/images/icon-tit-right.png) center/100%
|
|
|
+ no-repeat;
|
|
|
+ margin-left: 20px;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.list {
|
|
|
- display:flex;
|
|
|
+ display: flex;
|
|
|
justify-content: center;
|
|
|
- margin-bottom:100px;
|
|
|
- height:571px;
|
|
|
+ margin-bottom: 100px;
|
|
|
+ height: 571px;
|
|
|
overflow: hidden;
|
|
|
.item {
|
|
|
- position:relative;
|
|
|
- width:253px;
|
|
|
- height:571px;
|
|
|
+ position: relative;
|
|
|
+ width: 253px;
|
|
|
+ height: 571px;
|
|
|
transition: all 0.2s ease-in;
|
|
|
- float:left;
|
|
|
+ float: left;
|
|
|
&.item1 {
|
|
|
- background:url(../../assets/images/13.png)center center/571px no-repeat;
|
|
|
+ background: url(../../assets/images/13.png) center center/571px
|
|
|
+ no-repeat;
|
|
|
}
|
|
|
&.item2 {
|
|
|
- background:url(../../assets/images/14.png)center center/571px no-repeat;
|
|
|
+ background: url(../../assets/images/14.png) center center/571px
|
|
|
+ no-repeat;
|
|
|
}
|
|
|
&.item3 {
|
|
|
- background:url(../../assets/images/15.png)center center/571px no-repeat;
|
|
|
+ background: url(../../assets/images/15.png) center center/571px
|
|
|
+ no-repeat;
|
|
|
}
|
|
|
&.cur {
|
|
|
- width:571px;
|
|
|
+ width: 571px;
|
|
|
&:after {
|
|
|
- position:absolute;
|
|
|
- display:block;
|
|
|
- content:"";
|
|
|
- width:100%;
|
|
|
- height:100%;
|
|
|
- background:rgba(0,0,0,0.5);
|
|
|
+ position: absolute;
|
|
|
+ display: block;
|
|
|
+ content: "";
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: rgba(0, 0, 0, 0.5);
|
|
|
}
|
|
|
.Ztit {
|
|
|
- left:80px;
|
|
|
- z-index:2;
|
|
|
- &:after {
|
|
|
- content:"";
|
|
|
- display:inline-block;
|
|
|
- width:40px;
|
|
|
- height:40px;
|
|
|
- background:url(../../assets/images/btn.png)center/100% no-repeat;
|
|
|
- margin-top:22px;
|
|
|
+ left: 80px;
|
|
|
+ z-index: 2;
|
|
|
+ &:after {
|
|
|
+ content: "";
|
|
|
+ display: inline-block;
|
|
|
+ width: 40px;
|
|
|
+ height: 40px;
|
|
|
+ background: url(../../assets/images/btn.png) center/100% no-repeat;
|
|
|
+ margin-top: 22px;
|
|
|
}
|
|
|
}
|
|
|
.Etit {
|
|
|
- left:58px;
|
|
|
- z-index:2;
|
|
|
+ left: 58px;
|
|
|
+ z-index: 2;
|
|
|
}
|
|
|
}
|
|
|
.Ztit {
|
|
|
- position:absolute;
|
|
|
- left:56px;
|
|
|
- top:50px;
|
|
|
- font-size:40px;
|
|
|
- writing-mode:tb-rl;
|
|
|
- color:rgba(243, 238, 230, 1);
|
|
|
+ position: absolute;
|
|
|
+ left: 56px;
|
|
|
+ top: 50px;
|
|
|
+ font-size: 40px;
|
|
|
+ writing-mode: tb-rl;
|
|
|
+ color: rgba(243, 238, 230, 1);
|
|
|
transition: all 0.2s ease-in;
|
|
|
font-family: "Source Han Serif CN";
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
.Etit {
|
|
|
- position:absolute;
|
|
|
- top:54px;
|
|
|
- left:28px;
|
|
|
- color:rgba(243, 238, 230, 1);
|
|
|
- font-size:12px;
|
|
|
+ position: absolute;
|
|
|
+ top: 54px;
|
|
|
+ left: 28px;
|
|
|
+ color: rgba(243, 238, 230, 1);
|
|
|
+ font-size: 12px;
|
|
|
writing-mode: tb-rl;
|
|
|
transition: all 0.2s ease-in;
|
|
|
font-family: "Source Han Serif CN";
|