提交 09cd857c 编写于 作者: doc_wei's avatar doc_wei

桌面锁屏背景图片自选完成

上级 192a820e
...@@ -16,4 +16,12 @@ public interface SysEveWinLockBgPicDao { ...@@ -16,4 +16,12 @@ public interface SysEveWinLockBgPicDao {
public Map<String, Object> querySysEveMationById(Map<String, Object> map) throws Exception; public Map<String, Object> querySysEveMationById(Map<String, Object> map) throws Exception;
public List<Map<String, Object>> querySysEveWinBgPicListToShow(Map<String, Object> map) throws Exception;
public int insertSysEveWinBgPicMationByCustom(Map<String, Object> map) throws Exception;
public List<Map<String, Object>> querySysEveWinBgPicCustomList(Map<String, Object> map) throws Exception;
public int deleteSysEveWinBgPicMationCustomById(Map<String, Object> map) throws Exception;
} }
...@@ -11,4 +11,12 @@ public interface SysEveWinLockBgPicService { ...@@ -11,4 +11,12 @@ public interface SysEveWinLockBgPicService {
public void deleteSysEveWinLockBgPicMationById(InputObject inputObject, OutputObject outputObject) throws Exception; public void deleteSysEveWinLockBgPicMationById(InputObject inputObject, OutputObject outputObject) throws Exception;
public void querySysEveWinBgPicListToShow(InputObject inputObject, OutputObject outputObject) throws Exception;
public void insertSysEveWinBgPicMationByCustom(InputObject inputObject, OutputObject outputObject) throws Exception;
public void querySysEveWinBgPicCustomList(InputObject inputObject, OutputObject outputObject) throws Exception;
public void deleteSysEveWinBgPicMationCustomById(InputObject inputObject, OutputObject outputObject) throws Exception;
} }
...@@ -104,7 +104,7 @@ public class SysEveWinBgPicServiceImpl implements SysEveWinBgPicService{ ...@@ -104,7 +104,7 @@ public class SysEveWinBgPicServiceImpl implements SysEveWinBgPicService{
/** /**
* *
* @Title: insertSysEveWinBgPicMationByCustom * @Title: insertSysEveWinBgPicMationByCustom
* @Description: 添加win系统桌面图片信息 * @Description: 用户自定义上传添加win系统桌面图片信息
* @param @param inputObject * @param @param inputObject
* @param @param outputObject * @param @param outputObject
* @param @throws Exception 参数 * @param @throws Exception 参数
......
...@@ -8,6 +8,7 @@ import com.github.miemiedev.mybatis.paginator.domain.PageBounds; ...@@ -8,6 +8,7 @@ import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList; import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.skyeye.authority.dao.SysEveWinLockBgPicDao; import com.skyeye.authority.dao.SysEveWinLockBgPicDao;
import com.skyeye.authority.service.SysEveWinLockBgPicService; import com.skyeye.authority.service.SysEveWinLockBgPicService;
import com.skyeye.common.constans.Constants;
import com.skyeye.common.object.InputObject; import com.skyeye.common.object.InputObject;
import com.skyeye.common.object.OutputObject; import com.skyeye.common.object.OutputObject;
import com.skyeye.common.util.ToolUtil; import com.skyeye.common.util.ToolUtil;
...@@ -80,4 +81,87 @@ public class SysEveWinLockBgPicServiceImpl implements SysEveWinLockBgPicService{ ...@@ -80,4 +81,87 @@ public class SysEveWinLockBgPicServiceImpl implements SysEveWinLockBgPicService{
sysEveWinLockBgPicDao.deleteSysEveWinLockBgPicMationById(map); sysEveWinLockBgPicDao.deleteSysEveWinLockBgPicMationById(map);
} }
/**
*
* @Title: querySysEveWinBgPicListToShow
* @Description: 获取win系统锁屏桌面图片列表供展示
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public void querySysEveWinBgPicListToShow(InputObject inputObject, OutputObject outputObject) throws Exception {
Map<String, Object> map = inputObject.getParams();
List<Map<String, Object>> beans = sysEveWinLockBgPicDao.querySysEveWinBgPicListToShow(map);
if(beans != null && !beans.isEmpty()){
outputObject.setBeans(beans);
outputObject.settotal(beans.size());
}
}
/**
*
* @Title: insertSysEveWinBgPicMationByCustom
* @Description: 用户自定义上传win系统锁屏桌面图片信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public void insertSysEveWinBgPicMationByCustom(InputObject inputObject, OutputObject outputObject) throws Exception {
Map<String, Object> map = inputObject.getParams();
Map<String, Object> user = inputObject.getLogParams();
map.put("id", ToolUtil.getSurFaceId());
map.put("createId", user.get("id"));
map.put("createTime", ToolUtil.getTimeAndToString());
sysEveWinLockBgPicDao.insertSysEveWinBgPicMationByCustom(map);
}
/**
*
* @Title: querySysEveWinBgPicCustomList
* @Description: 获取win系统锁屏桌面图片列表用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@Override
public void querySysEveWinBgPicCustomList(InputObject inputObject, OutputObject outputObject) throws Exception {
Map<String, Object> map = inputObject.getParams();
Map<String, Object> user = inputObject.getLogParams();
map.put("createId", user.get("id"));
List<Map<String, Object>> beans = sysEveWinLockBgPicDao.querySysEveWinBgPicCustomList(map);
if(beans != null && !beans.isEmpty()){
outputObject.setBeans(beans);
outputObject.settotal(beans.size());
}
}
/**
*
* @Title: deleteSysEveWinBgPicMationCustomById
* @Description: 删除win系统锁屏桌面图片信息用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@SuppressWarnings("static-access")
@Override
public void deleteSysEveWinBgPicMationCustomById(InputObject inputObject, OutputObject outputObject) throws Exception {
Map<String, Object> map = inputObject.getParams();
Map<String, Object> bean = sysEveWinLockBgPicDao.querySysEveMationById(map);
String tPath = inputObject.getRequest().getSession().getServletContext().getRealPath("/");
String basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB)) + bean.get("picUrl").toString();
ToolUtil.deleteFile(basePath);
sysEveWinLockBgPicDao.deleteSysEveWinBgPicMationCustomById(map);
}
} }
...@@ -71,6 +71,9 @@ public class CommonServiceImpl implements CommonService{ ...@@ -71,6 +71,9 @@ public class CommonServiceImpl implements CommonService{
case 4://系统桌面背景自定义图片上传用户自定义 case 4://系统桌面背景自定义图片上传用户自定义
basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB)) + "\\images\\upload\\winbgpic" ; basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB)) + "\\images\\upload\\winbgpic" ;
break; break;
case 5://系统桌面锁屏背景自定义图片上传用户自定义
basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB)) + "\\images\\upload\\winlockbgpic" ;
break;
default: default:
basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB)); basePath = tPath.substring(0, inputObject.getRequest().getSession().getServletContext().getRealPath("/").indexOf(Constants.PROJECT_WEB));
break; break;
...@@ -104,6 +107,9 @@ public class CommonServiceImpl implements CommonService{ ...@@ -104,6 +107,9 @@ public class CommonServiceImpl implements CommonService{
case 4://系统桌面背景自定义图片上传用户自定义 case 4://系统桌面背景自定义图片上传用户自定义
newFileName = "/images/upload/winbgpic/" + newFileName ; newFileName = "/images/upload/winbgpic/" + newFileName ;
break; break;
case 5://系统桌面锁屏背景自定义图片上传用户自定义
newFileName = "/images/upload/winlockbgpic/" + newFileName ;
break;
default: default:
break; break;
} }
......
...@@ -81,7 +81,7 @@ public class SysEveWinBgPicController { ...@@ -81,7 +81,7 @@ public class SysEveWinBgPicController {
/** /**
* *
* @Title: insertSysEveWinBgPicMationByCustom * @Title: insertSysEveWinBgPicMationByCustom
* @Description: 添加win系统桌面图片信息 * @Description: 用户自定义上传添加win系统桌面图片信息
* @param @param inputObject * @param @param inputObject
* @param @param outputObject * @param @param outputObject
* @param @throws Exception 参数 * @param @throws Exception 参数
......
...@@ -62,4 +62,68 @@ public class SysEveWinLockBgPicController { ...@@ -62,4 +62,68 @@ public class SysEveWinLockBgPicController {
sysEveWinLockBgPicService.deleteSysEveWinLockBgPicMationById(inputObject, outputObject); sysEveWinLockBgPicService.deleteSysEveWinLockBgPicMationById(inputObject, outputObject);
} }
/**
*
* @Title: querySysEveWinBgPicListToShow
* @Description: 获取win系统锁屏桌面图片列表供展示
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/SysEveWinLockBgPicController/querySysEveWinBgPicListToShow")
@ResponseBody
public void querySysEveWinBgPicListToShow(InputObject inputObject, OutputObject outputObject) throws Exception{
sysEveWinLockBgPicService.querySysEveWinBgPicListToShow(inputObject, outputObject);
}
/**
*
* @Title: insertSysEveWinBgPicMationByCustom
* @Description: 用户自定义上传win系统锁屏桌面图片信息
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/SysEveWinLockBgPicController/insertSysEveWinBgPicMationByCustom")
@ResponseBody
public void insertSysEveWinBgPicMationByCustom(InputObject inputObject, OutputObject outputObject) throws Exception{
sysEveWinLockBgPicService.insertSysEveWinBgPicMationByCustom(inputObject, outputObject);
}
/**
*
* @Title: querySysEveWinBgPicCustomList
* @Description: 获取win系统锁屏桌面图片列表用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/SysEveWinLockBgPicController/querySysEveWinBgPicCustomList")
@ResponseBody
public void querySysEveWinBgPicCustomList(InputObject inputObject, OutputObject outputObject) throws Exception{
sysEveWinLockBgPicService.querySysEveWinBgPicCustomList(inputObject, outputObject);
}
/**
*
* @Title: deleteSysEveWinBgPicMationCustomById
* @Description: 删除win系统锁屏桌面图片信息用户自定义
* @param @param inputObject
* @param @param outputObject
* @param @throws Exception 参数
* @return void 返回类型
* @throws
*/
@RequestMapping("/post/SysEveWinLockBgPicController/deleteSysEveWinBgPicMationCustomById")
@ResponseBody
public void deleteSysEveWinBgPicMationCustomById(InputObject inputObject, OutputObject outputObject) throws Exception{
sysEveWinLockBgPicService.deleteSysEveWinBgPicMationCustomById(inputObject, outputObject);
}
} }
...@@ -37,4 +37,39 @@ ...@@ -37,4 +37,39 @@
WHERE a.id = #{id} WHERE a.id = #{id}
</select> </select>
<select id="querySysEveWinBgPicListToShow" parameterType="java.util.Map" resultType="java.util.Map">
SELECT
a.id,
a.pic_url picUrl
FROM
sys_eve_win_lock_bg_pic a
WHERE a.pic_type = '1'
ORDER BY a.create_time DESC
</select>
<insert id="insertSysEveWinBgPicMationByCustom" parameterType="java.util.Map">
INSERT into sys_eve_win_lock_bg_pic
(id, pic_url, pic_type, create_id, create_time)
VALUES
(#{id}, #{picUrl}, '2', #{createId}, #{createTime})
</insert>
<select id="querySysEveWinBgPicCustomList" parameterType="java.util.Map" resultType="java.util.Map">
SELECT
a.id,
a.pic_url picUrl
FROM
sys_eve_win_lock_bg_pic a
WHERE a.pic_type = '2'
ORDER BY a.create_time DESC
</select>
<delete id="deleteSysEveWinBgPicMationCustomById" parameterType="java.util.Map">
DELETE
FROM
sys_eve_win_lock_bg_pic
WHERE
id = #{id}
</delete>
</mapper> </mapper>
\ No newline at end of file
...@@ -196,6 +196,16 @@ ...@@ -196,6 +196,16 @@
<url id="sysevewinlockbgpic003" path="/post/SysEveWinLockBgPicController/deleteSysEveWinLockBgPicMationById" val="删除win系统锁屏桌面图片信息" allUse="1"> <url id="sysevewinlockbgpic003" path="/post/SysEveWinLockBgPicController/deleteSysEveWinLockBgPicMationById" val="删除win系统锁屏桌面图片信息" allUse="1">
<property id="rowId" name="id" ref="required" var="win系统锁屏桌面图片id"/> <property id="rowId" name="id" ref="required" var="win系统锁屏桌面图片id"/>
</url> </url>
<url id="sysevewinlockbgpic004" path="/post/SysEveWinLockBgPicController/querySysEveWinBgPicListToShow" val="获取win系统锁屏桌面图片列表供展示" allUse="1">
</url>
<url id="sysevewinlockbgpic005" path="/post/SysEveWinLockBgPicController/insertSysEveWinBgPicMationByCustom" val="用户自定义上传win系统锁屏桌面图片信息" allUse="1">
<property id="picUrl" name="picUrl" ref="required" var="图片路径"/>
</url>
<url id="sysevewinlockbgpic006" path="/post/SysEveWinLockBgPicController/querySysEveWinBgPicCustomList" val="获取win系统锁屏桌面图片列表用户自定义" allUse="1">
</url>
<url id="sysevewinlockbgpic007" path="/post/SysEveWinLockBgPicController/deleteSysEveWinBgPicMationCustomById" val="删除win系统锁屏桌面图片信息用户自定义" allUse="1">
<property id="rowId" name="id" ref="required" var="win系统桌面图片id"/>
</url>
<!-- 系统角色用户管理结束 --> <!-- 系统角色用户管理结束 -->
<!-- 系统数据库管理开始 --> <!-- 系统数据库管理开始 -->
......
...@@ -26,10 +26,12 @@ layui.config({ ...@@ -26,10 +26,12 @@ layui.config({
$('.start-size input[value=' + startSize + ']').prop('checked', true); $('.start-size input[value=' + startSize + ']').prop('checked', true);
$('.preview-start').removeClass('xs sm lg'); $('.preview-start').removeClass('xs sm lg');
$('.preview-start').addClass(startSize); $('.preview-start').addClass(startSize);
$(".preview-start").html(getFileContent('tpl/systheme/menu-model.tpl'));
form.render(); form.render();
//初始化背景图片 //初始化桌面背景图片
showGrid({ showGrid({
id: "background-choose", id: "background-choose",
url: reqBasePath + "sysevewinbgpic004", url: reqBasePath + "sysevewinbgpic004",
...@@ -42,16 +44,35 @@ layui.config({ ...@@ -42,16 +44,35 @@ layui.config({
}); });
}, },
options: {'click .bgPicItem':function(index, row){ options: {'click .bgPicItem':function(index, row){
//获取当前图片路径
var bgSrc = row.picUrl; var bgSrc = row.picUrl;
//改变预览背景
$('.background-preview').css('background-image', 'url(' + bgSrc + ')'); $('.background-preview').css('background-image', 'url(' + bgSrc + ')');
//改变父页面背景
winui.resetBg(bgSrc); winui.resetBg(bgSrc);
} }
}, },
ajaxSendAfter:function(json){ ajaxSendAfter:function(json){
initCustomBackGroundPic(); initCustomBackGroundPic();
//初始化桌面锁屏背景图片
showGrid({
id: "lockscreen-choose",
url: reqBasePath + "sysevewinlockbgpic004",
params: {},
pagination: false,
template: getFileContent('tpl/systheme/lock-bg-pic.tpl'),
ajaxSendLoadBefore: function(hdb){
hdb.registerHelper("compare1", function(v1, options){
return fileBasePath + v1;
});
},
options: {'click .lockBgPicItem':function(index, row){
var bgSrc = row.picUrl;
$('.lockscreen-preview').css('background-image', 'url(' + bgSrc + ')');
winui.resetLockBg(bgSrc);
}
},
ajaxSendAfter:function(json){
initCustomLockBackGroundPic();
}
});
} }
}); });
...@@ -87,11 +108,8 @@ layui.config({ ...@@ -87,11 +108,8 @@ layui.config({
}}); }});
}); });
}, 'click .bgPicItem1':function(index, row){ }, 'click .bgPicItem1':function(index, row){
//获取当前图片路径
var bgSrc = row.picUrl; var bgSrc = row.picUrl;
//改变预览背景
$('.background-preview').css('background-image', 'url(' + bgSrc + ')'); $('.background-preview').css('background-image', 'url(' + bgSrc + ')');
//改变父页面背景
winui.resetBg(bgSrc); winui.resetBg(bgSrc);
} }
}, },
...@@ -100,7 +118,43 @@ layui.config({ ...@@ -100,7 +118,43 @@ layui.config({
}); });
} }
//背景图片上传 //自定义上传的桌面锁屏背景图片
function initCustomLockBackGroundPic(){
showGrid({
id: "cus-lockscreen-choose",
url: reqBasePath + "sysevewinlockbgpic006",
params: {},
pagination: false,
template: getFileContent('tpl/systheme/custom-lockbgpic-item.tpl'),
ajaxSendLoadBefore: function(hdb){
hdb.registerHelper("compare1", function(v1, options){
return fileBasePath + v1;
});
},
options: {'click .lockDel':function(index, row){
top.winui.window.confirm('确认删除选中数据吗?', { icon: 3, title: '删除win系统桌面图片' }, function (index) {
top.winui.window.close(index);
AjaxPostUtil.request({url:reqBasePath + "sysevewinlockbgpic007", params:{rowId: row.id}, type:'json', callback:function(json){
if(json.returnCode == 0){
top.winui.window.msg("删除成功", {icon: 1,time: 2000});
refreshGrid("cus-lockscreen-choose", {params:{}});
}else{
top.winui.window.msg(json.returnMessage, {icon: 2,time: 2000});
}
}});
});
}, 'click .lockBgPicItem1':function(index, row){
var bgSrc = row.picUrl;
$('.lockscreen-preview').css('background-image', 'url(' + bgSrc + ')');
winui.resetLockBg(bgSrc);
}
},
ajaxSendAfter:function(json){
}
});
}
//桌面背景图片上传
var uploadInst = upload.render({ var uploadInst = upload.render({
elem: '#addBean', // 绑定元素 elem: '#addBean', // 绑定元素
url: reqBasePath + 'common003', // 上传接口 url: reqBasePath + 'common003', // 上传接口
...@@ -125,31 +179,33 @@ layui.config({ ...@@ -125,31 +179,33 @@ layui.config({
console.log(e); console.log(e);
} }
}); });
//锁屏界面点击
$('.lockscreen-choose>img').on('click', function () { //桌面锁屏背景图片上传
//获取当前图片路径 var uploadInst1 = upload.render({
var bgSrc = $(this).prop('src'); elem: '#addBean1', // 绑定元素
//改变锁屏预览 url: reqBasePath + 'common003', // 上传接口
$('.lockscreen-preview').css('background-image', 'url(' + bgSrc + ')'); data: {type: 5},
//设置锁屏背景 done: function(json) {
winui.resetLockBg(bgSrc); // 上传完毕回调
}) if(json.returnCode == 0){
//锁屏界面图片上传 AjaxPostUtil.request({url:reqBasePath + "sysevewinlockbgpic005", params:{picUrl: json.bean.picUrl}, type:'json', callback:function(json){
$('.lockscreen-upload').on('click', function () { if(json.returnCode == 0){
var input = $(this).prev('input[type=file]'); top.winui.window.msg("上传成功", {icon: 1,time: 2000});
input.trigger('click'); refreshGrid("cus-lockscreen-choose", {params:{}});
input.on('change', function () { }else{
var src = $(this).val(); top.winui.window.msg(json.returnMessage, {icon: 2,time: 2000});
if (src) { }
layer.msg('选择了路径【' + src + '】下的图片,返回一张性感的Girl给你') }});
//改变锁屏预览 }else{
$('.lockscreen-preview').css('background-image', 'url(images/sexy_girl.jpg'); top.winui.window.msg(json.returnMessage, {icon: 2,time: 2000});
//设置锁屏背景 }
winui.resetLockBg('images/sexy_girl.jpg'); },
$(this).val('').off('change'); error: function(e) {
} // 请求异常回调
}) console.log(e);
}); }
});
//颜色选择 //颜色选择
$('.color-choose>div').on('click', function () { $('.color-choose>div').on('click', function () {
var color = Number($(this)[0].classList[0].replace('theme-color-', '')); var color = Number($(this)[0].classList[0].replace('theme-color-', ''));
......
{{#each rows}}
<div class="layui-col-xs2 pic-item">
<div class="layui-col-xs12 pic-item-div-top">
<img class="lockBgPicItem1" src="{{#compare1 picUrl}}{{/compare1}}"/>
</div>
<div class="layui-col-xs12 pic-item-div">
<div>
<a class="layui-btn layui-btn-danger layui-btn-xs lockDel">删除</a>
</div>
</div>
</div>
{{/each}}
\ No newline at end of file
{{#each rows}}
<img src="{{#compare1 picUrl}}{{/compare1}}" class="lockBgPicItem" />
{{/each}}
\ No newline at end of file
<ul class="preview-menu">
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
</ul>
<div class="preview-tilebox">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
</div>
<div class="preview-tilebox preview-tilebox-lg">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
</div>
\ No newline at end of file
...@@ -23,51 +23,7 @@ ...@@ -23,51 +23,7 @@
<h1>预览</h1> <h1>预览</h1>
<div class="background-preview"> <div class="background-preview">
<div class="preview-start"> <div class="preview-start">
<ul class="preview-menu">
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
</ul>
<div class="preview-tilebox">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
</div>
<div class="preview-tilebox preview-tilebox-lg">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
</div>
</div> </div>
<div class="preview-window"> <div class="preview-window">
<div class="preview-window-title"><p></p></div> <div class="preview-window-title"><p></p></div>
...@@ -89,51 +45,7 @@ ...@@ -89,51 +45,7 @@
<h1>预览</h1> <h1>预览</h1>
<div class="background-preview"> <div class="background-preview">
<div class="preview-start"> <div class="preview-start">
<ul class="preview-menu">
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
</ul>
<div class="preview-tilebox">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
</div>
<div class="preview-tilebox preview-tilebox-lg">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
</div>
</div> </div>
<div class="preview-window"> <div class="preview-window">
<div class="preview-window-title"><p></p></div> <div class="preview-window-title"><p></p></div>
...@@ -192,7 +104,6 @@ ...@@ -192,7 +104,6 @@
<div class="layui-form winui-switch"> <div class="layui-form winui-switch">
<input type="checkbox" lay-filter="toggleTransparent" lay-skin="switch" checked><span style="margin-left:15px; vertical-align:middle"></span> <input type="checkbox" lay-filter="toggleTransparent" lay-skin="switch" checked><span style="margin-left:15px; vertical-align:middle"></span>
</div> </div>
<div style="color:#ff6a00;margin-top:20px;">Tips:5排8列主题色尽情享用</div>
</div> </div>
<!-- 锁屏界面 --> <!-- 锁屏界面 -->
<div class="winui-tab-item"> <div class="winui-tab-item">
...@@ -214,51 +125,7 @@ ...@@ -214,51 +125,7 @@
<h1>预览</h1> <h1>预览</h1>
<div class="background-preview"> <div class="background-preview">
<div class="preview-start"> <div class="preview-start">
<ul class="preview-menu">
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
<li><div class="preview-menu-icon"></div><div class="preview-menu-text"></div></li>
</ul>
<div class="preview-tilebox">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;"></div>
</div>
<div class="preview-tilebox preview-tilebox-lg">
<div style="width:59px;height:59px;margin-right:1px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:29px;margin-bottom:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:59px;height:29px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:29px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
<div style="width:14px;height:14px;margin-bottom:1px;margin-right:1px;"></div>
</div>
</div> </div>
<div class="preview-window"> <div class="preview-window">
<div class="preview-window-title"><p></p></div> <div class="preview-window-title"><p></p></div>
...@@ -272,7 +139,6 @@ ...@@ -272,7 +139,6 @@
<input type="radio" name="startsize" value="sm" title="中等" lay-filter="startSize"> <input type="radio" name="startsize" value="sm" title="中等" lay-filter="startSize">
<input type="radio" name="startsize" value="lg" title="宽敞" lay-filter="startSize"> <input type="radio" name="startsize" value="lg" title="宽敞" lay-filter="startSize">
</div> </div>
<div style="color:#ff6a00;margin-top:20px;">Tips:迷你不显示磁贴,中等显示一列磁贴,宽敞显示两列磁贴</div>
</div> </div>
<!-- 任务栏 --> <!-- 任务栏 -->
<div class="winui-tab-item"> <div class="winui-tab-item">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册