diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index a8bc8c3..36047b0 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -3,12 +3,14 @@ - - - - - - + + + + + + + +
@@ -50,23 +52,23 @@ - + - + - + - + @@ -125,14 +127,14 @@ --> - + 新书上市 - + @@ -727,23 +729,23 @@ .ProTabs{ // margin: 20rpx 0; padding:0 20rpx; - text{padding: 12rpx 14rpx; font-size: 32rpx; border-radius: 10rpx; overflow: hidden; + text{padding: 8rpx 14rpx; font-size: 32rpx; display: inline-block; border-radius: 10rpx; overflow: hidden; // background-color: #eee; color: #55aa7f; margin-right: 10rpx;} text.cur{background-color:#55aa7f ; color: #fff;} } - .newBook{margin-top: 20rpx;} + // .newBook{margin-top: 10rpx;} .scroll-view_H{background-color: #fff;white-space: nowrap; - padding:10rpx ; } + padding:10rpx ; margin-top: 12rpx;} .scroll-view_H{ - .item { padding: 10rpx; overflow: hidden; display: inline-block; + .item { padding: 10rpx; overflow: hidden; display: inline-block; padding-bottom: 0; width: 180rpx !important; margin-right: 20rpx; border-radius: 10rpx; .videoBox{ image{display: block; width:150rpx; height: 170rpx; } } - .bookName{display: block; margin-top: 20rpx; color: #666; font-size: 24rpx; white-space: nowrap; + .bookName{display: block; margin-top: 6rpx; color: #666; font-size: 24rpx; white-space: nowrap; overflow-x: hidden; overflow: hidden; text-overflow: ellipsis;} } @@ -751,7 +753,8 @@ } .flexbox{display: flex;} .head_line { - margin: 20rpx 0 0 0; + padding-top: 8rpx; + margin: 12rpx 0 0 0; b { @@ -793,8 +796,8 @@ image{width: 150rpx; height: 80rpx;} } .icon_hua{width: 100%; text-align: center; display: block; - image{width: 150rpx; height: 150rpx; margin: 0 auto;} - } + image{width: 150rpx; height: 150rpx; margin: 0 auto;} + } .search_box { margin: 0 auto; margin-top: 20rpx; align-items: center; width: calc(100% - 30rpx); margin-top: 0; margin-bottom: 20rpx; @@ -828,8 +831,10 @@ font-size: 30rpx; color: #fff; } } - .home_nar { - margin: 10rpx 20rpx; justify-content: space-between; + .home_nar { + background-color: #fff; + padding: 20rpx 30rpx; + justify-content: space-between; display: flex; color: #333; margin-bottom: 0; @@ -839,18 +844,18 @@ // .chaoshi{background-color:#fff2d8 ; border: 2px solid #ede6d3; } // .shuping{ background-color: #d6ffda; border: 2px solid #bae9bf;} // .shuguan{ background-color:#e3f9f9 ; border: 2px solid #d7eced; } - .hn_cl_tit { padding-bottom: 10rpx; + .hn_cl_tit { // width: 23%; width: 31%; text-align: center; - border-radius: 20rpx ; padding-top: 10rpx; + border-radius: 20rpx ; // line-height: 110upx; //display: flex; align-content: center; justify-content: center; image { - width:90%; - height:156rpx; + width:120rpx; + height:120rpx; display: block; margin: 0 auto; // margin: 0 20rpx; @@ -1119,13 +1124,13 @@ .goods { width: 100%; - margin:18rpx 0 50rpx 0; + margin:0 0 50rpx 0; background-color: #fff; .goodsItem { display: inline-block; width: 46%; border-radius: 20rpx; - padding: 25rpx 25rpx 20rpx 25rpx; + padding: 25rpx; padding-bottom: 5rpx; margin: 0 20rpx 20rpx 20rpx; background-color: #fff; border: 1px solid #eee; @@ -1140,12 +1145,12 @@ .goodsName { margin-top: 10rpx; - font-size: 30rpx; + font-size: 28rpx; // font-weight: bold; } .goodsPrice { - font-size: 30rpx; + font-size: 28rpx; margin: 5rpx 0 0 3rpx; display: flex; justify-content: space-between; .price{ diff --git a/static/icon/five3.png b/static/icon/five3.png index 599015a..c81abea 100644 Binary files a/static/icon/five3.png and b/static/icon/five3.png differ diff --git a/static/icon/hehanandLogo.png b/static/icon/hehanandLogo.png new file mode 100644 index 0000000..64f4e07 Binary files /dev/null and b/static/icon/hehanandLogo.png differ diff --git a/static/icon/home1-1.png b/static/icon/home1-1.png new file mode 100644 index 0000000..28a4e22 Binary files /dev/null and b/static/icon/home1-1.png differ diff --git a/static/icon/home1.png b/static/icon/home1.png index 22f43e3..3b1d456 100644 Binary files a/static/icon/home1.png and b/static/icon/home1.png differ diff --git a/static/icon/home2-1.png b/static/icon/home2-1.png new file mode 100644 index 0000000..1fb72ce Binary files /dev/null and b/static/icon/home2-1.png differ diff --git a/static/icon/home2.png b/static/icon/home2.png index 2a76cfb..6b1e174 100644 Binary files a/static/icon/home2.png and b/static/icon/home2.png differ diff --git a/static/icon/home3-1.png b/static/icon/home3-1.png new file mode 100644 index 0000000..941c097 Binary files /dev/null and b/static/icon/home3-1.png differ diff --git a/static/icon/home3.png b/static/icon/home3.png index 5fbe137..90179b9 100644 Binary files a/static/icon/home3.png and b/static/icon/home3.png differ diff --git a/static/icon/home4-1.png b/static/icon/home4-1.png new file mode 100644 index 0000000..2807fde Binary files /dev/null and b/static/icon/home4-1.png differ diff --git a/static/icon/home4.png b/static/icon/home4.png index a79b43f..dc6ba64 100644 Binary files a/static/icon/home4.png and b/static/icon/home4.png differ