ソースを参照

修改pc智慧校园授权页面

新疆警官学校中职
libo 1年前
コミット
9d4eae8274
7個のファイルの変更164行の追加15行の削除
  1. バイナリ
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/beauthorized.png
  2. バイナリ
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/head_left.png
  3. バイナリ
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/head_right.png
  4. バイナリ
      Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/unauthorized.png
  5. +5
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  6. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js
  7. +159
    -13
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/ShowRegister/Index.cshtml

バイナリ
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/beauthorized.png ファイルの表示

変更前 変更後
幅: 132  |  高さ: 132  |  サイズ: 7.1 KiB

バイナリ
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/head_left.png ファイルの表示

変更前 変更後
幅: 305  |  高さ: 236  |  サイズ: 26 KiB

バイナリ
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/head_right.png ファイルの表示

変更前 変更後
幅: 272  |  高さ: 240  |  サイズ: 21 KiB

バイナリ
Learun.Framework.Ultimate V7/Learun.Application.Web/Content/images/ShowRegister/unauthorized.png ファイルの表示

変更前 変更後
幅: 132  |  高さ: 132  |  サイズ: 7.0 KiB

+ 5
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj ファイルの表示

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
@@ -5612,6 +5612,10 @@
<Content Include="Content\font\learunfont\iconfont.ttf" />
<Content Include="Content\font\learunfont\iconfont.woff" />
<Content Include="Views\LR_Content\style\lr-layer.css" />
<Content Include="Content\images\ShowRegister\beauthorized.png" />
<Content Include="Content\images\ShowRegister\head_left.png" />
<Content Include="Content\images\ShowRegister\head_right.png" />
<Content Include="Content\images\ShowRegister\unauthorized.png" />
<Content Include="Views\UserCenter\ContactForm.css" />
<Content Include="Views\UserCenter\ContactForm.js" />
<Content Include="Views\UserCenter\HeadForm.css" />


+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/plugin/grid/jfgrid.js ファイルの表示

@@ -1592,7 +1592,6 @@
// 获取当前行数据
var rowItem = op.running.rowdata[rowIndex];
if (rowItem) {
console.log('rowitem')
var rowData = rowItem['jfgridRowData'];
}



+ 159
- 13
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/ShowRegister/Index.cshtml ファイルの表示

@@ -9,24 +9,170 @@
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
<style>
html, body {
width: 100%;
background: rgb(224, 243, 255);
margin:0;
padding:0;
box-sizing:border-box;
}
.header{
margin-top:50px;
display:flex;
align-items:center;
justify-content:center;
}
.wire {
border-width: 2px;
border-color: rgb(48, 137, 221);
border-style: dashed;
width: 424px;
margin:0 20px;
}

.imagewrap{
width:88px;
height:88px;
font-size:0;
}
.imagewrap img{
display:block;
width:100%;
height:100%;
}
.contentwrap {
border-radius: 2px;
background-color: rgb(255, 255, 255);
margin: 0 auto;
width: 604px;
height: 420px;
z-index: 325;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0px 0px 10px #8cb0c7;
}
.texthead {
border-radius: 5px 5px 0 0;
width: 100px;
height: 35px;
text-align:center;
line-height:35px;
font-size: 16px;
color: rgb(255, 255, 255);
}

.timebox {
width: 455px;
border: 1px solid rgb(215, 215, 215);
height: 45px;
display: flex;
align-items: center;
margin-top: 20px;
border-radius:5px 0 0 5px;
}

.timewrap {
border-radius: 5px;
background-color: rgb(227, 92, 97);
width: 150px;
height: 45px;
text-align: center;
line-height: 45px;
font-size: 16px;
color: rgb(255, 255, 255);
}

.subbtn {
border-radius: 5px;
background-color: rgb(48, 137, 221);
width: 200px;
height: 38px;
text-align: center;
line-height: 38px;
font-size: 16px;
color: rgb(255, 255, 255);
border:none;
outline:none;
}
.footer_title {
font-size: 13px;
font-family: "Microsoft YaHei";
color: rgb(49, 49, 49);
line-height: 3.846;
text-align: left;
position: absolute;
left: 50%;
transform:translate(-50%,0);
bottom:50px;
z-index: 182;
}

</style>
</head>
<body>

<div class="header">
<img style="width: 204px;height:157px;" src="~/Content/images/ShowRegister/head_left.png" />
<p class="wire"></p>
<div class="imagewrap">
<img id="beauthorized" style="display:none;" src="~/Content/images/ShowRegister/beauthorized.png" />
<img id="unauthorized" style="display:none;" src="~/Content/images/ShowRegister/unauthorized.png" />
</div>
<p class="wire"></p>
<img style="width:181px;height:160px;" src="~/Content/images/ShowRegister/head_right.png" />
</div>

@{ Html.BeginForm(); }
<div style="width: 100%; text-align: center; margin-top: 200px;">
<div>
机器码
<div class="contentwrap">

<div style="margin-top:20px;">
<div class="texthead" style="background-color: rgb(48, 137, 221);">
机器码
</div>
@Html.TextAreaFor(m => m.MachineCode, new { style = "width:445px;height:52px;resize:none;border-color: rgb(215, 215, 215);font-size:13px;color: rgb(49, 49, 49);padding:5px;outline:none;", @readonly = "readonly" })
</div>
@Html.TextAreaFor(m => m.MachineCode, new { style = "width:700px;height:200px;",@readonly= "readonly" })
<div>
注册码

<div style="margin-top:20px;">
<div class="texthead" style="background-color: rgb(44, 197, 199);">
注册码
</div>
@Html.TextAreaFor(m => m.RegisterCode, new { style = "width:445px;height:52px;resize:none;border-color: rgb(215, 215, 215);font-size:13px;color: rgb(49, 49, 49);padding:5px;outline:none;" })
</div>

<div class="timebox" style="">
<div class="timewrap">授权到期时间</div>
@Html.TextBoxFor(m => m.ExpirationDate, new { style = "border:none;outline:none;font-size:13px;color: rgb(49, 49, 49);width:305px;text-align:center;", @readonly = "readonly" })
</div>
@Html.TextAreaFor(m => m.RegisterCode, new { style = "width:700px;height:200px;" })
<div>授权到期时间</div>
@Html.TextBoxFor(m=>m.ExpirationDate,new{@readonly="readonly"})
<br/><input type="submit" value="授权"/>
<br/>
<div>技术支持:北京泉江科技有限责任公司</div>


<br /><input class="subbtn" type="submit" value="确认授权" />
<br />

</div>
@{Html.EndForm();}
@{Html.EndForm();}
<div class="footer_title">技术支持:北京泉江科技有限责任公司</div>
<script>
window.onload = function () {
authorizedtype()
}

function authorizedtype() {
let type = document.querySelector('#RegisterCode').value;
if (type == '已授权') {
document.querySelector('#beauthorized').style.display = "block";
document.querySelector('#unauthorized').style.display = "none";
} else {
document.querySelector('#beauthorized').style.display = "none";
document.querySelector('#unauthorized').style.display = "block";
}
}


</script>

</body>
</html>

読み込み中…
キャンセル
保存