Commit 8daacf2b by fengshuonan

上传头像修改

parent 149354e4
...@@ -36,6 +36,13 @@ ...@@ -36,6 +36,13 @@
text-decoration: none; text-decoration: none;
} }
.fixed-table-pagination .btn{ .fixed-table-pagination .btn {
border-color: #DDDDDD; border-color: #DDDDDD;
}
.div-center {
width: auto;
display: table;
margin-left: auto;
margin-right: auto;
} }
\ No newline at end of file
...@@ -13,8 +13,9 @@ $(function () { ...@@ -13,8 +13,9 @@ $(function () {
var $dataScaleX = $('#dataScaleX'); var $dataScaleX = $('#dataScaleX');
var $dataScaleY = $('#dataScaleY'); var $dataScaleY = $('#dataScaleY');
var options = { var options = {
aspectRatio: 16 / 9,
preview: '.img-preview', preview: '.img-preview',
minContainerWidth: 500,
minContainerHeight: 500,
crop: function (e) { crop: function (e) {
$dataX.val(Math.round(e.detail.x)); $dataX.val(Math.round(e.detail.x));
$dataY.val(Math.round(e.detail.y)); $dataY.val(Math.round(e.detail.y));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment