From 7cac9388142b85d5fb8f988516aba7507111824a Mon Sep 17 00:00:00 2001
From: gongfuxiang <2499232802@qq.com>
Date: Fri, 24 May 2019 01:07:53 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../index/view/default/goods/index.html | 2 +-
.../index/view/default/index/index.html | 2 +-
.../index/view/default/public/footer_nav.html | 4 ++--
.../index/view/default/user/index.html | 4 ++--
public/static/index/default/css/common.css | 13 +++--------
public/static/index/default/css/search.css | 22 +++----------------
public/static/index/default/js/search.js | 4 ++--
7 files changed, 14 insertions(+), 37 deletions(-)
diff --git a/application/index/view/default/goods/index.html b/application/index/view/default/goods/index.html
index 35d18bb15..1db1395c7 100755
--- a/application/index/view/default/goods/index.html
+++ b/application/index/view/default/goods/index.html
@@ -481,7 +481,7 @@
-
{{$v.title}}
+ {{$v.title}}
¥{{$v.price}}
diff --git a/application/index/view/default/index/index.html b/application/index/view/default/index/index.html
index e419d5498..6f0c9b6ce 100755
--- a/application/index/view/default/index/index.html
+++ b/application/index/view/default/index/index.html
@@ -178,7 +178,7 @@
-
+
¥{{$goods.min_price}}
diff --git a/application/index/view/default/public/footer_nav.html b/application/index/view/default/public/footer_nav.html
index be4ad4631..43c3d202e 100755
--- a/application/index/view/default/public/footer_nav.html
+++ b/application/index/view/default/public/footer_nav.html
@@ -39,10 +39,10 @@
{{if $k lt 4}}
-
+
{{if !empty($v['items'])}}
{{foreach $v.items as $vs}}
-
+
{{$vs.name}}
{{/foreach}}
diff --git a/application/index/view/default/user/index.html b/application/index/view/default/user/index.html
index 70095c1bf..32167e2ed 100755
--- a/application/index/view/default/user/index.html
+++ b/application/index/view/default/user/index.html
@@ -153,7 +153,7 @@
-
{{$goods.title}}
+
{{$goods.title}}
-
{{$order.add_time_time}}
@@ -212,7 +212,7 @@
-
{{$goods.title}}
+
{{$goods.title}}
-
¥{{$goods.price}}
diff --git a/public/static/index/default/css/common.css b/public/static/index/default/css/common.css
index f2cd76ce3..92a4eac11 100755
--- a/public/static/index/default/css/common.css
+++ b/public/static/index/default/css/common.css
@@ -247,16 +247,6 @@ color: #F5F5F2;font-size: 12px;cursor:pointer;border-radius:0px 0px; position: a
font-weight: bold;
}
-/* 文字自动隐藏 */
-.ellipsis {
- -o-text-overflow: ellipsis;
- text-overflow: ellipsis;
- overflow: hidden;
- white-space: nowrap;
- max-width: 100%;
- color: #666;
-}
-
/**
* 灰色文字标记
*/
@@ -297,6 +287,9 @@ color: #F5F5F2;font-size: 12px;cursor:pointer;border-radius:0px 0px; position: a
color: #e2e2e2;
margin-top:20px;
}
+.am-footer-default p.am-text-truncate {
+ line-height: 24px;
+}
.am-footer-default a {
font-size: 12px;
color: #b1b1b1;
diff --git a/public/static/index/default/css/search.css b/public/static/index/default/css/search.css
index 96b47cc1d..e01f43472 100755
--- a/public/static/index/default/css/search.css
+++ b/public/static/index/default/css/search.css
@@ -1,12 +1,5 @@
-ul, li, ol {list-style: none;}
-dl,dt,dd{ margin:0px auto; padding:0px;}
-[class*="am-u-"] {padding-left:0rem;padding-right:0rem;}
-.am-thumbnails {margin-left: 0rem;margin-right: 0rem;}
-.am-thumbnail {margin-bottom:0;}
-.am-thumbnails > li {padding: 0 0rem 0.2rem .2rem;}
-img{ max-width:100%;}
-.price{color: #e4393c;font-weight: 600;}
-
+.i-pic.limit img{ width:100%;}
+.i-pic.limit .price strong{ font-size: 14px; }
.theme-popover {z-index: 1011;overflow:visible;background:#fff; width: 100%; }
.sort-nav a:hover, .sort-nav a:focus { color: #d2364c; }
.select .title-tips { font-size: 12px; color: #888; }
@@ -64,7 +57,7 @@ dl#select3 .dd-conent{ left:-200%; right:0px;}
.am-pagination li{ float:none;}
.search-side{display: none;}
-.limit p.title,.i-pic.check p.title{padding:0px 5px;margin:5px 0px;overflow:hidden;height:18px;line-height:18px ;}
+.limit p.title,.i-pic.check p.title{padding:0px 5px;}
.search-pages-submit { margin: 10px 0; }
@media only screen and (min-width: 640px) {
@@ -103,15 +96,6 @@ dl#select3 .dd-conent{ left:-200%; right:0px;}
.scoll{ margin-top:70px;}
.am-slider-default .am-direction-nav a {z-index:0;}
span.am-icon-th-list{color:orangered;margin-right:1px ;}
-
- /*改写的布局*/
- .flood li{width:33.3%;float: left; text-align: center;}
- .smallnav img{max-width:60px;}
- .smallnav{ font-size:14px;}
-
- /*文字布局*/
- .limit p.title,.i-pic.check p.title{padding:0px 10px;overflow:hidden;height:36px;line-height:18px ;}
- .price.fl{font-size:16px ;}
}
@media only screen and (min-width:1025px) {
diff --git a/public/static/index/default/js/search.js b/public/static/index/default/js/search.js
index 2b860b552..bb20310a0 100755
--- a/public/static/index/default/js/search.js
+++ b/public/static/index/default/js/search.js
@@ -192,9 +192,9 @@ $(function()
html += '
';
html += '';
html += '';
- html += ''+result.data.data[i]['title']+'
';
+ html += ''+result.data.data[i]['title']+'
';
html += '';
- html += '¥'+result.data.data[i]['min_price']+'
';
+ html += '¥ '+result.data.data[i]['min_price']+'
';
html += '销量'+result.data.data[i]['sales_count']+'
';
html += '
';
--
GitLab