mirror of
https://github.com/wu736139669/vczero.github.io.git
synced 2026-08-05 06:23:38 +00:00
grunt css for test
This commit is contained in:
+10
-1
@@ -26,11 +26,20 @@ module.exports = function(grunt){
|
||||
src: './build/main.js',
|
||||
dest: './build/main.min.js'
|
||||
}
|
||||
},
|
||||
|
||||
cssmin:{
|
||||
css: {
|
||||
src:'./css/main.css',
|
||||
dest:'./css/main.min.css'
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-concat');
|
||||
grunt.loadNpmTasks('grunt-css');
|
||||
grunt.registerTask('default', ['concat', 'uglify', 'cssmin']);
|
||||
|
||||
grunt.registerTask('default', ['concat', 'uglify']);
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
爱搜索 爱生活
|
||||
======
|
||||
网址:[点击](http://vczero.github.io/t/html/index.html#/)
|
||||
网址:[点击](http://vczero.github.io/search/html/index.html#/)
|
||||
|
||||
+ 图书
|
||||
+ 音乐
|
||||
|
||||
@@ -211,7 +211,6 @@ app.factory('movieList', ['$rootScope', '$http', 'ServiceConfig', function($root
|
||||
if(data.subjects && data.subjects.length) {
|
||||
$rootScope.movieList = data.subjects;
|
||||
}
|
||||
console.log(data.subjects);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -0,0 +1 @@
|
||||
body{width:100%;background-color:#FAFBFB;font-family:"微软雅黑";min-width:308px}input{-webkit-appearance:none;outline:0;border-radius:0;-webkit-tap-highlight-color:rgba(255,255,255,0)}div{-webkit-tap-highlight-color:rgba(255,255,255,0)}a{color:#525252;-webkit-tap-highlight-color:rgba(255,255,255,0)}header{position:fixed;z-index:20;height:65px;top:0;left:0;right:0;background-color:#FAFBFB;border-bottom:1px solid #CCC}header div:nth-child(1){position:absolute;top:10px;left:3px;right:50px;height:40px}#search_input{padding-left:5px;height:36px;width:100%;border:1px solid #DDD;outline:0;outline-style:none;font-size:15px;font-family:georgia,"微软雅黑";-webkit-tap-highlight-color:rgba(255,255,255,0);box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}header div:nth-child(2){position:absolute;top:10px;right:3px;width:50px;height:40px}#search_btn{width:50px;height:36px;line-height:36px;text-align:center;background-color:#0091FF;border-left:0;border:1px solid #0091FF;cursor:pointer;outline:0;font-size:15px;color:#FFF}footer{position:fixed;bottom:0;left:0;right:0;height:40px;line-height:40px;text-align:center;color:#FFF;border-top:1px solid #DDD8CE;background-color:#000}footer a{cursor:pointer;color:#FFF}footer a:nth-child(1){width:33%;float:left}footer a:nth-child(2){width:33%;float:left}footer a:nth-child(3){width:33%;float:right}section{position:absolute;top:64px;right:5px;left:5px;border-top:1px solid #CCC;font-size:12px}.list_item{margin-top:5px;height:150px;border-bottom:1px solid #E6E6E6;background-color:#FFF;min-width:290px}section .list_item:last-child{border-bottom:0}.list_img{width:104px;height:144px;text-align:center}.list_content{width:130px;height:144px}.list_other{width:50px;height:144px;color:#8F8F8F}.list_bookname{font-size:14px;line-height:20px;margin-left:10px;width:120px;height:40px}.list_author{color:#666;margin-left:10px;line-height:17px;height:51px;width:120px}.overflow{overflow:hidden;text-overflow:ellipsis}.fl{float:left}.fr{float:right}.list_bookprice{margin-top:20px;margin-left:5px;color:#2BB2A3}.list_price_num{font-size:25px}.list_other span{position:relative;top:120px}.list_bookname_a{height:150px;display:block}#loading{position:absolute;top:170px;left:150px;z-index:2}#book_detail_info{width:100%;min-height:164px;font-size:14px;background-color:#FFF;min-width:308px;border-bottom:1px dashed #CCC}.book_detail_pic{margin-top:5px;margin-left:5px;width:104px;height:144px}.book_detail_title{color:#0091FF;margin-left:10px;line-height:23px}.book_detail_sum{background-color:#FFF;margin-top:10px;font-size:14px;border-bottom:1px dashed #CCC}.book_detail_sum div{border:1px solid #2BB2A3;border-radius:2px;color:#2BB2A3;width:80px;height:30px;text-align:center;line-height:30px}.book_detail_t_w{max-width:120px;height:23px;line-height:33px;display:inline-block}.music_list_item{margin-top:10px;height:160px;width:100%;min-width:300px;border:1px solid #E6E6E6;background-color:#FFF;font-size:14px}.music_list_circle{width:80px;height:80px}.music_list_circle_img{border-radius:40px}.mlra{margin-left:auto;margin-right:auto}.music_list_mt8{margin-top:8px}.music_list_title{color:#072}.music_list_left_part{margin-left:5px}.music_list_part{width:150px}.white_space{white-space:nowrap}.music_list_tw{width:110px}.music_list_part span{margin-left:2px;float:left}.music_list_text_h{height:40px}.music_list_qudou{width:60px;height:24px;border-radius:2px;text-align:center;line-height:24px;margin-top:3px;background-color:#66BA9C;color:#FFF}.music_list_qudou a{color:#FFF;text-decoration:none}.douban_music{font-size:18px;margin-left:5px;color:#66BA9C;margin-top:5px}.movie_list_item{font-size:13px;margin-top:10px;background-color:#FFF;border:1px solid #E6E6E6;height:140px;width:100%;min-width:300px}.movie_list_wh{margin-top:5px;margin-left:5px;max-height:130px}.movie_list_title{margin-left:5px;color:#0091FF}.movie_title_div{margin-top:8px;width:190px}.movie_score{color:#CA1010}.movie_cast_name{width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.movie_qudouban{border:1px solid #0091FF;height:23px;line-height:23px;width:60px;border-radius:2px;text-align:center;margin-top:12px;margin-left:5px;cursor:pointer}.movie_qudouban a{text-decoration:none;color:#000}@media (max-height:350px){footer{display:none}}
|
||||
@@ -7,7 +7,7 @@
|
||||
<meta name="apple-touch-full-screen" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<title>爱搜索 爱生活</title>
|
||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/main.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div ui-view="header"></div>
|
||||
|
||||
@@ -11,7 +11,6 @@ app.factory('movieList', ['$rootScope', '$http', 'ServiceConfig', function($root
|
||||
if(data.subjects && data.subjects.length) {
|
||||
$rootScope.movieList = data.subjects;
|
||||
}
|
||||
console.log(data.subjects);
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
+2
-1
@@ -4,6 +4,7 @@
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.5",
|
||||
"grunt-contrib-uglify": "~0.6.0",
|
||||
"grunt-contrib-concat": "~0.5.0"
|
||||
"grunt-contrib-concat": "~0.5.0",
|
||||
"grunt-css": "^0.5.4"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user