Skip to content

Commit

Permalink
生化危机2销售页PC版完成
Browse files Browse the repository at this point in the history
  • Loading branch information
njuwuyuxin authored and wuyuxin committed May 27, 2019
1 parent 6e66eea commit 84025ac
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 2 deletions.
148 changes: 148 additions & 0 deletions src/components/RE2sale.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
<template>
<div class="sale">
<img src="https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/sale_pc_part1.jpg" class="pic">
<div class="version">
<div class="standard">
<div class="introBox">
<div class="type">普通版</div>
<div class="intro">
<div class="price-left">¥185</div>
<div class="price-right">
<div class="del">原价¥325</div>
<div>非社员价¥195</div>
</div>
</div>
<a href="https://2.taobao.com/item.htm?spm=2007.1000337.16.4.444e675ev4Xex5&id=586769026316" target="_blank"><img src="https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/cart.png"class="buy"></a>
</div>
</div>
<div class="deluxe">
<div class="introBox">
<div class="type">豪华版</div>
<div class="intro">
<div class="price-left">¥215</div>
<div class="price-right">
<div class="del">原价¥378</div>
<div>非社员价¥225</div>
</div>
</div>
<a href="https://2.taobao.com/item.htm?spm=2007.1000338.6.3.e75d6235I9Tu2F&id=586637493135" target="_blank"><img src="https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/cart.png"class="buy"></a>
</div>
</div>
</div>
<div class="info">
<p>注意事项</p>
<p>1、标准版仅包含游戏、豪华版除游戏本体外还包含2套里昂服装、3套克莱尔服装、原版配乐替换、豪华武器“武士之刃——艾伯特型”。</p>
<p>2、本激活码仅限中国大陆IP用户激活下载运行,先确认收货才会发码,一旦发码概不退款、介意者勿购。</p>
<p>3、南大电竞社社员购买前请通过“聊一聊”提供学号和姓名,核实后会降价10元。</p>
</div>
</div>

</template>

<script>
export default {
name: 'RE2sale',
data () {
return {
}
}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
*{
margin:0;
padding: 0;
}
.sale{
background-color: #000;
}
.pic{
width: 100%;
}
.version{
padding-top: 100px;
width: 1650px;
height: 700px;
position: relative;
left: 50%;
margin-left: -825px;
overflow: hidden;
}
.type{
position: absolute;
color: #fff;
line-height: 80px;
margin-left: 80px;
font-size: 28px;
}
.standard{
width: 773px;
height: 509px;
background-image: url(https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/standard.jpg);
float: left;
}
.standard:hover{
width: 769px;
height: 505px;
/*padding-left: -3px;*/
/*padding-top: -2px;*/
background-position: center center;
border:solid #f40 2px;
}
.deluxe{
width: 771px;
height: 509px;
background-image: url(https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/deluxe.jpg);
float: left;
margin-left: 100px;
}
.deluxe:hover{
width: 767px;
height: 505px;
background-position: center center;
border:solid #f40 2px;
}
.introBox{
height: 80px;
}
.intro{
color: #fff;
/*text-align: center;*/
font-size: 26px;
width: 276px;
margin-top: 428px;
/*padding-top: 428px;*/
position: relative;
left: 50%;
margin-left: -138px;
}
.del{
text-decoration: line-through;
}
.price-left{
font-size: 60px;
width: 150px;
float: left;
}
.price-right{
margin-top: 15px;
font-size: 20px;
float: right;
height: 64px;
float: left;
}
.buy{
height: 76px;
float: right;
margin-right: 80px;
}
.info{
font-size: 22px;
color: #fff;
text-align: center;
padding-bottom: 200px;
}
</style>
3 changes: 2 additions & 1 deletion src/components/utils/ActCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
</template>

<script>
export default {
name: 'ActCard',
data () {
Expand All @@ -23,7 +24,7 @@ export default {
},
props:{
ActInfo:Object,
}
},
}
</script>

Expand Down
9 changes: 8 additions & 1 deletion src/components/utils/SlideImg.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<slideritem v-for="(item,index) in someList" :key="index" :style="item.style" v-html="item.html"></slideritem>
<!-- 设置loading,可自定义 -->
<!-- <div slot="loading">loading...</div> -->
<div slot="loading"><a href="https://njuesport.club/GameSalon3rd" target="_blank"><img src="https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/banner/banner_salon20181216.jpg"></a></div>
<div slot="loading"><a href="https://njuesport.club/Sale" target="_blank"><img src="https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/banner_re2sale.jpg"></a></div>
</slider>
</div>
</template>
Expand Down Expand Up @@ -46,6 +46,13 @@ export default {
let that = this
setTimeout(function () {
that.someList = [
{
html: '',
style: {
'background':'url(https://image-1253276483.cos.ap-shanghai.myqcloud.com/image/RE2sale/pc/banner_re2sale.jpg)'
},
href:"https://njuesport.club/Sale"
},
{
html: '',
style: {
Expand Down
2 changes: 2 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Partner from'./components/Partner'
import Contact from'./components/Contact'
import Salon3 from'./components/GameSalon3rd'
import VideoTest from'./components/VideoTest'
import RE2sale from'./components/RE2sale'
import axios from "axios";

Vue.prototype.$axios = axios;
Expand All @@ -27,6 +28,7 @@ const router=new VueRouter({
{path:"/Contact",component:Contact},
{path:"/GameSalon3rd",component:Salon3},
{path:"/VideoTest",component:VideoTest},
{path:"/Sale",component:RE2sale},
],
mode:"history"
})
Expand Down

0 comments on commit 84025ac

Please sign in to comment.