parent
fead0090d5
commit
e40eb6b763
19 changed files with 417 additions and 129 deletions
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
@ -1,100 +1,100 @@ |
||||
<!--图文素材页--> |
||||
<!--图片素材页--> |
||||
<link rel="stylesheet" href="../../../static/mweixin/css/picture-list.css"> |
||||
<div id="picture-list-vue" v-if="menuVue.menuActive == '图片'" class="ms-weixin-content"> |
||||
<el-container class="ms-admin-picture"> |
||||
<!--右侧头部--> |
||||
<el-header class="ms-header" height="50px"> |
||||
<el-row> |
||||
<el-button type="primary" size="small" icon="el-icon-plus">添加</el-button> |
||||
<el-button class="ms-fr" size="small" icon="el-icon-refresh">刷新</el-button> |
||||
<el-button class="ms-fr" size="small">同步微信素材</el-button> |
||||
</el-row> |
||||
</el-header> |
||||
<el-container> |
||||
<!--内容头部--> |
||||
<el-header class="ms-tr ms-header"> |
||||
<el-select v-model="value1" placeholder="请选择" size="small"> |
||||
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value"> |
||||
</el-option> |
||||
</el-select> |
||||
<el-select v-model="value2" placeholder="请选择" size="small"> |
||||
<el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value"> |
||||
</el-option> |
||||
</el-select> |
||||
<el-button type="primary" icon="el-icon-search" size="small">查询</el-button> |
||||
</el-header> |
||||
<!--素材列表--> |
||||
<el-main class="ms-admin-picture-list"> |
||||
<el-container> |
||||
<el-aside class="ms-admin-picture-item"> |
||||
<div v-for="picture in pictureList"> |
||||
<div class="body"> |
||||
<img :src="picture.img" /> |
||||
<div> |
||||
<input type="checkbox" /> |
||||
<span v-text="picture.title"></span> |
||||
</div> |
||||
</div> |
||||
<div class="footer"> |
||||
<i class="el-icon-edit"></i> |
||||
<em></em> |
||||
<i class="el-icon-download"></i> |
||||
<em></em> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
</div> |
||||
</el-aside> |
||||
<el-main class="ms-admin-picture-show"> |
||||
<span>全部图片(6)</span> |
||||
<div> |
||||
<span>小米(1)</span> |
||||
<i class="el-icon-edit"></i> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
<div> |
||||
<span>小米(1)</span> |
||||
<i class="el-icon-edit"></i> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
<p> |
||||
<i class="el-icon-plus"></i>新建分组</p> |
||||
</el-main> |
||||
</el-container> |
||||
<el-container class="ms-admin-picture"> |
||||
<!--右侧头部--> |
||||
<el-header class="ms-header" height="50px"> |
||||
<el-row> |
||||
<el-button type="primary" size="small" icon="el-icon-plus">添加</el-button> |
||||
<el-button size="small" icon="el-icon-refresh" class="ms-fr">刷新</el-button> |
||||
<el-button size="small" class="ms-fr">同步微信素材</el-button> |
||||
</el-row> |
||||
</el-header> |
||||
<el-container> |
||||
<!--内容头部--> |
||||
<el-header class="ms-tr ms-header ms-header-select"> |
||||
<el-select v-model="value1" placeholder="请选择" size="small"> |
||||
<el-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value"> |
||||
</el-option> |
||||
</el-select> |
||||
<el-select v-model="value2" placeholder="请选择" size="small"> |
||||
<el-option v-for="item in options2" :key="item.value" :label="item.label" :value="item.value"> |
||||
</el-option> |
||||
</el-select> |
||||
<el-button type="primary" icon="el-icon-search" size="small">查询</el-button> |
||||
</el-header> |
||||
<!--素材列表--> |
||||
<el-main class="ms-admin-picture-list"> |
||||
<el-container> |
||||
<el-aside class="ms-admin-picture-item"> |
||||
<div v-for="picture in pictureList"> |
||||
<div class="body"> |
||||
<img :src="picture.img" /> |
||||
<div> |
||||
<input type="checkbox" /> |
||||
<span v-text="picture.title"></span> |
||||
</div> |
||||
</div> |
||||
<div class="footer"> |
||||
<i class="el-icon-edit"></i> |
||||
<em></em> |
||||
<i class="el-icon-download"></i> |
||||
<em></em> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
</div> |
||||
</el-aside> |
||||
<el-main class="ms-admin-picture-show"> |
||||
<span>全部图片(6)</span> |
||||
<div> |
||||
<span>小米(1)</span> |
||||
<i class="el-icon-edit"></i> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
<div> |
||||
<span>小米(1)</span> |
||||
<i class="el-icon-edit"></i> |
||||
<i class="el-icon-delete"></i> |
||||
</div> |
||||
<p> |
||||
<i class="el-icon-plus"></i>新建分组</p> |
||||
</el-main> |
||||
</el-container> |
||||
|
||||
</el-main> |
||||
</el-container> |
||||
</el-container> |
||||
</el-main> |
||||
</el-container> |
||||
</el-container> |
||||
</div> |
||||
|
||||
<script> |
||||
new Vue({ |
||||
el: "#picture-list-vue", |
||||
data: { |
||||
options1: [{ |
||||
value: '全部图片', |
||||
label: '全部图片' |
||||
}], |
||||
options2: [{ |
||||
value: '全部图片', |
||||
label: '全部图片' |
||||
}], |
||||
value1: '全部图片', |
||||
value2: '', |
||||
pictureList: [{ |
||||
date: '12月27日', |
||||
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...', |
||||
img: '../images/data/ms-bg_1.jpg', |
||||
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......' |
||||
}, |
||||
{ |
||||
date: '12月27日', |
||||
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...', |
||||
img: '../images/data/ms-bg_1.jpg', |
||||
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......' |
||||
} |
||||
], |
||||
}, |
||||
methods: {}, |
||||
mounted: function() {} |
||||
}) |
||||
new Vue({ |
||||
el: "#picture-list-vue", |
||||
data: { |
||||
options1: [{ |
||||
value: '全部图片', |
||||
label: '全部图片' |
||||
}], |
||||
options2: [{ |
||||
value: '全部图片', |
||||
label: '全部图片' |
||||
}], |
||||
value1: '全部图片', |
||||
value2: '', |
||||
pictureList: [{ |
||||
date: '12月27日', |
||||
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...', |
||||
img: '../images/data/ms-bg_1.jpg', |
||||
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......' |
||||
}, |
||||
{ |
||||
date: '12月27日', |
||||
title: 'HUAWEI Mate 20 6GB+64GB 全网最低价...', |
||||
img: '../images/data/ms-bg_1.jpg', |
||||
det: '传播名HUAWEI Mate 20 6GB+64GB 全网最低价,后置摄像头后置莱卡散射,12000万亿像素(光脚,1/1.6光圈)+1200万像素(超广角),......' |
||||
} |
||||
], |
||||
}, |
||||
methods: {}, |
||||
mounted: function () {} |
||||
}) |
||||
</script> |
||||
@ -0,0 +1,138 @@ |
||||
/* |
||||
*这里的值严格按照UI设计图标注值来进行设置 |
||||
*/ |
||||
/* |
||||
*颜色 |
||||
*/ |
||||
/* |
||||
*页面的边距 |
||||
*/ |
||||
/* |
||||
*字体 |
||||
*/ |
||||
/* |
||||
*头像 |
||||
*/ |
||||
/* |
||||
* 按钮 |
||||
*/ |
||||
/* |
||||
*对常见的多行样式进行了方法封装,方便调用,加快开发效率 |
||||
*/ |
||||
html, |
||||
body { |
||||
min-height: 100vh; |
||||
width: 100vw; |
||||
background-color: #eee; |
||||
margin: 0; |
||||
display: flex; |
||||
font-weight: initial !important; |
||||
font-size: 14px !important; |
||||
color: #333 !important; |
||||
} |
||||
html *, |
||||
body * { |
||||
text-decoration: none !important; |
||||
font-family: Verdana, Arial, Helvetica, sans-serif; |
||||
box-sizing: border-box; |
||||
} |
||||
.ms-ellipsis { |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
white-space: nowrap; |
||||
display: block; |
||||
} |
||||
.ms-align-center { |
||||
display: flex; |
||||
align-items: center; |
||||
} |
||||
input::-webkit-input-placeholder, |
||||
textarea::-webkit-input-placeholder { |
||||
font-weight: initial; |
||||
font-size: 12px; |
||||
color: #999; |
||||
resize: none; |
||||
} |
||||
*::-webkit-scrollbar { |
||||
width: 8px; |
||||
height: 8px; |
||||
} |
||||
/*定义滚动条轨道 内阴影+圆角*/ |
||||
*::-webkit-scrollbar-track { |
||||
border-radius: 10px; |
||||
/*滚动条的背景区域的圆角*/ |
||||
background-color: #eee; |
||||
/*滚动条的背景颜色*/ |
||||
} |
||||
/*定义滑块 内阴影+圆角*/ |
||||
*::-webkit-scrollbar-thumb { |
||||
border-radius: 10px; |
||||
/*滚动条的圆角*/ |
||||
background-color: #e6e6e6; |
||||
/*滚动条的背景颜色*/ |
||||
} |
||||
.ms-container { |
||||
margin: 12px; |
||||
height: calc(100% - 24px); |
||||
padding: 14px; |
||||
background: #fff; |
||||
} |
||||
.ms-header { |
||||
padding: 10px; |
||||
margin: 0; |
||||
border-bottom: 1px solid #ddd; |
||||
background: #fff; |
||||
height: 50px; |
||||
} |
||||
.ms-header button { |
||||
height: 30px; |
||||
} |
||||
.ms-pagination { |
||||
padding: 20px 0; |
||||
text-align: right; |
||||
} |
||||
.ms-fr { |
||||
float: right; |
||||
} |
||||
.ms-tr { |
||||
text-align: right; |
||||
} |
||||
.ms-weixin-content { |
||||
width: calc(100% - 140px); |
||||
} |
||||
.ms-weixin-dialog .el-dialog__header { |
||||
height: 55px; |
||||
box-sizing: border-box; |
||||
padding: 10px 10px 25px 10px; |
||||
border-bottom: 1px solid #e6e6e6; |
||||
} |
||||
.ms-weixin-dialog .el-dialog__header .el-dialog__title { |
||||
font-weight: bold; |
||||
font-size: 14px; |
||||
color: #333; |
||||
} |
||||
.ms-weixin-dialog .el-dialog__footer { |
||||
border-top: 1px solid #e6e6e6; |
||||
padding: 15px !important; |
||||
} |
||||
.ms-hover { |
||||
cursor: pointer; |
||||
} |
||||
.ms-hover:hover { |
||||
color: #0099ff; |
||||
background: #fff; |
||||
border-color: #0099ff; |
||||
} |
||||
.ms-header-select { |
||||
font-size: 0; |
||||
} |
||||
.ms-header-select > .el-select:nth-of-type(2) { |
||||
margin: 0 10px; |
||||
} |
||||
.el-submenu .el-menu-item.is-active { |
||||
border-radius: 4px; |
||||
} |
||||
.el-card, |
||||
.el-message { |
||||
border-radius: 0 !important; |
||||
} |
||||
Loading…
Reference in new issue