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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +30 -0
- data/Rakefile +32 -0
- data/app/assets/config/educode_sales_manifest.js +2 -0
- data/app/assets/fonts/iconfont.eot +0 -0
- data/app/assets/fonts/iconfont.svg +554 -0
- data/app/assets/fonts/iconfont.ttf +0 -0
- data/app/assets/fonts/iconfont.woff +0 -0
- data/app/assets/fonts/iconfont.woff2 +0 -0
- data/app/assets/images/educode_sales/favicon.ico +0 -0
- data/app/assets/images/educode_sales/icon-ext.png +0 -0
- data/app/assets/images/educode_sales/icon-login.png +0 -0
- data/app/assets/images/educode_sales/icon.png +0 -0
- data/app/assets/images/educode_sales/loading-0.gif +0 -0
- data/app/assets/images/educode_sales/loading-1.gif +0 -0
- data/app/assets/images/educode_sales/loading-2.gif +0 -0
- data/app/assets/images/educode_sales/loginbg.png +0 -0
- data/app/assets/images/educode_sales/logo.png +0 -0
- data/app/assets/javascripts/educode_sales/application.js +16 -0
- data/app/assets/javascripts/educode_sales/extent/miniPage.js +394 -0
- data/app/assets/javascripts/educode_sales/extent/request.js +137 -0
- data/app/assets/javascripts/educode_sales/extent/select_input.js +522 -0
- data/app/assets/javascripts/educode_sales/layui.js +5 -0
- data/app/assets/stylesheets/educode_sales/app.css +256 -0
- data/app/assets/stylesheets/educode_sales/application.css +17 -0
- data/app/assets/stylesheets/educode_sales/error.css +181 -0
- data/app/assets/stylesheets/educode_sales/layui.scss +1525 -0
- data/app/assets/stylesheets/educode_sales/layuimini.css +838 -0
- data/app/assets/stylesheets/educode_sales/login.scss +38 -0
- data/app/assets/stylesheets/educode_sales/modules/code.css +29 -0
- data/app/assets/stylesheets/educode_sales/modules/laydate/default/font.scss +16 -0
- data/app/assets/stylesheets/educode_sales/modules/laydate/default/laydate.css +152 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/icon-ext.png +0 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/icon.png +0 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/layer.scss +179 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-0.gif +0 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-1.gif +0 -0
- data/app/assets/stylesheets/educode_sales/modules/layer/default/loading-2.gif +0 -0
- data/app/assets/stylesheets/educode_sales/modules/select_input.css +103 -0
- data/app/assets/stylesheets/educode_sales/public.css +47 -0
- data/app/controllers/educode_sales/activities_controller.rb +58 -0
- data/app/controllers/educode_sales/application_controller.rb +35 -0
- data/app/controllers/educode_sales/businesses_controller.rb +189 -0
- data/app/controllers/educode_sales/commons_controller.rb +54 -0
- data/app/controllers/educode_sales/follow_ups_controller.rb +140 -0
- data/app/controllers/educode_sales/home_controller.rb +40 -0
- data/app/controllers/educode_sales/key_person_controller.rb +29 -0
- data/app/controllers/educode_sales/operation_plans_controller.rb +53 -0
- data/app/controllers/educode_sales/operation_reports_controller.rb +6 -0
- data/app/controllers/educode_sales/operations_controller.rb +38 -0
- data/app/controllers/educode_sales/places_controller.rb +69 -0
- data/app/controllers/educode_sales/plans_controller.rb +208 -0
- data/app/controllers/educode_sales/roles_controller.rb +69 -0
- data/app/controllers/educode_sales/sale_reports_controller.rb +133 -0
- data/app/controllers/educode_sales/sale_trends_controller.rb +45 -0
- data/app/controllers/educode_sales/sales_controller.rb +64 -0
- data/app/controllers/educode_sales/sessions_controller.rb +51 -0
- data/app/controllers/educode_sales/staffs_controller.rb +81 -0
- data/app/controllers/educode_sales/teachers_controller.rb +167 -0
- data/app/helpers/educode_sales/activities_helper.rb +4 -0
- data/app/helpers/educode_sales/application_helper.rb +44 -0
- data/app/helpers/educode_sales/business_helper.rb +4 -0
- data/app/helpers/educode_sales/home_helper.rb +4 -0
- data/app/helpers/educode_sales/sessions_helper.rb +4 -0
- data/app/helpers/educode_sales/teachers_helper.rb +4 -0
- data/app/jobs/educode_sales/application_job.rb +4 -0
- data/app/mailers/educode_sales/application_mailer.rb +6 -0
- data/app/models/ability.rb +54 -0
- data/app/models/educode_sales/activity.rb +6 -0
- data/app/models/educode_sales/activity_teacher.rb +6 -0
- data/app/models/educode_sales/application_record.rb +5 -0
- data/app/models/educode_sales/business.rb +11 -0
- data/app/models/educode_sales/common.rb +32 -0
- data/app/models/educode_sales/course_subject.rb +5 -0
- data/app/models/educode_sales/follow_up.rb +14 -0
- data/app/models/educode_sales/key_person.rb +11 -0
- data/app/models/educode_sales/market_area.rb +6 -0
- data/app/models/educode_sales/money_plan.rb +22 -0
- data/app/models/educode_sales/operation_plan.rb +6 -0
- data/app/models/educode_sales/operation_report.rb +5 -0
- data/app/models/educode_sales/operation_trend.rb +5 -0
- data/app/models/educode_sales/permission.rb +16 -0
- data/app/models/educode_sales/place.rb +7 -0
- data/app/models/educode_sales/place_area.rb +6 -0
- data/app/models/educode_sales/role.rb +8 -0
- data/app/models/educode_sales/role_area.rb +13 -0
- data/app/models/educode_sales/role_permission.rb +6 -0
- data/app/models/educode_sales/sale_plan.rb +6 -0
- data/app/models/educode_sales/sale_report.rb +5 -0
- data/app/models/educode_sales/sale_trend.rb +4 -0
- data/app/models/educode_sales/staff.rb +41 -0
- data/app/models/educode_sales/teacher.rb +12 -0
- data/app/models/educode_sales/teacher_follow.rb +6 -0
- data/app/views/educode_sales/activities/edit.html.erb +82 -0
- data/app/views/educode_sales/activities/index.html.erb +172 -0
- data/app/views/educode_sales/activities/index.json.jbuilder +14 -0
- data/app/views/educode_sales/activities/new.html.erb +81 -0
- data/app/views/educode_sales/activities/show_teachers.html.erb +368 -0
- data/app/views/educode_sales/businesses/edit.html.erb +82 -0
- data/app/views/educode_sales/businesses/edit_follow_record.html.erb +138 -0
- data/app/views/educode_sales/businesses/edit_plan.html.erb +172 -0
- data/app/views/educode_sales/businesses/index.html.erb +364 -0
- data/app/views/educode_sales/businesses/index.json.jbuilder +20 -0
- data/app/views/educode_sales/businesses/new.html.erb +80 -0
- data/app/views/educode_sales/businesses/new_follow_record.html.erb +144 -0
- data/app/views/educode_sales/businesses/show_follow.html.erb +466 -0
- data/app/views/educode_sales/businesses/show_follow.json.jbuilder +21 -0
- data/app/views/educode_sales/businesses/show_follow_record.html.erb +81 -0
- data/app/views/educode_sales/businesses/show_keys.html.erb +56 -0
- data/app/views/educode_sales/businesses/unfinish_plans.json.jbuilder +14 -0
- data/app/views/educode_sales/commons/edit.html.erb +112 -0
- data/app/views/educode_sales/commons/index.html.erb +132 -0
- data/app/views/educode_sales/commons/index.json.jbuilder +13 -0
- data/app/views/educode_sales/commons/new.html.erb +58 -0
- data/app/views/educode_sales/commons/show.json.jbuilder +9 -0
- data/app/views/educode_sales/follow_ups/money_plans.json.jbuilder +11 -0
- data/app/views/educode_sales/follow_ups/teachers.json.jbuilder +16 -0
- data/app/views/educode_sales/home/index.html.erb +1 -0
- data/app/views/educode_sales/home/no_permission.html.erb +27 -0
- data/app/views/educode_sales/home/search.json.jbuilder +8 -0
- data/app/views/educode_sales/home/search_edu_teacher.json.jbuilder +14 -0
- data/app/views/educode_sales/home/search_teacher.json.jbuilder +24 -0
- data/app/views/educode_sales/home/search_users.json.jbuilder +8 -0
- data/app/views/educode_sales/home/statistics.html.erb +68 -0
- data/app/views/educode_sales/operation_plans/_monthPlan.html.erb +288 -0
- data/app/views/educode_sales/operation_plans/_monthly.html.erb +284 -0
- data/app/views/educode_sales/operation_plans/_weekPlan.html.erb +291 -0
- data/app/views/educode_sales/operation_plans/_weekly.html.erb +275 -0
- data/app/views/educode_sales/operation_plans/edit_month.html.erb +60 -0
- data/app/views/educode_sales/operation_plans/edit_monthly.html.erb +175 -0
- data/app/views/educode_sales/operation_plans/edit_week.html.erb +72 -0
- data/app/views/educode_sales/operation_plans/edit_weekly.html.erb +173 -0
- data/app/views/educode_sales/operation_plans/index.html.erb +22 -0
- data/app/views/educode_sales/operation_plans/new_month.html.erb +79 -0
- data/app/views/educode_sales/operation_plans/new_monthly.html.erb +176 -0
- data/app/views/educode_sales/operation_plans/new_week.html.erb +86 -0
- data/app/views/educode_sales/operation_plans/new_weekly.html.erb +174 -0
- data/app/views/educode_sales/operation_plans/operation.html.erb +0 -0
- data/app/views/educode_sales/operation_plans/show_month.html.erb +36 -0
- data/app/views/educode_sales/operation_plans/show_monthly.html.erb +171 -0
- data/app/views/educode_sales/operation_plans/show_week.html.erb +43 -0
- data/app/views/educode_sales/operation_plans/show_weekly.html.erb +170 -0
- data/app/views/educode_sales/operations/trends.html.erb +191 -0
- data/app/views/educode_sales/places/edit.html.erb +91 -0
- data/app/views/educode_sales/places/index.html.erb +137 -0
- data/app/views/educode_sales/places/index.json.jbuilder +13 -0
- data/app/views/educode_sales/places/new.html.erb +77 -0
- data/app/views/educode_sales/plans/_monthPlan.html.erb +258 -0
- data/app/views/educode_sales/plans/_monthly.html.erb +302 -0
- data/app/views/educode_sales/plans/_weekPlan.html.erb +265 -0
- data/app/views/educode_sales/plans/_weekly.html.erb +296 -0
- data/app/views/educode_sales/plans/audit_weekly.html.erb +177 -0
- data/app/views/educode_sales/plans/edit_month.html.erb +74 -0
- data/app/views/educode_sales/plans/edit_monthly.html.erb +179 -0
- data/app/views/educode_sales/plans/edit_week.html.erb +81 -0
- data/app/views/educode_sales/plans/edit_weekly.html.erb +238 -0
- data/app/views/educode_sales/plans/index.html.erb +54 -0
- data/app/views/educode_sales/plans/index.json.jbuilder +19 -0
- data/app/views/educode_sales/plans/my_month.json.jbuilder +18 -0
- data/app/views/educode_sales/plans/my_week.json.jbuilder +19 -0
- data/app/views/educode_sales/plans/new_month.html.erb +89 -0
- data/app/views/educode_sales/plans/new_monthly.html.erb +235 -0
- data/app/views/educode_sales/plans/new_week.html.erb +95 -0
- data/app/views/educode_sales/plans/new_weekly.html.erb +262 -0
- data/app/views/educode_sales/plans/operation.html.erb +0 -0
- data/app/views/educode_sales/plans/show_month.html.erb +30 -0
- data/app/views/educode_sales/plans/show_monthly.html.erb +175 -0
- data/app/views/educode_sales/plans/show_week.html.erb +38 -0
- data/app/views/educode_sales/plans/show_weekly.html.erb +143 -0
- data/app/views/educode_sales/roles/edit.html.erb +127 -0
- data/app/views/educode_sales/roles/index.html.erb +105 -0
- data/app/views/educode_sales/roles/index.json.jbuilder +10 -0
- data/app/views/educode_sales/roles/new.html.erb +51 -0
- data/app/views/educode_sales/sale_reports/audit.html.erb +209 -0
- data/app/views/educode_sales/sale_reports/edit.html.erb +240 -0
- data/app/views/educode_sales/sale_reports/index.json.jbuilder +17 -0
- data/app/views/educode_sales/sale_reports/plans.json.jbuilder +19 -0
- data/app/views/educode_sales/sale_reports/show.html.erb +172 -0
- data/app/views/educode_sales/sale_trends/operations.html.erb +49 -0
- data/app/views/educode_sales/sale_trends/trends.html.erb +213 -0
- data/app/views/educode_sales/sales/index.html.erb +60 -0
- data/app/views/educode_sales/sales/index.json.jbuilder +17 -0
- data/app/views/educode_sales/sales/operations.html.erb +108 -0
- data/app/views/educode_sales/sales/operations.json.jbuilder +14 -0
- data/app/views/educode_sales/sales/school.html.erb +29 -0
- data/app/views/educode_sales/sales/trends.html.erb +216 -0
- data/app/views/educode_sales/sales/xschool.html.erb +35 -0
- data/app/views/educode_sales/sessions/login.html.erb +87 -0
- data/app/views/educode_sales/staffs/edit.html.erb +116 -0
- data/app/views/educode_sales/staffs/follow_up_departments.json.jbuilder +13 -0
- data/app/views/educode_sales/staffs/follow_up_schools.json.jbuilder +12 -0
- data/app/views/educode_sales/staffs/index.html.erb +141 -0
- data/app/views/educode_sales/staffs/index.json.jbuilder +15 -0
- data/app/views/educode_sales/staffs/new.html.erb +73 -0
- data/app/views/educode_sales/teachers/activities.json.jbuilder +9 -0
- data/app/views/educode_sales/teachers/add_courses.html.erb +53 -0
- data/app/views/educode_sales/teachers/add_event.html.erb +49 -0
- data/app/views/educode_sales/teachers/add_keys.html.erb +282 -0
- data/app/views/educode_sales/teachers/course_list.json.jbuilder +22 -0
- data/app/views/educode_sales/teachers/edit.html.erb +109 -0
- data/app/views/educode_sales/teachers/edit_follow_record.html.erb +67 -0
- data/app/views/educode_sales/teachers/index.html.erb +461 -0
- data/app/views/educode_sales/teachers/index.json.jbuilder +23 -0
- data/app/views/educode_sales/teachers/new.html.erb +166 -0
- data/app/views/educode_sales/teachers/new_follow_record.html.erb +67 -0
- data/app/views/educode_sales/teachers/search_new.html.erb +138 -0
- data/app/views/educode_sales/teachers/show_class.html.erb +101 -0
- data/app/views/educode_sales/teachers/show_follow.html.erb +511 -0
- data/app/views/educode_sales/teachers/show_follow_record.html.erb +67 -0
- data/app/views/layouts/educode_sales/application.html.erb +104 -0
- data/app/views/layouts/educode_sales/login.html.erb +20 -0
- data/config/locales/sale.zh-CN.yml +9 -0
- data/config/routes.rb +162 -0
- data/db/migrate/20210830081842_create_educode_sales_staffs.rb +9 -0
- data/db/migrate/20210831022421_create_educode_sales_sale_trends.rb +13 -0
- data/db/migrate/20210831085201_create_educode_sales_commons.rb +11 -0
- data/db/migrate/20210901025628_create_educode_sales_roles.rb +19 -0
- data/db/migrate/20210901031626_create_educode_sales_market_areas.rb +10 -0
- data/db/migrate/20210902061835_create_educode_sales_role_areas.rb +11 -0
- data/db/migrate/20210902064029_create_educode_sales_permissions.rb +12 -0
- data/db/migrate/20210902064109_create_educode_sales_role_permissions.rb +62 -0
- data/db/migrate/20210902073832_create_educode_sales_businesses.rb +11 -0
- data/db/migrate/20210902080535_create_educode_sales_places.rb +10 -0
- data/db/migrate/20210902080918_create_educode_sales_follow_ups.rb +20 -0
- data/db/migrate/20210902101022_create_educode_sales_teachers.rb +20 -0
- data/db/migrate/20210902103331_create_educode_sales_teacher_follows.rb +15 -0
- data/db/migrate/20210903015810_create_educode_sales_sale_plans.rb +14 -0
- data/db/migrate/20210903020721_create_educode_sales_sale_reports.rb +21 -0
- data/db/migrate/20210903021458_create_educode_sales_operation_plans.rb +14 -0
- data/db/migrate/20210903021710_create_educode_sales_operation_reports.rb +19 -0
- data/db/migrate/20210903022055_create_educode_sales_operation_trends.rb +13 -0
- data/db/migrate/20210903032011_create_educode_sales_activities.rb +16 -0
- data/db/migrate/20210906104001_create_educode_sales_money_plans.rb +18 -0
- data/db/migrate/20210906105154_create_educode_sales_place_areas.rb +10 -0
- data/db/migrate/20210908014953_create_educode_sales_key_people.rb +21 -0
- data/db/migrate/20210912061148_add_audit_user_id_to_sales_reports.rb +11 -0
- data/db/migrate/20210913070728_create_educode_sales_activity_teachers.rb +11 -0
- data/db/migrate/20210913071607_create_educode_sales_course_subjects.rb +14 -0
- data/lib/educode_sales/engine.rb +5 -0
- data/lib/educode_sales/version.rb +3 -0
- data/lib/educode_sales.rb +5 -0
- data/lib/tasks/educode_sales_tasks.rake +4 -0
- metadata +342 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
.main-body {top:50%;left:50%;position:absolute;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden;}
|
2
|
+
.login-main .login-bottom .center .item input {display:inline-block;width:227px;height:22px;padding:0;position:absolute;border:0;outline:0;font-size:14px;letter-spacing:0;}
|
3
|
+
.login-main .login-bottom .center .item .icon-1 {background:image-url("educode_sales/icon-login.png") no-repeat 1px 0;}
|
4
|
+
.login-main .login-bottom .center .item .icon-2 {background:image-url("educode_sales/icon-login.png") no-repeat -54px 0;}
|
5
|
+
.login-main .login-bottom .center .item .icon-3 {background:image-url("educode_sales/icon-login.png") no-repeat -106px 0;}
|
6
|
+
.login-main .login-bottom .center .item .icon-4 {background:image-url("educode_sales/icon-login.png") no-repeat 0 -43px;position:absolute;right:-10px;cursor:pointer;}
|
7
|
+
.login-main .login-bottom .center .item .icon-5 {background:image-url("educode_sales/icon-login.png") no-repeat -55px -43px;}
|
8
|
+
.login-main .login-bottom .center .item .icon-6 {background:image-url("educode_sales/icon-login.png") no-repeat 0 -93px;position:absolute;right:-10px;margin-top:8px;cursor:pointer;}
|
9
|
+
.login-main .login-bottom .tip .icon-nocheck {display:inline-block;width:10px;height:10px;border-radius:2px;border:solid 1px #9abcda;position:relative;top:2px;margin:1px 8px 1px 1px;cursor:pointer;}
|
10
|
+
.login-main .login-bottom .tip .icon-check {margin:0 7px 0 0;width:14px;height:14px;border:none;background:image-url("educode_sales/icon-login.png") no-repeat -111px -48px;}
|
11
|
+
.login-main .login-bottom .center .item .icon {display:inline-block;width:33px;height:22px;}
|
12
|
+
.login-main .login-bottom .center .item {width:288px;height:35px;border-bottom:1px solid #dae1e6;margin-bottom:35px;}
|
13
|
+
.login-main {width:428px;position:relative;float:left;}
|
14
|
+
.login-main .login-top {height:117px;background-color:#148be4;border-radius:12px 12px 0 0;font-family:SourceHanSansCN-Regular;font-size:30px;font-weight:400;font-stretch:normal;letter-spacing:0;color:#fff;line-height:117px;text-align:center;overflow:hidden;-webkit-transform:rotate(0);-moz-transform:rotate(0);-ms-transform:rotate(0);-o-transform:rotate(0);transform:rotate(0);}
|
15
|
+
.login-main .login-top .bg1 {display:inline-block;width:74px;height:74px;background:#fff;opacity:.1;border-radius:0 74px 0 0;position:absolute;left:0;top:43px;}
|
16
|
+
.login-main .login-top .bg2 {display:inline-block;width:94px;height:94px;background:#fff;opacity:.1;border-radius:50%;position:absolute;right:-16px;top:-16px;}
|
17
|
+
.login-main .login-bottom {width:428px;background:#fff;border-radius:0 0 12px 12px;padding-bottom:53px;}
|
18
|
+
.login-main .login-bottom .center {width:288px;margin:0 auto;padding-top:40px;padding-bottom:15px;position:relative;}
|
19
|
+
.login-main .login-bottom .tip {clear:both;height:16px;line-height:16px;width:288px;margin:0 auto;}
|
20
|
+
body.login {background:image-url("educode_sales/loginbg.png") 0% 0% / cover no-repeat;position:static;font-size:12px;}
|
21
|
+
input::-webkit-input-placeholder {color:#a6aebf;}
|
22
|
+
input::-moz-placeholder {/* Mozilla Firefox 19+ */ color:#a6aebf;}
|
23
|
+
input:-moz-placeholder {/* Mozilla Firefox 4 to 18 */ color:#a6aebf;}
|
24
|
+
input:-ms-input-placeholder {/* Internet Explorer 10-11 */ color:#a6aebf;}
|
25
|
+
input:-webkit-autofill {/* 取消Chrome记住密码的背景颜色 */ -webkit-box-shadow:0 0 0 1000px white inset !important;}
|
26
|
+
html {height:100%;}
|
27
|
+
.login-main .login-bottom .tip {clear:both;height:16px;line-height:16px;width:288px;margin:0 auto;}
|
28
|
+
.login-main .login-bottom .tip .login-tip {font-family:MicrosoftYaHei;font-size:12px;font-weight:400;font-stretch:normal;letter-spacing:0;color:#9abcda;cursor:pointer;}
|
29
|
+
.login-main .login-bottom .tip .forget-password {font-stretch:normal;letter-spacing:0;color:#1391ff;text-decoration:none;position:absolute;right:62px;}
|
30
|
+
.login-main .login-bottom .login-btn {width:288px;height:40px;background-color:#1E9FFF;border-radius:16px;margin:24px auto 0;text-align:center;line-height:40px;color:#fff;font-size:14px;letter-spacing:0;cursor:pointer;border:none;}
|
31
|
+
.login-main .login-bottom .center .item .validateImg {position:absolute;right:1px;cursor:pointer;height:36px;border:1px solid #e6e6e6;}
|
32
|
+
.footer {left:0;bottom:0;color:#fff;width:100%;position:absolute;text-align:center;line-height:30px;padding-bottom:10px;text-shadow:#000 0.1em 0.1em 0.1em;font-size:14px;}
|
33
|
+
.padding-5 {padding:5px !important;}
|
34
|
+
.footer a,.footer span {color:#fff;}
|
35
|
+
@media screen and (max-width:428px) {.login-main {width:360px !important;}
|
36
|
+
.login-main .login-top {width:360px !important;}
|
37
|
+
.login-main .login-bottom {width:360px !important;}
|
38
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
/**
|
2
|
+
|
3
|
+
@Name: layui.code
|
4
|
+
@Description:Classic modular front-end UI framework
|
5
|
+
@License:MIT
|
6
|
+
|
7
|
+
*/
|
8
|
+
|
9
|
+
/* 加载就绪标志 */
|
10
|
+
html #layuicss-skincodecss{display:none; position: absolute; width:1989px;}
|
11
|
+
|
12
|
+
/* 默认风格 */
|
13
|
+
.layui-code-view{display: block; position: relative; margin: 10px 0; padding: 0; border: 1px solid #eee; border-left-width: 6px; background-color: #FAFAFA; color: #333; font-family: Courier New; font-size: 12px;}
|
14
|
+
.layui-code-h3{position: relative; padding: 0 10px; height: 40px; line-height: 40px; border-bottom: 1px solid #eee; font-size: 12px;}
|
15
|
+
.layui-code-h3 a{position: absolute; right: 10px; top: 0; color: #999;}
|
16
|
+
.layui-code-view .layui-code-ol{position: relative; overflow: auto;}
|
17
|
+
.layui-code-view .layui-code-ol li{position: relative; margin-left: 45px; line-height: 20px; padding: 0 10px; border-left: 1px solid #e2e2e2; list-style-type: decimal-leading-zero; *list-style-type: decimal; background-color: #fff;}
|
18
|
+
.layui-code-view .layui-code-ol li:first-child{padding-top: 10px;}
|
19
|
+
.layui-code-view .layui-code-ol li:last-child{padding-bottom: 10px;}
|
20
|
+
.layui-code-view pre{margin: 0;}
|
21
|
+
|
22
|
+
/* notepadd++风格 */
|
23
|
+
.layui-code-notepad{border: 1px solid #0C0C0C; border-left-color: #3F3F3F; background-color: #0C0C0C; color: #C2BE9E}
|
24
|
+
.layui-code-notepad .layui-code-h3{border-bottom: none;}
|
25
|
+
.layui-code-notepad .layui-code-ol li{background-color: #3F3F3F; border-left: none;}
|
26
|
+
|
27
|
+
/* 代码预览 */
|
28
|
+
.layui-code-demo .layui-code{visibility: visible !important; margin: -15px; border-top: none; border-right: none; border-bottom: none;}
|
29
|
+
.layui-code-demo .layui-tab-content{padding: 15px; border-top: none}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/** 图标字体 **/
|
2
|
+
@font-face {font-family: 'laydate-icon';
|
3
|
+
src: font_url('iconfont.eot');
|
4
|
+
src: font_url('iconfont.eot#iefix') format('embedded-opentype'),
|
5
|
+
font_url('iconfont.svg#iconfont') format('svg'),
|
6
|
+
font_url('iconfont.woff') format('woff'),
|
7
|
+
font_url('iconfont.ttf') format('truetype');
|
8
|
+
}
|
9
|
+
|
10
|
+
.laydate-icon{
|
11
|
+
font-family:"laydate-icon" !important;
|
12
|
+
font-size: 16px;
|
13
|
+
font-style: normal;
|
14
|
+
-webkit-font-smoothing: antialiased;
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
16
|
+
}
|
@@ -0,0 +1,152 @@
|
|
1
|
+
/**
|
2
|
+
|
3
|
+
@Name: laydata
|
4
|
+
|
5
|
+
**/
|
6
|
+
|
7
|
+
|
8
|
+
html #layuicss-laydate{display: none; position: absolute; width: 1989px;}
|
9
|
+
|
10
|
+
/* 初始化 */
|
11
|
+
.layui-laydate *{margin: 0; padding: 0;}
|
12
|
+
|
13
|
+
/* 主体结构 */
|
14
|
+
.layui-laydate, .layui-laydate *{box-sizing: border-box;}
|
15
|
+
.layui-laydate{position: absolute; z-index: 66666666; margin: 5px 0; border-radius: 2px; font-size: 14px; -webkit-animation-duration: 0.2s; animation-duration: 0.2s; -webkit-animation-fill-mode: both; animation-fill-mode: both;}
|
16
|
+
.layui-laydate-main{width: 272px;}
|
17
|
+
.layui-laydate-header *,
|
18
|
+
.layui-laydate-content td,
|
19
|
+
.layui-laydate-list li{transition-duration: .3s; -webkit-transition-duration: .3s;}
|
20
|
+
|
21
|
+
/* 微微往下滑入 */
|
22
|
+
@keyframes laydate-downbit {
|
23
|
+
0% {opacity: 0.3; transform: translate3d(0, -5px, 0);}
|
24
|
+
100% {opacity: 1; transform: translate3d(0, 0, 0);}
|
25
|
+
}
|
26
|
+
|
27
|
+
.layui-laydate{animation-name: laydate-downbit;}
|
28
|
+
.layui-laydate-static{ position: relative; z-index: 0; display: inline-block; margin: 0; -webkit-animation: none; animation: none;}
|
29
|
+
|
30
|
+
/* 展开年月列表时 */
|
31
|
+
.laydate-ym-show .laydate-prev-m,
|
32
|
+
.laydate-ym-show .laydate-next-m{display: none !important;}
|
33
|
+
.laydate-ym-show .laydate-prev-y,
|
34
|
+
.laydate-ym-show .laydate-next-y{display: inline-block !important;}
|
35
|
+
.laydate-ym-show .laydate-set-ym span[lay-type="month"]{display: none !important;}
|
36
|
+
|
37
|
+
/* 展开时间列表时 */
|
38
|
+
.laydate-time-show .layui-laydate-header .layui-icon,
|
39
|
+
.laydate-time-show .laydate-set-ym span[lay-type="year"],
|
40
|
+
.laydate-time-show .laydate-set-ym span[lay-type="month"]{display: none !important;}
|
41
|
+
|
42
|
+
/* 头部结构 */
|
43
|
+
.layui-laydate-header{position: relative; line-height:30px; padding: 10px 70px 5px;}
|
44
|
+
.layui-laydate-header *{display: inline-block; vertical-align: bottom;}
|
45
|
+
.layui-laydate-header i{position: absolute; top: 10px; padding: 0 5px; color: #999; font-size: 18px; cursor: pointer;}
|
46
|
+
.layui-laydate-header i.laydate-prev-y{left: 15px;}
|
47
|
+
.layui-laydate-header i.laydate-prev-m{left: 45px;}
|
48
|
+
.layui-laydate-header i.laydate-next-y{right: 15px;}
|
49
|
+
.layui-laydate-header i.laydate-next-m{right: 45px;}
|
50
|
+
.laydate-set-ym{width: 100%; text-align: center; box-sizing: border-box; text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
|
51
|
+
.laydate-set-ym span{padding: 0 10px; cursor: pointer;}
|
52
|
+
.laydate-time-text{cursor: default !important;}
|
53
|
+
|
54
|
+
/* 主体结构 */
|
55
|
+
.layui-laydate-content{position: relative; padding: 10px; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;}
|
56
|
+
.layui-laydate-content table{border-collapse: collapse; border-spacing: 0;}
|
57
|
+
.layui-laydate-content th,
|
58
|
+
.layui-laydate-content td{width: 36px; height: 30px; padding: 5px; text-align: center;}
|
59
|
+
.layui-laydate-content th{font-weight: 400;}
|
60
|
+
.layui-laydate-content td{position: relative; cursor: pointer;}
|
61
|
+
.laydate-day-mark{position: absolute; left: 0; top: 0; width: 100%; line-height: 30px; font-size: 12px; overflow: hidden;}
|
62
|
+
.laydate-day-mark::after{position: absolute; content:''; right: 2px; top: 2px; width: 5px; height: 5px; border-radius: 50%;}
|
63
|
+
|
64
|
+
/* 底部结构 */
|
65
|
+
.layui-laydate-footer{position: relative; height: 46px; line-height: 26px; padding: 10px;}
|
66
|
+
.layui-laydate-footer span{display: inline-block; vertical-align: top; height: 26px; line-height: 24px; padding: 0 10px; border: 1px solid #C9C9C9; border-radius: 2px; background-color: #fff; font-size: 12px; cursor: pointer; white-space: nowrap; transition: all .3s;}
|
67
|
+
.layui-laydate-footer span:hover{color: #5FB878;}
|
68
|
+
.layui-laydate-footer span.layui-laydate-preview{cursor: default; border-color: transparent !important;}
|
69
|
+
.layui-laydate-footer span.layui-laydate-preview:hover{color: #666;}
|
70
|
+
.layui-laydate-footer span:first-child.layui-laydate-preview{padding-left: 0;}
|
71
|
+
.laydate-footer-btns{position: absolute; right: 10px; top: 10px;}
|
72
|
+
.laydate-footer-btns span{margin: 0 0 0 -1px;}
|
73
|
+
|
74
|
+
/* 年月列表 */
|
75
|
+
.layui-laydate-list{position: absolute; left: 0; top: 0; width: 100%; height: 100%; padding: 10px; box-sizing: border-box; background-color: #fff;}
|
76
|
+
.layui-laydate-list>li{position: relative; display: inline-block; width: 33.3%; height: 36px; line-height: 36px; margin: 3px 0; vertical-align: middle; text-align: center; cursor: pointer;}
|
77
|
+
.laydate-month-list>li{width: 25%; margin: 17px 0;}
|
78
|
+
.laydate-time-list{}
|
79
|
+
.laydate-time-list>li{height: 100%; margin: 0; line-height: normal; cursor: default;}
|
80
|
+
.laydate-time-list p{position: relative; top: -4px; line-height: 29px;}
|
81
|
+
.laydate-time-list ol{height: 181px; overflow: hidden;}
|
82
|
+
.laydate-time-list>li:hover ol{overflow-y: auto;}
|
83
|
+
.laydate-time-list ol li{width: 130%; padding-left: 33px; height: 30px; line-height: 30px; text-align: left; cursor: pointer;}
|
84
|
+
|
85
|
+
/* 提示 */
|
86
|
+
.layui-laydate-hint{position: absolute; top: 115px; left: 50%; width: 250px; margin-left: -125px; line-height: 20px; padding: 15px; text-align: center; font-size: 12px; color: #FF5722;}
|
87
|
+
|
88
|
+
|
89
|
+
/* 双日历 */
|
90
|
+
.layui-laydate-range{width: 546px;}
|
91
|
+
.layui-laydate-range .layui-laydate-main{display: inline-block; vertical-align: middle;}
|
92
|
+
.layui-laydate-range .laydate-main-list-1 .layui-laydate-header,
|
93
|
+
.layui-laydate-range .laydate-main-list-1 .layui-laydate-content{border-left: 1px solid #e2e2e2;}
|
94
|
+
|
95
|
+
|
96
|
+
/* 默认简约主题 */
|
97
|
+
.layui-laydate, .layui-laydate-hint{border: 1px solid #d2d2d2; box-shadow: 0 2px 4px rgba(0,0,0,.12); background-color: #fff; color: #666;}
|
98
|
+
.layui-laydate-header{border-bottom: 1px solid #e2e2e2;}
|
99
|
+
.layui-laydate-header i:hover,
|
100
|
+
.layui-laydate-header span:hover{color: #5FB878;}
|
101
|
+
.layui-laydate-content{border-top: none 0; border-bottom: none 0;}
|
102
|
+
.layui-laydate-content th{color: #333;}
|
103
|
+
.layui-laydate-content td{color: #666;}
|
104
|
+
.layui-laydate-content td.laydate-selected{background-color: #B5FFF8;}
|
105
|
+
.laydate-selected:hover{background-color: #00F7DE !important;}
|
106
|
+
.layui-laydate-content td:hover,
|
107
|
+
.layui-laydate-list li:hover{background-color: #eee; color: #333;}
|
108
|
+
.laydate-time-list li ol{margin: 0; padding: 0; border: 1px solid #e2e2e2; border-left-width: 0;}
|
109
|
+
.laydate-time-list li:first-child ol{border-left-width: 1px;}
|
110
|
+
.laydate-time-list>li:hover{background: none;}
|
111
|
+
.layui-laydate-content .laydate-day-prev,
|
112
|
+
.layui-laydate-content .laydate-day-next{color: #d2d2d2;}
|
113
|
+
.laydate-selected.laydate-day-prev,
|
114
|
+
.laydate-selected.laydate-day-next{background-color: #f8f8f8 !important;}
|
115
|
+
.layui-laydate-footer{border-top: 1px solid #e2e2e2;}
|
116
|
+
.layui-laydate-hint{color: #FF5722;}
|
117
|
+
.laydate-day-mark::after{background-color: #5FB878;}
|
118
|
+
.layui-laydate-content td.layui-this .laydate-day-mark::after{display: none;}
|
119
|
+
.layui-laydate-footer span[lay-type="date"]{color: #5FB878;}
|
120
|
+
.layui-laydate .layui-this{background-color: #009688 !important; color: #fff !important;}
|
121
|
+
.layui-laydate .laydate-disabled,
|
122
|
+
.layui-laydate .laydate-disabled:hover{background:none !important; color: #d2d2d2 !important; cursor: not-allowed !important; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none;}
|
123
|
+
|
124
|
+
/* 墨绿/自定义背景色主题 */
|
125
|
+
.laydate-theme-molv{border: none;}
|
126
|
+
.laydate-theme-molv.layui-laydate-range{width: 548px}
|
127
|
+
.laydate-theme-molv .layui-laydate-main{width: 274px;}
|
128
|
+
.laydate-theme-molv .layui-laydate-header{border: none; background-color: #009688;}
|
129
|
+
.laydate-theme-molv .layui-laydate-header i,
|
130
|
+
.laydate-theme-molv .layui-laydate-header span{color: #f6f6f6;}
|
131
|
+
.laydate-theme-molv .layui-laydate-header i:hover,
|
132
|
+
.laydate-theme-molv .layui-laydate-header span:hover{color: #fff;}
|
133
|
+
.laydate-theme-molv .layui-laydate-content{border: 1px solid #e2e2e2; border-top: none; border-bottom: none;}
|
134
|
+
.laydate-theme-molv .laydate-main-list-1 .layui-laydate-content{border-left: none;}
|
135
|
+
.laydate-theme-molv .layui-laydate-footer{border: 1px solid #e2e2e2;}
|
136
|
+
|
137
|
+
/* 格子主题 */
|
138
|
+
.laydate-theme-grid .layui-laydate-content td,
|
139
|
+
.laydate-theme-grid .layui-laydate-content thead,
|
140
|
+
.laydate-theme-grid .laydate-year-list>li,
|
141
|
+
.laydate-theme-grid .laydate-month-list>li{border: 1px solid #e2e2e2;}
|
142
|
+
.laydate-theme-grid .laydate-selected,
|
143
|
+
.laydate-theme-grid .laydate-selected:hover{background-color: #f2f2f2 !important; color: #009688 !important;}
|
144
|
+
.laydate-theme-grid .laydate-selected.laydate-day-prev,
|
145
|
+
.laydate-theme-grid .laydate-selected.laydate-day-next{color: #d2d2d2 !important;}
|
146
|
+
.laydate-theme-grid .laydate-year-list,
|
147
|
+
.laydate-theme-grid .laydate-month-list{margin: 1px 0 0 1px;}
|
148
|
+
.laydate-theme-grid .laydate-year-list>li,
|
149
|
+
.laydate-theme-grid .laydate-month-list>li{margin: 0 -1px -1px 0;}
|
150
|
+
.laydate-theme-grid .laydate-year-list>li{height: 43px; line-height: 43px;}
|
151
|
+
.laydate-theme-grid .laydate-month-list>li{height: 71px; line-height: 71px;}
|
152
|
+
|
Binary file
|
@@ -0,0 +1,179 @@
|
|
1
|
+
/**
|
2
|
+
|
3
|
+
@Name: layer
|
4
|
+
|
5
|
+
**/
|
6
|
+
|
7
|
+
/* *html{background-image: url(about:blank); background-attachment: fixed;} */
|
8
|
+
html #layuicss-layer{display: none; position: absolute; width: 1989px;}
|
9
|
+
|
10
|
+
/* common */
|
11
|
+
.layui-layer-shade, .layui-layer{position:fixed; _position:absolute; pointer-events: auto;}
|
12
|
+
.layui-layer-shade{top:0; left:0; width:100%; height:100%; _height:expression(document.body.offsetHeight+"px");}
|
13
|
+
.layui-layer{-webkit-overflow-scrolling: touch;}
|
14
|
+
.layui-layer{top:150px; left: 0; margin:0; padding:0; background-color:#fff; -webkit-background-clip: content; border-radius: 2px; box-shadow: 1px 1px 50px rgba(0,0,0,.3);}
|
15
|
+
.layui-layer-close{position:absolute;}
|
16
|
+
.layui-layer-content{position:relative;}
|
17
|
+
.layui-layer-border{border: 1px solid #B2B2B2; border: 1px solid rgba(0,0,0,.1); box-shadow: 1px 1px 5px rgba(0,0,0,.2);}
|
18
|
+
.layui-layer-load{background:image-url("educode_sales/loading-1.gif") #eee center center no-repeat;}
|
19
|
+
.layui-layer-ico{ background:image-url("educode_sales/icon.png") no-repeat;}
|
20
|
+
.layui-layer-dialog .layui-layer-ico,
|
21
|
+
.layui-layer-setwin a,
|
22
|
+
.layui-layer-btn a{display:inline-block; *display:inline; *zoom:1; vertical-align:top;}
|
23
|
+
|
24
|
+
.layui-layer-move{display: none; position: fixed; *position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; cursor: move; opacity: 0; filter:alpha(opacity=0); background-color: #fff; z-index: 2147483647;}
|
25
|
+
.layui-layer-resize{position: absolute; width: 15px; height: 15px; right: 0; bottom: 0; cursor: se-resize;}
|
26
|
+
|
27
|
+
/* 动画 */
|
28
|
+
.layer-anim{-webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration:.3s; animation-duration:.3s;}
|
29
|
+
|
30
|
+
@-webkit-keyframes layer-bounceIn { /* 默认 */
|
31
|
+
0% {opacity: 0; -webkit-transform: scale(.5); transform: scale(.5)}
|
32
|
+
100% {opacity: 1; -webkit-transform: scale(1); transform: scale(1)}
|
33
|
+
}
|
34
|
+
@keyframes layer-bounceIn {
|
35
|
+
0% {opacity: 0; -webkit-transform: scale(.5); -ms-transform: scale(.5); transform: scale(.5)}
|
36
|
+
100% {opacity: 1; -webkit-transform: scale(1); -ms-transform: scale(1); transform: scale(1)}
|
37
|
+
}
|
38
|
+
.layer-anim-00{-webkit-animation-name: layer-bounceIn;animation-name: layer-bounceIn}
|
39
|
+
|
40
|
+
@-webkit-keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:layer-zoomInDown;animation-name:layer-zoomInDown}
|
41
|
+
|
42
|
+
@-webkit-keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:layer-fadeInUpBig;animation-name:layer-fadeInUpBig}
|
43
|
+
|
44
|
+
@-webkit-keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:layer-zoomInLeft;animation-name:layer-zoomInLeft}
|
45
|
+
|
46
|
+
@-webkit-keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}@keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0px) rotate(0deg);-ms-transform:translateX(0px) rotate(0deg);transform:translateX(0px) rotate(0deg)}}.layer-anim-04{-webkit-animation-name:layer-rollIn;animation-name:layer-rollIn}
|
47
|
+
|
48
|
+
@keyframes layer-fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:layer-fadeIn;animation-name:layer-fadeIn}
|
49
|
+
|
50
|
+
@-webkit-keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes layer-shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:layer-shake;animation-name:layer-shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}
|
51
|
+
|
52
|
+
/* 标题栏 */
|
53
|
+
.layui-layer-title{padding:0 80px 0 20px; height: 50px; line-height: 50px; border-bottom:1px solid #F0F0F0; font-size: 14px; color:#333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-radius: 2px 2px 0 0;}
|
54
|
+
.layui-layer-setwin{position:absolute; right: 15px; *right:0; top: 17px; font-size:0; line-height: initial;}
|
55
|
+
.layui-layer-setwin a{position:relative; width: 16px; height:16px; margin-left:10px; font-size:12px; _overflow:hidden;}
|
56
|
+
.layui-layer-setwin .layui-layer-min cite{position:absolute; width:14px; height:2px; left:0; top:50%; margin-top:-1px; background-color:#2E2D3C; cursor:pointer; _overflow:hidden;}
|
57
|
+
.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA; }
|
58
|
+
.layui-layer-setwin .layui-layer-max{background-position:-32px -40px;}
|
59
|
+
.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px;}
|
60
|
+
.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px;}
|
61
|
+
.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px;}
|
62
|
+
.layui-layer-setwin .layui-layer-close1{background-position: 1px -40px; cursor: pointer;}
|
63
|
+
.layui-layer-setwin .layui-layer-close1:hover{opacity:0.7;}
|
64
|
+
.layui-layer-setwin .layui-layer-close2{position:absolute; right:-28px; top:-28px; width:30px; height:30px; margin-left:0; background-position:-149px -31px; *right:-18px; _display:none;}
|
65
|
+
.layui-layer-setwin .layui-layer-close2:hover{ background-position:-180px -31px;}
|
66
|
+
|
67
|
+
/* 按钮栏 */
|
68
|
+
.layui-layer-btn{text-align: right; padding: 0 15px 12px; pointer-events: auto; user-select: none; -webkit-user-select: none;}
|
69
|
+
.layui-layer-btn a{height: 28px; line-height: 28px; margin: 5px 5px 0; padding: 0 15px; border: 1px solid #dedede; background-color:#fff; color: #333; border-radius: 2px; font-weight:400; cursor:pointer; text-decoration: none;}
|
70
|
+
.layui-layer-btn a:hover{opacity: 0.9; text-decoration: none;}
|
71
|
+
.layui-layer-btn a:active{opacity: 0.8;}
|
72
|
+
.layui-layer-btn .layui-layer-btn0{border-color: #1E9FFF; background-color: #1E9FFF; color:#fff;}
|
73
|
+
.layui-layer-btn-l{text-align: left;}
|
74
|
+
.layui-layer-btn-c{text-align: center;}
|
75
|
+
|
76
|
+
/* 定制化 */
|
77
|
+
.layui-layer-dialog{min-width: 300px;}
|
78
|
+
.layui-layer-dialog .layui-layer-content{position: relative; padding:20px; line-height:24px; word-break: break-all; overflow:hidden; font-size:14px; overflow-x: hidden; overflow-y:auto;}
|
79
|
+
.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute; top:16px; left:15px; _left:-40px; width:30px; height:30px;}
|
80
|
+
.layui-layer-ico1{background-position:-30px 0 }
|
81
|
+
.layui-layer-ico2{background-position:-60px 0;}
|
82
|
+
.layui-layer-ico3{background-position:-90px 0;}
|
83
|
+
.layui-layer-ico4{background-position:-120px 0;}
|
84
|
+
.layui-layer-ico5{background-position:-150px 0;}
|
85
|
+
.layui-layer-ico6{background-position:-180px 0;}
|
86
|
+
.layui-layer-rim{border:6px solid #8D8D8D; border:6px solid rgba(0,0,0,.3); border-radius:5px; box-shadow: none;}
|
87
|
+
.layui-layer-msg{min-width:180px; border:1px solid #D3D4D3; box-shadow: none;}
|
88
|
+
.layui-layer-hui{min-width:100px; background-color: #000; filter:alpha(opacity=60); background-color: rgba(0,0,0,0.6); color: #fff; border:none;}
|
89
|
+
.layui-layer-hui .layui-layer-content{padding:12px 25px; text-align:center;}
|
90
|
+
.layui-layer-dialog .layui-layer-padding{padding: 20px 20px 20px 55px; text-align: left;}
|
91
|
+
.layui-layer-page .layui-layer-content{position:relative; overflow:auto;}
|
92
|
+
.layui-layer-page .layui-layer-btn,.layui-layer-iframe .layui-layer-btn{padding-top:10px;}
|
93
|
+
.layui-layer-nobg{background:none;}
|
94
|
+
.layui-layer-iframe iframe{display: block; width: 100%;}
|
95
|
+
|
96
|
+
.layui-layer-loading{border-radius:100%; background:none; box-shadow:none; border:none;}
|
97
|
+
.layui-layer-loading .layui-layer-content{width:60px; height:24px; background:image-url("educode_sales/loading-0.gif") no-repeat;}
|
98
|
+
.layui-layer-loading .layui-layer-loading1{width:37px; height:37px; background:image-url("educode_sales/loading-1.gif") no-repeat;}
|
99
|
+
.layui-layer-loading .layui-layer-loading2, .layui-layer-ico16{width:32px; height:32px; background:image-url("educode_sales/loading-2.gif") no-repeat;}
|
100
|
+
.layui-layer-tips{background: none; box-shadow:none; border:none;}
|
101
|
+
.layui-layer-tips .layui-layer-content{position: relative; line-height: 22px; min-width: 12px; padding: 8px 15px; font-size: 12px; _float:left; border-radius: 2px; box-shadow: 1px 1px 3px rgba(0,0,0,.2); background-color: #000; color: #fff;}
|
102
|
+
.layui-layer-tips .layui-layer-close{right:-2px; top:-1px;}
|
103
|
+
.layui-layer-tips i.layui-layer-TipsG{ position:absolute; width:0; height:0; border-width:8px; border-color:transparent; border-style:dashed; *overflow:hidden;}
|
104
|
+
.layui-layer-tips i.layui-layer-TipsT, .layui-layer-tips i.layui-layer-TipsB{left:5px; border-right-style:solid; border-right-color: #000;}
|
105
|
+
.layui-layer-tips i.layui-layer-TipsT{bottom:-8px;}
|
106
|
+
.layui-layer-tips i.layui-layer-TipsB{top:-8px;}
|
107
|
+
.layui-layer-tips i.layui-layer-TipsR, .layui-layer-tips i.layui-layer-TipsL{top: 5px; border-bottom-style:solid; border-bottom-color: #000;}
|
108
|
+
.layui-layer-tips i.layui-layer-TipsR{left:-8px;}
|
109
|
+
.layui-layer-tips i.layui-layer-TipsL{right:-8px;}
|
110
|
+
|
111
|
+
/* skin */
|
112
|
+
.layui-layer-lan[type="dialog"]{min-width:280px;}
|
113
|
+
.layui-layer-lan .layui-layer-title{background:#4476A7; color:#fff; border: none;}
|
114
|
+
.layui-layer-lan .layui-layer-btn{padding: 5px 10px 10px; text-align: right; border-top:1px solid #E9E7E7}
|
115
|
+
.layui-layer-lan .layui-layer-btn a{background: #fff; border-color: #E9E7E7; color: #333;}
|
116
|
+
.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5;}
|
117
|
+
.layui-layer-molv .layui-layer-title{background: #009f95; color:#fff; border: none;}
|
118
|
+
.layui-layer-molv .layui-layer-btn a{background: #009f95; border-color: #009f95;}
|
119
|
+
.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1;}
|
120
|
+
|
121
|
+
|
122
|
+
/**
|
123
|
+
|
124
|
+
@Name: layer拓展样式
|
125
|
+
|
126
|
+
*/
|
127
|
+
|
128
|
+
.layui-layer-iconext{background:image-url("educode_sales/(icon-ext.png") no-repeat;}
|
129
|
+
|
130
|
+
/* prompt模式 */
|
131
|
+
.layui-layer-prompt .layui-layer-input{display: block; width: 260px; height: 36px; margin: 0 auto; line-height: 30px; padding-left: 10px; border: 1px solid #e6e6e6; color: #333;}
|
132
|
+
.layui-layer-prompt textarea.layui-layer-input{width: 300px; height: 100px; line-height: 20px; padding: 6px 10px;}
|
133
|
+
.layui-layer-prompt .layui-layer-content{padding: 20px;}
|
134
|
+
.layui-layer-prompt .layui-layer-btn{padding-top: 0;}
|
135
|
+
|
136
|
+
/* tab模式 */
|
137
|
+
.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4);}
|
138
|
+
.layui-layer-tab .layui-layer-title{padding-left:0; overflow: visible;}
|
139
|
+
.layui-layer-tab .layui-layer-title span{position:relative; float:left; min-width:80px; max-width: 300px; padding:0 20px; text-align:center; cursor:default; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; cursor: pointer;}
|
140
|
+
.layui-layer-tab .layui-layer-title span.layui-this{height: 51px; border-left: 1px solid #eee; border-right: 1px solid #eee; background-color: #fff; z-index: 10;}
|
141
|
+
.layui-layer-tab .layui-layer-title span:first-child{border-left:none;}
|
142
|
+
.layui-layer-tabmain{line-height:24px; clear:both;}
|
143
|
+
.layui-layer-tabmain .layui-layer-tabli{display:none;}
|
144
|
+
.layui-layer-tabmain .layui-layer-tabli.layui-this{display: block;}
|
145
|
+
|
146
|
+
/* photo模式 */
|
147
|
+
.layui-layer-photos{background: none; box-shadow: none;}
|
148
|
+
.layui-layer-photos .layui-layer-content{overflow:hidden; text-align: center;}
|
149
|
+
.layui-layer-photos .layui-layer-phimg img{position: relative; width:100%; display: inline-block; *display:inline; *zoom:1; vertical-align:top;}
|
150
|
+
.layui-layer-imgprev, .layui-layer-imgnext{position: fixed; top: 50%; width: 27px; _width: 44px; height: 44px; margin-top:-22px; outline:none;blr:expression(this.onFocus=this.blur());}
|
151
|
+
.layui-layer-imgprev{left: 30px; background-position:-5px -5px; _background-position:-70px -5px;}
|
152
|
+
.layui-layer-imgprev:hover{background-position:-33px -5px; _background-position:-120px -5px;}
|
153
|
+
.layui-layer-imgnext{right: 30px; _right:8px; background-position:-5px -50px; _background-position:-70px -50px;}
|
154
|
+
.layui-layer-imgnext:hover{background-position: -33px -50px; _background-position: -120px -50px;}
|
155
|
+
.layui-layer-imgbar{position: fixed; left:0; right: 0; bottom:0; width:100%; height: 40px; line-height: 40px; background-color:#000\9; filter:Alpha(opacity=60); background-color: rgba(2,0,0,.35); color: #fff; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size:0;}
|
156
|
+
.layui-layer-imgtit{/*position:absolute; left:20px;*/}
|
157
|
+
.layui-layer-imgtit *{display:inline-block; *display:inline; *zoom:1; vertical-align:top; font-size:12px;}
|
158
|
+
.layui-layer-imgtit a{max-width:65%; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; color:#fff;}
|
159
|
+
.layui-layer-imgtit a:hover{color:#fff; text-decoration:underline;}
|
160
|
+
.layui-layer-imgtit em{padding-left:10px; font-style: normal;}
|
161
|
+
|
162
|
+
/* 关闭动画 */
|
163
|
+
@-webkit-keyframes layer-bounceOut {
|
164
|
+
100% {opacity: 0; -webkit-transform: scale(.7); transform: scale(.7)}
|
165
|
+
30% {-webkit-transform: scale(1.05); transform: scale(1.05)}
|
166
|
+
0% {-webkit-transform: scale(1); transform: scale(1);}
|
167
|
+
}
|
168
|
+
@keyframes layer-bounceOut {
|
169
|
+
100% {opacity: 0; -webkit-transform: scale(.7); -ms-transform: scale(.7); transform: scale(.7);}
|
170
|
+
30% {-webkit-transform: scale(1.05); -ms-transform: scale(1.05); transform: scale(1.05);}
|
171
|
+
0% {-webkit-transform: scale(1); -ms-transform: scale(1);transform: scale(1);}
|
172
|
+
}
|
173
|
+
.layer-anim-close{-webkit-animation-name: layer-bounceOut; animation-name: layer-bounceOut; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-animation-duration:.2s; animation-duration:.2s;}
|
174
|
+
|
175
|
+
@media screen and (max-width: 1100px) {
|
176
|
+
.layui-layer-iframe{overflow-y: auto; -webkit-overflow-scrolling: touch;}
|
177
|
+
}
|
178
|
+
|
179
|
+
|
@@ -0,0 +1,103 @@
|
|
1
|
+
.selectInput {
|
2
|
+
bottom: auto !important;
|
3
|
+
}
|
4
|
+
|
5
|
+
.layui-form-danger+.layui-form-selectInput .layui-input,
|
6
|
+
.layui-form-danger:focus {
|
7
|
+
border-color: #FF5722 !important
|
8
|
+
}
|
9
|
+
|
10
|
+
.layui-form-selectInput .layui-input {
|
11
|
+
padding-right: 30px;
|
12
|
+
cursor: pointer
|
13
|
+
}
|
14
|
+
|
15
|
+
.layui-form-selectInput .layui-selectInput-edge {
|
16
|
+
position: absolute;
|
17
|
+
right: 10px;
|
18
|
+
top: 50%;
|
19
|
+
margin-top: -3px;
|
20
|
+
cursor: pointer;
|
21
|
+
border-width: 6px;
|
22
|
+
border-top-color: #c2c2c2;
|
23
|
+
border-top-style: solid;
|
24
|
+
transition: all .3s;
|
25
|
+
-webkit-transition: all .3s
|
26
|
+
}
|
27
|
+
|
28
|
+
.layui-form-selected .layui-selectInput-edge {
|
29
|
+
margin-top: -9px;
|
30
|
+
-webkit-transform: rotate(180deg);
|
31
|
+
transform: rotate(180deg);
|
32
|
+
margin-top: -3px \9;
|
33
|
+
}
|
34
|
+
|
35
|
+
.layui-selectInput-edge {
|
36
|
+
display: inline-block;
|
37
|
+
width: 0;
|
38
|
+
height: 0;
|
39
|
+
border-width: 6px;
|
40
|
+
border-style: dashed;
|
41
|
+
border-color: transparent;
|
42
|
+
}
|
43
|
+
|
44
|
+
.layui-form-selectInput dl {
|
45
|
+
display: none;
|
46
|
+
position: absolute;
|
47
|
+
left: 0;
|
48
|
+
top: 42px;
|
49
|
+
padding: 5px 0;
|
50
|
+
z-index: 899;
|
51
|
+
min-width: 100%;
|
52
|
+
border: 1px solid #d2d2d2;
|
53
|
+
max-height: 300px;
|
54
|
+
overflow-y: auto;
|
55
|
+
background-color: #fff;
|
56
|
+
border-radius: 2px;
|
57
|
+
box-shadow: 0 2px 4px rgba(0, 0, 0, .12);
|
58
|
+
box-sizing: border-box
|
59
|
+
}
|
60
|
+
|
61
|
+
.layui-form-selectInput dl dd,
|
62
|
+
.layui-form-selectInput dl dt {
|
63
|
+
padding: 0 10px;
|
64
|
+
line-height: 36px;
|
65
|
+
white-space: nowrap;
|
66
|
+
overflow: hidden;
|
67
|
+
text-overflow: ellipsis
|
68
|
+
}
|
69
|
+
|
70
|
+
.layui-form-selectInput dl dt {
|
71
|
+
font-size: 12px;
|
72
|
+
color: #999
|
73
|
+
}
|
74
|
+
|
75
|
+
.layui-form-selectInput dl dd {
|
76
|
+
cursor: pointer;
|
77
|
+
color: #666;
|
78
|
+
}
|
79
|
+
|
80
|
+
.layui-form-selectInput dl dd:hover {
|
81
|
+
background-color: #f2f2f2;
|
82
|
+
-webkit-transition: .5s all;
|
83
|
+
transition: .5s all
|
84
|
+
}
|
85
|
+
|
86
|
+
.layui-form-selectInput .layui-select-group dd {
|
87
|
+
padding-left: 20px
|
88
|
+
}
|
89
|
+
|
90
|
+
.layui-form-selectInput dl dd.layui-select-tips {
|
91
|
+
padding-left: 10px !important;
|
92
|
+
color: #999
|
93
|
+
}
|
94
|
+
|
95
|
+
.layui-form-selectInput dl dd.layui-this {
|
96
|
+
background-color: #5FB878;
|
97
|
+
color: #fff
|
98
|
+
}
|
99
|
+
|
100
|
+
.layui-form-checkbox,
|
101
|
+
.layui-form-selectInput dl dd.layui-disabled {
|
102
|
+
background-color: #fff
|
103
|
+
}
|