优化前端页面

master
Bosen 2022-03-28 20:08:36 +08:00
parent 699c164c94
commit 2320ee17d8
8 changed files with 194 additions and 193 deletions

View File

@ -11,7 +11,7 @@
Target Server Version : 50716
File Encoding : 65001
Date: 27/03/2022 12:55:24
Date: 28/03/2022 20:07:01
*/
SET NAMES utf8mb4;
@ -57,7 +57,7 @@ CREATE TABLE `sys_admin` (
-- ----------------------------
-- Records of sys_admin
-- ----------------------------
INSERT INTO `sys_admin` VALUES (1, 'bosen', 'b9e1115fb6e950878b08e2433b53ed47', 'bosen_once@163.com', 1);
INSERT INTO `sys_admin` VALUES (1, 'Bosen', 'b9e1115fb6e950878b08e2433b53ed47', 'bosen_once@163.com', 1);
INSERT INTO `sys_admin` VALUES (2, '2390025289@qq.com', 'e10adc3949ba59abbe56e057f20f883e', '2390025289@qq.com', 1);
INSERT INTO `sys_admin` VALUES (3, 'guest', 'e10adc3949ba59abbe56e057f20f883e', 'guest@qq.com', 1);
@ -89,18 +89,19 @@ CREATE TABLE `sys_cart` (
`user_id` int(11) NOT NULL,
`goods_num` int(11) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 14 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_cart
-- ----------------------------
INSERT INTO `sys_cart` VALUES (4, 40, 2, 1);
INSERT INTO `sys_cart` VALUES (5, 39, 2, 1);
INSERT INTO `sys_cart` VALUES (7, 18, 2, 1);
INSERT INTO `sys_cart` VALUES (10, 70, 1, 1);
INSERT INTO `sys_cart` VALUES (11, 51, 1, 1);
INSERT INTO `sys_cart` VALUES (12, 73, 1, 1);
INSERT INTO `sys_cart` VALUES (13, 47, 1, 1);
INSERT INTO `sys_cart` VALUES (14, 47, 3, 1);
INSERT INTO `sys_cart` VALUES (15, 48, 3, 1);
INSERT INTO `sys_cart` VALUES (16, 46, 3, 1);
INSERT INTO `sys_cart` VALUES (17, 45, 3, 1);
-- ----------------------------
-- Table structure for sys_comment
@ -228,7 +229,7 @@ INSERT INTO `sys_goods` VALUES (68, '低帮运动鞋新款情侣小白鞋', '李
INSERT INTO `sys_goods` VALUES (69, '春夏新品舒适减震跑鞋', '李宁䨻beng超轻18女子2021春夏新品舒适减震跑鞋学生轻质透气经典百搭运动鞋旅游鞋女鞋官方旗舰网 标准白/荧光橙橘-7 38', '/data/goods/12/20210330213633953914.jpg', 0.01, 1, 12, 10);
INSERT INTO `sys_goods` VALUES (70, '拖鞋女鞋夏季新品', '李宁拖鞋女鞋夏季新品Disney迪士尼米奇联名款女子轻便情侣鞋条纹魔术贴凉鞋官方旗舰网 标准白/标准黑-3 37.5', '/data/goods/12/20210330213652173582.jpg', 0.01, 1, 12, 9);
INSERT INTO `sys_goods` VALUES (71, '安踏官方旗舰老爹鞋女鞋', '安踏官方旗舰老爹鞋女鞋2021春季新款ins时尚休闲运动鞋女潮鞋子女士休闲鞋男鞋情侣鞋 安踏白/烟雾紫-8 6.5(女37.5)', '/data/goods/14/20210330213748876483.jpg', 0.01, 1, 14, 8);
INSERT INTO `sys_goods` VALUES (72, '安踏脉冲2代男鞋', '安踏脉冲2代男鞋男2021春季新款男士户外休闲鞋旅游鞋官方旗舰网店912118852 浅米白/墨水蓝-1 8.5(男42)', '/data/goods/14/20210330213810878030.jpg', 0.01, 1, 14, 8);
INSERT INTO `sys_goods` VALUES (72, '安踏脉冲2代男鞋', '安踏脉冲2代男鞋男2021春季新款男士户外休闲鞋旅游鞋官方旗舰网店912118852 浅米白/墨水蓝-1 8.5(男42)', '/data/goods/14/20210330213810878030.jpg', 0.01, 1, 14, 9);
INSERT INTO `sys_goods` VALUES (73, '安踏女休闲鞋2021春季新款', '安踏女休闲鞋2021春季新款轻便跑步鞋子潮流时尚女鞋老爹鞋女运动鞋子百搭猫爪鞋官方旗舰网店 象牙白/迷雾紫/浅雾灰-5 6.5(女37.5)', '/data/goods/14/20210330213829639750.jpg', 0.01, 1, 14, 10);
INSERT INTO `sys_goods` VALUES (74, '测试商品(勿拍)', '这是一只用于测试的海绵宝宝,勿拍!!!', '/data/goods/11/20210330220346963836.jpg', 0.01, 0, 11, 4);
@ -302,37 +303,21 @@ CREATE TABLE `sys_notice` (
`receive` int(11) NOT NULL COMMENT '接收者的id',
`create_time` bigint(20) NOT NULL COMMENT '通知发送时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 30 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
) ENGINE = InnoDB AUTO_INCREMENT = 40 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of sys_notice
-- ----------------------------
INSERT INTO `sys_notice` VALUES (1, '测试标题', '测试内容', '0', 1, 1607238236877);
INSERT INTO `sys_notice` VALUES (2, '测试标题', '测试内容', '0', 2, 1607238236897);
INSERT INTO `sys_notice` VALUES (3, '测试标题', '测试内容', '1', 5, 1607238276845);
INSERT INTO `sys_notice` VALUES (4, '测试标题', '测试内容', '1', 8, 1607238276846);
INSERT INTO `sys_notice` VALUES (5, '测试标题', '测试内容', '1', 9, 1607238276847);
INSERT INTO `sys_notice` VALUES (7, '测试标题', '测试内容', '2', 2, 1607238284600);
INSERT INTO `sys_notice` VALUES (8, '测试标题', '测试内容', '2', 3, 1607238284601);
INSERT INTO `sys_notice` VALUES (9, '测试标题', '测试内容', '2', 4, 1607238284601);
INSERT INTO `sys_notice` VALUES (11, '测试标题2', '测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2', '2', 3, 1609926809535);
INSERT INTO `sys_notice` VALUES (12, '测试标题2', '测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2', '2', 4, 1609926809536);
INSERT INTO `sys_notice` VALUES (13, '测试标题2', '测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2测试内容2', '2', 5, 1609926809536);
INSERT INTO `sys_notice` VALUES (15, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 3, 1610251470775);
INSERT INTO `sys_notice` VALUES (16, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 4, 1610251470776);
INSERT INTO `sys_notice` VALUES (17, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 5, 1610251470776);
INSERT INTO `sys_notice` VALUES (18, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '0', 1, 1610251505029);
INSERT INTO `sys_notice` VALUES (19, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '0', 1, 1610251517513);
INSERT INTO `sys_notice` VALUES (20, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '0', 1, 1610251532490);
INSERT INTO `sys_notice` VALUES (21, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息', '0', 1, 1610251583253);
INSERT INTO `sys_notice` VALUES (22, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息', '2', 1, 1610251604151);
INSERT INTO `sys_notice` VALUES (23, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息', '2', 3, 1610251604152);
INSERT INTO `sys_notice` VALUES (24, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息', '2', 4, 1610251604153);
INSERT INTO `sys_notice` VALUES (25, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息', '2', 5, 1610251604153);
INSERT INTO `sys_notice` VALUES (26, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 1, 1610251616814);
INSERT INTO `sys_notice` VALUES (27, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 3, 1610251616814);
INSERT INTO `sys_notice` VALUES (28, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 4, 1610251616815);
INSERT INTO `sys_notice` VALUES (29, '测试群发系统消息', '测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息测试群发系统消息', '2', 5, 1610251616815);
INSERT INTO `sys_notice` VALUES (30, '系统群发消息测试', '系统群发消息测试(无需理会)', '2', 1, 1648468781372);
INSERT INTO `sys_notice` VALUES (31, '系统群发消息测试', '系统群发消息测试(无需理会)', '2', 3, 1648468781375);
INSERT INTO `sys_notice` VALUES (32, '系统群发消息测试', '系统群发消息测试(无需理会)', '2', 4, 1648468781376);
INSERT INTO `sys_notice` VALUES (33, '系统群发消息测试', '系统群发消息测试(无需理会)', '2', 5, 1648468781377);
INSERT INTO `sys_notice` VALUES (34, '系统群发消息测试', '系统群发消息测试(无需理会)', '2', 7, 1648468781378);
INSERT INTO `sys_notice` VALUES (35, '欢迎访问捷阅网~', '欢迎访问捷阅网~', '2', 1, 1648468890462);
INSERT INTO `sys_notice` VALUES (36, '欢迎访问捷阅网~', '欢迎访问捷阅网~', '2', 3, 1648468890464);
INSERT INTO `sys_notice` VALUES (37, '欢迎访问捷阅网~', '欢迎访问捷阅网~', '2', 4, 1648468890466);
INSERT INTO `sys_notice` VALUES (38, '欢迎访问捷阅网~', '欢迎访问捷阅网~', '2', 5, 1648468890467);
INSERT INTO `sys_notice` VALUES (39, '欢迎访问捷阅网~', '欢迎访问捷阅网~', '2', 7, 1648468890468);
-- ----------------------------
-- Table structure for sys_order
@ -377,18 +362,17 @@ INSERT INTO `sys_order` VALUES (90, 'WVW202012341002151359796', 1607185311336, 1
INSERT INTO `sys_order` VALUES (91, 'QAK202012341002151746672', 1607185311336, 1607185323819, 1, 1, 'SDW202012341002151596097', 1, 5, 0.01, 19, '', '测试', '测试', '测试', '', 0, '/data/pay/SDW202012341002151596097.jpg', '1', 0.1);
INSERT INTO `sys_order` VALUES (92, 'YYT202012341004300490850', 1607186580573, 1607186595850, 1, 1, 'NFF202012341004300926613', 1, 8, 0.01, 34, '', '测试', '测试', '测试', '', 0, '/data/pay/NFF202012341004300926613.jpg', '13', 0.1);
INSERT INTO `sys_order` VALUES (93, 'LID202012341004300509122', 1607186580573, 1607186595850, 1, 1, 'NFF202012341004300926613', 1, 5, 0.01, 19, '', '测试', '测试', '测试', '', 0, '/data/pay/NFF202012341004300926613.jpg', '10', 0.1);
INSERT INTO `sys_order` VALUES (101, 'GKJ202112340211010176213', 1638796210886, 1638796384928, 1, 1, 'GAU202112340211010908695', 1, 13, 0.01, 45, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/11f3333f-6d68-4adb-9cf6-035a39a4a551.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (102, 'ZSS202112340211024283551', 1638796224161, 1638796384928, 1, 1, 'ELN202112340211024324951', 1, 13, 0.01, 46, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/147fb8b1-18ac-480a-8d57-2c21635d9519.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (103, 'ZDK202112340211037495045', 1638796237222, 1638796384928, 1, 1, 'IJD202112340211037974203', 1, 13, 0.01, 47, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/4801e190-5640-4f14-a593-66029aa2d0ea.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (104, 'UWU202112340211051689881', 1638796251864, 1638796384928, 1, 1, 'NTP202112340211051560839', 1, 13, 0.01, 48, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/896bd6fa-e609-405c-b601-caa56d71659f.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (105, 'LAW202112340211111244316', 1638796271424, 1638796384928, 1, 1, 'EVM202112340211111457150', 1, 13, 0.01, 49, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/814b7cf6-3e81-4356-aa27-023bf2eb0609.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (106, 'QZG202112340211127932176', 1638796287661, 1638796384928, 1, 1, 'CKX202112340211127838508', 1, 13, 0.01, 50, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/2a3ecc4c-62e4-4964-aa75-1c2a3d082ba1.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (107, 'MVF202112340211155962656', 1638796315927, 1638796384928, 1, 1, 'GXI202112340211155762974', 1, 13, 0.01, 51, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/175a4dc6-1077-46ef-b64e-0e2a9ae66ee0.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (108, 'GYV202112340211210918392', 1638796330108, 1638796384928, 1, 1, 'NJY202112340211210411460', 1, 13, 0.01, 52, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/b7e61e0a-fea6-4022-b9bb-a3949220c085.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (109, 'XAB202112340211229316121', 1638796349401, 1638796384928, 1, 1, 'BGA202112340211229992111', 1, 13, 0.01, 53, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/9d358e5a-638e-4437-8a00-d9f942e5f58f.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (110, 'YUL202112340211250396901', 1638796370482, 1638796384928, 1, 1, 'OAX202112340211250369042', 1, 13, 0.01, 54, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/3db2f150-1b6d-41fa-8b6d-eca59c5f39cc.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (111, 'BHY202112340211304317807', 1638796384928, 1638796384928, 1, 1, 'ETZ202112340211304214293', 1, 13, 0.01, 55, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/87b2e60d-464c-499a-90be-b93e1ea58911.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (112, 'EIJ20220386125033635438', 1648356633386, NULL, 1, 0, 'RZZ20220386125033736655', 1, 14, 0.01, 72, '', 'xxxxxxxxxxxxx', 'Bosen', '13416263336', '', 0, 'data/pay/6d05120d-c42e-4793-b4e5-1344f367659e.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (101, 'GKJ202112340211010176213', 1638796210886, 1638796384928, 1, 1, 'GAU202112340211010908695', 3, 13, 0.01, 45, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/11f3333f-6d68-4adb-9cf6-035a39a4a551.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (102, 'ZSS202112340211024283551', 1638796224161, 1638796384928, 1, 1, 'ELN202112340211024324951', 3, 13, 0.01, 46, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/147fb8b1-18ac-480a-8d57-2c21635d9519.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (103, 'ZDK202112340211037495045', 1638796237222, 1638796384928, 1, 1, 'IJD202112340211037974203', 3, 13, 0.01, 47, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/4801e190-5640-4f14-a593-66029aa2d0ea.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (104, 'UWU202112340211051689881', 1638796251864, 1638796384928, 1, 1, 'NTP202112340211051560839', 3, 13, 0.01, 48, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/896bd6fa-e609-405c-b601-caa56d71659f.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (105, 'LAW202112340211111244316', 1638796271424, 1638796384928, 1, 1, 'EVM202112340211111457150', 3, 13, 0.01, 49, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/814b7cf6-3e81-4356-aa27-023bf2eb0609.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (106, 'QZG202112340211127932176', 1638796287661, 1638796384928, 1, 1, 'CKX202112340211127838508', 3, 13, 0.01, 50, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/2a3ecc4c-62e4-4964-aa75-1c2a3d082ba1.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (107, 'MVF202112340211155962656', 1638796315927, 1638796384928, 1, 1, 'GXI202112340211155762974', 3, 13, 0.01, 51, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/175a4dc6-1077-46ef-b64e-0e2a9ae66ee0.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (108, 'GYV202112340211210918392', 1638796330108, 1638796384928, 1, 1, 'NJY202112340211210411460', 3, 13, 0.01, 52, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/b7e61e0a-fea6-4022-b9bb-a3949220c085.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (109, 'XAB202112340211229316121', 1638796349401, 1638796384928, 1, 1, 'BGA202112340211229992111', 3, 13, 0.01, 53, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/9d358e5a-638e-4437-8a00-d9f942e5f58f.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (110, 'YUL202112340211250396901', 1638796370482, 1638796384928, 1, 1, 'OAX202112340211250369042', 3, 13, 0.01, 54, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/3db2f150-1b6d-41fa-8b6d-eca59c5f39cc.jpg', NULL, 0.0);
INSERT INTO `sys_order` VALUES (111, 'BHY202112340211304317807', 1638796384928, 1638796384928, 1, 1, 'ETZ202112340211304214293', 3, 13, 0.01, 55, '', 'xxxxxxxxxxxxx', 'Bosen', '123456', '', 0, 'data/pay/87b2e60d-464c-499a-90be-b93e1ea58911.jpg', NULL, 0.0);
-- ----------------------------
-- Table structure for sys_role
@ -457,7 +441,7 @@ INSERT INTO `sys_ui` VALUES (19, '/data/library/20210330181647732986.jpg', 3151,
INSERT INTO `sys_ui` VALUES (20, '/data/library/20210330181628569458.jpeg', 3152, 282);
INSERT INTO `sys_ui` VALUES (21, 'data/library/1f9be131-5b1b-4c29-a172-2f34b757fe77.jpeg', 475, 570);
INSERT INTO `sys_ui` VALUES (22, '/data/library/20210330185815215536.jpg', 674, 264);
INSERT INTO `sys_ui` VALUES (23, 'data/library/66d5c91c-0190-4da7-8103-dcdf662f7ed5.jpg', 1920, 737);
INSERT INTO `sys_ui` VALUES (23, 'data/library/22f506db-2960-4756-b339-25760fe4dc40.jpg', 1920, 737);
-- ----------------------------
-- Table structure for sys_ui_copy1

View File

@ -91,7 +91,7 @@
<br/>
<input type="text" name="ratio" th:value="${mt.getRatio()}" style="width: 50px">
<input hidden name="id" th:value="${mt.getId()}">
<input type="submit" value="修改" style="width: 65px"
<input type="submit" value="修改" style="width: 65px; border: 0; border-radius: 5px"
onclick="if (confirm('确认修改?')==false)return false; ">
</form>
</td>
@ -101,11 +101,11 @@
<!-- onclick="if (confirm('确认删除该商户?')==false)return false;">-->
<!-- </form>-->
<form th:action="@{/admin/merchant/update-merchant(email=${mt.getEmail()},state=0,id=${mt.getId()})}" method="post">
<input th:if="${mt.getState()}==1" type="submit" value="停用" style="width: 65px;background: orangered; color: white; font-weight: bold"
<input th:if="${mt.getState()}==1" type="submit" value="停用" style="width: 65px;background: orangered; color: white; font-weight: bold; border: 0; border-radius: 5px"
onclick="if (confirm('确认停用该商户?')==false)return false; ">
</form>
<form th:action="@{/admin/merchant/update-merchant(email=${mt.getEmail()},state=1,id=${mt.getId()})}" method="post">
<input th:if="${mt.getState()}==0" type="submit" value="启用" style="width: 65px;background: deepskyblue; color: white; font-weight: bold"
<input th:if="${mt.getState()}==0" type="submit" value="启用" style="width: 65px;background: deepskyblue; color: white; font-weight: bold; border: 0; border-radius: 5px"
onclick="if (confirm('确认启用商户?')==false)return false; ">
</form>
</td>
@ -115,12 +115,12 @@
<form th:action="@{/admin/merchant}">
<!--/*@thymesVar id="preNum" type="java.lang.Integer"*/-->
<input hidden th:value="${preNum}" name="num">
<input type="submit" value="上一页">
<input type="submit" style="border: 0; border-radius: 5px" value="上一页">
</form>
<form th:action="@{/admin/merchant}">
<!--/*@thymesVar id="nextNum" type="java.lang.Integer"*/-->
<input hidden th:value="${nextNum}" name="num">
<input type="submit" value="下一页">
<input type="submit" style="border: 0; border-radius: 5px" value="下一页">
</form>
</td>
</tr>

View File

@ -16,6 +16,12 @@
<!-- Google Fonts-->
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
<style th:include="admin/common/model::input"></style>
<style>
textarea {
border: 0;
border-radius: 5px;
}
</style>
</head>
<body>
@ -42,7 +48,7 @@
<input name="type" value="2" type="radio" style="width: 10px;height: 10px" checked><b style="color: limegreen;">会员</b>
</label>
<label style="float: right">
<input style="background: deepskyblue;color: white;font-weight: bold" value="发送" type="submit">
<input style="background: deepskyblue;color: white;font-weight: bold; border: 0; border-radius: 5px" value="发送" type="submit">
</label>
</form>
<br/><br/><br/>

View File

@ -41,6 +41,7 @@
height: 36px;
text-align: center;
}
</style>
</head>
@ -62,7 +63,7 @@
</select>
<form th:action="@{/admin/search-order}" style="position: relative;left: 32px;display: inline" method="post">
<input id="order" name="order" style="display: inline;width: 200px;background: white;height: 24px" placeholder="通过订单号查找...">
<input type="submit" value="查找" style="height: 36px"
<input type="submit" value="查找" style="height: 34px; border: 0; border-radius: 5px"
onclick="if (document.getElementById('order').value==''){alert('请输入订单号');return false;} ">
</form>
<h3 th:if="${orderList.size()==0}" style="color:grey;position:absolute;left: 50%;top: 25%;transform: translate(-50%,-50%)">
@ -107,9 +108,9 @@
</tr>
<tr style="height: 100px">
<td colspan="12">
<input type="submit" value="上一页" onclick="delPage()">
<input type="submit" value="上一页" style="border: 0; border-radius: 5px" onclick="delPage()">
[[${page}]]/[[${allPage}]]
<input type="submit" value="下一页" onclick="addPage()">
<input type="submit" value="下一页" style="border: 0; border-radius: 5px" onclick="addPage()">
</td>
</tr>
</table>

View File

@ -123,7 +123,7 @@
</option>
</select>
<input name="admin" th:value="${admin.getId()}" hidden="hidden">
<input value="修改" type="submit" style="width: 50px;height: 30px;background: deepskyblue;color: white">
<input value="修改" type="submit" style="width: 50px;height: 30px;background: deepskyblue;color: white; border: 0; border-radius: 5px">
</label>
</form>
</td>
@ -215,7 +215,7 @@
<a th:if="${access.getStatus()==0}" th:href="@{/admin/on-access(id=${access.getId()})}">启用</a>
<a th:if="${access.getStatus()!=0}" th:href="@{/admin/off-access(id=${access.getId()})}">停用</a>
&nbsp;&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;
<input type="submit" value="编辑" style="color: white;background: deepskyblue;height: 30px;width: 70px"/>
<input type="submit" value="编辑" style="color: white;background: deepskyblue;height: 30px;width: 70px; border: 0; border-radius: 5px"/>
</td>
</form>
</tr>
@ -232,11 +232,11 @@
<ol class="breadcrumb"></ol>
</div>
<div style="position:absolute;left: 50%;top: 25%;transform: translate(-50%,-50%)">
<button onclick="showUser()">用户管理</button>
<button onclick="showUser()" style="border: 0; border-radius: 8px">用户管理</button>
<br/><br/><br/>
<button onclick="showRole()">角色管理</button>
<button onclick="showRole()" style="border: 0; border-radius: 8px">角色管理</button>
<br/><br/><br/>
<button onclick="showAccess()">权限管理</button>
<button onclick="showAccess()" style="border: 0; border-radius: 8px">权限管理</button>
</div>
<br/><br/><br/>
</div>

View File

@ -23,11 +23,38 @@
form{
display: inline;
}
h4{
h5{
display: inline;
}
table td {
border: 1px solid grey;
border: 5px solid whitesmoke;
}
input {
width: 60px;
height: 30px;
border: 0;
border-radius: 5px;
}
.update {
background: deepskyblue;
color: white;
}
.delete {
background: orangered;
color: white;
}
.update:hover {
background: deepskyblue;
color: white;
opacity: 0.7;
}
.delete:hover {
background: orangered;
color: white;
opacity: 0.7;
}
img {
border-radius: 10px;
}
</style>
</head>
@ -44,148 +71,131 @@
<table style="position:relative;left:50%;width: 80%;transform: translate(-50%,0)">
<tr>
<td colspan="4">
<h4>推荐尺寸1920x737</h4>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input1920" onchange="showImg(this,'img1920')">
<input type="submit" value="修改" onclick="loading()">
<input type="number" value="1920" name="width" hidden="hidden">
<input type="number" value="737" name="height" hidden="hidden">
</form>
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="1920" name="width" hidden="hidden">
<input type="number" value="737" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<h5>推荐尺寸1920x737</h5>
<div style="width: 100%;text-align: center">
<!--1920*737-->
<img style="width: 1000px" th:if="${imgMap.get('1920')} eq null" th:src="@{/image/user/home/slider/slide-img1.jpg}" id="img1920" onclick="upImg('input1920')" width="50%">
<img style="width: 1000px" th:if="${imgMap.get('1920')} ne null" th:src="@{${imgMap.get('1920').getUrl()}}" id="img1920" onclick="upImg('input1920')" width="50%">
<img style="width: 500px; height: 300px" th:if="${imgMap.get('1920')} eq null" th:src="@{/image/user/home/slider/slide-img1.jpg}" id="img1920" onclick="upImg('input1920')" width="50%">
<img style="width: 500px; height: 300px" th:if="${imgMap.get('1920')} ne null" th:src="@{${imgMap.get('1920').getUrl()}}" id="img1920" onclick="upImg('input1920')" width="50%">
</div>
<div style="float: right">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right;">
<input type="number" value="1920" name="width" hidden="hidden">
<input type="number" value="737" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right;">
<input type="file" name="file" style="display: none;" id="input1920" onchange="showImg(this,'img1920')">
<input type="submit" value="修改" class="update" onclick="loading()">
<input type="number" value="1920" name="width" hidden="hidden">
<input type="number" value="737" name="height" hidden="hidden">
</form>
</div>
</td>
</tr>
<tr>
<td>
<hr/>
</td>
</tr>
<tr>
<td colspan="4">
<h4>推荐尺寸1230x535</h4>
<h5>推荐尺寸1230x535</h5>
<div style="width: 100%;text-align: center">
<!--1230*535-->
<img style="width: 500px; height: 300px" th:if="${imgMap.get('1230')} eq null" th:src="@{/image/user/home/slider/slide-img2.jpg}" id="img1230" onclick="upImg('input1230')" >
<img style="width: 500px; height: 300px" th:if="${imgMap.get('1230')} ne null" th:src="@{${imgMap.get('1230').getUrl()}}" id="img1230" onclick="upImg('input1230')" >
</div>
<div style="float: right">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="1230" name="width" hidden="hidden">
<input type="number" value="535" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input1230" onchange="showImg(this,'img1230')">
<input type="number" value="1230" name="width" hidden="hidden">
<input type="number" value="535" name="height" hidden="hidden">
<input type="submit" value="修改" onclick="loading()">
<input type="submit" value="修改" class="update" onclick="loading()">
</form>
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="1230" name="width" hidden="hidden">
<input type="number" value="535" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<div style="width: 100%;text-align: center">
<!--1230*535-->
<img style="width: 1000px" th:if="${imgMap.get('1230')} eq null" th:src="@{/image/user/home/slider/slide-img2.jpg}" id="img1230" onclick="upImg('input1230')" >
<img style="width: 1000px" th:if="${imgMap.get('1230')} ne null" th:src="@{${imgMap.get('1230').getUrl()}}" id="img1230" onclick="upImg('input1230')" >
</div>
</td>
</tr>
</table>
<table style="position:relative;left:50%;width: 80%;transform: translate(-50%,0)">
<tr>
<td>
<hr/>
</td>
</tr>
<tr>
<td>
<h4>推荐尺寸315x282</h4>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input3151" onchange="showImg(this,'img3151')">
<input type="number" value="3151" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="修改" onclick="loading()">
</form>
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="3151" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<td rowspan="2" colspan="1">
<h5>推荐尺寸475x570</h5>
<div style="width: 100%;text-align: center">
<img th:if="${imgMap.get('3151')} eq null" th:src="@{/image/user/home/banner/3.jpg}" id="img3151" onclick="upImg('input3151')" >
<img th:if="${imgMap.get('3151')} ne null" th:src="@{${imgMap.get('3151').getUrl()}}" style="width: 315px;height: 282px" id="img3151" onclick="upImg('input3151')" >
<img style="width: 400px;height: 530px" th:if="${imgMap.get('475')} eq null" th:src="@{/image/user/home/banner/1.jpg}" id="img475" onclick="upImg('input475')" >
<img style="width: 400px;height: 530px" th:if="${imgMap.get('475')} ne null" th:src="@{${imgMap.get('475').getUrl()}}" id="img475" onclick="upImg('input475')" >
</div>
</td>
</tr>
<tr>
<td>
<hr/>
</td>
</tr>
<tr>
<td>
<h4>推荐尺寸315x282</h4>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input3152" onchange="showImg(this,'img3152')">
<input type="number" value="3152" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="修改" onclick="loading()">
</form>
<div style="float: right">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="3152" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
<input type="number" value="475" name="width" hidden="hidden">
<input type="number" value="570" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<div style="width: 100%;text-align: center">
<img th:if="${imgMap.get('3152')} eq null" th:src="@{/image/user/home/banner/3.jpg}" id="img3152" onclick="upImg('input3152')" >
<img th:if="${imgMap.get('3152')} ne null" th:src="@{${imgMap.get('3152').getUrl()}}" style="width: 315px;height: 282px" id="img3152" onclick="upImg('input3152')" >
</div>
</td>
</tr>
<tr>
<td>
<hr/>
</td>
</tr>
<tr>
<td>
<h4>推荐尺寸475x570</h4>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input475" onchange="showImg(this,'img475')">
<input type="number" value="475" name="width" hidden="hidden">
<input type="number" value="570" name="height" hidden="hidden">
<input type="submit" value="修改" onclick="loading()">
<input type="submit" value="修改" class="update" onclick="loading()">
</form>
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="475" name="width" hidden="hidden">
<input type="number" value="570" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<div style="width: 100%;text-align: center">
<img th:if="${imgMap.get('475')} eq null" th:src="@{/image/user/home/banner/1.jpg}" id="img475" onclick="upImg('input475')" >
<img th:if="${imgMap.get('475')} ne null" th:src="@{${imgMap.get('475').getUrl()}}" style="width: 470px;height: 570px" id="img475" onclick="upImg('input475')" >
</div>
</td>
</tr>
<tr>
<td>
<hr/>
</td>
</tr>
<tr>
<td>
<h4>推荐尺寸674x264</h4>
<td rowspan="1" colspan="2">
<h5>推荐尺寸674x264</h5>
<div style="width: 100%;text-align: center">
<img style="width: 600px;height: 240px" th:if="${imgMap.get('674')} eq null" th:src="@{/image/user/home/banner/2.jpg}" id="img674" onclick="upImg('input674')" >
<img style="width: 600px;height: 240px" th:if="${imgMap.get('674')} ne null" th:src="@{${imgMap.get('674').getUrl()}}" id="img674" onclick="upImg('input674')" >
</div>
<div style="float: right;">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="674" name="width" hidden="hidden">
<input type="number" value="264" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input674" onchange="showImg(this,'img674')">
<input type="number" value="674" name="width" hidden="hidden">
<input type="number" value="264" name="height" hidden="hidden">
<input type="submit" value="修改" onclick="loading()">
</form>
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="674" name="width" hidden="hidden">
<input type="number" value="264" name="height" hidden="hidden">
<input type="submit" value="删除" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
<input type="submit" value="修改" class="update" onclick="loading()">
</form>
</div>
</td>
</tr>
<tr>
<td rowspan="1" colspan="1">
<h5>推荐尺寸315x282</h5>
<div style="width: 100%;text-align: center">
<img th:if="${imgMap.get('674')} eq null" th:src="@{/image/user/home/banner/2.jpg}" id="img674" onclick="upImg('input674')" >
<img th:if="${imgMap.get('674')} ne null" th:src="@{${imgMap.get('674').getUrl()}}" style="width: 674px;height: 264px" id="img674" onclick="upImg('input674')" >
<img style="width: 250px;height: 230px" th:if="${imgMap.get('3151')} eq null" th:src="@{/image/user/home/banner/3.jpg}" id="img3151" onclick="upImg('input3151')" >
<img style="width: 250px;height: 230px" th:if="${imgMap.get('3151')} ne null" th:src="@{${imgMap.get('3151').getUrl()}}" id="img3151" onclick="upImg('input3151')" >
</div>
<div style="float: right">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="3151" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input3151" onchange="showImg(this,'img3151')">
<input type="number" value="3151" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="修改" class="update" onclick="loading()">
</form>
</div>
</td>
<td rowspan="1" colspan="1">
<h5>推荐尺寸315x282</h5>
<div style="width: 100%;text-align: center">
<img style="width: 250px;height: 230px" th:if="${imgMap.get('3152')} eq null" th:src="@{/image/user/home/banner/3.jpg}" id="img3152" onclick="upImg('input3152')" >
<img style="width: 250px;height: 230px" th:if="${imgMap.get('3152')} ne null" th:src="@{${imgMap.get('3152').getUrl()}}" id="img3152" onclick="upImg('input3152')" >
</div>
<div style="float: right">
<form th:action="@{/admin/del-image}" method="post" style="text-align: right">
<input type="number" value="3152" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="删除" class="delete" onclick="if (confirm('确认删除?') == false) {return false;} else {loading();}"/>
</form>
<form th:action="@{/admin/up-image}" method="post" enctype="multipart/form-data" style="text-align: right">
<input type="file" name="file" style="display: none;" id="input3152" onchange="showImg(this,'img3152')">
<input type="number" value="3152" name="width" hidden="hidden">
<input type="number" value="282" name="height" hidden="hidden">
<input type="submit" value="修改" class="update" onclick="loading()">
</form>
</div>
</td>
</tr>

View File

@ -86,9 +86,9 @@
</tr>
<tr style="height: 100px">
<td colspan="5">
<input type="submit" value="上一页" onclick="delPage()">
<input type="submit" value="上一页" onclick="delPage()" style="border: 0; border-radius: 5px">
[[${page}]]/[[${allPage}]]
<input type="submit" value="下一页" onclick="addPage()">
<input type="submit" value="下一页" onclick="addPage()" style="border: 0; border-radius: 5px">
</td>
</tr>
</table>

View File

@ -182,9 +182,9 @@
<tfoot>
<tr>
<td colspan="6">
<input type="submit" value="上一页" onclick="delPage()">
<input type="submit" value="上一页" style="border: 0; border-radius: 5px" onclick="delPage()">
[[${page}]]/[[${allPage}]]
<input type="submit" value="下一页" onclick="addPage()">
<input type="submit" value="下一页" style="border: 0; border-radius: 5px" onclick="addPage()">
</td>
</tr>
<tr>