Commit f7692029 authored by “yiyousong”'s avatar “yiyousong”

pref:修改皮肤页面样式

parent 78117860
......@@ -61,8 +61,11 @@
</template>
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space>
<a href="javascript:;" class="edit" @click="handleEdit(text)"
<a-space size="middle">
<a
href="javascript:;"
class="primary"
@click="handleEdit(text)"
>编辑</a
>
<a
......@@ -173,8 +176,8 @@
</template>
<!-- 操作 -->
<template slot="action" slot-scope="text">
<a-space>
<a class="edit" @click="handleEditRight(text)">编辑</a>
<a-space size="middle">
<a class="primary" @click="handleEditRight(text)">编辑</a>
<a
href="javascript:;"
class="delete"
......
......@@ -12,7 +12,7 @@
<!-- 头部 -->
<div class="header flex jcb">
<div class="header-title flex aic">
<img src="../../../../assets/img/logo.png" />
<!-- <img src="../../../../assets/img/logo.png" /> -->
<h1 :style="{ color: filterItem('2', 0) }">政务服务中心</h1>
</div>
<div class="flex header-right jcb">
......
......@@ -12,7 +12,7 @@
<!-- 头部 -->
<div class="header flex jcb">
<div class="header-title flex aic">
<img src="../../../../assets/img/logo.png" />
<!-- <img src="../../../../assets/img/logo.png" /> -->
<h1 :style="{ color: filterItem('2', 0) }">政务服务中心</h1>
</div>
<div
......
......@@ -12,7 +12,7 @@
<!-- 头部 -->
<div class="header flex aic jcb">
<div class="title flex aic">
<img src="../../../../assets/img/logo.png" />
<!-- <img src="../../../../assets/img/logo.png" /> -->
<h1 :style="{ color: filterItem('2', 0) }">政务服务中心</h1>
</div>
<div class="time" :style="{ color: filterItem('3', 0) }">
......
......@@ -47,7 +47,9 @@ export default {
// 搜索
onSearch(val) {
this.getProductList({ productName: `%${val}%` });
if (val) {
this.$emit("searchProduct", val);
}
},
changeMenu(index, row) {
......
......@@ -12,6 +12,7 @@
</a-select-option>
</a-select>
</div>
<a-spin size="small" :spinning="spinning">
<div class="preview-list">
<div v-if="previewList.length > 0">
<div
......@@ -26,6 +27,7 @@
</div>
<a-empty v-else :image="simpleImage" />
</div>
</a-spin>
<div class="preview-btn">
<a-button type="primary" style="margin-bottom: 10px" @click="AddSurface"
>新增皮肤</a-button
......@@ -54,6 +56,7 @@ export default {
simpleImage: Empty.PRESENTED_IMAGE_SIMPLE,
categoryId: "", // 分类ID
previewList: [], // 皮肤列表
spinning: false,
};
},
computed: {
......@@ -93,6 +96,7 @@ export default {
// 获取皮肤列表
async getSkinList(search = {}) {
this.isActive = 0;
this.spinning = true;
let res = await getSkinList({
page: 1,
size: -1,
......@@ -100,7 +104,9 @@ export default {
categoryId: this.categoryId,
...search,
});
this.spinning = false;
let { imageResolution } = res.data.dict;
if (res.data.code == 1) {
let { data } = res.data.data;
this.SET_imageResolution(imageResolution);
this.previewList = data;
......@@ -111,6 +117,7 @@ export default {
this.SET_curSkin({});
this.SET_curSkinIndex(0);
}
}
},
// 选取预览图
changePreview(index, row) {
......
......@@ -22,9 +22,7 @@
</div>
<div class="show-btn flex aic jcc">
<a-space size="middle">
<a-button class="edit-btn" @click="editSurface"
>修改皮肤参数</a-button
>
<a-button type="primary" @click="editSurface">修改皮肤参数</a-button>
<a-button type="danger" @click="handleClose(curSkin.id)"
>删除皮肤</a-button
>
......
......@@ -62,7 +62,7 @@
<a-icon type="edit" style="margin-right: 6px" />
<span>编辑</span>
</div>
<div>
<div v-else>
<a-icon type="undo" style="margin-right: 6px" />
<span>保存</span>
</div>
......@@ -98,7 +98,7 @@
</div>
</div>
<div style="text-align: center" v-else>
<a-button class="add-btn" @click="handleAdd">
<a-button type="primary" @click="handleAdd">
<a-icon type="plus" />
新增分类
</a-button>
......@@ -361,7 +361,7 @@ export default {
text-align: center;
cursor: pointer;
line-height: 26px;
background-color: #1890ff;
background: linear-gradient(90deg, #5ab6ff, #2e9aff);
color: #fff;
border-radius: 0px 0px 0px 10px;
}
......
......@@ -12,7 +12,7 @@
<!-- 头部 -->
<div class="header flex aic jcb">
<div class="left flex aic">
<img class="mr20" src="../../../../assets/img/logo.png" />
<!-- <img class="mr20" src="../../../../assets/img/logo.png" /> -->
<div
class="title"
:style="{
......
......@@ -16,7 +16,7 @@
</div>
<div class="right flex1 flex flexc aic">
<div class="header flex aic jcc">
<img src="../../../../assets/img/logo.png" />
<!-- <img src="../../../../assets/img/logo.png" /> -->
<div>
<h1 :style="{ color: filterItem('7', 0) }">政务服务中心</h1>
</div>
......
......@@ -12,7 +12,7 @@
<!-- 头部 -->
<div class="header flex aic jcb">
<div class="left flex aic">
<img class="mr20" src="../../../../assets/img/logo.png" />
<!-- <img class="mr20" src="../../../../assets/img/logo.png" /> -->
<div
class="title"
:style="{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment