diff --git a/application/plugins/commonrightnavigation/Admin.php b/application/plugins/commonrightnavigation/Admin.php new file mode 100755 index 0000000000000000000000000000000000000000..553f4a2434a43c7b7f1218aa9b3e086ae5dda1c8 --- /dev/null +++ b/application/plugins/commonrightnavigation/Admin.php @@ -0,0 +1,90 @@ + $ret['data'], + ]; + return DataReturn('处理成功', 0, $data); + } else { + return $ret; + } + } + + /** + * 编辑页面 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-07T08:21:54+0800 + * @param [array] $params [输入参数] + */ + public function saveinfo($params = []) + { + $ret = PluginsService::PluginsData('commonrightnavigation', ['alipay_mini_qrcode_images', 'alipay_fuwu_qrcode_images', 'weixin_mini_qrcode_images', 'weixin_fuwu_qrcode_images']); + if($ret['code'] == 0) + { + // 是否 + $is_whether_list = [ + 0 => array('id' => 0, 'name' => '否'), + 1 => array('id' => 1, 'name' => '是', 'checked' => true), + ]; + + // 数组组装 + $data = [ + 'is_whether_list' => $is_whether_list, + 'data' => $ret['data'], + ]; + return DataReturn('处理成功', 0, $data); + } else { + return $ret; + } + } + + /** + * 数据保存 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-07T08:21:54+0800 + * @param [array] $params [输入参数] + */ + public function save($params = []) + { + return PluginsService::PluginsDataSave(['plugins'=>'commonrightnavigation', 'data'=>$params]); + } +} +?> \ No newline at end of file diff --git a/application/plugins/commonrightnavigation/Hook.php b/application/plugins/commonrightnavigation/Hook.php new file mode 100755 index 0000000000000000000000000000000000000000..fa30b833c970cd5b7c65327420d8b92a12f792ee --- /dev/null +++ b/application/plugins/commonrightnavigation/Hook.php @@ -0,0 +1,277 @@ +html($params); + break; + + case 'plugins_view_common_page_bottom' : + $ret = $this->js($params); + break; + + case 'plugins_view_common_header' : + $ret = $this->css($params); + break; + + default : + $ret = ''; + } + return $ret; + } else { + return ''; + } + } + } + + /** + * css + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-06T16:16:34+0800 + * @param [array] $params [输入参数] + */ + public function css($params = []) + { + return ''; + } + + /** + * js + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-06T16:16:34+0800 + * @param [array] $params [输入参数] + */ + public function js($params = []) + { + return ''; + } + + /** + * 视图 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @datetime 2019-02-06T16:16:34+0800 + * @param [array] $params [输入参数] + */ + public function html($params = []) + { + // 当前模块/控制器/方法 + $module_name = strtolower(request()->module()); + $controller_name = strtolower(request()->controller()); + $action_name = strtolower(request()->action()); + + // 获取应用数据 + $ret = PluginsService::PluginsData('commonrightnavigation', ['alipay_mini_qrcode_images', 'alipay_fuwu_qrcode_images', 'weixin_mini_qrcode_images', 'weixin_fuwu_qrcode_images']); + + // html拼接 + $html = '
'; + $content = ''; + if($ret['code'] == 0) + { + // 非全局 + if($ret['data']['is_overall'] != 1) + { + // 非首页则空 + if($module_name.$controller_name.$action_name != 'indexindexindex') + { + return ''; + } + } + + // 是否新窗口打开 + $is_new_window_open = (isset($ret['data']['is_new_window_open']) && $ret['data']['is_new_window_open'] == 1) ? 'target="_blank"' : ''; + + // 购物车总数 + $cart_total = BuyService::UserCartTotal(['user'=>$params['user']]); + + // 内容 + $content .= ' + +
+ +
+ 用户中心 +
+
+
+
+ + + +
+ +
+ 我的足迹 +
+
+
+
+ + + +
+ +
+ 我的收藏 +
+
+
+
+ + + +
+ +
+ 购物车 +
'.$cart_total.'
+
+
+
'; + + $qrcode = ''; + if(!empty($ret['data']['alipay_mini_qrcode_images'])) + { + $qrcode .= '
  • +

    支付宝小程序

    + 支付宝小程序 +
  • '; + } + if(!empty($ret['data']['alipay_fuwu_qrcode_images'])) + { + $qrcode .= '
  • +

    支付宝生活号

    + 支付宝生活号 +
  • '; + } + if(!empty($ret['data']['weixin_mini_qrcode_images'])) + { + $qrcode .= '
  • +

    微信小程序

    + 微信小程序 +
  • '; + } + if(!empty($ret['data']['weixin_fuwu_qrcode_images'])) + { + $qrcode .= '
  • +

    微信公众号

    + 微信公众号 +
  • '; + } + if(!empty($qrcode)) + { + $content .= ' +
    + +
    +
      '.$qrcode.'
    +
    +
    '; + } + + $content .= ' +
    + +
    + 返回顶部 +
    +
    +
    '; + + } else { + $content = $ret['msg']; + } + $html .= $content; + $html .= '
    '; + + return $html; + } +} +?> \ No newline at end of file diff --git a/application/plugins/commonrightnavigation/config.json b/application/plugins/commonrightnavigation/config.json new file mode 100644 index 0000000000000000000000000000000000000000..10d351c5f7a5e303dfcaf23740e8cd5586b18ac8 --- /dev/null +++ b/application/plugins/commonrightnavigation/config.json @@ -0,0 +1,30 @@ +{ + "base":{ + "plugins":"commonrightnavigation", + "name":"右侧导航", + "logo":"\/static\/upload\/images\/plugins_commonrightnavigation\/2019\/02\/15\/1550222872753553.png", + "author":"Devil", + "author_url":"https:\/\/shopxo.net\/", + "version":"1.0.0", + "desc":"浏览器右侧导航", + "apply_terminal":[ + "pc", + "h5" + ], + "apply_version":[ + "1.3.0" + ], + "is_home":false + }, + "hook":{ + "plugins_view_common_bottom":[ + "app\\plugins\\commonrightnavigation\\Hook" + ], + "plugins_view_common_page_bottom":[ + "app\\plugins\\commonrightnavigation\\Hook" + ], + "plugins_view_common_header":[ + "app\\plugins\\commonrightnavigation\\Hook" + ] + } +} \ No newline at end of file diff --git a/application/plugins/view/commonrightnavigation/admin/index.html b/application/plugins/view/commonrightnavigation/admin/index.html new file mode 100755 index 0000000000000000000000000000000000000000..152ee318075ad762c93e885ce95bcb0b1c951757 --- /dev/null +++ b/application/plugins/view/commonrightnavigation/admin/index.html @@ -0,0 +1,74 @@ +{{include file="public/header" /}} + + +
    +
    + + 顶部大图 + 返回 + + +
    +
    + +
    + +
    +
    +
    + +
    +
    +
    + +
    + {{if !empty($data['url'])}} + {{$data.url}} + {{else /}} + 无 + {{/if}} +
    +
    +
    + +
    + {{if isset($data['is_new_window_open']) and $data['is_new_window_open'] eq 1}} + 是 + {{else /}} + 否 + {{/if}} +
    +
    +
    + +
    + {{if isset($data['is_overall']) and $data['is_overall'] eq 1}} + 是 + {{else /}} + 否 + {{/if}} +
    +
    +
    + +
    + {{if !empty($data['time_start']) and !empty($data['time_end'])}} + {{$data.time_start}} ~ {{$data.time_end}} + {{elseif !empty($data['time_start']) and empty($data['time_end'])}} + {{$data.time_start}} ~ 长期有效 + {{elseif empty($data['time_start']) and !empty($data['time_end'])}} + 立即生效 ~ {{$data.time_end}} + {{else /}} + 无限制 + {{/if}} +
    +
    + 编辑 +
    +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/plugins/view/commonrightnavigation/admin/saveinfo.html b/application/plugins/view/commonrightnavigation/admin/saveinfo.html new file mode 100755 index 0000000000000000000000000000000000000000..3d08d852591501122cbbb97a63dff09bf3c91481 --- /dev/null +++ b/application/plugins/view/commonrightnavigation/admin/saveinfo.html @@ -0,0 +1,94 @@ +{{include file="public/header" /}} + + +
    +
    + +
    + + 顶部大图 + 返回 + + +
    + +
      +
    • + + + × +
    • +
    +
    +上传图片
    +
    + +
    + +
      +
    • + + + × +
    • +
    +
    +上传图片
    +
    + +
    + +
      +
    • + + + × +
    • +
    +
    +上传图片
    +
    + +
    + +
      +
    • + + + × +
    • +
    +
    +上传图片
    +
    + +
    + +
    + {{foreach $is_whether_list as $v}} + + {{/foreach}} +
    +
    + +
    + +
    + {{foreach $is_whether_list as $v}} + + {{/foreach}} +
    +
    + +
    + +
    +
    + +
    +
    + + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/tags.php b/application/tags.php index 030801f1da966b0b284dbee8711fe79689702eeb..1fb819bdba473831244df1cfe11b5b10cfa8d413 100755 --- a/application/tags.php +++ b/application/tags.php @@ -47,15 +47,15 @@ return array ( ), 'plugins_view_common_bottom' => array ( - 0 => 'app\\plugins\\commongobacktop\\Hook', + 0 => 'app\\plugins\\commonrightnavigation\\Hook', ), 'plugins_view_common_page_bottom' => array ( - 0 => 'app\\plugins\\commongobacktop\\Hook', + 0 => 'app\\plugins\\commonrightnavigation\\Hook', ), 'plugins_view_common_header' => array ( - 0 => 'app\\plugins\\commongobacktop\\Hook', + 0 => 'app\\plugins\\commonrightnavigation\\Hook', ), ); ?> \ No newline at end of file diff --git a/config/shopxo.php b/config/shopxo.php index d37e4d1da1e7be59efed31c07b6bd359a635cf3f..715cf106236737949d762783f2d74d695d4dca5c 100644 --- a/config/shopxo.php +++ b/config/shopxo.php @@ -15,7 +15,7 @@ return [ // 开发模式 - 'is_develop' => false, + 'is_develop' => true, // 默认编码 'default_charset' => 'utf-8', diff --git a/config/shopxo.sql b/config/shopxo.sql index f821fffc6621009dbf8a12e79eaaad232a17cac7..a5563c7d2822af03eee0eac323a4d8d5231aea2b 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -11,7 +11,7 @@ Target Server Version : 50722 File Encoding : utf-8 - Date: 02/15/2019 14:05:41 PM + Date: 02/15/2019 18:34:37 PM */ SET NAMES utf8mb4; @@ -221,7 +221,7 @@ CREATE TABLE `s_cart` ( KEY `goods_id` (`goods_id`), KEY `title` (`title`), KEY `stock` (`stock`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='购物车'; +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='购物车'; -- ---------------------------- -- Table structure for `s_config` @@ -348,7 +348,7 @@ CREATE TABLE `s_goods` ( -- Records of `s_goods` -- ---------------------------- BEGIN; -INSERT INTO `s_goods` VALUES ('1', '2', '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', '6', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1549959519'), ('2', '3', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1711', '步', '/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', '8', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1547458880'), ('3', '0', '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', '2', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '4', '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', '15', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '7', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '436', '步', '/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', '0', '13', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '0', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '321', '步', '/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', '9', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '6', '纽芝兰包包女士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', '5', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1547540607'), ('8', '6', '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', '4', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1547454269'), ('9', '7', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '598', '件', '/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', '5', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1547454828'), ('10', '8', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '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', '4', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1547455375'), ('11', '9', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '367', '件', '/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', '4', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1547455700'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '246', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '118.00-128.00', '118.00', '128.00', '3', '1', '0', '1', '1', '1', '

    \"d-1.jpg\"/

    \"d-2.jpg\"/

    ', '3', '0', '8', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1550200324'); +INSERT INTO `s_goods` VALUES ('1', '2', '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', '6', '', '/static/upload/images/goods/2019/01/14/1547450781101144.jpg', '0', '1547450921', '1549959519'), ('2', '3', '苹果(Apple)iPhone 6 Plus (A1524)移动联通电信4G手机 金色 16G', '', 'iPhone 6 Plus', '0', '1711', '步', '/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', '8', '/static/upload/video/goods/2019/01/14/1547458876723311.mp4', '/static/upload/images/goods/2019/01/14/1547451274847894.jpg', '0', '1547451624', '1547458880'), ('3', '0', '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', '2', '', '/static/upload/images/goods/2019/01/14/1547451909951171.jpg', '0', '1547452007', '1547452007'), ('4', '4', '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', '17', '', '/static/upload/images/goods/2019/01/14/1547452474332334.jpg', '0', '1547452553', '1547452553'), ('5', '7', 'Meizu/魅族 MX4 Pro移动版 八核大屏智能手机 黑色 16G', '', '', '0', '436', '步', '/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', '0', '14', '', '/static/upload/images/goods/2019/01/14/1547452714324599.jpg', '0', '1547452798', '1547452798'), ('6', '0', 'vivo X5MAX L 移动4G 八核超薄大屏5.5吋双卡手机vivoX5max', '', '', '0', '321', '步', '/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', '9', '', '/static/upload/images/goods/2019/01/14/1547453000703308.jpg', '0', '1547453135', '1547453157'), ('7', '6', '纽芝兰包包女士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', '5', '', '/static/upload/images/goods/2019/01/15/1547540603500383.jpg', '0', '1547453967', '1547540607'), ('8', '6', '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', '4', '', '/static/upload/images/goods/2019/01/14/1547454145355962.jpg', '0', '1547454269', '1547454269'), ('9', '7', '睡衣女长袖春秋季纯棉韩版女士大码薄款春夏季全棉家居服两件套装', '', '', '0', '598', '件', '/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', '5', '', '/static/upload/images/goods/2019/01/14/1547454567172116.jpg', '0', '1547454786', '1547454828'), ('10', '8', '夏装女装古力娜扎明星同款一字领露肩蓝色蕾丝修身显瘦连衣裙礼服', '', '', '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', '12', '', '/static/upload/images/goods/2019/01/14/1547455222990904.jpg', '0', '1547455375', '1547455375'), ('11', '9', '夏季复古ins风格网红SP同款 短袖大圆领香槟色蕾丝绣花钉珠连衣裙', '', '', '0', '367', '件', '/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', '4', '', '/static/upload/images/goods/2019/01/14/1547455566118614.jpg', '0', '1547455700', '1547455700'), ('12', '2', 'ZK星星绣花雪纺连衣裙中长款sukol裙少女心温柔超仙女chic裙子夏', '', 'xxxxhhhhhh商品型号', '0', '246', '件', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '150.00-188.00', '150.00', '188.00', '118.00-128.00', '118.00', '128.00', '3', '1', '0', '1', '1', '1', '

    \"d-1.jpg\"/

    \"d-2.jpg\"/

    ', '3', '0', '8', '', '/static/upload/images/goods/2019/01/14/1547455890402147.jpg', '0', '1547456230', '1550200324'); COMMIT; -- ---------------------------- @@ -588,7 +588,14 @@ CREATE TABLE `s_message` ( `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`), KEY `user_id` (`user_id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='消息'; + +-- ---------------------------- +-- Records of `s_message` +-- ---------------------------- +BEGIN; +INSERT INTO `s_message` VALUES ('1', '90', '积分变动', '登录奖励积分积分增加5', '0', '0', '0', '1', '0', '0', '1550212790'); +COMMIT; -- ---------------------------- -- Table structure for `s_navigation` @@ -818,13 +825,13 @@ CREATE TABLE `s_plugins` ( PRIMARY KEY (`id`), UNIQUE KEY `plugins` (`plugins`), KEY `is_enable` (`is_enable`) -) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用'; +) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='应用'; -- ---------------------------- -- Records of `s_plugins` -- ---------------------------- BEGIN; -INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"http:\\/\\/tp5-dev.com\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157744'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157742'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157741'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1550158380'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550200998', '1550210584'); +INSERT INTO `s_plugins` VALUES ('1', 'commontopmaxpicture', '{\"images\":\"http:\\/\\/tp5-dev.com\\/static\\/upload\\/images\\/plugins_commontopmaxpicture\\/2019\\/02\\/09\\/1549671733978860.jpg\",\"bg_color\":\"#ce0000\",\"url\":\"https:\\/\\/shopxo.net\",\"is_new_window_open\":\"1\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopmaxpicture\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157744'), ('2', 'commontopnotice', '{\"content\":\"\\u6b22\\u8fce\\u6765\\u5230ShopXO\\u4f01\\u4e1a\\u7ea7B2C\\u5f00\\u6e90\\u7535\\u5546\\u7cfb\\u7edf\\u3001\\u6f14\\u793a\\u7ad9\\u70b9\\u8bf7\\u52ff\\u53d1\\u8d77\\u652f\\u4ed8\\u3001\\u4ee5\\u514d\\u7ed9\\u60a8\\u5e26\\u6765\\u4e0d\\u5fc5\\u8981\\u7684\\u8d22\\u4ea7\\u635f\\u5931\\u3002\",\"is_overall\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"commontopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157742'), ('3', 'usercentertopnotice', '{\"content\":\"\\u7528\\u6237\\u4e2d\\u5fc3\\u516c\\u544a\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"usercentertopnotice\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '0', '1550157741'), ('14', 'userloginrewardintegral', '{\"give_integral\":\"5\",\"is_day_once\":\"1\",\"time_start\":\"\",\"time_end\":\"\",\"pluginsname\":\"userloginrewardintegral\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550151175', '1550158380'), ('15', 'commongobacktop', '{\"images\":\"\\/static\\/upload\\/images\\/plugins_commongobacktop\\/2019\\/02\\/15\\/1550210425433304.png\",\"is_overall\":\"1\",\"pluginsname\":\"commongobacktop\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '0', '1550200998', '1550223748'), ('16', 'commonrightnavigation', '{\"alipay_mini_qrcode_images\":\"\\/static\\/upload\\/images\\/plugins_commonrightnavigation\\/2019\\/02\\/15\\/1550222872753553.png\",\"alipay_fuwu_qrcode_images\":\"\",\"weixin_mini_qrcode_images\":\"\",\"weixin_fuwu_qrcode_images\":\"\",\"is_new_window_open\":\"0\",\"is_overall\":\"1\",\"pluginsname\":\"commonrightnavigation\",\"pluginscontrol\":\"admin\",\"pluginsaction\":\"save\"}', '1', '1550222925', '1550226182'); COMMIT; -- ---------------------------- @@ -998,13 +1005,13 @@ CREATE TABLE `s_search_history` ( `ymd` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '日期 ymd', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; +) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='搜索日志'; -- ---------------------------- -- Records of `s_search_history` -- ---------------------------- BEGIN; -INSERT INTO `s_search_history` VALUES ('16', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549520867'), ('17', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549551528'), ('18', '0', '0', '1', '', '0-0', 'default', 'asc', '20190209', '1549691794'), ('19', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549964118'), ('20', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977054'), ('21', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977060'), ('22', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977075'), ('23', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977103'); +INSERT INTO `s_search_history` VALUES ('16', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549520867'), ('17', '0', '0', '0', '', '0-0', 'default', 'asc', '20190207', '1549551528'), ('18', '0', '0', '1', '', '0-0', 'default', 'asc', '20190209', '1549691794'), ('19', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549964118'), ('20', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977054'), ('21', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977060'), ('22', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977075'), ('23', '0', '0', '0', '', '0-0', 'default', 'asc', '20190212', '1549977103'), ('24', '90', '0', '0', '', '0-0', 'default', 'asc', '20190215', '1550226626'); COMMIT; -- ---------------------------- @@ -1075,7 +1082,7 @@ CREATE TABLE `s_user` ( -- Records of `s_user` -- ---------------------------- BEGIN; -INSERT INTO `s_user` VALUES ('77', '2088502175420842-', '', '', '0', '785817', 'bb3cf6432bf357682e1a5ab115e66b3d', '', '龚哥哥', '13250814883', 'fuxiang.gong@qq.com', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '977', '0', '0', '0', '0', '1550158398'), ('90', '2088502175420842', '', '', '0', '789261', '849e371e484cd4d39f55aefac55bc97c', '', '魔鬼', '17602128368', '', '2', '', '上海', '上海市', '666201600', '', '25', '0', '0', '0', '1539167253', '1550157964'); +INSERT INTO `s_user` VALUES ('77', '2088502175420842-', '', '', '0', '785817', 'bb3cf6432bf357682e1a5ab115e66b3d', '', '龚哥哥', '13250814883', 'fuxiang.gong@qq.com', '2', 'https://tfs.alipayobjects.com/images/partner/T10d8lXm4dXXXXXXXX', '上海', '上海市', '1540915200', '', '977', '0', '0', '0', '0', '1550158398'), ('90', '2088502175420842', '', '', '0', '233358', '699a13c357f815fb5c0a42c03568b154', '', '魔鬼', '17602128368', '', '2', '', '上海', '上海市', '666201600', '', '30', '0', '0', '0', '1539167253', '1550212789'); COMMIT; -- ---------------------------- diff --git a/public/static/plugins/css/commonrightnavigation/admin.css b/public/static/plugins/css/commonrightnavigation/admin.css new file mode 100755 index 0000000000000000000000000000000000000000..2bdd937872d735fc2ac5a56ae173ddbd76e15910 --- /dev/null +++ b/public/static/plugins/css/commonrightnavigation/admin.css @@ -0,0 +1,27 @@ +/** + * 首页 + */ +.commonrightnavigation-content .items { + margin: 10px 0 20px 0; + border-bottom: 1px dashed #f1f1f1; + padding-bottom: 20px; +} +.commonrightnavigation-content .items .immages-tag { + border: 1px solid #eee; + text-align: center; +} +.commonrightnavigation-content .items .immages-tag img { + max-width: 100%; +} +.commonrightnavigation-content .items .bg-color-tag { + width: 100%; + height: 50px; + border: 1px solid #eee; +} +.commonrightnavigation-content .edit-submit { + margin-bottom: 20px; +} + +/** + * 编辑页面 + */ diff --git a/public/static/plugins/images/commonrightnavigation/default-images.png b/public/static/plugins/images/commonrightnavigation/default-images.png new file mode 100755 index 0000000000000000000000000000000000000000..76f08c7066576a8eddd8f484dc816a8e9995a402 Binary files /dev/null and b/public/static/plugins/images/commonrightnavigation/default-images.png differ diff --git a/public/static/plugins/images/commonrightnavigation/index.html b/public/static/plugins/images/commonrightnavigation/index.html new file mode 100755 index 0000000000000000000000000000000000000000..0519ecba6ea913e21689ec692e81e9e4973fbf73 --- /dev/null +++ b/public/static/plugins/images/commonrightnavigation/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/static/upload/images/plugins_commonrightnavigation/2019/02/15/1550222872753553.png b/public/static/upload/images/plugins_commonrightnavigation/2019/02/15/1550222872753553.png new file mode 100644 index 0000000000000000000000000000000000000000..572623f5623294ba58e2a962bb27d8dea8a712cc Binary files /dev/null and b/public/static/upload/images/plugins_commonrightnavigation/2019/02/15/1550222872753553.png differ