Merge branch 'release/1.0' of git.yoho.cn:fe/yoho-blk into release/1.0
Showing
8 changed files
with
27 additions
and
7 deletions
@@ -7,7 +7,7 @@ | @@ -7,7 +7,7 @@ | ||
7 | <h5>品牌介绍</h5> | 7 | <h5>品牌介绍</h5> |
8 | </div> | 8 | </div> |
9 | <div class="brand-info-content nano"> | 9 | <div class="brand-info-content nano"> |
10 | - <div class="nano-content">{{{info}}}</div> | 10 | + <div class="nano-content"><div class="width780">{{{info}}}</div></div> |
11 | </div> | 11 | </div> |
12 | </div> | 12 | </div> |
13 | </div> | 13 | </div> |
@@ -44,7 +44,8 @@ | @@ -44,7 +44,8 @@ | ||
44 | <span class="iconfont tools-icon icon-bag"></span> | 44 | <span class="iconfont tools-icon icon-bag"></span> |
45 | 购物袋 | 45 | 购物袋 |
46 | </a> | 46 | </a> |
47 | - <div class="mini-bag-box sub-wrapper bag-empty"> | 47 | + <div class="mini-bag-box-wrap"> |
48 | + <div class="mini-bag-box sub-wrapper"> | ||
48 | <div class="bag-goods"> | 49 | <div class="bag-goods"> |
49 | <div class="mini-goods-list-wrap nano"><div class="nano-content"><dl class="mini-goods-list"></dl></div></div> | 50 | <div class="mini-goods-list-wrap nano"><div class="nano-content"><dl class="mini-goods-list"></dl></div></div> |
50 | <div class="go-bag-btn"> | 51 | <div class="go-bag-btn"> |
@@ -59,6 +60,7 @@ | @@ -59,6 +60,7 @@ | ||
59 | </p> | 60 | </p> |
60 | </div> | 61 | </div> |
61 | </div> | 62 | </div> |
63 | + </div> | ||
62 | </li> | 64 | </li> |
63 | </ul> | 65 | </ul> |
64 | </div> | 66 | </div> |
@@ -47,6 +47,7 @@ function refreshBag() { | @@ -47,6 +47,7 @@ function refreshBag() { | ||
47 | return; | 47 | return; |
48 | } | 48 | } |
49 | this.time = time; | 49 | this.time = time; |
50 | + $('.tag-bag .sub-wrapper').hide(); | ||
50 | $.ajax({ | 51 | $.ajax({ |
51 | type: 'GET', | 52 | type: 'GET', |
52 | url: '/shopping/cart/data', | 53 | url: '/shopping/cart/data', |
@@ -64,6 +65,7 @@ function refreshBag() { | @@ -64,6 +65,7 @@ function refreshBag() { | ||
64 | $bagGoodsList.empty(); | 65 | $bagGoodsList.empty(); |
65 | $miniBag.addClass('bag-empty'); | 66 | $miniBag.addClass('bag-empty'); |
66 | } | 67 | } |
68 | + $('.tag-bag .sub-wrapper').show(); | ||
67 | $('.mini-goods-list-wrap.nano').nanoScroller({disableResize: true}); | 69 | $('.mini-goods-list-wrap.nano').nanoScroller({disableResize: true}); |
68 | } | 70 | } |
69 | } | 71 | } |
@@ -290,6 +290,10 @@ $(function() { | @@ -290,6 +290,10 @@ $(function() { | ||
290 | 290 | ||
291 | $('.set').hide(); | 291 | $('.set').hide(); |
292 | $(this).find('.set').css('display', 'inline-block'); | 292 | $(this).find('.set').css('display', 'inline-block'); |
293 | + }); | ||
293 | 294 | ||
295 | + $('.table-body').on('mouseout',function(){ | ||
296 | + var tmpset=$(this).find('.set'); | ||
297 | + if(tmpset.css('display')== 'inline-block')tmpset.hide(); | ||
294 | }); | 298 | }); |
295 | }); | 299 | }); |
@@ -86,11 +86,15 @@ | @@ -86,11 +86,15 @@ | ||
86 | color: #9a9a9a; | 86 | color: #9a9a9a; |
87 | } | 87 | } |
88 | 88 | ||
89 | - &:hover .sub-wrapper { | 89 | + &:hover .mini-bag-box-wrap { |
90 | display: block; | 90 | display: block; |
91 | } | 91 | } |
92 | } | 92 | } |
93 | 93 | ||
94 | + .mini-bag-box-wrap{ | ||
95 | + display: none; | ||
96 | + } | ||
97 | + | ||
94 | .tools-icon { | 98 | .tools-icon { |
95 | width: 20px; | 99 | width: 20px; |
96 | height: 20px; | 100 | height: 20px; |
@@ -117,6 +117,9 @@ | @@ -117,6 +117,9 @@ | ||
117 | 117 | ||
118 | .table-body { | 118 | .table-body { |
119 | height: 53px; | 119 | height: 53px; |
120 | + &:hover{ | ||
121 | + background-color: #eee; | ||
122 | + } | ||
120 | } | 123 | } |
121 | 124 | ||
122 | .table-body td { | 125 | .table-body td { |
@@ -124,22 +127,22 @@ | @@ -124,22 +127,22 @@ | ||
124 | } | 127 | } |
125 | 128 | ||
126 | .width-name { | 129 | .width-name { |
127 | - width: 70px; | 130 | + width: 80px; |
128 | word-break: break-all; | 131 | word-break: break-all; |
129 | } | 132 | } |
130 | 133 | ||
131 | .width-address { | 134 | .width-address { |
132 | - width: 165px; | 135 | + width: 175px; |
133 | word-break: break-all; | 136 | word-break: break-all; |
134 | } | 137 | } |
135 | 138 | ||
136 | .width-fulladdress { | 139 | .width-fulladdress { |
137 | - width: 260px; | 140 | + width: 270px; |
138 | word-break: break-all; | 141 | word-break: break-all; |
139 | } | 142 | } |
140 | 143 | ||
141 | .width-mobile { | 144 | .width-mobile { |
142 | - width: 120px; | 145 | + width: 140px; |
143 | 146 | ||
144 | p:first-child { | 147 | p:first-child { |
145 | margin-bottom: 5px; | 148 | margin-bottom: 5px; |
-
Please register or login to post a comment