Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bbdev #11

Open
wants to merge 2 commits into
base: jjdev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<link href="https://fonts.googleapis.com/css?family=Black+Ops+One|Bungee+Inline|Leckerli+One" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>test</title>
<link rel="shortcut icon" type="image/x-icon" href="static/img/favicon.ico" rel="external nofollow" />
<title>Darker - 提供在线弹幕服务</title>
</head>

<body>
Expand Down
9 changes: 7 additions & 2 deletions src/components/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@
</div>
<div class="hotImgBox">
<div class="hotImgInBox">
<div class="hotImgNow" @click="jmpNowBangumi" :style="{'margin-left':hotImgNowLoc,width:imgWidth}"></div>
<img v-for="(url,index) in bgImgUrl" :src="url.imageUrl" :style="[{width:imgWidth}]" @click="jmpToBangumi(url)" class="hotImgItemBox" @mouseover="userChangeHotImgNow(index)" :key="url.bangumiId">
<div class="hotImgNow" @click="jmpNowBangumi" @mouseover="showImgTitle=true" @mouseout="showImgTitle=false" :style="{'margin-left':hotImgNowLoc,width:imgWidth}"></div>
<div v-for="(url,index) in bgImgUrl" :style="[{width:imgWidth}]" @click="jmpToBangumi(url)" class="hotImgItemBox" @mouseover="userChangeHotImgNow(index)" :key="url.bangumiId">
<el-tooltip :content="url.title" placement="bottom" effect="dark" manual="false" :value="(showImgTitle&&bgImgIndex==index)||bgImgIndex==index">
<img :src="url.imageUrl" style="height:97px;width:100%">
</el-tooltip>
</div>
</div>
</div>
<div class="indexFooter">
Expand Down Expand Up @@ -79,6 +83,7 @@ export default {
infoText:'用爱发电',
welcome:'Welcome to darker!!',
online:'',
showImgTitle:false,
//welcome:'Welcome to dark!!'
// notice: "",
// showNotice: false,
Expand Down