fixed:format code
parent
22f0348bb5
commit
9f2c7cd694
|
|
@ -59,8 +59,7 @@
|
||||||
bobi
|
bobi
|
||||||
</a>
|
</a>
|
||||||
<dl id="userInfo" class="layui-nav-child">
|
<dl id="userInfo" class="layui-nav-child">
|
||||||
<dd><a lay-id="u-1" href="javascript:" data-url="pages/member/user.html">个人中心<span
|
<dd><a lay-id="u-1" href="javascript:" data-url="pages/member/user.html">个人中心<span class="layui-badge-dot"></span></a></dd>
|
||||||
class="layui-badge-dot"></span></a></dd>
|
|
||||||
<dd><a lay-id="u-2" href="javascript:" data-url="pages/member/user-info.html">基本资料</a></dd>
|
<dd><a lay-id="u-2" href="javascript:" data-url="pages/member/user-info.html">基本资料</a></dd>
|
||||||
<dd><a lay-id="u-3" href="javascript:" data-url="pages/member/changePwd.html">安全设置</a></dd>
|
<dd><a lay-id="u-3" href="javascript:" data-url="pages/member/changePwd.html">安全设置</a></dd>
|
||||||
<dd>
|
<dd>
|
||||||
|
|
@ -98,10 +97,8 @@
|
||||||
<!-- 内容主体区域 -->
|
<!-- 内容主体区域 -->
|
||||||
<div class="content-body">
|
<div class="content-body">
|
||||||
<div class="layui-tab ok-tab" lay-filter="ok-tab" lay-allowClose="true" lay-unauto>
|
<div class="layui-tab ok-tab" lay-filter="ok-tab" lay-allowClose="true" lay-unauto>
|
||||||
<!--<div class="okadmin-pagetabs"></div>-->
|
|
||||||
<div data-id="left" id="okLeftMove" class="layui-icon okadmin-tabs-control layui-icon-prev okNavMove"></div>
|
<div data-id="left" id="okLeftMove" class="layui-icon okadmin-tabs-control layui-icon-prev okNavMove"></div>
|
||||||
<div data-id="right" id="okRightMove" class="layui-icon okadmin-tabs-control layui-icon-next okNavMove"></div>
|
<div data-id="right" id="okRightMove" class="layui-icon okadmin-tabs-control layui-icon-next okNavMove"></div>
|
||||||
|
|
||||||
<div class="layui-icon okadmin-tabs-control ok-right-nav-menu" style="right: 0;">
|
<div class="layui-icon okadmin-tabs-control ok-right-nav-menu" style="right: 0;">
|
||||||
<ul class="okadmin-nav">
|
<ul class="okadmin-nav">
|
||||||
<li class="no-line okadmin-nav-item">
|
<li class="no-line okadmin-nav-item">
|
||||||
|
|
|
||||||
|
|
@ -161,13 +161,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!--日历-->
|
|
||||||
<!--<div class="layui-row layui-col-space15">-->
|
|
||||||
<!--<div class="clearfix">-->
|
|
||||||
<!--<div id="calendar"></div>-->
|
|
||||||
<!--</div>-->
|
|
||||||
<!--</div>-->
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<script type="text/javascript" src="../lib/layui/layui.js"></script>
|
<script type="text/javascript" src="../lib/layui/layui.js"></script>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
<h5 class="num">0</h5>
|
<h5 class="num">0</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-img" ok-pc-in-show>
|
<div class="w-img" ok-pc-in-show>
|
||||||
<img src="../images/home-01.png" alt="收入" />
|
<img src="../images/home-01.png" alt="收入"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="echIncome" class="line-home-a"></div>
|
<div id="echIncome" class="line-home-a"></div>
|
||||||
|
|
@ -43,7 +43,7 @@
|
||||||
<h5 class="num">0</h5>
|
<h5 class="num">0</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-img" ok-pc-in-show>
|
<div class="w-img" ok-pc-in-show>
|
||||||
<img src="../images/home-02.png" alt="商品" />
|
<img src="../images/home-02.png" alt="商品"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="echGoods" class="line-home-a"></div>
|
<div id="echGoods" class="line-home-a"></div>
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
<h5 class="num">0</h5>
|
<h5 class="num">0</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-img" ok-pc-in-show>
|
<div class="w-img" ok-pc-in-show>
|
||||||
<img src="../images/home-03.png" alt="博客" />
|
<img src="../images/home-03.png" alt="博客"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="echBlogs" class="line-home-a"></div>
|
<div id="echBlogs" class="line-home-a"></div>
|
||||||
|
|
@ -77,7 +77,7 @@
|
||||||
<h5 class="num">0</h5>
|
<h5 class="num">0</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-img" ok-pc-in-show>
|
<div class="w-img" ok-pc-in-show>
|
||||||
<img src="../images/home-04.png" alt="用户" />
|
<img src="../images/home-04.png" alt="用户"/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="echUser" class="line-home-a"></div>
|
<div id="echUser" class="line-home-a"></div>
|
||||||
|
|
@ -119,7 +119,6 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
<script type="text/javascript" src="../lib/layui/layui.js"></script>
|
<script type="text/javascript" src="../lib/layui/layui.js"></script>
|
||||||
|
|
|
||||||
|
|
@ -106,6 +106,7 @@
|
||||||
<script src="../../lib/layui/layui.js"></script>
|
<script src="../../lib/layui/layui.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var initData;
|
var initData;
|
||||||
|
|
||||||
function initForm(data) {
|
function initForm(data) {
|
||||||
var jsonString = JSON.stringify(data)
|
var jsonString = JSON.stringify(data)
|
||||||
initData = JSON.parse(jsonString);
|
initData = JSON.parse(jsonString);
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function batchEnabled () {
|
function batchEnabled() {
|
||||||
okLayer.confirm("确定要批量启用吗?", function (index) {
|
okLayer.confirm("确定要批量启用吗?", function (index) {
|
||||||
// TODO
|
// TODO
|
||||||
layer.close(index);
|
layer.close(index);
|
||||||
|
|
@ -158,13 +158,13 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function add () {
|
function add() {
|
||||||
okLayer.open("添加用户", "user-add.html", "90%", "90%", null, function () {
|
okLayer.open("添加用户", "user-add.html", "90%", "90%", null, function () {
|
||||||
userTable.reload();
|
userTable.reload();
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function edit (data) {
|
function edit(data) {
|
||||||
okLayer.open("编辑用户", "user-edit.html", "90%", "90%", function (layero) {
|
okLayer.open("编辑用户", "user-edit.html", "90%", "90%", function (layero) {
|
||||||
var iframeWin = window[layero.find("iframe")[0]["name"]];
|
var iframeWin = window[layero.find("iframe")[0]["name"]];
|
||||||
iframeWin.initForm(data);
|
iframeWin.initForm(data);
|
||||||
|
|
@ -173,7 +173,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function del () {
|
function del() {
|
||||||
okLayer.confirm("确定要删除吗?", function () {
|
okLayer.confirm("确定要删除吗?", function () {
|
||||||
okUtils.ajax(okUtils.mockApi.user.batchDel, "delete", {idsStr: id}).done(function (response) {
|
okUtils.ajax(okUtils.mockApi.user.batchDel, "delete", {idsStr: id}).done(function (response) {
|
||||||
console.log(response)
|
console.log(response)
|
||||||
|
|
|
||||||
|
|
@ -1,35 +1,38 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>中国天气</title>
|
<title>中国天气</title>
|
||||||
<style>
|
<style>
|
||||||
#weather-float-he {
|
#weather-float-he {
|
||||||
position: fixed!important;
|
position: fixed !important;
|
||||||
z-index: 99999!important;
|
z-index: 99999 !important;
|
||||||
left: 0!important;
|
left: 0 !important;
|
||||||
top: 0!important;
|
top: 0 !important;
|
||||||
transform: scale(.9);
|
transform: scale(.9);
|
||||||
}
|
}
|
||||||
#weather-float-he div[data-v-0a6ec0b4]{
|
|
||||||
box-shadow: none!important;
|
#weather-float-he div[data-v-0a6ec0b4] {
|
||||||
top: 42px!important;
|
box-shadow: none !important;
|
||||||
|
top: 42px !important;
|
||||||
}
|
}
|
||||||
#weather-float-he div[data-v-0a6ec0b4] div{
|
|
||||||
position:static!important;
|
#weather-float-he div[data-v-0a6ec0b4] div {
|
||||||
|
position: static !important;
|
||||||
}
|
}
|
||||||
body,html{
|
|
||||||
|
body, html {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: max-content;
|
height: max-content;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
WIDGET = {
|
WIDGET = {
|
||||||
FID: 'FS17XUsOiV'
|
FID: 'FS17XUsOiV'
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>
|
<script type="text/javascript" src="https://apip.weatherdt.com/float/static/js/r.js?v=1111"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue