From 07d6be704a8c4702af6dd1b539eea2cd5bd12f10 Mon Sep 17 00:00:00 2001
From: gongfuxiang <2499232802@qq.com>
Date: Tue, 16 Oct 2018 01:58:32 +0800
Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=A4=B4=E5=83=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Home/View/Default/Public/Footer.html | 3 +
.../Home/View/Default/Public/Header.html | 1 +
.../Home/View/Default/Public/UserMenu.html | 42 +-
.../Home/View/Default/User/Index.html | 2 +-
service/Public/Common/Lib/cropper/cropper.css | 248 +++
service/Public/Common/Lib/cropper/cropper.js | 1980 +++++++++++++++++
.../Public/Common/Lib/cropper/cropper.min.css | 9 +
.../Public/Common/Lib/cropper/cropper.min.js | 10 +
service/Public/Home/Default/Css/Common.css | 27 +-
.../Public/Home/Default/Css/User.Index.css | 2 +-
.../Default/Images/default-user-avatar-s.jpg | Bin 0 -> 23832 bytes
.../Default/Images/default-user-avatar.jpg | Bin 23832 -> 8057 bytes
service/Public/Home/Default/Js/Common.js | 134 ++
13 files changed, 2454 insertions(+), 4 deletions(-)
create mode 100755 service/Public/Common/Lib/cropper/cropper.css
create mode 100755 service/Public/Common/Lib/cropper/cropper.js
create mode 100755 service/Public/Common/Lib/cropper/cropper.min.css
create mode 100755 service/Public/Common/Lib/cropper/cropper.min.js
create mode 100755 service/Public/Home/Default/Images/default-user-avatar-s.jpg
mode change 100755 => 100644 service/Public/Home/Default/Images/default-user-avatar.jpg
diff --git a/service/Application/Home/View/Default/Public/Footer.html b/service/Application/Home/View/Default/Public/Footer.html
index 73050dce0..6cb8bce5a 100755
--- a/service/Application/Home/View/Default/Public/Footer.html
+++ b/service/Application/Home/View/Default/Public/Footer.html
@@ -22,6 +22,9 @@
+
+
+
diff --git a/service/Application/Home/View/Default/Public/Header.html b/service/Application/Home/View/Default/Public/Header.html
index f79493cca..d3fcc082a 100755
--- a/service/Application/Home/View/Default/Public/Header.html
+++ b/service/Application/Home/View/Default/Public/Header.html
@@ -14,6 +14,7 @@
+
diff --git a/service/Application/Home/View/Default/Public/UserMenu.html b/service/Application/Home/View/Default/Public/UserMenu.html
index 928dce7c5..05972d798 100755
--- a/service/Application/Home/View/Default/Public/UserMenu.html
+++ b/service/Application/Home/View/Default/Public/UserMenu.html
@@ -26,4 +26,44 @@
-
\ No newline at end of file
+
+
+
+
\ No newline at end of file
diff --git a/service/Application/Home/View/Default/User/Index.html b/service/Application/Home/View/Default/User/Index.html
index 2af547f21..7eae0111a 100755
--- a/service/Application/Home/View/Default/User/Index.html
+++ b/service/Application/Home/View/Default/User/Index.html
@@ -34,7 +34,7 @@
{{$user.user_name_view}}
diff --git a/service/Public/Common/Lib/cropper/cropper.css b/service/Public/Common/Lib/cropper/cropper.css
new file mode 100755
index 000000000..6707912a2
--- /dev/null
+++ b/service/Public/Common/Lib/cropper/cropper.css
@@ -0,0 +1,248 @@
+/*!
+ * Cropper v0.9.2
+ * https://github.com/fengyuanchen/cropper
+ *
+ * Copyright (c) 2014-2015 Fengyuan Chen and contributors
+ * Released under the MIT license
+ *
+ * Date: 2015-04-18T04:35:01.500Z
+ */
+.cropper-container {
+ position: relative;
+ overflow: hidden;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+
+ -webkit-tap-highlight-color: transparent;
+ -webkit-touch-callout: none;
+}
+.cropper-container img {
+ display: block;
+ width: 100%;
+ min-width: 0 !important;
+ max-width: none !important;
+ height: 100%;
+ min-height: 0 !important;
+ max-height: none !important;
+
+ image-orientation: 0deg !important;
+}
+.cropper-canvas,
+.cropper-drag-box,
+.cropper-crop-box,
+.cropper-modal {
+ position: absolute;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+}
+.cropper-drag-box {
+ background-color: #fff;
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+.cropper-modal {
+ background-color: #000;
+ filter: alpha(opacity=50);
+ opacity: .5;
+}
+.cropper-view-box {
+ display: block;
+ width: 100%;
+ height: 100%;
+ overflow: hidden;
+ outline: 1px solid #69f;
+ outline-color: rgba(102, 153, 255, .75);
+}
+.cropper-dashed {
+ position: absolute;
+ display: block;
+ filter: alpha(opacity=50);
+ border: 0 dashed #fff;
+ opacity: .5;
+}
+.cropper-dashed.dashed-h {
+ top: 33.33333333%;
+ left: 0;
+ width: 100%;
+ height: 33.33333333%;
+ border-top-width: 1px;
+ border-bottom-width: 1px;
+}
+.cropper-dashed.dashed-v {
+ top: 0;
+ left: 33.33333333%;
+ width: 33.33333333%;
+ height: 100%;
+ border-right-width: 1px;
+ border-left-width: 1px;
+}
+.cropper-face,
+.cropper-line,
+.cropper-point {
+ position: absolute;
+ display: block;
+ width: 100%;
+ height: 100%;
+ filter: alpha(opacity=10);
+ opacity: .1;
+}
+.cropper-face {
+ top: 0;
+ left: 0;
+ cursor: move;
+ background-color: #fff;
+}
+.cropper-line {
+ background-color: #69f;
+}
+.cropper-line.line-e {
+ top: 0;
+ right: -3px;
+ width: 5px;
+ cursor: e-resize;
+}
+.cropper-line.line-n {
+ top: -3px;
+ left: 0;
+ height: 5px;
+ cursor: n-resize;
+}
+.cropper-line.line-w {
+ top: 0;
+ left: -3px;
+ width: 5px;
+ cursor: w-resize;
+}
+.cropper-line.line-s {
+ bottom: -3px;
+ left: 0;
+ height: 5px;
+ cursor: s-resize;
+}
+.cropper-point {
+ width: 5px;
+ height: 5px;
+ background-color: #69f;
+ filter: alpha(opacity=75);
+ opacity: .75;
+}
+.cropper-point.point-e {
+ top: 50%;
+ right: -3px;
+ margin-top: -3px;
+ cursor: e-resize;
+}
+.cropper-point.point-n {
+ top: -3px;
+ left: 50%;
+ margin-left: -3px;
+ cursor: n-resize;
+}
+.cropper-point.point-w {
+ top: 50%;
+ left: -3px;
+ margin-top: -3px;
+ cursor: w-resize;
+}
+.cropper-point.point-s {
+ bottom: -3px;
+ left: 50%;
+ margin-left: -3px;
+ cursor: s-resize;
+}
+.cropper-point.point-ne {
+ top: -3px;
+ right: -3px;
+ cursor: ne-resize;
+}
+.cropper-point.point-nw {
+ top: -3px;
+ left: -3px;
+ cursor: nw-resize;
+}
+.cropper-point.point-sw {
+ bottom: -3px;
+ left: -3px;
+ cursor: sw-resize;
+}
+.cropper-point.point-se {
+ right: -3px;
+ bottom: -3px;
+ width: 20px;
+ height: 20px;
+ cursor: se-resize;
+ filter: alpha(opacity=100);
+ opacity: 1;
+}
+.cropper-point.point-se:before {
+ position: absolute;
+ right: -50%;
+ bottom: -50%;
+ display: block;
+ width: 200%;
+ height: 200%;
+ content: " ";
+ background-color: #69f;
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+@media (min-width: 768px) {
+ .cropper-point.point-se {
+ width: 15px;
+ height: 15px;
+ }
+}
+@media (min-width: 992px) {
+ .cropper-point.point-se {
+ width: 10px;
+ height: 10px;
+ }
+}
+@media (min-width: 1200px) {
+ .cropper-point.point-se {
+ width: 5px;
+ height: 5px;
+ filter: alpha(opacity=75);
+ opacity: .75;
+ }
+}
+.cropper-bg {
+ background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC");
+}
+.cropper-invisible {
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+.cropper-hide {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: -1;
+ width: auto!important;
+ min-width: 0!important;
+ max-width: none!important;
+ height: auto!important;
+ min-height: 0!important;
+ max-height: none!important;
+ filter: alpha(opacity=0);
+ opacity: 0;
+}
+.cropper-hidden {
+ display: none !important;
+}
+.cropper-move {
+ cursor: move;
+}
+.cropper-crop {
+ cursor: crosshair;
+}
+.cropper-disabled .cropper-drag-box,
+.cropper-disabled .cropper-face,
+.cropper-disabled .cropper-line,
+.cropper-disabled .cropper-point {
+ cursor: not-allowed;
+}
diff --git a/service/Public/Common/Lib/cropper/cropper.js b/service/Public/Common/Lib/cropper/cropper.js
new file mode 100755
index 000000000..733c2cd52
--- /dev/null
+++ b/service/Public/Common/Lib/cropper/cropper.js
@@ -0,0 +1,1980 @@
+/*!
+ * Cropper v0.9.2
+ * https://github.com/fengyuanchen/cropper
+ *
+ * Copyright (c) 2014-2015 Fengyuan Chen and contributors
+ * Released under the MIT license
+ *
+ * Date: 2015-04-18T04:35:01.500Z
+ */
+
+(function (factory) {
+ if (typeof define === 'function' && define.amd) {
+ // AMD. Register as anonymous module.
+ define(['jquery'], factory);
+ } else if (typeof exports === 'object') {
+ // Node / CommonJS
+ factory(require('jquery'));
+ } else {
+ // Browser globals.
+ factory(jQuery);
+ }
+})(function ($) {
+
+ 'use strict';
+
+ var $window = $(window),
+ $document = $(document),
+ location = window.location,
+
+ // Constants
+ CROPPER_NAMESPACE = '.cropper',
+ CROPPER_PREVIEW = 'preview' + CROPPER_NAMESPACE,
+
+ // RegExps
+ REGEXP_DRAG_TYPES = /^(e|n|w|s|ne|nw|sw|se|all|crop|move|zoom)$/,
+
+ // Classes
+ CLASS_MODAL = 'cropper-modal',
+ CLASS_HIDE = 'cropper-hide',
+ CLASS_HIDDEN = 'cropper-hidden',
+ CLASS_INVISIBLE = 'cropper-invisible',
+ CLASS_MOVE = 'cropper-move',
+ CLASS_CROP = 'cropper-crop',
+ CLASS_DISABLED = 'cropper-disabled',
+ CLASS_BG = 'cropper-bg',
+
+ // Events
+ EVENT_MOUSE_DOWN = 'mousedown touchstart',
+ EVENT_MOUSE_MOVE = 'mousemove touchmove',
+ EVENT_MOUSE_UP = 'mouseup mouseleave touchend touchleave touchcancel',
+ EVENT_WHEEL = 'wheel mousewheel DOMMouseScroll',
+ EVENT_DBLCLICK = 'dblclick',
+ EVENT_RESIZE = 'resize' + CROPPER_NAMESPACE, // Bind to window with namespace
+ EVENT_BUILD = 'build' + CROPPER_NAMESPACE,
+ EVENT_BUILT = 'built' + CROPPER_NAMESPACE,
+ EVENT_DRAG_START = 'dragstart' + CROPPER_NAMESPACE,
+ EVENT_DRAG_MOVE = 'dragmove' + CROPPER_NAMESPACE,
+ EVENT_DRAG_END = 'dragend' + CROPPER_NAMESPACE,
+ EVENT_ZOOM_IN = 'zoomin' + CROPPER_NAMESPACE,
+ EVENT_ZOOM_OUT = 'zoomout' + CROPPER_NAMESPACE,
+
+ // Supports
+ SUPPORT_CANVAS = $.isFunction($('