Commit 44081519 authored by jsz315's avatar jsz315

修改样式

parent 5ac4d625
...@@ -82,9 +82,11 @@ ...@@ -82,9 +82,11 @@
"webpack-merge": "^4.1.3" "webpack-merge": "^4.1.3"
}, },
"dependencies": { "dependencies": {
"axios": "^0.18.0",
"less": "^2.7.3", "less": "^2.7.3",
"lodash": "^4.17.10", "lodash": "^4.17.10",
"promise-polyfill": "^8.0.0", "promise-polyfill": "^8.1.0",
"qs": "^6.7.0",
"typescript": "^2.9.2", "typescript": "^2.9.2",
"vconsole": "^3.1.0", "vconsole": "^3.1.0",
"vue": "^2.5.16", "vue": "^2.5.16",
......
...@@ -25,6 +25,7 @@ console.log("HTTP = " + HTTP); ...@@ -25,6 +25,7 @@ console.log("HTTP = " + HTTP);
console.log("MOCK = " + MOCK); console.log("MOCK = " + MOCK);
console.log("PROXY = " + PROXY); console.log("PROXY = " + PROXY);
// 添加json后缀
function insertExt(url){ function insertExt(url){
var list = url.split("?"); var list = url.split("?");
if(list.length == 1){ if(list.length == 1){
......
...@@ -11,6 +11,14 @@ ...@@ -11,6 +11,14 @@
// background: #fff; // background: #fff;
// padding-top: 30px; // padding-top: 30px;
// } // }
.nocolor{
display: block;
&:active{
.f-shadow{
background: #f7f7f7;
}
}
}
.home.nocolor{ .home.nocolor{
// box-shadow: none; // box-shadow: none;
margin-top: 96px; margin-top: 96px;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<!-- <div class="tip">{{tip}}</div> --> <!-- <div class="tip">{{tip}}</div> -->
<section class="today-news"> <section class="today-news">
<div class="title">今日早报</div> <div class="title">今日早报</div>
<div class="home nocolor" @click="showToday"> <a class="home nocolor" @click="showToday">
<div class="f-shadow"> <div class="f-shadow">
<div class="bar"> <div class="bar">
<div class="pic" :style="{'background-image': 'url(' + src + ')'}" ></div> <div class="pic" :style="{'background-image': 'url(' + src + ')'}" ></div>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<div class="tip2"><div class="nums">2</div>{{subTitle2}}</div> <div class="tip2"><div class="nums">2</div>{{subTitle2}}</div>
<div class="go-more"></div> <div class="go-more"></div>
</div> </div>
</div> </a>
</section> </section>
<section class="activity home"> <section class="activity home">
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
font-size: 36px; font-size: 36px;
color: #E21C2E; color: #E21C2E;
padding-left: 24px; padding-left: 24px;
margin: 60px 40px; margin: 40px 40px 20px;
position: relative; position: relative;
font-weight: 600; font-weight: 600;
&::after{ &::after{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment