72 changed files with 547 additions and 82 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 417 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 338 B |
@ -0,0 +1,26 @@ |
|||
var Register = function () { |
|||
this.Startup = function () { |
|||
$('#select').on('click', this.OnSelectChange.bind(this)); |
|||
}; |
|||
|
|||
this.OnSelectChange = function () { |
|||
var option = $("#select option:selected"); |
|||
console.log(option.val()); |
|||
if (option.val() !== '请选择') { |
|||
$('#select').css({ |
|||
color: '#3a3a3a', |
|||
fontSize: '16px' |
|||
}); |
|||
} else { |
|||
$('#select').css({ |
|||
color: '#868686', |
|||
fontSize: '14px' |
|||
}); |
|||
} |
|||
}; |
|||
}; |
|||
|
|||
$(document).ready(function () { |
|||
var register = new Register(); |
|||
register.Startup(); |
|||
}); |
@ -1 +1,30 @@ |
|||
|
|||
var EditLineColor = function (parent) { |
|||
this.Parent = parent; |
|||
this.Dialog = $('#edit-line-color-dialog'); |
|||
|
|||
this.Setup = function () { |
|||
$("#color-picker").on("change", this.ColorChange.bind(this)); |
|||
$("#color-sure-btn").on("click", this.OnSureButtonClick.bind(this)); |
|||
$("#color-cancel-btn").on("click", this.HideDialog.bind(this)); |
|||
$("#color-close").on("click", this.HideDialog.bind(this)); |
|||
}; |
|||
|
|||
this.Show = function (data) { |
|||
this.Dialog.show(); |
|||
console.log(data); |
|||
$("#color").textbox('setValue', data.Value); |
|||
$('#color-picker').val('#ff0000'); |
|||
}; |
|||
|
|||
this.ColorChange = function () { |
|||
$("#color").textbox('setValue', $('#color-picker').val()); |
|||
}; |
|||
|
|||
this.OnSureButtonClick = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
|
|||
this.HideDialog = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
}; |
@ -0,0 +1,23 @@ |
|||
var EditLineWidth = function (parent) { |
|||
this.Parent = parent; |
|||
this.Dialog = $('#edit-line-width-dialog'); |
|||
|
|||
this.Setup = function () { |
|||
$("#width-sure-btn").on("click", this.OnSureButtonClick.bind(this)); |
|||
$("#width-cancel-btn").on("click", this.HideDialog.bind(this)); |
|||
$("#width-close").on("click", this.HideDialog.bind(this)); |
|||
}; |
|||
|
|||
this.Show = function (data) { |
|||
this.Dialog.show(); |
|||
$("#width").textbox('setValue', data.Value); |
|||
}; |
|||
|
|||
this.OnSureButtonClick = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
|
|||
this.HideDialog = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
}; |
@ -1 +1,28 @@ |
|||
|
|||
var EditLocateIcon = function (parent) { |
|||
this.Parent = parent; |
|||
this.Dialog = $('#edit-locate-icon-dialog'); |
|||
|
|||
this.Setup = function () { |
|||
$('#file').on('change', this.onFileChange.bind(this)) |
|||
$("#icon-sure-btn").on("click", this.OnSureButtonClick.bind(this)); |
|||
$("#icon-cancel-btn").on("click", this.HideDialog.bind(this)); |
|||
$("#icon-close").on("click", this.HideDialog.bind(this)); |
|||
}; |
|||
|
|||
this.Show = function (data) { |
|||
this.Dialog.show(); |
|||
//$("#path").textbox('setValue', data.Value);
|
|||
}; |
|||
|
|||
this.onFileChange = function () { |
|||
$("#path").textbox('setValue', $('#file').val()); |
|||
}; |
|||
|
|||
this.OnSureButtonClick = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
|
|||
this.HideDialog = function () { |
|||
this.Dialog.hide(); |
|||
}; |
|||
}; |
@ -1 +0,0 @@ |
|||
|
@ -0,0 +1,78 @@ |
|||
.register-bg { |
|||
width: 100%; |
|||
height: 100%; |
|||
position: fixed; |
|||
top: 0; |
|||
left: 0; |
|||
z-index: 1005; |
|||
background: url('../images/login-bg.png') no-repeat center/cover; |
|||
} |
|||
|
|||
.register { |
|||
width: 802px; |
|||
height: 464px; |
|||
margin: -232px 0 0 -401px; |
|||
position: fixed; |
|||
top: 50%; |
|||
left: 50%; |
|||
background: url('../images/login-picture.png') no-repeat center/cover; |
|||
} |
|||
|
|||
.register-content { |
|||
width: 425px; |
|||
height: 446px; |
|||
margin-top: 4px; |
|||
background: #ffffff; |
|||
} |
|||
|
|||
.register-logo { |
|||
margin: 75px 0 20px 40px; |
|||
} |
|||
|
|||
.register-block { |
|||
margin: 10px 0 0 40px; |
|||
position: relative; |
|||
} |
|||
|
|||
.register-block select { |
|||
width: 341px; |
|||
height: 40px; |
|||
padding-left: 37px; |
|||
line-height: 40px; |
|||
border: 1px solid #dddddd; |
|||
border-radius: 3px; |
|||
background: #ffffff; |
|||
color: #868686; |
|||
font-size: 14px; |
|||
} |
|||
|
|||
.register-block span.icon { |
|||
position: absolute; |
|||
top: 12px; |
|||
left: 10px; |
|||
} |
|||
|
|||
.register-block input { |
|||
width: 341px; |
|||
height: 40px; |
|||
padding-left: 37px; |
|||
display: block; |
|||
line-height: 44px; |
|||
border: 1px solid #dddddd; |
|||
-webkit-border-radius: 3px; |
|||
-moz-border-radius: 3px; |
|||
border-radius: 3px; |
|||
color: #3a3a3a; |
|||
font-size: 16px; |
|||
} |
|||
|
|||
.register-btn { |
|||
width: 345px; |
|||
margin: 12px 0 0 38px; |
|||
line-height: 46px; |
|||
text-align: center; |
|||
cursor: pointer; |
|||
font-size: 16px; |
|||
color: #868686; |
|||
background: url('../images/login-btn.png') no-repeat center/cover; |
|||
} |
@ -0,0 +1,17 @@ |
|||
using System; |
|||
using System.Collections.Generic; |
|||
using System.Linq; |
|||
using System.Web; |
|||
using System.Web.Mvc; |
|||
|
|||
namespace Pingchuan.BeijingSafeguard.App.Controllers |
|||
{ |
|||
public class RegisterController : Controller |
|||
{ |
|||
// GET: Register
|
|||
public ActionResult Index() |
|||
{ |
|||
return View(); |
|||
} |
|||
} |
|||
} |
@ -1,7 +1,27 @@ |
|||
|
|||
@{ |
|||
ViewBag.Title = "EditLineColor"; |
|||
} |
|||
<div class="dialog manage-dialog" id="edit-line-color-dialog"> |
|||
<div class="modal-dialog"> |
|||
<form class="form"> |
|||
<div class="modal-content"> |
|||
<div class="modal-header"> |
|||
<h4 class="modal-title">编辑线条颜色</h4> |
|||
<span class="close" id="color-close"><img src="~/Content/images/close-dialog.png" /></span> |
|||
</div> |
|||
|
|||
<h2>EditLineColor</h2> |
|||
<div class="modal-body"> |
|||
<div class="row"> |
|||
<div class="col single-col"> |
|||
<label>线条颜色 <span class="star">*</span></label> |
|||
<input type="text" id="color" class="easyui-textbox" prompt="请输入线条颜色" /> |
|||
<input type="color" id="color-picker" value="#ffffff" class="color-picker" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="modal-footer"> |
|||
<button type="button" class="btn sure-btn" id="color-sure-btn">确定</button> |
|||
<button type="button" class="btn cancel-btn" id="color-cancel-btn">取消</button> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
@ -0,0 +1,26 @@ |
|||
<div class="dialog manage-dialog" id="edit-line-width-dialog"> |
|||
<div class="modal-dialog"> |
|||
<form class="form"> |
|||
<div class="modal-content"> |
|||
<div class="modal-header"> |
|||
<h4 class="modal-title">编辑线条宽度</h4> |
|||
<span class="close" id="width-close"><img src="~/Content/images/close-dialog.png" /></span> |
|||
</div> |
|||
|
|||
<div class="modal-body"> |
|||
<div class="row"> |
|||
<div class="col single-col"> |
|||
<label>宽度值(像素) <span class="star">*</span></label> |
|||
<input type="text" id="width" class="easyui-textbox" prompt="请输入姓名" /> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="modal-footer"> |
|||
<button type="button" class="btn sure-btn" id="width-sure-btn">确定</button> |
|||
<button type="button" class="btn cancel-btn" id="width-cancel-btn">取消</button> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
@ -1,7 +1,28 @@ |
|||
|
|||
@{ |
|||
ViewBag.Title = "EditLocateIcon"; |
|||
} |
|||
<div class="dialog manage-dialog" id="edit-locate-icon-dialog"> |
|||
<div class="modal-dialog"> |
|||
<form class="form"> |
|||
<div class="modal-content"> |
|||
<div class="modal-header"> |
|||
<h4 class="modal-title">编辑定位图标</h4> |
|||
<span class="close" id="icon-close"><img src="~/Content/images/close-dialog.png" /></span> |
|||
</div> |
|||
|
|||
<h2>EditLocateIcon</h2> |
|||
<div class="modal-body"> |
|||
<div class="row"> |
|||
<div class="col single-col"> |
|||
<label>请上传格式为PNG的图标文件 <span class="star">*</span></label> |
|||
<input type="text" readonly id="path" class="easyui-textbox" prompt="请选择文件路径" /> |
|||
<input type="file" id="file" accept="image/png" name="file" class="file-input" /> |
|||
<span class="file-upload"> </span> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<div class="modal-footer"> |
|||
<button type="button" class="btn sure-btn" id="icon-sure-btn">确定</button> |
|||
<button type="button" class="btn cancel-btn" id="icon-cancel-btn">取消</button> |
|||
</div> |
|||
</div> |
|||
</form> |
|||
</div> |
|||
</div> |
@ -1,7 +0,0 @@ |
|||
|
|||
@{ |
|||
ViewBag.Title = "EditLineWidth"; |
|||
} |
|||
|
|||
<h2>EditLineWidth</h2> |
|||
|
@ -0,0 +1,38 @@ |
|||
@{ |
|||
ViewBag.Title = "Index"; |
|||
} |
|||
<link href="~/Content/styles/register.css" rel="stylesheet" /> |
|||
<div class="register-bg"> |
|||
<div class="register clearfix"> |
|||
<div class="register-content fr"> |
|||
<img src="~/Content/images/login-logo.png" class="register-logo" /> |
|||
<div class="register-block register-username"> |
|||
<span class="icon"><img src="~/Content/images/login-username.png" /></span> |
|||
<input type="text" id="register-name" placeholder="请输入用户名" /> |
|||
</div> |
|||
<div class="register-block register-password"> |
|||
<span class="icon"><img src="~/Content/images/org.png" /></span> |
|||
<select id="select"> |
|||
<option disabled selected>请选择</option> |
|||
<option value="org1">机构</option> |
|||
<option value="org2">机构</option> |
|||
<option value="org3">机构</option> |
|||
<option value="org4">机构</option> |
|||
</select> |
|||
</div> |
|||
<div class="register-block register-username"> |
|||
<span class="icon"><img src="~/Content/images/login-username.png" /></span> |
|||
<input type="text" id="login-account" placeholder="请输入登录账户" /> |
|||
</div> |
|||
<div class="register-block register-password"> |
|||
<span class="icon"><img src="~/Content/images/login-password.png" /></span> |
|||
<input type="password" id="register-password" placeholder="请输入密码" /> |
|||
</div> |
|||
|
|||
<button class="register-btn" id="register-button">注册</button> |
|||
</div> |
|||
</div> |
|||
</div> |
|||
|
|||
<script src="~/Content/thirds/jquery-3.2.1.min.js"></script> |
|||
<script src="~/Content/scripts/register/register.js"></script> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@ |
|||
9e5a6d8a5667807925d357541947185e8f5c2cd9 |
|||
bdde16ab3ba11b51894227e99d7630dc755cd8b3 |
|||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue