educode_sales 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +30 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/educode_sales_manifest.js +2 -0
  6. data/app/assets/fonts/iconfont.eot +0 -0
  7. data/app/assets/fonts/iconfont.svg +554 -0
  8. data/app/assets/fonts/iconfont.ttf +0 -0
  9. data/app/assets/fonts/iconfont.woff +0 -0
  10. data/app/assets/fonts/iconfont.woff2 +0 -0
  11. data/app/assets/images/educode_sales/favicon.ico +0 -0
  12. data/app/assets/images/educode_sales/icon-ext.png +0 -0
  13. data/app/assets/images/educode_sales/icon-login.png +0 -0
  14. data/app/assets/images/educode_sales/icon.png +0 -0
  15. data/app/assets/images/educode_sales/loading-0.gif +0 -0
  16. data/app/assets/images/educode_sales/loading-1.gif +0 -0
  17. data/app/assets/images/educode_sales/loading-2.gif +0 -0
  18. data/app/assets/images/educode_sales/loginbg.png +0 -0
  19. data/app/assets/images/educode_sales/logo.png +0 -0
  20. data/app/assets/javascripts/educode_sales/application.js +16 -0
  21. data/app/assets/javascripts/educode_sales/extent/miniPage.js +394 -0
  22. data/app/assets/javascripts/educode_sales/extent/request.js +137 -0
  23. data/app/assets/javascripts/educode_sales/extent/select_input.js +522 -0
  24. data/app/assets/javascripts/educode_sales/layui.js +5 -0
  25. data/app/assets/stylesheets/educode_sales/app.css +256 -0
  26. data/app/assets/stylesheets/educode_sales/application.css +17 -0
  27. data/app/assets/stylesheets/educode_sales/error.css +181 -0
  28. data/app/assets/stylesheets/educode_sales/layui.scss +1525 -0
  29. data/app/assets/stylesheets/educode_sales/layuimini.css +838 -0
  30. data/app/assets/stylesheets/educode_sales/login.scss +38 -0
  31. data/app/assets/stylesheets/educode_sales/modules/code.css +29 -0
  32. data/app/assets/stylesheets/educode_sales/modules/laydate/default/font.scss +16 -0
  33. data/app/assets/stylesheets/educode_sales/modules/laydate/default/laydate.css +152 -0
  34. data/app/assets/stylesheets/educode_sales/modules/layer/default/icon-ext.png +0 -0
  35. data/app/assets/stylesheets/educode_sales/modules/layer/default/icon.png +0 -0
  36. data/app/assets/stylesheets/educode_sales/modules/layer/default/layer.scss +179 -0
  37. data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-0.gif +0 -0
  38. data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-1.gif +0 -0
  39. data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-2.gif +0 -0
  40. data/app/assets/stylesheets/educode_sales/modules/select_input.css +103 -0
  41. data/app/assets/stylesheets/educode_sales/public.css +47 -0
  42. data/app/controllers/educode_sales/activities_controller.rb +58 -0
  43. data/app/controllers/educode_sales/application_controller.rb +35 -0
  44. data/app/controllers/educode_sales/businesses_controller.rb +189 -0
  45. data/app/controllers/educode_sales/commons_controller.rb +54 -0
  46. data/app/controllers/educode_sales/follow_ups_controller.rb +140 -0
  47. data/app/controllers/educode_sales/home_controller.rb +40 -0
  48. data/app/controllers/educode_sales/key_person_controller.rb +29 -0
  49. data/app/controllers/educode_sales/operation_plans_controller.rb +53 -0
  50. data/app/controllers/educode_sales/operation_reports_controller.rb +6 -0
  51. data/app/controllers/educode_sales/operations_controller.rb +38 -0
  52. data/app/controllers/educode_sales/places_controller.rb +69 -0
  53. data/app/controllers/educode_sales/plans_controller.rb +208 -0
  54. data/app/controllers/educode_sales/roles_controller.rb +69 -0
  55. data/app/controllers/educode_sales/sale_reports_controller.rb +133 -0
  56. data/app/controllers/educode_sales/sale_trends_controller.rb +45 -0
  57. data/app/controllers/educode_sales/sales_controller.rb +64 -0
  58. data/app/controllers/educode_sales/sessions_controller.rb +51 -0
  59. data/app/controllers/educode_sales/staffs_controller.rb +81 -0
  60. data/app/controllers/educode_sales/teachers_controller.rb +167 -0
  61. data/app/helpers/educode_sales/activities_helper.rb +4 -0
  62. data/app/helpers/educode_sales/application_helper.rb +44 -0
  63. data/app/helpers/educode_sales/business_helper.rb +4 -0
  64. data/app/helpers/educode_sales/home_helper.rb +4 -0
  65. data/app/helpers/educode_sales/sessions_helper.rb +4 -0
  66. data/app/helpers/educode_sales/teachers_helper.rb +4 -0
  67. data/app/jobs/educode_sales/application_job.rb +4 -0
  68. data/app/mailers/educode_sales/application_mailer.rb +6 -0
  69. data/app/models/ability.rb +54 -0
  70. data/app/models/educode_sales/activity.rb +6 -0
  71. data/app/models/educode_sales/activity_teacher.rb +6 -0
  72. data/app/models/educode_sales/application_record.rb +5 -0
  73. data/app/models/educode_sales/business.rb +11 -0
  74. data/app/models/educode_sales/common.rb +32 -0
  75. data/app/models/educode_sales/course_subject.rb +5 -0
  76. data/app/models/educode_sales/follow_up.rb +14 -0
  77. data/app/models/educode_sales/key_person.rb +11 -0
  78. data/app/models/educode_sales/market_area.rb +6 -0
  79. data/app/models/educode_sales/money_plan.rb +22 -0
  80. data/app/models/educode_sales/operation_plan.rb +6 -0
  81. data/app/models/educode_sales/operation_report.rb +5 -0
  82. data/app/models/educode_sales/operation_trend.rb +5 -0
  83. data/app/models/educode_sales/permission.rb +16 -0
  84. data/app/models/educode_sales/place.rb +7 -0
  85. data/app/models/educode_sales/place_area.rb +6 -0
  86. data/app/models/educode_sales/role.rb +8 -0
  87. data/app/models/educode_sales/role_area.rb +13 -0
  88. data/app/models/educode_sales/role_permission.rb +6 -0
  89. data/app/models/educode_sales/sale_plan.rb +6 -0
  90. data/app/models/educode_sales/sale_report.rb +5 -0
  91. data/app/models/educode_sales/sale_trend.rb +4 -0
  92. data/app/models/educode_sales/staff.rb +41 -0
  93. data/app/models/educode_sales/teacher.rb +12 -0
  94. data/app/models/educode_sales/teacher_follow.rb +6 -0
  95. data/app/views/educode_sales/activities/edit.html.erb +82 -0
  96. data/app/views/educode_sales/activities/index.html.erb +172 -0
  97. data/app/views/educode_sales/activities/index.json.jbuilder +14 -0
  98. data/app/views/educode_sales/activities/new.html.erb +81 -0
  99. data/app/views/educode_sales/activities/show_teachers.html.erb +368 -0
  100. data/app/views/educode_sales/businesses/edit.html.erb +82 -0
  101. data/app/views/educode_sales/businesses/edit_follow_record.html.erb +138 -0
  102. data/app/views/educode_sales/businesses/edit_plan.html.erb +172 -0
  103. data/app/views/educode_sales/businesses/index.html.erb +364 -0
  104. data/app/views/educode_sales/businesses/index.json.jbuilder +20 -0
  105. data/app/views/educode_sales/businesses/new.html.erb +80 -0
  106. data/app/views/educode_sales/businesses/new_follow_record.html.erb +144 -0
  107. data/app/views/educode_sales/businesses/show_follow.html.erb +466 -0
  108. data/app/views/educode_sales/businesses/show_follow.json.jbuilder +21 -0
  109. data/app/views/educode_sales/businesses/show_follow_record.html.erb +81 -0
  110. data/app/views/educode_sales/businesses/show_keys.html.erb +56 -0
  111. data/app/views/educode_sales/businesses/unfinish_plans.json.jbuilder +14 -0
  112. data/app/views/educode_sales/commons/edit.html.erb +112 -0
  113. data/app/views/educode_sales/commons/index.html.erb +132 -0
  114. data/app/views/educode_sales/commons/index.json.jbuilder +13 -0
  115. data/app/views/educode_sales/commons/new.html.erb +58 -0
  116. data/app/views/educode_sales/commons/show.json.jbuilder +9 -0
  117. data/app/views/educode_sales/follow_ups/money_plans.json.jbuilder +11 -0
  118. data/app/views/educode_sales/follow_ups/teachers.json.jbuilder +16 -0
  119. data/app/views/educode_sales/home/index.html.erb +1 -0
  120. data/app/views/educode_sales/home/no_permission.html.erb +27 -0
  121. data/app/views/educode_sales/home/search.json.jbuilder +8 -0
  122. data/app/views/educode_sales/home/search_edu_teacher.json.jbuilder +14 -0
  123. data/app/views/educode_sales/home/search_teacher.json.jbuilder +24 -0
  124. data/app/views/educode_sales/home/search_users.json.jbuilder +8 -0
  125. data/app/views/educode_sales/home/statistics.html.erb +68 -0
  126. data/app/views/educode_sales/operation_plans/_monthPlan.html.erb +288 -0
  127. data/app/views/educode_sales/operation_plans/_monthly.html.erb +284 -0
  128. data/app/views/educode_sales/operation_plans/_weekPlan.html.erb +291 -0
  129. data/app/views/educode_sales/operation_plans/_weekly.html.erb +275 -0
  130. data/app/views/educode_sales/operation_plans/edit_month.html.erb +60 -0
  131. data/app/views/educode_sales/operation_plans/edit_monthly.html.erb +175 -0
  132. data/app/views/educode_sales/operation_plans/edit_week.html.erb +72 -0
  133. data/app/views/educode_sales/operation_plans/edit_weekly.html.erb +173 -0
  134. data/app/views/educode_sales/operation_plans/index.html.erb +22 -0
  135. data/app/views/educode_sales/operation_plans/new_month.html.erb +79 -0
  136. data/app/views/educode_sales/operation_plans/new_monthly.html.erb +176 -0
  137. data/app/views/educode_sales/operation_plans/new_week.html.erb +86 -0
  138. data/app/views/educode_sales/operation_plans/new_weekly.html.erb +174 -0
  139. data/app/views/educode_sales/operation_plans/operation.html.erb +0 -0
  140. data/app/views/educode_sales/operation_plans/show_month.html.erb +36 -0
  141. data/app/views/educode_sales/operation_plans/show_monthly.html.erb +171 -0
  142. data/app/views/educode_sales/operation_plans/show_week.html.erb +43 -0
  143. data/app/views/educode_sales/operation_plans/show_weekly.html.erb +170 -0
  144. data/app/views/educode_sales/operations/trends.html.erb +191 -0
  145. data/app/views/educode_sales/places/edit.html.erb +91 -0
  146. data/app/views/educode_sales/places/index.html.erb +137 -0
  147. data/app/views/educode_sales/places/index.json.jbuilder +13 -0
  148. data/app/views/educode_sales/places/new.html.erb +77 -0
  149. data/app/views/educode_sales/plans/_monthPlan.html.erb +258 -0
  150. data/app/views/educode_sales/plans/_monthly.html.erb +302 -0
  151. data/app/views/educode_sales/plans/_weekPlan.html.erb +265 -0
  152. data/app/views/educode_sales/plans/_weekly.html.erb +296 -0
  153. data/app/views/educode_sales/plans/audit_weekly.html.erb +177 -0
  154. data/app/views/educode_sales/plans/edit_month.html.erb +74 -0
  155. data/app/views/educode_sales/plans/edit_monthly.html.erb +179 -0
  156. data/app/views/educode_sales/plans/edit_week.html.erb +81 -0
  157. data/app/views/educode_sales/plans/edit_weekly.html.erb +238 -0
  158. data/app/views/educode_sales/plans/index.html.erb +54 -0
  159. data/app/views/educode_sales/plans/index.json.jbuilder +19 -0
  160. data/app/views/educode_sales/plans/my_month.json.jbuilder +18 -0
  161. data/app/views/educode_sales/plans/my_week.json.jbuilder +19 -0
  162. data/app/views/educode_sales/plans/new_month.html.erb +89 -0
  163. data/app/views/educode_sales/plans/new_monthly.html.erb +235 -0
  164. data/app/views/educode_sales/plans/new_week.html.erb +95 -0
  165. data/app/views/educode_sales/plans/new_weekly.html.erb +262 -0
  166. data/app/views/educode_sales/plans/operation.html.erb +0 -0
  167. data/app/views/educode_sales/plans/show_month.html.erb +30 -0
  168. data/app/views/educode_sales/plans/show_monthly.html.erb +175 -0
  169. data/app/views/educode_sales/plans/show_week.html.erb +38 -0
  170. data/app/views/educode_sales/plans/show_weekly.html.erb +143 -0
  171. data/app/views/educode_sales/roles/edit.html.erb +127 -0
  172. data/app/views/educode_sales/roles/index.html.erb +105 -0
  173. data/app/views/educode_sales/roles/index.json.jbuilder +10 -0
  174. data/app/views/educode_sales/roles/new.html.erb +51 -0
  175. data/app/views/educode_sales/sale_reports/audit.html.erb +209 -0
  176. data/app/views/educode_sales/sale_reports/edit.html.erb +240 -0
  177. data/app/views/educode_sales/sale_reports/index.json.jbuilder +17 -0
  178. data/app/views/educode_sales/sale_reports/plans.json.jbuilder +19 -0
  179. data/app/views/educode_sales/sale_reports/show.html.erb +172 -0
  180. data/app/views/educode_sales/sale_trends/operations.html.erb +49 -0
  181. data/app/views/educode_sales/sale_trends/trends.html.erb +213 -0
  182. data/app/views/educode_sales/sales/index.html.erb +60 -0
  183. data/app/views/educode_sales/sales/index.json.jbuilder +17 -0
  184. data/app/views/educode_sales/sales/operations.html.erb +108 -0
  185. data/app/views/educode_sales/sales/operations.json.jbuilder +14 -0
  186. data/app/views/educode_sales/sales/school.html.erb +29 -0
  187. data/app/views/educode_sales/sales/trends.html.erb +216 -0
  188. data/app/views/educode_sales/sales/xschool.html.erb +35 -0
  189. data/app/views/educode_sales/sessions/login.html.erb +87 -0
  190. data/app/views/educode_sales/staffs/edit.html.erb +116 -0
  191. data/app/views/educode_sales/staffs/follow_up_departments.json.jbuilder +13 -0
  192. data/app/views/educode_sales/staffs/follow_up_schools.json.jbuilder +12 -0
  193. data/app/views/educode_sales/staffs/index.html.erb +141 -0
  194. data/app/views/educode_sales/staffs/index.json.jbuilder +15 -0
  195. data/app/views/educode_sales/staffs/new.html.erb +73 -0
  196. data/app/views/educode_sales/teachers/activities.json.jbuilder +9 -0
  197. data/app/views/educode_sales/teachers/add_courses.html.erb +53 -0
  198. data/app/views/educode_sales/teachers/add_event.html.erb +49 -0
  199. data/app/views/educode_sales/teachers/add_keys.html.erb +282 -0
  200. data/app/views/educode_sales/teachers/course_list.json.jbuilder +22 -0
  201. data/app/views/educode_sales/teachers/edit.html.erb +109 -0
  202. data/app/views/educode_sales/teachers/edit_follow_record.html.erb +67 -0
  203. data/app/views/educode_sales/teachers/index.html.erb +461 -0
  204. data/app/views/educode_sales/teachers/index.json.jbuilder +23 -0
  205. data/app/views/educode_sales/teachers/new.html.erb +166 -0
  206. data/app/views/educode_sales/teachers/new_follow_record.html.erb +67 -0
  207. data/app/views/educode_sales/teachers/search_new.html.erb +138 -0
  208. data/app/views/educode_sales/teachers/show_class.html.erb +101 -0
  209. data/app/views/educode_sales/teachers/show_follow.html.erb +511 -0
  210. data/app/views/educode_sales/teachers/show_follow_record.html.erb +67 -0
  211. data/app/views/layouts/educode_sales/application.html.erb +104 -0
  212. data/app/views/layouts/educode_sales/login.html.erb +20 -0
  213. data/config/locales/sale.zh-CN.yml +9 -0
  214. data/config/routes.rb +162 -0
  215. data/db/migrate/20210830081842_create_educode_sales_staffs.rb +9 -0
  216. data/db/migrate/20210831022421_create_educode_sales_sale_trends.rb +13 -0
  217. data/db/migrate/20210831085201_create_educode_sales_commons.rb +11 -0
  218. data/db/migrate/20210901025628_create_educode_sales_roles.rb +19 -0
  219. data/db/migrate/20210901031626_create_educode_sales_market_areas.rb +10 -0
  220. data/db/migrate/20210902061835_create_educode_sales_role_areas.rb +11 -0
  221. data/db/migrate/20210902064029_create_educode_sales_permissions.rb +12 -0
  222. data/db/migrate/20210902064109_create_educode_sales_role_permissions.rb +62 -0
  223. data/db/migrate/20210902073832_create_educode_sales_businesses.rb +11 -0
  224. data/db/migrate/20210902080535_create_educode_sales_places.rb +10 -0
  225. data/db/migrate/20210902080918_create_educode_sales_follow_ups.rb +20 -0
  226. data/db/migrate/20210902101022_create_educode_sales_teachers.rb +20 -0
  227. data/db/migrate/20210902103331_create_educode_sales_teacher_follows.rb +15 -0
  228. data/db/migrate/20210903015810_create_educode_sales_sale_plans.rb +14 -0
  229. data/db/migrate/20210903020721_create_educode_sales_sale_reports.rb +21 -0
  230. data/db/migrate/20210903021458_create_educode_sales_operation_plans.rb +14 -0
  231. data/db/migrate/20210903021710_create_educode_sales_operation_reports.rb +19 -0
  232. data/db/migrate/20210903022055_create_educode_sales_operation_trends.rb +13 -0
  233. data/db/migrate/20210903032011_create_educode_sales_activities.rb +16 -0
  234. data/db/migrate/20210906104001_create_educode_sales_money_plans.rb +18 -0
  235. data/db/migrate/20210906105154_create_educode_sales_place_areas.rb +10 -0
  236. data/db/migrate/20210908014953_create_educode_sales_key_people.rb +21 -0
  237. data/db/migrate/20210912061148_add_audit_user_id_to_sales_reports.rb +11 -0
  238. data/db/migrate/20210913070728_create_educode_sales_activity_teachers.rb +11 -0
  239. data/db/migrate/20210913071607_create_educode_sales_course_subjects.rb +14 -0
  240. data/lib/educode_sales/engine.rb +5 -0
  241. data/lib/educode_sales/version.rb +3 -0
  242. data/lib/educode_sales.rb +5 -0
  243. data/lib/tasks/educode_sales_tasks.rake +4 -0
  244. metadata +342 -0
@@ -0,0 +1,838 @@
1
+ /**
2
+ 配色方案(如有需要,请自行配置)
3
+ */
4
+ /**头部-配色*/
5
+ /* .layui-layout-admin .layui-header {
6
+ background-color: #1aa094 !important;
7
+ }
8
+
9
+ .layui-header>ul>.layui-nav-item.layui-this,
10
+ .layuimini-tool i:hover {
11
+ background-color: #197971 !important;
12
+ }
13
+
14
+ .layui-header .layuimini-header-content>ul>.layui-nav-item.layui-this,
15
+ .layuimini-tool i:hover {
16
+ background-color: #197971 !important;
17
+ }
18
+
19
+ /**logo-配色*/
20
+ .layui-layout-admin .layuimini-logo {
21
+ background-color: #243346 !important;
22
+ }
23
+
24
+ /**左侧-配色*/
25
+ .layui-side.layui-bg-black,
26
+ .layui-side.layui-bg-black>.layuimini-menu-left>ul {
27
+ /* background-color: #2f4056 !important; */
28
+ }
29
+
30
+ .layuimini-menu-left .layui-nav .layui-nav-child a:hover:not(.layui-this) {
31
+ background-color: #3b3f4b;
32
+ }
33
+
34
+ /**左侧菜单选中-配色*/
35
+ .layui-layout-admin .layui-nav-tree .layui-this,
36
+ .layui-layout-admin .layui-nav-tree .layui-this>a,
37
+ .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this,
38
+ .layui-layout-admin .layui-nav-tree .layui-nav-child dd.layui-this a {
39
+ background-color: #1aa094 !important;
40
+ } */
41
+
42
+
43
+ /**头部样式 */
44
+ .layui-layout-admin .header {
45
+ position: fixed;
46
+ left: 0;
47
+ right: 0;
48
+ top: 0;
49
+ bottom: 0;
50
+ }
51
+
52
+ .layuimini-header-menu,
53
+ .layui-header {
54
+ height: 60px !important;
55
+ }
56
+
57
+ .layuimini-header-menu>.layui-nav-item {
58
+ color: #1b1d21;
59
+ height: 60px !important;
60
+ line-height: 60px !important;
61
+ }
62
+
63
+ .layui-header>.layui-layout-right>.layui-nav-item {
64
+ height: 60px !important;
65
+ line-height: 60px !important;
66
+ }
67
+
68
+ .layui-layout-left {
69
+ left: 295px !important;
70
+ }
71
+
72
+ .layui-nav.layui-layout-left.layuimini-header-menu.layuimini-pc-show {
73
+ font-weight: bold;
74
+ transition: all .2s;
75
+ }
76
+
77
+
78
+ /**logo演示(通用) */
79
+ .layui-layout-admin .layuimini-logo {
80
+ font-weight: bold;
81
+ color: #ffffff !important;
82
+ height: 60px !important;
83
+ line-height: 60px !important;
84
+ overflow: hidden;
85
+ line-height: 64px;
86
+ transition: all .2s !important;
87
+ }
88
+
89
+ .layui-layout-admin .layuimini-logo img {
90
+ display: inline-block;
91
+ height: 40px;
92
+ vertical-align: middle;
93
+ }
94
+
95
+ .layui-layout-admin .layuimini-logo h1 {
96
+ display: inline-block;
97
+ margin: 0 0 0 12px;
98
+ color: #ffffff;
99
+ font-weight: 600;
100
+ font-size: 20px;
101
+ font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
102
+ vertical-align: middle;
103
+ }
104
+
105
+ /**缩放工具(通用) */
106
+ .layuimini-tool {
107
+ position: absolute !important;
108
+ top: 0;
109
+ left: 235px;
110
+ width: 60px;
111
+ height: 100%;
112
+ line-height: 60px;
113
+ text-align: center;
114
+ color: #ffffff !important;
115
+ transition: all .2s;
116
+ }
117
+
118
+ /**缩放工具(缩放) */
119
+ .layuimini-tool i {
120
+ display: block;
121
+ color: #bbe3df;
122
+ width: 32px;
123
+ height: 32px;
124
+ line-height: 32px;
125
+ border-radius: 3px;
126
+ text-align: center;
127
+ margin-top: 15px;
128
+ cursor: pointer;
129
+ }
130
+
131
+
132
+ .layuimini-page-header {
133
+ overflow: hidden;
134
+ display: block;
135
+ height: 35px;
136
+ line-height: 35px;
137
+ margin-bottom: 0;
138
+ border-radius: 0;
139
+ border-bottom: 1px solid #e1dddd;
140
+ }
141
+
142
+ .layuimini-page-header .layui-breadcrumb {
143
+ border-top: 1px solid #f6f6f6;
144
+ padding: 0 15px;
145
+ visibility: visible;
146
+ }
147
+
148
+
149
+ /**左侧菜单栏 (通用) */
150
+ .layui-side.layui-bg-black {
151
+ transition: all .2s;
152
+ }
153
+
154
+ .layui-side.layui-bg-black>.layuimini-menu-left>ul {
155
+ transition: all .2s;
156
+ }
157
+
158
+ .layui-side.layui-bg-black>.layuimini-menu-left>ul>.layui-nav-item:first-child {
159
+ border-top: 1px solid #4b5461;
160
+ }
161
+
162
+ .layuimini-menu-left .layui-nav .layui-nav-item a {
163
+ height: 40px;
164
+ line-height: 40px;
165
+ padding-right: 30px;
166
+ }
167
+
168
+ .layuimini-menu-left .layui-nav .layui-nav-item>a {
169
+ padding-top: 5px;
170
+ padding-bottom: 5px;
171
+ }
172
+
173
+ .layuimini-menu-left .layui-nav .layui-nav-child .layui-nav-child {
174
+ background: 0 0 !important
175
+ }
176
+
177
+ .layuimini-menu-left .layui-nav .layui-nav-more {
178
+ right: 15px;
179
+ }
180
+
181
+ .layuimini-menu-left .layui-nav .layui-nav-item a:hover {
182
+ background-color: transparent !important;
183
+ }
184
+
185
+ .layuimini-menu-left .layui-nav {
186
+ background-color: transparent !important;
187
+ }
188
+
189
+
190
+ /**左侧菜单栏 (正常) */
191
+ .layui-layout-body .layui-nav-itemed .layui-nav-child a,
192
+ .layui-layout-body .layuimini-menu-left .layui-nav .layui-nav-child a {
193
+ padding-left: 35px;
194
+ }
195
+
196
+ .layui-layout-body .layuimini-menu-left .layui-nav .layui-nav-child .layui-nav-child a {
197
+ padding-left: 45px;
198
+ }
199
+
200
+ .layui-layout-body .layuimini-menu-left .layui-nav .layui-nav-child .layui-nav-child .layui-nav-child a {
201
+ padding-left: 55px;
202
+ }
203
+
204
+ .layui-layout-body .layuimini-menu-left .layui-nav .layui-nav-child .layui-nav-child .layui-nav-child .layui-nav-child a {
205
+ padding-left: 65px;
206
+ }
207
+
208
+ .layui-layout-body .layuimini-menu-left .layui-nav .layui-nav-itemed>.layui-nav-child {
209
+ padding: 5px 0;
210
+ }
211
+
212
+ /**内容主体(通用) */
213
+ .layui-layout-admin .layui-body {
214
+ /*position: fixed;*/
215
+ overflow: hidden;
216
+ bottom: 0px !important;
217
+ top: 60px !important;
218
+ transition: all .2s;
219
+ }
220
+
221
+ /**选择配色方案 */
222
+ .layuimini-color .color-title {
223
+ padding: 10px 0 10px 20px;
224
+ border-bottom: 1px solid #d9dada;
225
+ margin-bottom: 8px;
226
+ }
227
+
228
+ .layuimini-color .color-content {
229
+ padding: 10px 5px 0 5px;
230
+ }
231
+
232
+ .layuimini-color .color-content ul {
233
+ list-style: none;
234
+ text-align: center;
235
+ }
236
+
237
+ .layuimini-color .color-content ul li {
238
+ position: relative;
239
+ display: inline-block;
240
+ vertical-align: top;
241
+ width: 80px;
242
+ height: 50px;
243
+ margin: 0 15px 15px 0;
244
+ padding: 2px 2px 4px 2px;
245
+ background-color: #f2f2f2;
246
+ cursor: pointer;
247
+ font-size: 12px;
248
+ color: #666;
249
+ }
250
+
251
+ .layuimini-color .color-content li.layui-this:after,
252
+ .layuimini-color .color-content li:hover:after {
253
+ width: 100%;
254
+ height: 100%;
255
+ padding: 4px;
256
+ top: -5px;
257
+ left: -5px;
258
+ border-color: #d8d8d8;
259
+ opacity: 1;
260
+ }
261
+
262
+ .layuimini-color .color-content li:after {
263
+ content: '';
264
+ position: absolute;
265
+ z-index: 20;
266
+ top: 50%;
267
+ left: 50%;
268
+ width: 1px;
269
+ height: 0;
270
+ border: 1px solid #f2f2f2;
271
+ transition: all .3s;
272
+ -webkit-transition: all .3s;
273
+ opacity: 0;
274
+ }
275
+
276
+
277
+ /**其它 */
278
+ .layui-tab-item {
279
+ width: 100% !important;
280
+ height: 100% !important;
281
+ }
282
+
283
+ .layui-nav-item.layui-this {
284
+ background-color: #1b1d21;
285
+ }
286
+
287
+ .layui-width-height {
288
+ width: 100%;
289
+ height: 95%;
290
+ }
291
+
292
+ .layui-tab {
293
+ margin: 0 0 0 0;
294
+ z-index: 99999;
295
+ }
296
+
297
+ .text-center {
298
+ height: 30px !important;
299
+ line-height: 30px !important;
300
+ text-align: center !important;
301
+ }
302
+
303
+ .layui-nav {
304
+ padding: 0 !important;
305
+ }
306
+
307
+ .layui-nav .layui-this:after,
308
+ .layui-nav-bar,
309
+ .layui-nav-tree .layui-nav-itemed:after {
310
+ width: 0 !important;
311
+ height: 0 !important;
312
+ }
313
+
314
+ .layui-layout-admin .layui-side {
315
+ top: 60px !important;
316
+ }
317
+
318
+ .layui-tab-card {
319
+ box-shadow: 0px 0px 0px #888888;
320
+ border-bottom: 0;
321
+ }
322
+
323
+
324
+ /*打开页面动画*/
325
+ .layui-tab-item.layui-show {
326
+ animation: moveTop 1s;
327
+ -webkit-animation: moveTop 1s;
328
+ animation-fill-mode: both;
329
+ -webkit-animation-fill-mode: both;
330
+ position: relative;
331
+ height: 100%;
332
+ -webkit-overflow-scrolling: touch;
333
+ overflow: auto;
334
+ }
335
+
336
+ @keyframes moveTop {
337
+ 0% {
338
+ opacity: 0;
339
+ -webkit-transform: translateY(30px);
340
+ -ms-transform: translateY(30px);
341
+ transform: translateY(30px);
342
+ }
343
+
344
+ 100% {
345
+ opacity: 1;
346
+ -webkit-transform: translateY(0);
347
+ -ms-transform: translateY(0);
348
+ transform: translateY(0);
349
+ }
350
+ }
351
+
352
+ @-o-keyframes moveTop {
353
+ 0% {
354
+ opacity: 0;
355
+ -webkit-transform: translateY(30px);
356
+ -ms-transform: translateY(30px);
357
+ transform: translateY(30px);
358
+ }
359
+
360
+ 100% {
361
+ opacity: 1;
362
+ -webkit-transform: translateY(0);
363
+ -ms-transform: translateY(0);
364
+ transform: translateY(0);
365
+ }
366
+ }
367
+
368
+ @-moz-keyframes moveTop {
369
+ 0% {
370
+ opacity: 0;
371
+ -webkit-transform: translateY(30px);
372
+ -ms-transform: translateY(30px);
373
+ transform: translateY(30px);
374
+ }
375
+
376
+ 100% {
377
+ opacity: 1;
378
+ -webkit-transform: translateY(0);
379
+ -ms-transform: translateY(0);
380
+ transform: translateY(0);
381
+ }
382
+ }
383
+
384
+ @-webkit-keyframes moveTop {
385
+ 0% {
386
+ opacity: 0;
387
+ -webkit-transform: translateY(30px);
388
+ -ms-transform: translateY(30px);
389
+ transform: translateY(30px);
390
+ }
391
+
392
+ 100% {
393
+ opacity: 1;
394
+ -webkit-transform: translateY(0);
395
+ -ms-transform: translateY(0);
396
+ transform: translateY(0);
397
+ }
398
+ }
399
+
400
+ /**自定义滚动条样式 */
401
+ ::-webkit-scrollbar {
402
+ width: 6px;
403
+ height: 6px
404
+ }
405
+
406
+ ::-webkit-scrollbar-track {
407
+ background-color: transparent;
408
+ -webkit-border-radius: 2em;
409
+ -moz-border-radius: 2em;
410
+ border-radius: 2em;
411
+ }
412
+
413
+ ::-webkit-scrollbar-thumb {
414
+ background-color: #9c9da0;
415
+ -webkit-border-radius: 2em;
416
+ -moz-border-radius: 2em;
417
+ border-radius: 2em
418
+ }
419
+
420
+
421
+ .layuimini-content-page {
422
+ overflow: auto;
423
+ width: 100%;
424
+ height: 100%;
425
+ }
426
+
427
+
428
+ /*移动端遮罩层*/
429
+ .layuimini-make {
430
+ position: fixed;
431
+ left: 0;
432
+ right: 0;
433
+ bottom: 0;
434
+ top: 0;
435
+ z-index: 1000;
436
+ background: rgba(0, 0, 0, .5);
437
+ display: none;
438
+ }
439
+
440
+ .layuimini-mini .layui-header {
441
+ z-index: 1001;
442
+ }
443
+
444
+ /**初始化加载层*/
445
+ .layuimini-loader {
446
+ position: fixed;
447
+ top: 0;
448
+ left: 0;
449
+ width: 100%;
450
+ height: 100%;
451
+ background-color: #ffffff;
452
+ z-index: 999999;
453
+ }
454
+
455
+ .layuimini-loader .layuimini-loader-inner {
456
+ display: block;
457
+ position: relative;
458
+ left: 50%;
459
+ top: 50%;
460
+ width: 150px;
461
+ height: 150px;
462
+ margin: -75px 0 0 -75px;
463
+ border-radius: 50%;
464
+ border: 3px solid transparent;
465
+ border-top-color: #1E9FFF;
466
+ animation: spin 2s linear infinite;
467
+ }
468
+
469
+ .layuimini-loader .layuimini-loader-inner:before {
470
+ content: "";
471
+ position: absolute;
472
+ top: 5px;
473
+ left: 5px;
474
+ right: 5px;
475
+ bottom: 5px;
476
+ border-radius: 50%;
477
+ border: 3px solid transparent;
478
+ border-top-color: #1E9FFF;
479
+ animation: spin 3s linear infinite;
480
+ }
481
+
482
+ .layuimini-loader .layuimini-loader-inner:after {
483
+ content: "";
484
+ position: absolute;
485
+ top: 15px;
486
+ left: 15px;
487
+ right: 15px;
488
+ bottom: 15px;
489
+ border-radius: 50%;
490
+ border: 3px solid transparent;
491
+ border-top-color: #1E9FFF;
492
+ animation: spin 1.5s linear infinite;
493
+ }
494
+
495
+ @keyframes spin {
496
+ 0% {
497
+ transform: rotate(0deg);
498
+ }
499
+
500
+ to {
501
+ transform: rotate(1turn);
502
+ }
503
+ }
504
+
505
+ /*系统设置*/
506
+
507
+ .layuimini-color .layui-word-aux {
508
+ position: absolute;
509
+ left: 60px;
510
+ top: 12px;
511
+ font-size: 12px;
512
+ }
513
+
514
+ .layuimini-color .layui-input-block {
515
+ margin-left: 15px;
516
+ min-height: 36px;
517
+ }
518
+
519
+ .layuimini-color .more-menu-list {
520
+ width: 100%;
521
+ margin-top: 30px;
522
+ }
523
+
524
+
525
+ .layuimini-color .more-menu-item:first-child {
526
+ border-top: 1px solid #e8e8e8;
527
+ }
528
+
529
+ .layuimini-color .more-menu-item .layui-icon {
530
+ font-size: 18px;
531
+ padding-right: 10px;
532
+ }
533
+
534
+ .layuimini-color .more-menu-item {
535
+ color: #595959;
536
+ height: 50px;
537
+ line-height: 50px;
538
+ font-size: 16px;
539
+ padding: 0 25px;
540
+ border-bottom: 1px solid #e8e8e8;
541
+ font-style: normal;
542
+ display: block;
543
+ }
544
+
545
+ .layuimini-color .more-menu-item:hover {
546
+ background-color: whitesmoke;
547
+ }
548
+
549
+ .layuimini-color .more-menu-item:after {
550
+ color: #8c8c8c;
551
+ right: 16px;
552
+ content: "\e602";
553
+ position: absolute;
554
+ font-family: layui-icon !important;
555
+ }
556
+
557
+ /**
558
+ 菜单缩放
559
+ */
560
+ .popup-tips .layui-layer-TipsG {
561
+ display: none;
562
+ }
563
+
564
+ .popup-tips.layui-layer-tips .layui-layer-content {
565
+ padding: 0;
566
+ }
567
+
568
+ .popup-tips .layui-nav-tree {
569
+ width: 150px;
570
+ border-radius: 10px;
571
+ }
572
+
573
+ /**左侧菜单字体间距*/
574
+ .layuimini-menu-left .layui-nav-item a span {
575
+ letter-spacing: 1px;
576
+ }
577
+
578
+ /**头部菜单字体间距*/
579
+ .layui-layout-admin .layui-header .layuimini-header-menu.layuimini-pc-show,
580
+ .layui-layout-admin .layui-header .layuimini-header-menu.layuimini-mobile-show {
581
+ letter-spacing: 1px;
582
+ }
583
+
584
+
585
+ /**左侧菜单更多下拉样式*/
586
+ .layuimini-menu-left .layui-nav-more,
587
+ .layuimini-menu-left-zoom .layui-nav-more {
588
+ font-family: layui-icon !important;
589
+ font-size: 12px;
590
+ font-style: normal;
591
+ -webkit-font-smoothing: antialiased;
592
+ -moz-osx-font-smoothing: grayscale;
593
+ overflow: hidden;
594
+ width: auto;
595
+ height: auto;
596
+ line-height: normal;
597
+ border: none;
598
+ display: inline-block;
599
+ margin-top: -6px !important;
600
+ }
601
+
602
+ .layuimini-menu-left .layui-nav-child .layui-nav-more {
603
+ margin-top: -6px !important;
604
+ }
605
+
606
+ .layuimini-menu-left .layui-nav .layui-nav-mored,
607
+ .layuimini-menu-left .layui-nav-itemed>a .layui-nav-more {
608
+ margin-top: -9px !important;
609
+ }
610
+
611
+ .layuimini-menu-left-zoom.layui-nav .layui-nav-mored,
612
+ .layuimini-menu-left-zoom.layui-nav-itemed>a .layui-nav-more {
613
+ margin-top: -9px !important;
614
+ }
615
+
616
+ .layuimini-menu-left .layui-nav-more:before,
617
+ .layuimini-menu-left-zoom .layui-nav-more:before {
618
+ content: "\e61a";
619
+ }
620
+
621
+ .layuimini-menu-left .layui-nav-itemed>a>.layui-nav-more,
622
+ .layuimini-menu-left-zoom .layui-nav-itemed>a>.layui-nav-more {
623
+ transform: rotate(180deg);
624
+ -ms-transform: rotate(180deg);
625
+ -moz-transform: rotate(180deg);
626
+ -webkit-transform: rotate(180deg);
627
+ -o-transform: rotate(180deg);
628
+ width: 12px;
629
+ text-align: center;
630
+ border-style: none;
631
+ }
632
+
633
+ .layuimini-menu-left .layui-nav-itemed>a>.layui-nav-more:before,
634
+ .layuimini-menu-left-zoom .layui-nav-itemed>a>.layui-nav-more:before {
635
+ content: '\e61a';
636
+ background-color: transparent;
637
+ display: inline-block;
638
+ vertical-align: middle;
639
+ }
640
+
641
+ /**修复左侧菜单字体不对齐的问题*/
642
+ .layuimini-menu-left .layui-nav-item a .fa,
643
+ .layuimini-menu-left .layui-nav-item a .layui-icon {
644
+ width: 20px;
645
+ }
646
+
647
+
648
+
649
+ /**
650
+ PC版样式
651
+ */
652
+ @media screen and (min-width: 1025px) {
653
+
654
+ /**头部样式(缩放) */
655
+ .layuimini-mini .layui-layout-left.layuimini-header-menu.layuimini-pc-show {
656
+ left: 155px !important;
657
+ }
658
+
659
+ /**logo演示(缩放) */
660
+ .layuimini-mini .layui-layout-admin .layuimini-logo {
661
+ width: 60px !important;
662
+ }
663
+
664
+ .layuimini-mini .layui-layout-admin .layuimini-logo h1 {
665
+ display: none;
666
+ }
667
+
668
+ /**左侧菜单栏(缩放) */
669
+ .layuimini-mini .layuimini-menu-left {
670
+ width: 80px !important;
671
+ }
672
+
673
+ .layuimini-mini .layui-side.layui-bg-black,
674
+ .layuimini-mini .layuimini-menu-left>ul,
675
+ .layuimini-mini .layuimini-menu-left>ul li i {
676
+ width: 60px !important;
677
+ }
678
+
679
+ .layuimini-mini .layuimini-menu-left>ul li span:first-child {
680
+ display: none;
681
+ }
682
+
683
+ .layuimini-mini .layuimini-menu-left>ul li span:last-child {
684
+ float: right;
685
+ right: 7px;
686
+ }
687
+
688
+ .layuimini-mini .layuimini-menu-left .layui-nav .layui-nav-item a {
689
+ height: 40px;
690
+ line-height: 40px;
691
+ padding-right: 0px !important;
692
+ }
693
+
694
+ /**内容主体(缩放) */
695
+ .layuimini-mini .layui-layout-admin .layui-body {
696
+ left: 60px !important;
697
+ }
698
+
699
+ .layuimini-mini .layuimini-tool {
700
+ left: 95px !important;
701
+ }
702
+
703
+ .layuimini-pc-show {
704
+ display: block;
705
+ }
706
+
707
+ .layuimini-mobile-show {
708
+ display: none;
709
+ }
710
+
711
+ /**菜单缩放*/
712
+ .layuimini-mini .layuimini-menu-left .layui-nav-more,
713
+ .layuimini-mini .layuimini-menu-left .layui-nav-child {
714
+ display: none !important;
715
+ }
716
+
717
+ }
718
+
719
+ /**
720
+ 手机自适应样式
721
+ */
722
+ @media screen and (max-width: 1024px) {
723
+
724
+ .layuimini-pc-show {
725
+ display: none;
726
+ }
727
+
728
+ .layuimini-mobile-show {
729
+ display: block;
730
+ }
731
+
732
+ .layuimini-header-content {
733
+ left: 0;
734
+ }
735
+
736
+ .layui-layout-admin .layui-body .layui-tab-item.layui-show {
737
+ border-top: 1px solid #e2e2e2;
738
+ }
739
+
740
+ .layuimini-all .layui-layout-left.layuimini-header-menu {
741
+ left: 15px !important
742
+ }
743
+
744
+ .layuimini-mini .layui-layout-left.layuimini-header-menu {
745
+ left: 205px !important
746
+ }
747
+
748
+ .layui-layout-admin .layui-nav.layui-layout-right>li:not(.layuimini-setting) {
749
+ width: 40px !important;
750
+ }
751
+
752
+ .layui-layout-admin .layui-nav.layui-layout-right>li:not(.layuimini-setting) a {
753
+ padding: 0 15px;
754
+ }
755
+
756
+ .layuimini-all .layui-layout-admin .layui-body {
757
+ left: 0px !important;
758
+ }
759
+
760
+ .layuimini-mini .layui-layout-admin .layuimini-menu-left,
761
+ .layuimini-mini .layui-header .layuimini-logo {
762
+ left: 0;
763
+ transition: left .2s;
764
+ z-index: 1001 !important;
765
+ }
766
+
767
+ .layuimini-all .layui-layout-admin .layuimini-menu-left,
768
+ .layuimini-all .layui-header .layuimini-logo {
769
+ left: -200px;
770
+ transition: left .2s;
771
+ top: 0;
772
+ z-index: 1002;
773
+ }
774
+
775
+ .layuimini-mini .layui-layout-admin .layui-body {
776
+ left: 0 !important;
777
+ transition: left .2s;
778
+ top: 0;
779
+ z-index: 998;
780
+ }
781
+
782
+ .layuimini-mini .layuimini-make {
783
+ display: block;
784
+ }
785
+
786
+ .layuimini-multi-module .layuimini-header-content .layuimini-tool {
787
+ display: none;
788
+ }
789
+
790
+ .layuimini-single-module .layuimini-header-content .layuimini-tool {
791
+ left: 15px;
792
+ }
793
+
794
+ .layuimini-mini .layuimini-site-mobile {
795
+ display: none !important;
796
+ }
797
+
798
+ .layuimini-site-mobile {
799
+ display: block !important;
800
+ position: fixed;
801
+ z-index: 100000;
802
+ bottom: 15px;
803
+ left: 15px;
804
+ width: 40px;
805
+ height: 40px;
806
+ line-height: 40px;
807
+ border-radius: 2px;
808
+ text-align: center;
809
+ background-color: rgba(0, 0, 0, .7);
810
+ color: #fff;
811
+ }
812
+
813
+ .layuimini-header-content {
814
+ z-index: 997;
815
+ }
816
+
817
+ .layuimini-content-page {
818
+ -webkit-overflow-scrolling: touch;
819
+ }
820
+
821
+ /*修复UC之类的浏览器点击无效*/
822
+ .layuimini-make {
823
+ cursor: pointer;
824
+ }
825
+
826
+ .layuimini-site-mobile {
827
+ cursor: pointer;
828
+ }
829
+
830
+ }
831
+
832
+ @media screen and (max-width: 550px) {
833
+
834
+ /**头部右侧数据*/
835
+ .layuimini-multi-module.layuimini-mini .layuimini-header-content .layui-layout-right {
836
+ display: none;
837
+ }
838
+ }