From 6591a7c42ba1fd5e1063a2581b7105189207470e Mon Sep 17 00:00:00 2001 From: gongfuxiang <2499232802@qq.com> Date: Sat, 6 Apr 2019 22:53:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=8E=92=E7=89=88=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/index/controller/Search.php | 2 +- .../index/view/default/index/index.html | 46 +++-- application/service/GoodsService.php | 2 +- config/shopxo.sql | 44 ++-- public/static/index/default/css/index.css | 194 ++++++++---------- 5 files changed, 131 insertions(+), 157 deletions(-) diff --git a/application/index/controller/Search.php b/application/index/controller/Search.php index 12bb426cd..611cf51b4 100755 --- a/application/index/controller/Search.php +++ b/application/index/controller/Search.php @@ -102,7 +102,7 @@ class Search extends Common { // 获取商品列表 $ret = SearchService::GoodsList($this->params); - if(empty($ret['data'])) + if(empty($ret['data']['data'])) { $msg = '没有相关数据'; $code = -100; diff --git a/application/index/view/default/index/index.html b/application/index/view/default/index/index.html index 56cf412e4..4f167bab4 100755 --- a/application/index/view/default/index/index.html +++ b/application/index/view/default/index/index.html @@ -149,8 +149,8 @@ -
-
+
+
{{if !empty($floor['items'])}} {{foreach $floor.items as $category_key=>$category}} @@ -164,32 +164,34 @@ {{/foreach}} {{/if}}
- -
-
{{$floor.describe}}
-
- {{if !empty($floor['big_images'])}} +
+
{{$floor.describe}}
+
+ {{if !empty($floor['big_images'])}} +
- {{/if}} - + + {{/if}}
- {{if !empty($floor['goods'])}} - {{foreach $floor.goods as $goods_key=>$goods}} -
-
-
- {{$goods.title}} +
+ {{if !empty($floor['goods'])}} + {{foreach $floor.goods as $goods_key=>$goods}} +
+ + {{$goods.title}} + +
+ +
¥{{$goods.min_price}}
-
¥{{$goods.min_price}}
- - - -
- {{/foreach}} - {{/if}} + {{/foreach}} + {{/if}} +
{{/if}} diff --git a/application/service/GoodsService.php b/application/service/GoodsService.php index 76d38bf62..02089e6b0 100755 --- a/application/service/GoodsService.php +++ b/application/service/GoodsService.php @@ -186,7 +186,7 @@ class GoodsService foreach($goods_category as &$v) { $category_ids = self::GoodsCategoryItemsIds([$v['id']], 1); - $goods = self::CategoryGoodsList(['where'=>['gci.category_id'=>$category_ids, 'is_home_recommended'=>1], 'm'=>0, 'n'=>6, 'field'=>'g.id,g.title,g.title_color,g.images,g.home_recommended_images,g.original_price,g.price,g.min_price,g.max_price,g.inventory,g.buy_min_number,g.buy_max_number']); + $goods = self::CategoryGoodsList(['where'=>['gci.category_id'=>$category_ids, 'is_home_recommended'=>1], 'm'=>0, 'n'=>8, 'field'=>'g.id,g.title,g.title_color,g.images,g.home_recommended_images,g.original_price,g.price,g.min_price,g.max_price,g.inventory,g.buy_min_number,g.buy_max_number']); $v['goods'] = $goods['data']; } } diff --git a/config/shopxo.sql b/config/shopxo.sql index e78d879e5..440ee0565 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -1,20 +1,18 @@ /* - Navicat Premium Data Transfer + Navicat MySQL Data Transfer Source Server : 本机 - Source Server Type : MySQL - Source Server Version : 50722 + Source Server Version : 50716 Source Host : localhost - Source Database : shopxo_test + Source Database : shopxo_ttt - Target Server Type : MySQL - Target Server Version : 50722 + Target Server Version : 50716 File Encoding : utf-8 - Date: 04/04/2019 12:54:21 PM + Date: 04/06/2019 22:51:53 PM */ -SET NAMES utf8mb4; +SET NAMES utf8; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- @@ -231,7 +229,7 @@ CREATE TABLE `s_cart` ( KEY `goods_id` (`goods_id`), KEY `title` (`title`), KEY `stock` (`stock`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='购物车'; +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='购物车'; -- ---------------------------- -- Records of `s_cart` @@ -365,7 +363,7 @@ CREATE TABLE `s_goods` ( -- Records of `s_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


', '2', '0', '25', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1549959519'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1701', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '


', '2', '0', '81', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1547458880'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


', '2', '0', '5', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '


', '2', '0', '62', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '


', '2', '1', '207', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '319', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '

 X5L/SL/V/M (5.0寸)  X5max钢化膜(5.5寸)  X5pro钢化膜(5.2寸) 



', '2', '0', '72', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '320', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


', '2', '0', '7', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1547540607'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '


', '2', '0', '16', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1547454269'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '


', '3', '0', '97', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1553156060'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '36', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '

【品牌】欧单 学媛风 猫咪良品

【吊牌】xueyuanfeng 猫咪良品

【面料质地】涤棉拼接蕾丝  后中拉链 有内衬(非专业机构鉴定,介意请慎拍)

好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦

【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦


XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM


S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM

M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM

L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM


(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~

蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~


', '2', '0', '68', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1547455375'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665656', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '268.00', '268.00', '258.00', '258.00', '258.00', '1', '1', '0', '1', '1', '1', '

【品牌】欧单 学媛风 猫咪良品

【吊牌】xueyuanfeng 猫咪良品

【面料质地】网纱绣花钉珠拼接蕾丝 拉链有内衬(非专业机构鉴定,介意请慎拍)

好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦

【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦


XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM


S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM

M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM

L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM


(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~

大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~

肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~



', '4', '0', '63', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1553678793'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '244', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '

\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '0', '256', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1552467444'); +INSERT INTO `s_goods` VALUES ('1', '1', 'MIUI/小米 小米手机4 小米4代 MI4智能4G手机包邮 黑色 D-LTE(4G)/TD-SCD', '', '', '0', '125', '步', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '3200.00', '3200.00', '3200.00', '2100.00', '2100.00', '2100.00', '10', '1', '0', '1', '1', '1', '


', '2', '0', '27', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1554556830'), ('2', '2', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1701', '步', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '6000.00-7600.00', '6000.00', '7600.00', '4500.00-6800.00', '4500.00', '6800.00', '30', '1', '0', '1', '1', '1', '


', '2', '0', '85', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1554555460'), ('3', '2', 'Samsung/三星 SM-G8508S GALAXY Alpha四核智能手机 新品 闪耀白', '', '', '0', '235', '步', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '6866.00', '6866.00', '6866.00', '3888.00', '3888.00', '3888.00', '20', '1', '0', '1', '1', '1', '


', '2', '0', '5', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '1', 'Huawei/华为 H60-L01 荣耀6 移动4G版智能手机 安卓', '', '', '0', '537', '步', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '2300.00', '2300.00', '2300.00', '1999.00', '1999.00', '1999.00', '19', '1', '0', '1', '1', '1', '


', '2', '0', '62', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '2', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '435', '步', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '3200.00', '3200.00', '3200.00', '2499.00', '2499.00', '2499.00', '56', '1', '0', '1', '1', '1', '


', '2', '1', '207', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '1', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '319', '步', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '3200.00', '3200.00', '3200.00', '2998.90', '2998.90', '2998.90', '65', '1', '0', '1', '1', '1', '

 X5L/SL/V/M (5.0寸)  X5max钢化膜(5.5寸)  X5pro钢化膜(5.2寸) 



', '2', '0', '72', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '1', '纽芝兰包包女士2018新款潮百搭韩版时尚单肩斜挎包少女小挎包链条', '', '', '0', '320', '件', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '760.00', '760.00', '760.00', '168.00', '168.00', '168.00', '11', '1', '0', '1', '1', '1', '


', '2', '0', '7', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1554485498'), ('8', '1', 'MARNI Trunk 女士 中号拼色十字纹小牛皮 斜挎风琴包', '', '', '0', '35', '件', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '672.00', '672.00', '672.00', '356.00', '356.00', '356.00', '8', '1', '0', '1', '1', '1', '


', '2', '0', '16', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1554485486'), ('9', '2', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '596', '件', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '160.00-216.00', '160.00', '216.00', '120.00-158.00', '120.00', '158.00', '2', '1', '0', '1', '1', '1', '


', '3', '0', '101', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1554555420'), ('10', '0', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '0', '36', '件', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '568.00', '568.00', '568.00', '228.00', '228.00', '228.00', '28', '1', '0', '1', '1', '1', '

【品牌】欧单 学媛风 猫咪良品

【吊牌】xueyuanfeng 猫咪良品

【面料质地】涤棉拼接蕾丝  后中拉链 有内衬(非专业机构鉴定,介意请慎拍)

好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦

【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦


XS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM


S码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM

M码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM

L码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM


(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

PS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~

蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~


', '2', '0', '69', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1554555406'), ('11', '0', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '36665656', '件', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '268.00', '268.00', '268.00', '258.00', '258.00', '258.00', '1', '1', '0', '1', '1', '1', '

【品牌】欧单 学媛风 猫咪良品

【吊牌】xueyuanfeng 猫咪良品

【面料质地】网纱绣花钉珠拼接蕾丝 拉链有内衬(非专业机构鉴定,介意请慎拍)

好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~

【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦

【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦


XS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM


S码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM

M码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM

L码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM


(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)

PS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~

大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~

肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~



', '4', '0', '64', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1554555398'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '244', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '0.01-128.00', '0.01', '128.00', '3', '1', '0', '1', '1', '1', '

\"d-1.jpg\"/

\"d-2.jpg\"/

', '3', '0', '259', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1554555389'); COMMIT; -- ---------------------------- @@ -425,13 +423,13 @@ CREATE TABLE `s_goods_category_join` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `category_id` (`category_id`) -) ENGINE=InnoDB AUTO_INCREMENT=64 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品分类关联'; +) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品分类关联'; -- ---------------------------- -- Records of `s_goods_category_join` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_category_join` VALUES ('6', '3', '68', '1547452007'), ('7', '3', '69', '1547452007'), ('8', '4', '68', '1547452553'), ('9', '4', '69', '1547452553'), ('10', '5', '68', '1547452798'), ('11', '5', '69', '1547452798'), ('14', '6', '68', '1547453157'), ('15', '6', '69', '1547453157'), ('18', '8', '195', '1547454269'), ('19', '8', '198', '1547454269'), ('22', '10', '304', '1547455375'), ('23', '10', '318', '1547455375'), ('24', '10', '446', '1547455375'), ('29', '2', '68', '1547458880'), ('30', '2', '69', '1547458880'), ('37', '1', '68', '1547485917'), ('42', '7', '194', '1547540607'), ('43', '7', '196', '1547540607'), ('58', '12', '304', '1552467444'), ('59', '12', '318', '1552467444'), ('61', '9', '363', '1553156060'), ('62', '11', '304', '1553678793'), ('63', '11', '318', '1553678793'); +INSERT INTO `s_goods_category_join` VALUES ('6', '3', '68', '1547452007'), ('7', '3', '69', '1547452007'), ('8', '4', '68', '1547452553'), ('9', '4', '69', '1547452553'), ('10', '5', '68', '1547452798'), ('11', '5', '69', '1547452798'), ('14', '6', '68', '1547453157'), ('15', '6', '69', '1547453157'), ('76', '8', '58', '1554485486'), ('77', '8', '195', '1554485486'), ('78', '8', '198', '1554485486'), ('79', '7', '58', '1554485498'), ('80', '7', '194', '1554485498'), ('81', '7', '196', '1554485498'), ('82', '12', '304', '1554555389'), ('83', '12', '318', '1554555389'), ('84', '11', '304', '1554555398'), ('85', '11', '318', '1554555398'), ('86', '10', '304', '1554555406'), ('87', '10', '318', '1554555406'), ('88', '10', '446', '1554555406'), ('89', '9', '363', '1554555420'), ('90', '2', '68', '1554555460'), ('91', '2', '69', '1554555460'), ('92', '2', '304', '1554555460'), ('93', '1', '68', '1554556830'), ('94', '1', '304', '1554556830'); COMMIT; -- ---------------------------- @@ -448,13 +446,13 @@ CREATE TABLE `s_goods_content_app` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`), KEY `sort` (`sort`) -) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品手机详情'; +) ENGINE=InnoDB AUTO_INCREMENT=158 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品手机详情'; -- ---------------------------- -- Records of `s_goods_content_app` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_content_app` VALUES ('10', '3', '/static/upload/images/goods/2019/01/14/1547451947383902.jpg', '', '0', '1547452007'), ('11', '3', '/static/upload/images/goods/2019/01/14/1547451947686990.jpg', '', '1', '1547452007'), ('12', '3', '/static/upload/images/goods/2019/01/14/1547451947676180.jpg', '', '2', '1547452007'), ('13', '3', '/static/upload/images/goods/2019/01/14/1547451947791154.jpg', '', '3', '1547452007'), ('14', '4', '/static/upload/images/goods/2019/01/14/1547452505568604.jpg', '', '0', '1547452553'), ('15', '4', '/static/upload/images/goods/2019/01/14/1547452505349986.jpg', '', '1', '1547452553'), ('16', '4', '/static/upload/images/goods/2019/01/14/1547452505184884.jpg', '', '2', '1547452553'), ('17', '5', '/static/upload/images/goods/2019/01/14/1547452760417982.jpg', '', '0', '1547452798'), ('18', '5', '/static/upload/images/goods/2019/01/14/1547452760984656.jpg', '', '1', '1547452798'), ('19', '5', '/static/upload/images/goods/2019/01/14/1547452760659259.jpg', '', '2', '1547452798'), ('23', '6', '/static/upload/images/goods/2019/01/14/1547453042405182.jpg', 'X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)', '0', '1547453157'), ('24', '6', '/static/upload/images/goods/2019/01/14/1547453042614480.jpg', '', '1', '1547453157'), ('25', '6', '/static/upload/images/goods/2019/01/14/1547453042816509.jpg', '', '2', '1547453157'), ('29', '8', '/static/upload/images/goods/2019/01/14/1547454192301566.jpg', '', '0', '1547454269'), ('30', '8', '/static/upload/images/goods/2019/01/14/1547454192448116.jpg', '', '1', '1547454269'), ('31', '8', '/static/upload/images/goods/2019/01/14/1547454192474638.jpg', '', '2', '1547454269'), ('40', '10', '/static/upload/images/goods/2019/01/14/1547455266527628.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦\n\n\nXS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~\n\n蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~', '0', '1547455375'), ('41', '10', '/static/upload/images/goods/2019/01/14/1547455266234658.jpg', '', '1', '1547455375'), ('46', '2', '/static/upload/images/goods/2019/01/14/1547451595700972.jpg', '', '0', '1547458880'), ('47', '2', '/static/upload/images/goods/2019/01/14/1547451595528800.jpg', '', '1', '1547458880'), ('48', '2', '/static/upload/images/goods/2019/01/14/1547451595616298.jpg', '', '2', '1547458880'), ('61', '1', '/static/upload/images/goods/2019/01/14/1547450880620837.png', '', '0', '1547485917'), ('62', '1', '/static/upload/images/goods/2019/01/14/1547450880750687.png', '', '1', '1547485917'), ('63', '1', '/static/upload/images/goods/2019/01/14/1547450880917418.png', '', '2', '1547485917'), ('71', '7', '/static/upload/images/goods/2019/01/14/1547453910353340.jpg', '', '0', '1547540607'), ('72', '7', '/static/upload/images/goods/2019/01/14/1547453910505349.jpg', '', '1', '1547540607'), ('73', '7', '/static/upload/images/goods/2019/01/14/1547453910394886.jpg', '', '2', '1547540607'), ('102', '12', '/static/upload/images/goods/2019/01/14/1547456214155362.jpg', '', '0', '1552467444'), ('103', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '', '1', '1552467444'), ('104', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '', '2', '1552467444'), ('105', '12', '/static/upload/images/goods/2019/01/14/1547456228913731.jpg', '', '3', '1552467444'), ('110', '9', '/static/upload/images/goods/2019/01/14/1547454712270511.jpg', '', '0', '1553156060'), ('111', '9', '/static/upload/images/goods/2019/01/14/1547454713556301.jpg', '', '1', '1553156060'), ('112', '9', '/static/upload/images/goods/2019/01/14/1547454713800333.jpg', '', '2', '1553156060'), ('113', '9', '/static/upload/images/goods/2019/01/14/1547454713456602.jpg', '', '3', '1553156060'), ('114', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦\n\n\nXS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~\n\n大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~\n\n肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~', '0', '1553678793'), ('115', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '', '1', '1553678793'), ('116', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '', '2', '1553678793'), ('117', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '', '3', '1553678793'); +INSERT INTO `s_goods_content_app` VALUES ('10', '3', '/static/upload/images/goods/2019/01/14/1547451947383902.jpg', '', '0', '1547452007'), ('11', '3', '/static/upload/images/goods/2019/01/14/1547451947686990.jpg', '', '1', '1547452007'), ('12', '3', '/static/upload/images/goods/2019/01/14/1547451947676180.jpg', '', '2', '1547452007'), ('13', '3', '/static/upload/images/goods/2019/01/14/1547451947791154.jpg', '', '3', '1547452007'), ('14', '4', '/static/upload/images/goods/2019/01/14/1547452505568604.jpg', '', '0', '1547452553'), ('15', '4', '/static/upload/images/goods/2019/01/14/1547452505349986.jpg', '', '1', '1547452553'), ('16', '4', '/static/upload/images/goods/2019/01/14/1547452505184884.jpg', '', '2', '1547452553'), ('17', '5', '/static/upload/images/goods/2019/01/14/1547452760417982.jpg', '', '0', '1547452798'), ('18', '5', '/static/upload/images/goods/2019/01/14/1547452760984656.jpg', '', '1', '1547452798'), ('19', '5', '/static/upload/images/goods/2019/01/14/1547452760659259.jpg', '', '2', '1547452798'), ('23', '6', '/static/upload/images/goods/2019/01/14/1547453042405182.jpg', 'X5L/SL/V/M (5.0寸) X5max钢化膜(5.5寸) X5pro钢化膜(5.2寸)', '0', '1547453157'), ('24', '6', '/static/upload/images/goods/2019/01/14/1547453042614480.jpg', '', '1', '1547453157'), ('25', '6', '/static/upload/images/goods/2019/01/14/1547453042816509.jpg', '', '2', '1547453157'), ('132', '8', '/static/upload/images/goods/2019/01/14/1547454192301566.jpg', '', '0', '1554485486'), ('133', '8', '/static/upload/images/goods/2019/01/14/1547454192448116.jpg', '', '1', '1554485486'), ('134', '8', '/static/upload/images/goods/2019/01/14/1547454192474638.jpg', '', '2', '1554485486'), ('135', '7', '/static/upload/images/goods/2019/01/14/1547453910353340.jpg', '', '0', '1554485498'), ('136', '7', '/static/upload/images/goods/2019/01/14/1547453910505349.jpg', '', '1', '1554485498'), ('137', '7', '/static/upload/images/goods/2019/01/14/1547453910394886.jpg', '', '2', '1554485498'), ('138', '12', '/static/upload/images/goods/2019/01/14/1547456214155362.jpg', '', '0', '1554555389'), ('139', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '', '1', '1554555389'), ('140', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '', '2', '1554555389'), ('141', '12', '/static/upload/images/goods/2019/01/14/1547456228913731.jpg', '', '3', '1554555389'), ('142', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】网纱绣花钉珠拼接蕾丝 有拉链有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 香槟色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸那考虑撑开因素哦 微弹的哦\n\n\nXS码尺寸: 衣长82CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 衣长83CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 衣长84CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 衣长85CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型,如果腰粗可以适当考虑大1号哦~\n\n大圆领,每个人的身材曲线不同,领口不会很平的哦,请谅解~\n\n肩膀那有暗扣哦,可以很好的隐藏了内衣的肩带哦~袖子那略硬哦~', '0', '1554555398'), ('143', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '', '1', '1554555398'), ('144', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '', '2', '1554555398'), ('145', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '', '3', '1554555398'), ('146', '10', '/static/upload/images/goods/2019/01/14/1547455266527628.jpg', '【品牌】欧单 学媛风 猫咪良品\n\n【吊牌】xueyuanfeng 猫咪良品\n\n【面料质地】涤棉拼接蕾丝 后中拉链 有内衬(非专业机构鉴定,介意请慎拍)\n\n好的衣服需要好好呵护,务必请冷水手洗(切记别浸泡)拧干就晾晒或则干洗哦~\n\n【商品颜色】实物拍摄 蓝色 颜色很难拍有小色差属正常现象哦\n\n【商品尺寸】XS/S/M/L 小高腰设计 胸口纽扣是装饰的哦\n\n\nXS码尺寸: 悬挂衣长81CM.胸围80内合适.腰围63CM.臀围86CM\n\nS码尺寸: 悬挂衣长82CM.胸围84内合适.腰围67CM.臀围90CM\n\nM码尺寸: 悬挂衣长83CM.胸围88内合适.腰围71CM.臀围94CM\n\nL码尺寸: 悬挂衣长84CM.胸围92内合适.腰围75CM.臀围98CM\n\n\n(测量单位是CM,每个人的测量方式不一样,测量的尺寸数据可能会有1~3厘米的差异,请MM们谅解哦)\n\n\nPS:常规码数,可按平时号选择哦。修身版型~如果上身偏大可以适当考虑大1号~下摆蕾丝拼接不会很平整的哦~\n\n蕾丝花是手工修剪出来的,每件都有不同和不规则的哦,有小线头和节点是正常现象哦~请亲们谅解哦~', '0', '1554555406'), ('147', '10', '/static/upload/images/goods/2019/01/14/1547455266234658.jpg', '', '1', '1554555406'), ('148', '9', '/static/upload/images/goods/2019/01/14/1547454712270511.jpg', '', '0', '1554555420'), ('149', '9', '/static/upload/images/goods/2019/01/14/1547454713556301.jpg', '', '1', '1554555420'), ('150', '9', '/static/upload/images/goods/2019/01/14/1547454713800333.jpg', '', '2', '1554555420'), ('151', '9', '/static/upload/images/goods/2019/01/14/1547454713456602.jpg', '', '3', '1554555420'), ('152', '2', '/static/upload/images/goods/2019/01/14/1547451595700972.jpg', '', '0', '1554555460'), ('153', '2', '/static/upload/images/goods/2019/01/14/1547451595528800.jpg', '', '1', '1554555460'), ('154', '2', '/static/upload/images/goods/2019/01/14/1547451595616298.jpg', '', '2', '1554555460'), ('155', '1', '/static/upload/images/goods/2019/01/14/1547450880620837.png', '', '0', '1554556830'), ('156', '1', '/static/upload/images/goods/2019/01/14/1547450880750687.png', '', '1', '1554556830'), ('157', '1', '/static/upload/images/goods/2019/01/14/1547450880917418.png', '', '2', '1554556830'); COMMIT; -- ---------------------------- @@ -484,13 +482,13 @@ CREATE TABLE `s_goods_photo` ( KEY `goods_id` (`goods_id`), KEY `is_show` (`is_show`), KEY `sort` (`sort`) -) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品相册图片'; +) ENGINE=InnoDB AUTO_INCREMENT=123 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='商品相册图片'; -- ---------------------------- -- Records of `s_goods_photo` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_photo` VALUES ('7', '3', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '1', '0', '1547452007'), ('8', '3', '/static/upload/images/goods/2019/01/14/1547451936230948.jpg', '1', '1', '1547452007'), ('9', '4', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '1', '0', '1547452553'), ('10', '4', '/static/upload/images/goods/2019/01/14/1547452496713777.jpg', '1', '1', '1547452553'), ('11', '5', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '1', '0', '1547452798'), ('12', '5', '/static/upload/images/goods/2019/01/14/1547452752648264.jpg', '1', '1', '1547452798'), ('15', '6', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '1', '0', '1547453157'), ('16', '6', '/static/upload/images/goods/2019/01/14/1547453032949003.jpg', '1', '1', '1547453157'), ('19', '8', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '1', '0', '1547454269'), ('20', '8', '/static/upload/images/goods/2019/01/14/1547454172213779.jpg', '1', '1', '1547454269'), ('27', '10', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '1', '0', '1547455375'), ('28', '10', '/static/upload/images/goods/2019/01/14/1547455240700820.jpg', '1', '1', '1547455375'), ('35', '2', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '0', '1547458880'), ('36', '2', '/static/upload/images/goods/2019/01/14/1547451576558478.jpg', '1', '1', '1547458880'), ('48', '1', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '1', '0', '1547485917'), ('49', '1', '/static/upload/images/goods/2019/01/14/1547450818141662.jpg', '1', '1', '1547485917'), ('55', '7', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '1', '0', '1547540607'), ('56', '7', '/static/upload/images/goods/2019/01/14/1547453895864876.jpg', '1', '1', '1547540607'), ('78', '12', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '0', '1552467444'), ('79', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '1', '1', '1552467444'), ('80', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '1', '2', '1552467444'), ('84', '9', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '1', '0', '1553156060'), ('85', '9', '/static/upload/images/goods/2019/01/14/1547454702272215.jpg', '1', '1', '1553156060'), ('86', '9', '/static/upload/images/goods/2019/01/14/1547454702814719.jpg', '1', '2', '1553156060'), ('87', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '1', '0', '1553678793'), ('88', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '1', '1', '1553678793'), ('89', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '1', '2', '1553678793'), ('90', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '1', '3', '1553678793'); +INSERT INTO `s_goods_photo` VALUES ('7', '3', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '1', '0', '1547452007'), ('8', '3', '/static/upload/images/goods/2019/01/14/1547451936230948.jpg', '1', '1', '1547452007'), ('9', '4', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '1', '0', '1547452553'), ('10', '4', '/static/upload/images/goods/2019/01/14/1547452496713777.jpg', '1', '1', '1547452553'), ('11', '5', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '1', '0', '1547452798'), ('12', '5', '/static/upload/images/goods/2019/01/14/1547452752648264.jpg', '1', '1', '1547452798'), ('15', '6', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '1', '0', '1547453157'), ('16', '6', '/static/upload/images/goods/2019/01/14/1547453032949003.jpg', '1', '1', '1547453157'), ('103', '8', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '1', '0', '1554485486'), ('104', '8', '/static/upload/images/goods/2019/01/14/1547454172213779.jpg', '1', '1', '1554485486'), ('105', '7', '/static/upload/images/goods/2019/01/14/1547453895416529.jpg', '1', '0', '1554485498'), ('106', '7', '/static/upload/images/goods/2019/01/14/1547453895864876.jpg', '1', '1', '1554485498'), ('107', '12', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '1', '0', '1554555389'), ('108', '12', '/static/upload/images/goods/2019/01/14/1547455907256518.jpg', '1', '1', '1554555389'), ('109', '12', '/static/upload/images/goods/2019/01/14/1547455907486857.jpg', '1', '2', '1554555389'), ('110', '11', '/static/upload/images/goods/2019/01/14/1547455601314107.jpg', '1', '0', '1554555398'), ('111', '11', '/static/upload/images/goods/2019/01/14/1547455601168384.jpg', '1', '1', '1554555398'), ('112', '11', '/static/upload/images/goods/2019/01/14/1547455601898622.jpg', '1', '2', '1554555398'), ('113', '11', '/static/upload/images/goods/2019/01/14/1547455601528614.jpg', '1', '3', '1554555398'), ('114', '10', '/static/upload/images/goods/2019/01/14/1547455240794230.jpg', '1', '0', '1554555406'), ('115', '10', '/static/upload/images/goods/2019/01/14/1547455240700820.jpg', '1', '1', '1554555406'), ('116', '9', '/static/upload/images/goods/2019/01/14/1547454702543219.jpg', '1', '0', '1554555420'), ('117', '9', '/static/upload/images/goods/2019/01/14/1547454702272215.jpg', '1', '1', '1554555420'), ('118', '9', '/static/upload/images/goods/2019/01/14/1547454702814719.jpg', '1', '2', '1554555420'), ('119', '2', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '1', '0', '1554555460'), ('120', '2', '/static/upload/images/goods/2019/01/14/1547451576558478.jpg', '1', '1', '1554555460'), ('121', '1', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '1', '0', '1554556830'), ('122', '1', '/static/upload/images/goods/2019/01/14/1547450818141662.jpg', '1', '1', '1554556830'); COMMIT; -- ---------------------------- @@ -509,13 +507,13 @@ CREATE TABLE `s_goods_spec_base` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `attribute_type_id` (`price`) -) ENGINE=InnoDB AUTO_INCREMENT=138 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格基础'; +) ENGINE=InnoDB AUTO_INCREMENT=182 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格基础'; -- ---------------------------- -- Records of `s_goods_spec_base` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_base` VALUES ('21', '3', '3888.00', '235', '0.00', '', '', '6866.00', '1547452007'), ('22', '4', '1999.00', '537', '0.00', '', '', '2300.00', '1547452553'), ('23', '5', '2499.00', '435', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '319', '0.00', '', '', '3200.00', '1547453157'), ('27', '8', '356.00', '35', '0.00', '', '', '672.00', '1547454269'), ('46', '10', '228.00', '36', '0.00', '', '', '568.00', '1547455375'), ('53', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1547458880'), ('54', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1547458880'), ('55', '2', '6800.00', '299', '0.00', '', '', '7600.00', '1547458880'), ('56', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1547458880'), ('57', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1547458880'), ('58', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1547458880'), ('59', '2', '4500.00', '97', '0.00', '', '', '6800.00', '1547458880'), ('60', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1547458880'), ('61', '2', '5500.00', '55', '0.00', '', '', '6000.00', '1547458880'), ('71', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1547485917'), ('78', '7', '168.00', '320', '0.00', '', '', '760.00', '1547540607'), ('114', '12', '0.01', '10', '0.50', 'gg11', 'txm11', '188.00', '1552467444'), ('115', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1552467444'), ('116', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1552467444'), ('117', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1552467444'), ('118', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1552467444'), ('128', '9', '120.00', '12', '0.30', '', '', '160.00', '1553156060'), ('129', '9', '120.00', '87', '0.30', '', '', '160.00', '1553156060'), ('130', '9', '120.00', '13', '0.30', '', '', '160.00', '1553156060'), ('131', '9', '120.00', '76', '0.30', '', '', '160.00', '1553156060'), ('132', '9', '136.00', '43', '0.30', '', '', '188.00', '1553156060'), ('133', '9', '136.00', '56', '0.30', '', '', '188.00', '1553156060'), ('134', '9', '136.00', '21', '0.30', '', '', '188.00', '1553156060'), ('135', '9', '158.00', '243', '0.30', '', '', '216.00', '1553156060'), ('136', '9', '158.00', '45', '0.30', '', '', '216.00', '1553156060'), ('137', '11', '258.00', '36665656', '0.00', '', '', '268.00', '1553678793'); +INSERT INTO `s_goods_spec_base` VALUES ('21', '3', '3888.00', '235', '0.00', '', '', '6866.00', '1547452007'), ('22', '4', '1999.00', '537', '0.00', '', '', '2300.00', '1547452553'), ('23', '5', '2499.00', '435', '0.00', '', '', '3200.00', '1547452798'), ('25', '6', '2998.90', '319', '0.00', '', '', '3200.00', '1547453157'), ('154', '8', '356.00', '35', '0.00', '', '', '672.00', '1554485486'), ('155', '7', '168.00', '320', '0.00', '', '', '760.00', '1554485498'), ('156', '12', '0.01', '10', '0.50', 'gg11', 'txm11', '188.00', '1554555389'), ('157', '12', '128.00', '65', '0.10', 'gg22', 'txm22', '188.00', '1554555389'), ('158', '12', '128.00', '42', '1.90', 'gg33', 'txm33', '188.00', '1554555389'), ('159', '12', '118.00', '46', '457.60', 'gg44', 'txm44', '150.00', '1554555389'), ('160', '12', '118.00', '81', '37.00', 'gg55', 'txm55', '150.00', '1554555389'), ('161', '11', '258.00', '36665656', '0.00', '', '', '268.00', '1554555398'), ('162', '10', '228.00', '36', '0.00', '', '', '568.00', '1554555406'), ('163', '9', '120.00', '12', '0.30', '', '', '160.00', '1554555420'), ('164', '9', '120.00', '87', '0.30', '', '', '160.00', '1554555420'), ('165', '9', '120.00', '13', '0.30', '', '', '160.00', '1554555420'), ('166', '9', '120.00', '76', '0.30', '', '', '160.00', '1554555420'), ('167', '9', '136.00', '43', '0.30', '', '', '188.00', '1554555420'), ('168', '9', '136.00', '56', '0.30', '', '', '188.00', '1554555420'), ('169', '9', '136.00', '21', '0.30', '', '', '188.00', '1554555420'), ('170', '9', '158.00', '243', '0.30', '', '', '216.00', '1554555420'), ('171', '9', '158.00', '45', '0.30', '', '', '216.00', '1554555420'), ('172', '2', '6050.00', '100', '0.00', '', '', '6800.00', '1554555460'), ('173', '2', '6600.00', '200', '0.00', '', '', '7200.00', '1554555460'), ('174', '2', '6800.00', '299', '0.00', '', '', '7600.00', '1554555460'), ('175', '2', '6050.00', '300', '0.00', '', '', '6800.00', '1554555460'), ('176', '2', '6600.00', '300', '0.00', '', '', '7200.00', '1554555460'), ('177', '2', '6800.00', '300', '0.00', '', '', '7600.00', '1554555460'), ('178', '2', '4500.00', '97', '0.00', '', '', '6800.00', '1554555460'), ('179', '2', '4800.00', '50', '0.00', '', '', '6600.00', '1554555460'), ('180', '2', '5500.00', '55', '0.00', '', '', '6000.00', '1554555460'), ('181', '1', '2100.00', '125', '0.00', '', '', '3200.00', '1554556830'); COMMIT; -- ---------------------------- @@ -530,13 +528,13 @@ CREATE TABLE `s_goods_spec_type` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格类型'; +) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格类型'; -- ---------------------------- -- Records of `s_goods_spec_type` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_type` VALUES ('13', '2', '[{\"name\":\"\\u5957\\u9910\\u4e00\",\"images\":\"\"},{\"name\":\"\\u5957\\u9910\\u4e8c\",\"images\":\"\"}]', '套餐', '1547458880'), ('14', '2', '[{\"name\":\"\\u91d1\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451274847894.jpg\"},{\"name\":\"\\u94f6\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451576558478.jpg\"}]', '颜色', '1547458880'), ('15', '2', '[{\"name\":\"32G\",\"images\":\"\"},{\"name\":\"64G\",\"images\":\"\"},{\"name\":\"128G\",\"images\":\"\"}]', '容量', '1547458880'), ('34', '12', '[{\"name\":\"\\u7c89\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907256518.jpg\"},{\"name\":\"\\u767d\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907486857.jpg\"}]', '颜色', '1552467444'), ('35', '12', '[{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1552467444'), ('38', '9', '[{\"name\":\"\\u767d\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702543219.jpg\"},{\"name\":\"\\u7c89\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702272215.jpg\"},{\"name\":\"\\u9ed1\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702814719.jpg\"}]', '颜色', '1553156060'), ('39', '9', '[{\"name\":\"S\",\"images\":\"\"},{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1553156060'); +INSERT INTO `s_goods_spec_type` VALUES ('44', '12', '[{\"name\":\"\\u7c89\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907256518.jpg\"},{\"name\":\"\\u767d\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547455907486857.jpg\"}]', '颜色', '1554555389'), ('45', '12', '[{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1554555389'), ('46', '9', '[{\"name\":\"\\u767d\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702543219.jpg\"},{\"name\":\"\\u7c89\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702272215.jpg\"},{\"name\":\"\\u9ed1\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547454702814719.jpg\"}]', '颜色', '1554555420'), ('47', '9', '[{\"name\":\"S\",\"images\":\"\"},{\"name\":\"M\",\"images\":\"\"},{\"name\":\"L\",\"images\":\"\"},{\"name\":\"XL\",\"images\":\"\"}]', '尺码', '1554555420'), ('48', '2', '[{\"name\":\"\\u5957\\u9910\\u4e00\",\"images\":\"\"},{\"name\":\"\\u5957\\u9910\\u4e8c\",\"images\":\"\"}]', '套餐', '1554555460'), ('49', '2', '[{\"name\":\"\\u91d1\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451274847894.jpg\"},{\"name\":\"\\u94f6\\u8272\",\"images\":\"\\/static\\/upload\\/images\\/goods\\/2019\\/01\\/14\\/1547451576558478.jpg\"}]', '颜色', '1554555460'), ('50', '2', '[{\"name\":\"32G\",\"images\":\"\"},{\"name\":\"64G\",\"images\":\"\"},{\"name\":\"128G\",\"images\":\"\"}]', '容量', '1554555460'); COMMIT; -- ---------------------------- @@ -552,13 +550,13 @@ CREATE TABLE `s_goods_spec_value` ( PRIMARY KEY (`id`), KEY `goods_id` (`goods_id`) USING BTREE, KEY `goods_spec_base_id` (`goods_spec_base_id`) -) ENGINE=InnoDB AUTO_INCREMENT=267 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格值'; +) ENGINE=InnoDB AUTO_INCREMENT=350 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='商品规格值'; -- ---------------------------- -- Records of `s_goods_spec_value` -- ---------------------------- BEGIN; -INSERT INTO `s_goods_spec_value` VALUES ('104', '2', '53', '套餐一', '1547458880'), ('105', '2', '53', '金色', '1547458880'), ('106', '2', '53', '32G', '1547458880'), ('107', '2', '54', '套餐一', '1547458880'), ('108', '2', '54', '金色', '1547458880'), ('109', '2', '54', '64G', '1547458880'), ('110', '2', '55', '套餐一', '1547458880'), ('111', '2', '55', '金色', '1547458880'), ('112', '2', '55', '128G', '1547458880'), ('113', '2', '56', '套餐一', '1547458880'), ('114', '2', '56', '银色', '1547458880'), ('115', '2', '56', '32G', '1547458880'), ('116', '2', '57', '套餐一', '1547458880'), ('117', '2', '57', '银色', '1547458880'), ('118', '2', '57', '64G', '1547458880'), ('119', '2', '58', '套餐一', '1547458880'), ('120', '2', '58', '银色', '1547458880'), ('121', '2', '58', '128G', '1547458880'), ('122', '2', '59', '套餐二', '1547458880'), ('123', '2', '59', '金色', '1547458880'), ('124', '2', '59', '32G', '1547458880'), ('125', '2', '60', '套餐二', '1547458880'), ('126', '2', '60', '金色', '1547458880'), ('127', '2', '60', '128G', '1547458880'), ('128', '2', '61', '套餐二', '1547458880'), ('129', '2', '61', '银色', '1547458880'), ('130', '2', '61', '64G', '1547458880'), ('221', '12', '114', '粉色', '1552467444'), ('222', '12', '114', 'M', '1552467444'), ('223', '12', '115', '粉色', '1552467444'), ('224', '12', '115', 'L', '1552467444'), ('225', '12', '116', '粉色', '1552467444'), ('226', '12', '116', 'XL', '1552467444'), ('227', '12', '117', '白色', '1552467444'), ('228', '12', '117', 'M', '1552467444'), ('229', '12', '118', '白色', '1552467444'), ('230', '12', '118', 'L', '1552467444'), ('249', '9', '128', '白色', '1553156060'), ('250', '9', '128', 'S', '1553156060'), ('251', '9', '129', '白色', '1553156060'), ('252', '9', '129', 'M', '1553156060'), ('253', '9', '130', '白色', '1553156060'), ('254', '9', '130', 'L', '1553156060'), ('255', '9', '131', '白色', '1553156060'), ('256', '9', '131', 'XL', '1553156060'), ('257', '9', '132', '粉色', '1553156060'), ('258', '9', '132', 'S', '1553156060'), ('259', '9', '133', '粉色', '1553156060'), ('260', '9', '133', 'M', '1553156060'), ('261', '9', '134', '粉色', '1553156060'), ('262', '9', '134', 'L', '1553156060'), ('263', '9', '135', '黑色', '1553156060'), ('264', '9', '135', 'S', '1553156060'), ('265', '9', '136', '黑色', '1553156060'), ('266', '9', '136', 'XL', '1553156060'); +INSERT INTO `s_goods_spec_value` VALUES ('295', '12', '156', '粉色', '1554555389'), ('296', '12', '156', 'M', '1554555389'), ('297', '12', '157', '粉色', '1554555389'), ('298', '12', '157', 'L', '1554555389'), ('299', '12', '158', '粉色', '1554555389'), ('300', '12', '158', 'XL', '1554555389'), ('301', '12', '159', '白色', '1554555389'), ('302', '12', '159', 'M', '1554555389'), ('303', '12', '160', '白色', '1554555389'), ('304', '12', '160', 'L', '1554555389'), ('305', '9', '163', '白色', '1554555420'), ('306', '9', '163', 'S', '1554555420'), ('307', '9', '164', '白色', '1554555420'), ('308', '9', '164', 'M', '1554555420'), ('309', '9', '165', '白色', '1554555420'), ('310', '9', '165', 'L', '1554555420'), ('311', '9', '166', '白色', '1554555420'), ('312', '9', '166', 'XL', '1554555420'), ('313', '9', '167', '粉色', '1554555420'), ('314', '9', '167', 'S', '1554555420'), ('315', '9', '168', '粉色', '1554555420'), ('316', '9', '168', 'M', '1554555420'), ('317', '9', '169', '粉色', '1554555420'), ('318', '9', '169', 'L', '1554555420'), ('319', '9', '170', '黑色', '1554555420'), ('320', '9', '170', 'S', '1554555420'), ('321', '9', '171', '黑色', '1554555420'), ('322', '9', '171', 'XL', '1554555420'), ('323', '2', '172', '套餐一', '1554555460'), ('324', '2', '172', '金色', '1554555460'), ('325', '2', '172', '32G', '1554555460'), ('326', '2', '173', '套餐一', '1554555460'), ('327', '2', '173', '金色', '1554555460'), ('328', '2', '173', '64G', '1554555460'), ('329', '2', '174', '套餐一', '1554555460'), ('330', '2', '174', '金色', '1554555460'), ('331', '2', '174', '128G', '1554555460'), ('332', '2', '175', '套餐一', '1554555460'), ('333', '2', '175', '银色', '1554555460'), ('334', '2', '175', '32G', '1554555460'), ('335', '2', '176', '套餐一', '1554555460'), ('336', '2', '176', '银色', '1554555460'), ('337', '2', '176', '64G', '1554555460'), ('338', '2', '177', '套餐一', '1554555460'), ('339', '2', '177', '银色', '1554555460'), ('340', '2', '177', '128G', '1554555460'), ('341', '2', '178', '套餐二', '1554555460'), ('342', '2', '178', '金色', '1554555460'), ('343', '2', '178', '32G', '1554555460'), ('344', '2', '179', '套餐二', '1554555460'), ('345', '2', '179', '金色', '1554555460'), ('346', '2', '179', '128G', '1554555460'), ('347', '2', '180', '套餐二', '1554555460'), ('348', '2', '180', '银色', '1554555460'), ('349', '2', '180', '64G', '1554555460'); COMMIT; -- ---------------------------- @@ -1132,7 +1130,7 @@ CREATE TABLE `s_user` ( KEY `weixin_openid` (`weixin_openid`), KEY `mobile` (`mobile`), KEY `username` (`username`) -) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户'; +) ENGINE=InnoDB AUTO_INCREMENT=91 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户'; -- ---------------------------- -- Records of `s_user` diff --git a/public/static/index/default/css/index.css b/public/static/index/default/css/index.css index 81494030e..d596c154f 100755 --- a/public/static/index/default/css/index.css +++ b/public/static/index/default/css/index.css @@ -26,9 +26,6 @@ dt + dd {margin-top: 0;} .small-nav .mini-nav-seconds { background-color: #fa506c; } .small-nav a { text-decoration: none !important; } -.list .word{display: none;} -.last{border-right:0px !important ;} - /*走马灯*/ .marqueen{position: relative;border-top:1px solid #F5F5F5 ;border-bottom: 1px #f5f5f5 solid;overflow: hidden;} .marqueen-title{position: absolute;left:10px;padding-right:10px;border-right:1px solid #F5F5F5 ;} @@ -62,59 +59,39 @@ text-align: center;float:none} .s-buy{display:none;} /*楼层*/ -.flood {background: #fff;} -.outer-con .price { - color: #f33f00; - font-weight: bold; -} -.items-nav-title a:hover { - color: #d2364c; -} +.flood {background: #fff; position: relative; } +.outer-con .price { color: #f33f00; font-weight: bold; } +.items-nav-title a:hover { color: #d2364c; } /*文字说明*/ .seprate{display: none;} -.outer-con {position: absolute;width:100% ;} -.text-one .outer-con {text-align: center;top:7%;} .recommendation .info h3{font-size:12px;color:#F03726} +/*小标签*/ +.list .word{padding: 5px 10px; overflow: hidden;} +.word .outer {margin: 5px; width: 50px;height: 50px;text-align: center;color: #2f2f2f;background-color: #fff;border-radius: 50px; display: -webkit-inline-box; } +.word .outer .inner {display: table-cell;vertical-align: middle;width:50px;height:50px;} +.word .outer .text {font-weight: 400;display: inline-block; max-width:35px;margin: 0 auto;} -/*楼层*/ -.flood .text-one{border-top: 1px solid #eee;} -.flood .text-one img{width:96%;margin:49% 2% 0% 2%;} -.flood .text-two{border-top: 1px solid #eee;border-left: 1px solid #eee;} -.flood .text-two img{width:50%;margin:1% 3% 1% 47%;} -.flood .text-three{border-top: 1px solid #eee;border-left: 1px solid #eee;} -.flood .text-three img{width:96%;margin:2% 2% 45% 2%;} -.flood .outer-con {padding: 0% 3% 3% 3%; bottom: 0px;} -.flood .text-two .outer-con {width:40%;} -.list .outer-con .describe { - color: #fff; - max-width: 100%; - overflow: hidden; - text-overflow: ellipsis; - display: -webkit-box; - -webkit-line-clamp: 3; - -webkit-box-orient: vertical; -} +/*楼层左侧*/ +.list .outer-con .describe { color: #fff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; } +.flood .list { overflow: hidden; width: 150px; height: 400px; text-align: center; } +.list .outer-con{ padding: 10px; text-align: center; } + +/*楼层商品*/ .goods-items { background-color: #fff; } -.flood .list { overflow: hidden; } +.goods-items a { font-size: 12px; } /*推荐*/ .flood li {width: 50%;float: left;text-align: center;} @media only screen and (min-width: 480px) { .small-nav img{max-width: 100%;max-height: 100%;} .small-nav{ font-size:14px;} - .flood li{width:33.3%;} - - /*第二套各类活动*/ - .row li{width: 25%;float: left;} } -.word .outer:hover { background: #f9918f; color: #fff !important; border: 3px solid #fff; } - @media only screen and (min-width: 640px) { /*标题*/ - .items-nav-title{background: #fff;} + .items-nav-title{background: #fff; border-bottom: 2px solid #000;} .hmtop{background: #fff;} .am-container {padding-left:0px;padding-right:0px ;} .home-floor{width:100%;background:#fff;overflow:visible;} @@ -170,24 +147,59 @@ text-align: center;float:none} .s-time .ss {left: 121px;} /*楼层*/ - .flood {border: 1px solid #eee;border-top: none;} + .flood { margin-bottom: 15px; } .outer-con .describe ,.recommendation .info h3{font-size: 14px;font-weight: 600;} .goods-title, .outer-con .price { font-size: 14px; } + .flood .goods-list { overflow: hidden; } + .flood .goods-list .goods-items { float: left; width: 25%; padding: 10px 15px; border-right: 1px solid; border-bottom: 1px solid; border-color: #eee; height: 200px; position: relative; overflow: hidden; } + .flood .goods-list .goods-items img { max-width: 100%; padding: 10px; } + .flood .list img {position: absolute;top:auto;left:0;bottom:0;max-width: 100%;} + + /*楼层 hover*/ + .word .outer:hover { background: #f9918f; color: #fff !important; -webkit-transition: background .2s ease-in; -moz-transition: background .2s ease-in; -ms-transition: background .2s ease-in; -o-transition: background .2s ease-in; transition: background .2s ease-in; } + .goods-items:before { content: ""; position: absolute; top: 0; left: -100%; display: block; height: 100%; width: 50%; z-index: 999; background-color: rgba(255, 255, 255, 0.3); -webkit-transition: all 1s ease 0s; -moz-transition: all 1s ease 0s; -o-transition: all 1s ease 0s; transition: all 1s ease 0s; -ms-transform: skewX(-20deg); -webkit-transform: skewX(-20deg); -o-transform: skewX(-20deg); transform: skewX(-20deg); background: -webkit-linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.4) 100%); background: -moz-linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.4) 100%); background: -o-linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.4) 100%); background: linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.4) 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=transparent, endColorstr=rgba(255, 255, 255, 0.4),GradientType=0.9); } + .goods-items:hover:before { left: 100%; } +} +@media only screen and (min-width: 750px) { /*楼层*/ - .flood .text-one img{width:90%;margin:37% 5% 0% 5%;} - .flood .text-two img{width:60%;margin:1% 3% 1% 37%;} - .flood .text-three img{width:96%;margin:2% 2% 40% 2%;} - .flood .text-two .outer-con {top:7%;left:2% ;width:35%;} + .flood .goods-list .goods-items { width: 25%; padding: 10px 15px; height: 200px; } + + /*楼层左侧*/ + .flood .list { width: 150px; height: 400px; } } -@media only screen and (max-width: 640px) { - .flood .text-one { background-color: transparent !important; } - .items-nav-title{ padding: 0 10%;} - .marqueen-title{line-height: 30px; height: 30px;} - .am-footer { padding-bottom: 55px; } +@media only screen and (min-width: 800px) { + /*楼层*/ + .flood .goods-list .goods-items { width: 25%; padding: 10px 15px; height: 190px; } + + /*楼层左侧*/ + .flood .list { width: 222px; height: 380px; } +} + +@media only screen and (min-width: 850px) { + /*楼层*/ + .flood .goods-list .goods-items { width: 25%; padding: 10px 15px; height: 200px; } + + /*楼层左侧*/ + .flood .list { width: 222px; height: 399px; } +} + +@media only screen and (min-width: 900px) { + /*楼层*/ + .flood .goods-list .goods-items { width: 25%; padding: 10px 15px; height: 208px; } + + /*楼层左侧*/ + .flood .list { width: 222px; height: 416px; } } +@media only screen and (min-width: 950px) { + /*楼层*/ + .flood .goods-list .goods-items { width: 25%; padding: 10px 15px; height: 228px; } + + /*楼层左侧*/ + .flood .list { width: 222px; height: 456px; } +} @media only screen and (min-width: 1025px) { .small-nav { display:none;} @@ -206,9 +218,8 @@ text-align: center;float:none} .category-content .category-list.navTwo .b-category-name {line-height: 28px;} .category-content .category-list.navTwo .category-name i img {width: 22px; height: 22px;border-radius: 22px;} - /*标题*/ - .items-nav-title{text-align: left;position: relative;border-bottom:2px solid #000;margin-top:10px ;} + .items-nav-title{text-align: left;position: relative;margin-top:10px ;} .activity .items-nav-title{margin-top: 10px;} .items-nav-title h4{float:left;border: none;margin:7px 0px ;font-size:20px;font-weight: 700;} .items-nav-title h3{display:block;font-size: 14px;color: #999;float: left;margin-left: 10px;margin-top:12px;} @@ -248,31 +259,12 @@ text-align: center;float:none} /*楼层*/ .outer-con .title,.recommendation .info h3{line-height:22px ;color:#666 ;} .flood {position: relative;border: none;} - .flood .big, .flood .list {height: 400px !important;position: relative;} - .flood .big img {width:174px !important;margin-right: -87px !important;right: 50%;bottom: 15% !important;top: auto !important;} - - .big .outer-con{top:23% !important;} - .list .outer-con{top:38% !important;width:98% !important;left:2% !important;text-align: center !important;} - .flood .list img { height: 200px; } - .flood .list { overflow: hidden; } - .flood .text-two .outer-con ,.flood .text-three .outer-con {top:auto;left:5%;width:90%;bottom:10px ;} - - - /*小标签*/ - .list .word{display: block;padding:20px 0 30px 10px;} - .word .outer {margin: 0 10px 10px 0;float: left;width: 50px;height: 50px;text-align: center;color: #2f2f2f;background-color: #fff;border-radius: 50px;} - .word .outer .inner {display: table-cell;vertical-align: middle;width:50px;height:50px;} - .word .outer .text {font-weight: 400;display: inline-block; max-width:35px;margin: 0 auto;} - - /*楼层*/ - .flood .text-one,.flood .text-two,.flood .text-three{width:20%;text-align: center;margin: 0px 0px;height:200px ;} - .flood .text-two.sug{position: absolute;top:200px;left:20%;} - .flood .text-three.sug{position: absolute;top:200px;right:20%;} - .flood .text-one img,.flood .text-two img,.flood .text-three img{position: absolute;margin:0px 0px;width: 120px;right: 50%;margin-right: -60px;} - - .flood .list img{position: absolute;top:auto;margin:0px 0px;bottom:0;right:50%;width:200px;margin-right: -100px;} + /*楼层左侧*/ + .flood .list { width: 222px; height: 456px; } + /*楼层商品*/ + .flood .goods-list .goods-items { height: 228px; } /*楼层颜色*/ #floor1 .list .triangle-topright{width: 0;height: 0;border-top: 30px solid #68937f;position: absolute;bottom:0px;border-left: 30px solid #fff} @@ -285,31 +277,14 @@ text-align: center;float:none} #floor8 .list .triangle-topright{width: 0;height: 0;border-top: 30px solid #9c7b36;position: absolute;bottom:0px;border-left: 30px solid #fff} #floor9 .list .triangle-topright{width: 0;height: 0;border-top: 30px solid #caa463;position: absolute;bottom:0px;border-left: 30px solid #fff} #floor10 .list .triangle-topright{width: 0;height: 0;border-top: 30px solid #f768e8;position: absolute;bottom:0px;border-left: 30px solid #fff} - - /*位移效果*/ - .flood .goods-items:hover img{ - transition: all 0.5s ease 0s; - -webkit-transform: all 0.5s ease 0s; - transform: translateX(-10px); - -webkit-transform: translateX(-10px); - } - .flood .text-one:hover img { - transform: scale(1.1); - transition: all 0.5s ease 0s; - -webkit-transform: scale(1.1); - -webkit-transform: all 1s ease 0s; - } } @media only screen and (min-width: 1260px) { .slideall{max-width: 1200px;margin:0px auto ;height:430px;} .am-g-fixed{max-width:1200px} - .flood li {width: 16.66667%;} /*轮播图布局*/ - - .banner .am-slider .am-slides li{height:430px;} .banner .am-slider .am-slides img{width:1200px ;left:50% ;position: absolute;margin-left: -600px;} /*公告布局*/ @@ -329,25 +304,24 @@ text-align: center;float:none} .member-center a {float: left;margin-left: -1px;width:50px;text-align: center;border-left: 1px solid #EEE;font-size: 12px; text-decoration: none; } .member-center a strong {height: 18px;display: block;font-size: 14px;color: #F40;} - /*第二套各类活动*/ - .row {padding:0px;position: absolute;left:182px ;bottom:0px ;right:0px ;} - /*秒杀*/ - .sale-mt{margin-top: 10px;} - - /*推荐*/ - .clock img{position: absolute;right: 15%;width: 120px;top:15px;} + /*楼层*/ + .flood .list { width: 222px; height: 556px; } + .flood .goods-list .goods-items { height: 278px; } +} - .list .word{padding:20px 0 30px 20px;} - .word .outer {width: 57px;height: 57px;border-radius: 57px;} - .word .outer .inner {width:57px;height:57px;} +@media only screen and (max-width: 640px) { + .items-nav-title{ padding: 0 10%;} + .marqueen-title{line-height: 30px; height: 30px;} + .am-footer { padding-bottom: 55px; } /*楼层*/ - .flood .big, .flood .list{height: 480px !important;} - .flood .big img{width:194px !important;margin-right: -97px !important;} - .big .outer-con {top: 25% !important;} - - .flood .text-one,.flood .text-two,.flood .text-three{width:20%;text-align: center;margin: 0px 0px;height:240px ;} - .flood .text-two.sug,.flood .text-three.sug{top:240px;} - .flood .text-one img,.flood .text-two img,.flood .text-three img{width: 180px;margin-right: -90px;} - .flood .list img{width:210px;margin-right: -105px;} -} \ No newline at end of file + .flood .list { width: 100%; height: auto; } + .word .outer { display: inline-flex; padding: 5px 0; height: auto;background-color: transparent; width: 32.33%; margin: 0; } + .word .outer .inner { color: #2f2f2f; background-color: #fff; border-radius: 50px; margin: 0 auto; padding: 0 12px;} + .flood .goods-list .goods-items { width: 50%; float: left; padding: 10px; border-bottom: 1px solid #eee; } + .flood .goods-list .goods-items img { padding: 10px; } + .flood .goods-list .goods-items:nth-of-type(2n + 1) { border-right: 1px solid #eee; } + .flood .goods-list .goods-items:nth-of-type(2n) { border-left: 1px solid transparent; } + .list .word { padding: 10px 0; } + .word .outer .text { display: table-cell; vertical-align: middle; width: 35px; height: 50px; } +} -- GitLab