merge paulGao commit

master
lemon橪 2022-07-14 10:38:52 +08:00
commit 4ecb41e9a2
12 changed files with 1288 additions and 975 deletions

View File

@ -142,7 +142,7 @@ service.interceptors.response.use(
const errorResponse = error.response || {};
const errorData = errorResponse.data || {};
if (errorResponse.status === 403 || error.response.data.code === 20004) {
if (errorResponse.status === 401 || errorResponse.status === 403 || error.response.data.code === 20004) {
isRefreshToken++;
if (isRefreshToken === 1) {

View File

@ -341,6 +341,7 @@ export default {
title: "优惠券",
methodsed: () => {
this.showPromotionList = [];
this.activeColumns = this.pintuanColumns;
this.sortGoods("COUPON");
},
};
@ -349,6 +350,7 @@ export default {
title: "积分商品",
methodsed: () => {
this.showPromotionList = [];
this.activeColumns = this.pintuanColumns;
this.sortGoods("POINTS_GOODS");
},
};

View File

@ -2,10 +2,15 @@
<div class="model-form">
<div class="model-content">
<!-- 头部广告登录信息不需要拖拽 -->
<div class="top-fixed-advert" :style="{backgroundColor:topAdvert.bgColor}">
<img :src="topAdvert.img" width="1200" height="80" alt="">
<div
class="top-fixed-advert"
:style="{ backgroundColor: topAdvert.bgColor }"
>
<img :src="topAdvert.img" width="1200" height="80" alt="" />
<div class="setup-box">
<Button size="small" @click.stop="handleModel('topAdvert')">编辑</Button>
<Button size="small" @click.stop="handleModel('topAdvert')"
>编辑</Button
>
</div>
</div>
<div class="header-con">
@ -20,7 +25,7 @@
</ul>
</div>
<div class="search-con">
<img :src="require('@/assets/logo.png')" class="logo" alt="">
<img :src="require('@/assets/logo.png')" class="logo" alt="" />
<div class="search">
<i-input size="large" placeholder="输入你想查找的商品">
<Button slot="append">搜索</Button>
@ -35,19 +40,28 @@
</li>
</ul>
<div class="setup-box">
<Button size="small" @click.stop="handleModel('quickNav')">编辑</Button>
<Button size="small" @click.stop="handleModel('quickNav')"
>编辑</Button
>
</div>
</div>
<!-- 装修主体 -->
<div>
<draggable class="model-form-list"
<draggable
class="model-form-list"
v-model="data.list"
v-bind="{ group: 'model', ghostClass: 'ghost' }"
@end="handleMoveEnd"
@add="handleModelAdd"
>
<template v-for="(element, index) in data.list">
<model-form-item v-if="element && element.key" :key="element.key" :element="element" :index="index" :data="data"></model-form-item>
<model-form-item
v-if="element && element.key"
:key="element.key"
:element="element"
:index="index"
:data="data"
></model-form-item>
</template>
</draggable>
</div>
@ -59,26 +73,37 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<!-- 顶部广告 -->
<div class="modal-top-advert">
<div>
<img class="show-image" width="600" height="40" :src="topAdvert.img" alt />
<img
class="show-image"
width="600"
height="40"
:src="topAdvert.img"
alt
/>
</div>
<div class="tips">
建议尺寸<span>{{ topAdvert.size }}</span>
</div>
<div>
图片链接<span>{{ topAdvert.url }}</span><Button size="small" type="primary" @click="handleSelectLink"></Button>
图片链接<Input
class="outsideUrl"
v-model="topAdvert.url"
:disabled="!!topAdvert.type && topAdvert.type !== 'link'"
placeholder="https://"
/><Button size="small" type="primary" @click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
选择图片<Button size="small" type="primary" @click="handleSelectImg"></Button>&nbsp;
</div>
<div>
选择背景色<ColorPicker v-model="topAdvert.bgColor" />
选择图片<Button size="small" type="primary" @click="handleSelectImg"
>选择图片</Button
>&nbsp;
</div>
<div>选择背景色<ColorPicker v-model="topAdvert.bgColor" /></div>
</div>
</Modal>
<Modal
@ -91,7 +116,9 @@
>
<!-- 分类tab栏 -->
<div class="modal-tab-bar">
<Button type="primary" size='small' @click="handleAddNav"></Button>
<Button type="primary" size="small" @click="handleAddNav"
>添加分类</Button
>
<table cellspacing="0">
<thead>
<tr>
@ -104,11 +131,23 @@
<tbody>
<tr v-for="(item, index) in navList.list" :key="index">
<td><Input v-model="item.name" /></td>
<td><Input v-model="item.url" disabled /></td>
<td>
<Input
v-model="item.url"
:disabled="!!item.type && item.type !== 'link'"
/>
</td>
<!-- <td><Input v-model="item.sort"/></td> -->
<td>
<Button type="primary" size="small" @click="handleSelectLink(item,index)"></Button>&nbsp;
<Button type="error" size="small" @click="handleDelNav(index)"></Button>
<Button
type="primary"
size="small"
@click="handleSelectLink(item, index)"
>选择链接</Button
>&nbsp;
<Button type="error" size="small" @click="handleDelNav(index)"
>删除</Button
>
</td>
</tr>
</tbody>
@ -116,29 +155,29 @@
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" :isComponent="true" ref="ossManage" />
<ossManage
@callback="callbackSelected"
:isComponent="true"
ref="ossManage"
/>
</Modal>
</div>
</template>
<script>
import Draggable from 'vuedraggable'
import ModelFormItem from './modelFormItem.vue'
import Draggable from "vuedraggable";
import ModelFormItem from "./modelFormItem.vue";
import ossManage from "@/views/sys/oss-manage/ossManage";
export default {
name:'modelForm',
name: "modelForm",
components: {
Draggable,
ModelFormItem,
ossManage
ossManage,
},
props:['data'],
props: ["data"],
data() {
return {
picModelFlag: false, //
@ -146,61 +185,77 @@ export default {
showModalNav: false, // nav
selectedNav: null, //nav
//
promotionTags: [ "买2免1", "领200神券", "199减100", "母婴5折抢", "充100送20"], //
topAdvert:{ // 广
type:'topAdvert',
img:'',
url:'',
bgColor:'#de000d',
size:'1200*80'
promotionTags: [
"买2免1",
"领200神券",
"199减100",
"母婴5折抢",
"充100送20",
], //
topAdvert: {
// 广
type: "topAdvert",
img: "",
url: "",
bgColor: "#de000d",
size: "1200*80",
},
navList:{ // nav
type:'navBar',
navList: {
// nav
type: "navBar",
list: [
{name:'秒杀', url:''}, {name:'闪购', url:''}, {name:'优惠券', url:''}, {name:'拍卖', url:''}, {name:'服装城', url:''},
]
}
}
{ name: "秒杀", url: "" },
{ name: "闪购", url: "" },
{ name: "优惠券", url: "" },
{ name: "拍卖", url: "" },
{ name: "服装城", url: "" },
],
},
};
},
mounted() {
document.body.ondrop = function (event) {
let isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1
let isFirefox = navigator.userAgent.toLowerCase().indexOf("firefox") > -1;
if (isFirefox) {
event.preventDefault()
event.stopPropagation()
}
event.preventDefault();
event.stopPropagation();
}
};
},
methods: {
handleSelectLink(item,index) { //
handleSelectLink(item, index) {
//
if (item) this.selectedNav = item;
this.$refs.liliDialog.open('link')
this.$refs.liliDialog.open("link");
console.log(item);
},
//
selectedLink(val) {
console.log(val);
if (this.showModalNav) {
this.selectedNav.url = this.$options.filters.formatLinkType(val);
this.selectedNav.type =
val.___type === "other" && val.url === "" ? "link" : "other";
} else {
this.topAdvert.url = this.$options.filters.formatLinkType(val);
this.topAdvert.type =
val.___type === "other" && val.url === "" ? "link" : "other";
}
},
handleDelNav(index){ //
this.navList.list.splice(index,1)
handleDelNav(index) {
//
this.navList.list.splice(index, 1);
},
handleAddNav(){ //
this.navList.list.push(
{name:'',url:''}
)
console.log(this.navList.list)
handleAddNav() {
//
this.navList.list.push({ name: "", url: "" });
},
//
handleMoveEnd({ newIndex, oldIndex }) {
console.log('index', newIndex, oldIndex)
console.log("index", newIndex, oldIndex);
},
// 广
handleModel(type) {
if(type == 'topAdvert'){
if (type == "topAdvert") {
this.showModal = true;
} else {
this.showModalNav = true;
@ -211,16 +266,21 @@ export default {
this.$refs.ossManage.selectImage = true;
this.picModelFlag = true;
},
callbackSelected (item) { //
callbackSelected(item) {
//
this.picModelFlag = false;
this.topAdvert.img = item.url;
},
handleModelAdd (evt) { //
const newIndex = evt.newIndex
handleModelAdd(evt) {
//
const newIndex = evt.newIndex;
// key
this.data.list[newIndex] = JSON.parse(JSON.stringify(this.data.list[newIndex]))
const key = Date.parse(new Date()) + '_' + Math.ceil(Math.random() * 99999)
this.data.list[newIndex] = JSON.parse(
JSON.stringify(this.data.list[newIndex])
);
const key =
Date.parse(new Date()) + "_" + Math.ceil(Math.random() * 99999);
this.$set(this.data.list, newIndex, {
...this.data.list[newIndex],
options: {
@ -228,14 +288,14 @@ export default {
},
key,
//
model: this.data.list[newIndex].type + '_' + key
})
model: this.data.list[newIndex].type + "_" + key,
});
},
}
}
},
};
</script>
<style lang="scss" scoped>
@import './modelList/setup-box.scss';
@import "./modelList/setup-box.scss";
.model-form {
width: 1500px;
}
@ -265,7 +325,8 @@ export default {
line-height: 35px;
color: #999;
font-weight: bold;
div,li{
div,
li {
&:hover {
color: $theme_color;
cursor: pointer;
@ -280,7 +341,7 @@ export default {
padding-left: 10px;
}
&:last-child::after {
content:'';
content: "";
padding-left: 0;
}
&:hover::after {
@ -357,14 +418,17 @@ export default {
a {
color: rgb(89, 88, 88);
font-size: 15px;
&:hover{color:$theme_color}
&:hover {
color: $theme_color;
}
}
}
}
}
/** 顶部广告,头部,搜索框 end */
.top-fixed-advert, .nav-con{
.top-fixed-advert,
.nav-con {
position: relative;
&:hover {
.setup-box {

View File

@ -198,7 +198,12 @@
建议尺寸<span>{{ selected.size }}</span>
</div>
<div>
图片链接<span>{{ selected.url }}</span>
图片链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://"
/>
<Button size="small" type="primary" @click="handleSelectLink"
>选择链接</Button
>
@ -211,11 +216,7 @@
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage
@ -229,8 +230,8 @@
<script>
import ModelCarousel from "./modelList/carousel.vue";
import ModelCarousel1 from './modelList/carousel1.vue';
import ModelCarousel2 from './modelList/carousel2.vue';
import ModelCarousel1 from "./modelList/carousel1.vue";
import ModelCarousel2 from "./modelList/carousel2.vue";
import FirstPageAdvert from "./modelList/firstPageAdvert.vue";
import NewGoodsSort from "./modelList/newGoodsSort.vue";
import Recommend from "./modelList/recommend.vue";
@ -284,6 +285,8 @@ export default {
//
selectedLink(val) {
this.selected.url = this.$options.filters.formatLinkType(val);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
handleSelectImg() {

View File

@ -22,7 +22,9 @@
<div class="person-msg">
<img :src="userInfo.face" v-if="userInfo.face" alt />
<Avatar icon="ios-person" class="mb_10" v-else size="80" />
<div>Hi{{ userInfo.nickName || "欢迎来到管理后台" | secrecyMobile }}</div>
<div>
Hi{{ userInfo.nickName || "欢迎来到管理后台" | secrecyMobile }}
</div>
<div v-if="userInfo.id">
<Button type="error" shape="circle">会员中心</Button>
</div>
@ -34,7 +36,12 @@
<div>
<span>常见问题</span>
<ul class="article-list">
<li class="ellipsis" :alt="article.title" v-for="(article, index) in articleList" :key="index" @click="goArticle(article.id)">
<li
class="ellipsis"
:alt="article.title"
v-for="(article, index) in articleList"
:key="index"
>
{{ article.title }}
</li>
</ul>
@ -49,8 +56,6 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAdd"></Button>
@ -78,7 +83,13 @@
alt=""
/>
</td>
<td><Input v-model="item.url" disabled /></td>
<td>
<Input
class="outsideUrl"
v-model="item.url"
:disabled="!!item.type && item.type !== 'link'"
/>
</td>
<!-- <td><Input v-model="item.sort"/></td> -->
<td>
<Button
@ -87,10 +98,7 @@
@click="handleSelectImg(item)"
>选择图片</Button
>&nbsp;
<Button
type="info"
size="small"
@click="handleSelectLink(item)"
<Button type="info" size="small" @click="handleSelectLink(item)"
>选择链接</Button
>&nbsp;
<Button
@ -107,14 +115,14 @@
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" :isComponent="true" ref="ossManage" />
<ossManage
@callback="callbackSelected"
:isComponent="true"
ref="ossManage"
/>
</Modal>
</div>
</template>
@ -125,7 +133,7 @@ export default {
name: "modelCarousel",
props: ["data"],
components: {
ossManage
ossManage,
},
data() {
return {
@ -134,11 +142,11 @@ export default {
picModelFlag: false, // modal
userInfo: {},
articleList: [
{title:'促销计算规则'},
{title:'商家申请开店'},
{title:'商家账号注册'},
{title:'促销计算规则'}
]
{ title: "促销计算规则" },
{ title: "商家申请开店" },
{ title: "商家账号注册" },
{ title: "促销计算规则" },
],
};
},
@ -149,15 +157,16 @@ export default {
},
//
handleAdd() {
this.data.options.list.push({ img: "", url: "" });
this.data.options.list.push({ img: "", url: "", type: "" });
this.$forceUpdate();
},
handleSelectLink(item) {
//
this.$refs.liliDialog.open('link')
this.$refs.liliDialog.open("link");
this.selected = item;
},
callbackSelected (item) { //
callbackSelected(item) {
//
this.picModelFlag = false;
this.selected.img = item.url;
},
@ -165,10 +174,11 @@ export default {
//
this.data.options.list.splice(index, 1);
},
selectedLink(val) { //
console.log(val);
selectedLink(val) {
//
this.selected.url = this.$options.filters.formatLinkType(val);
console.log(this.selected.url);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
//
handleSelectImg(item) {

View File

@ -26,14 +26,14 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAdd"></Button>
&nbsp;
<span class="ml_10">图片尺寸:{{ data.size }}</span>
<span style="color: red" class="fz_12 ml_10">点击缩略图替换图片点击颜色选择器选择背景色</span>
<span style="color: red" class="fz_12 ml_10"
>点击缩略图替换图片点击颜色选择器选择背景色</span
>
<table cellspacing="0">
<thead>
<tr>
@ -54,12 +54,15 @@
alt=""
/>
</td>
<td><Input v-model="item.url" disabled /></td>
<td>
<Button
type="info"
size="small"
@click="handleSelectLink(item)"
<Input
class="outsideUrl"
v-model="item.url"
:disabled="!!item.type && item.type !== 'link'"
/>
</td>
<td>
<Button type="info" size="small" @click="handleSelectLink(item)"
>选择链接</Button
>&nbsp;
<ColorPicker size="small" v-model="item.bgColor" />
@ -78,11 +81,7 @@
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" ref="ossManage" />
@ -96,18 +95,18 @@ export default {
name: "modelCarousel",
props: ["data"],
components: {
ossManage
ossManage,
},
data() {
return {
showModal: false, // modal
selected: null, //
picModelFlag: false, // modal
bgColor:'#fff' //
bgColor: "#fff", //
};
},
mounted() {
this.bgColor = this.data.options.list[0].bgColor
this.bgColor = this.data.options.list[0].bgColor;
},
methods: {
handleSelectModel() {
@ -116,19 +115,20 @@ export default {
},
//
autoChange(oVal, val) {
this.bgColor = this.data.options.list[val].bgColor
this.bgColor = this.data.options.list[val].bgColor;
},
//
handleAdd() {
this.data.options.list.push({ img: "", url: "", bgColor: '#fff' });
this.data.options.list.push({ img: "", url: "", bgColor: "#fff" });
this.$forceUpdate();
},
// modal
handleSelectLink(item) {
this.$refs.liliDialog.open('link')
this.$refs.liliDialog.open("link");
this.selected = item;
},
callbackSelected (item) { //
callbackSelected(item) {
//
this.picModelFlag = false;
this.selected.img = item.url;
},
@ -136,15 +136,18 @@ export default {
handleDel(index) {
this.data.options.list.splice(index, 1);
},
selectedLink(val) { //
selectedLink(val) {
//
this.selected.url = this.$options.filters.formatLinkType(val);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
// modal
handleSelectImg(item) {
this.selected = item;
this.$refs.ossManage.selectImage = true;
this.picModelFlag = true;
}
},
},
};
</script>
@ -163,14 +166,13 @@ export default {
width: 1200px;
height: 470px;
margin: 0px auto;
}
.nav-side {
height: 100%;
width: 200px;
padding: 0px;
color: #fff;
background-color:rgba(0,0,0,.5);
background-color: rgba(0, 0, 0, 0.5);
line-height: 470px;
text-align: center;
position: absolute;

View File

@ -21,7 +21,10 @@
<div class="nav-content1 setup-content">
<!-- 轮播图 -->
<Carousel autoplay :autoplay-speed="5000">
<CarouselItem v-for="(item, index) in data.options.listRight" :key="index">
<CarouselItem
v-for="(item, index) in data.options.listRight"
:key="index"
>
<div class="mb_10">
<img :src="item[0].img" width="190" height="150" />
</div>
@ -43,7 +46,9 @@
<div class="person-msg">
<img :src="userInfo.face" v-if="userInfo.face" alt />
<Avatar icon="ios-person" class="mb_10" v-else size="80" />
<div>Hi{{ userInfo.nickName || "欢迎来到管理后台" | secrecyMobile }}</div>
<div>
Hi{{ userInfo.nickName || "欢迎来到管理后台" | secrecyMobile }}
</div>
<div v-if="userInfo.id">
<Button type="error" shape="circle">会员中心</Button>
</div>
@ -55,7 +60,12 @@
<div>
<span>常见问题</span>
<ul class="article-list">
<li class="ellipsis" :alt="article.title" v-for="(article, index) in articleList" :key="index" @click="goArticle(article.id)">
<li
class="ellipsis"
:alt="article.title"
v-for="(article, index) in articleList"
:key="index"
>
{{ article.title }}
</li>
</ul>
@ -97,13 +107,17 @@
alt=""
/>
</td>
<td><Input v-model="item.url" disabled /></td>
<td>
<Button
type="info"
size="small"
@click="handleSelectLink(item)"
>选择链接</Button>&nbsp;
<Input
class="outsideUrl"
v-model="item.url"
:disabled="!!item.type && item.type !== 'link'"
/>
</td>
<td>
<Button type="info" size="small" @click="handleSelectLink(item)"
>选择链接</Button
>&nbsp;
<Button
type="error"
ghost
@ -127,12 +141,23 @@
:mask-closable="false"
>
<div class="modal-tab-bar">
<Button type="primary" size="small" @click="handleAddGroup"></Button>
<Button type="primary" size="small" @click="handleAddGroup"
>添加组</Button
>
&nbsp;
<span class="ml_10">图片尺寸:{{ data.size }}</span>
<span style="color: red" class="fz_12 ml_10">点击缩略图替换图片</span>
<Tabs type="card" closable @on-tab-remove="handleTabRemove" class="mt_10">
<TabPane :label="'图片组'+(gIndex+1)" v-for="(group, gIndex) in data.options.listRight" :key="gIndex">
<Tabs
type="card"
closable
@on-tab-remove="handleTabRemove"
class="mt_10"
>
<TabPane
:label="'图片组' + (gIndex + 1)"
v-for="(group, gIndex) in data.options.listRight"
:key="gIndex"
>
<table cellspacing="0">
<thead>
<tr>
@ -153,28 +178,30 @@
alt=""
/>
</td>
<td><Input v-model="item.url" disabled /></td>
<td>
<Input
class="outsideUrl"
v-model="item.url"
:disabled="!!item.type && item.type !== 'link'"
/>
</td>
<td>
<Button
type="info"
size="small"
@click="handleSelectLink(item)"
>选择链接</Button>
>选择链接</Button
>
</td>
</tr>
</tbody>
</table>
</TabPane>
</Tabs>
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" ref="ossManage" />
@ -188,7 +215,7 @@ export default {
name: "modelCarousel",
props: ["data"],
components: {
ossManage
ossManage,
},
data() {
return {
@ -197,11 +224,11 @@ export default {
picModelFlag: false, // modal
userInfo: {},
articleList: [
{title:'促销计算规则'},
{title:'商家申请开店'},
{title:'商家账号注册'},
{title:'促销计算规则'}
]
{ title: "促销计算规则" },
{ title: "商家申请开店" },
{ title: "商家账号注册" },
{ title: "促销计算规则" },
],
};
},
@ -218,21 +245,22 @@ export default {
//
handleAddGroup() {
this.data.options.listRight.push([
{img:'',url:''},
{img:'',url:''},
{img:'',url:''}
])
{ img: "", url: "" },
{ img: "", url: "" },
{ img: "", url: "" },
]);
},
//
handleTabRemove(index) {
this.data.options.listRight.splice(index, 1)
this.data.options.listRight.splice(index, 1);
},
//
handleSelectLink(item) {
this.$refs.liliDialog.open('link')
this.$refs.liliDialog.open("link");
this.selected = item;
},
callbackSelected (item) { //
callbackSelected(item) {
//
this.picModelFlag = false;
this.selected.img = item.url;
},
@ -240,10 +268,11 @@ export default {
handleDel(index) {
this.data.options.list.splice(index, 1);
},
selectedLink(val) { //
console.log(val);
selectedLink(val) {
//
this.selected.url = this.$options.filters.formatLinkType(val);
console.log(this.selected.url);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
// modal
handleSelectImg(item) {
@ -294,7 +323,8 @@ export default {
}
/*导航内容*/
.nav-content,.nav-content1 {
.nav-content,
.nav-content1 {
width: 590px;
height: 470px;
overflow: hidden;

View File

@ -1,15 +1,26 @@
<template>
<div class="first-page-advert">
<div class="item setup-content" :style="{backgroundImage:`linear-gradient(to right, ${item.fromColor}, ${item.toColor})`}" v-for="(item, index) in options.list" :key="index">
<div
class="item setup-content"
:style="{
backgroundImage: `linear-gradient(to right, ${item.fromColor}, ${item.toColor})`,
}"
v-for="(item, index) in options.list"
:key="index"
>
<div>
<span class="line top-line"></span>
<p>{{ item.name }}</p>
<span class="line btm-line"></span>
<p>{{ item.describe }}</p>
</div>
<img :src="item.img" width="170" height="170" alt="">
<img :src="item.img" width="170" height="170" alt="" />
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(item)">编辑</Button></div>
<div>
<Button size="small" @click.stop="handleSelectModel(item)"
>编辑</Button
>
</div>
</div>
</div>
<Modal
@ -19,46 +30,63 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-top-advert">
<div>
<img class="show-image" width="170" height="170" :src="selected.img" alt />
</div>
<div>
<span>图片主标题</span><Input v-model="selected.name" />
</div>
<div>
<span>图片描述</span><Input v-model="selected.describe" />
<img
class="show-image"
width="170"
height="170"
:src="selected.img"
alt
/>
</div>
<div><span>图片主标题</span><Input v-model="selected.name" /></div>
<div><span>图片描述</span><Input v-model="selected.describe" /></div>
<div class="tips">
建议尺寸<span>{{ selected.size }}</span>
</div>
<div>
图片链接<span>{{ selected.url }}</span> <Button size="small" type="primary" @click="handleSelectLink"></Button>
图片链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://"
/>
<Button size="small" type="primary" @click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
<span>渐变背景色</span><Input v-model="selected.fromColor" /> <ColorPicker v-if="selected.fromColor" v-model="selected.fromColor" />
<span>渐变背景色</span><Input v-model="selected.fromColor" />
<ColorPicker v-if="selected.fromColor" v-model="selected.fromColor" />
</div>
<div>
<span>渐变背景色</span><Input v-model="selected.toColor" /> <ColorPicker v-if="selected.toColor" v-model="selected.toColor" />
<span>渐变背景色</span><Input v-model="selected.toColor" />
<ColorPicker v-if="selected.toColor" v-model="selected.toColor" />
</div>
<div :style="{backgroundImage:`linear-gradient(to right, ${selected.fromColor}, ${selected.toColor})`}" class="exhibition"></div>
<div
:style="{
backgroundImage: `linear-gradient(to right, ${selected.fromColor}, ${selected.toColor})`,
}"
class="exhibition"
></div>
<div>
选择图片<Button size="small" type="primary" @click="handleSelectImg"></Button>&nbsp;
选择图片<Button size="small" type="primary" @click="handleSelectImg"
>选择图片</Button
>&nbsp;
</div>
</div>
</Modal>
<!-- 选择商品链接 -->
<liliDialog
ref="liliDialog"
@selectedLink="selectedLink"
></liliDialog>
<liliDialog ref="liliDialog" @selectedLink="selectedLink"></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" :isComponent="true" ref="ossManage" />
<ossManage
@callback="callbackSelected"
:isComponent="true"
ref="ossManage"
/>
</Modal>
</div>
</template>
@ -68,8 +96,8 @@ export default {
props: {
data: {
type: Object,
default: null
}
default: null,
},
},
components: { ossManage },
data() {
@ -77,23 +105,27 @@ export default {
options: this.data.options, //
showModal: false, // modal
selected: {}, //
picModelFlag: false //
}
picModelFlag: false, //
};
},
methods: {
// modal
handleSelectModel(item, type) {
this.selected = item;
this.showModal = true
this.showModal = true;
},
handleSelectLink(item,index) { //
this.$refs.liliDialog.open('link')
handleSelectLink(item, index) {
//
this.$refs.liliDialog.open("link");
},
//
selectedLink(val) {
this.selected.url = this.$options.filters.formatLinkType(val);;
this.selected.url = this.$options.filters.formatLinkType(val);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
handleSelectImg(){ //
handleSelectImg() {
//
this.$refs.ossManage.selectImage = true;
this.picModelFlag = true;
},
@ -101,12 +133,12 @@ export default {
callbackSelected(val) {
this.picModelFlag = false;
this.selected.img = val.url;
}
}
}
},
},
};
</script>
<style lang="scss" scoped>
@import './setup-box.scss';
@import "./setup-box.scss";
.first-page-advert {
display: flex;
flex-wrap: wrap;
@ -119,9 +151,15 @@ export default {
display: flex;
align-items: center;
justify-content: center;
img{margin-left: 20px;}
img {
margin-left: 20px;
}
&:nth-of-type(1),&:nth-of-type(2),&:nth-of-type(3){margin-top: 0;}
&:nth-of-type(1),
&:nth-of-type(2),
&:nth-of-type(3) {
margin-top: 0;
}
p:nth-of-type(1) {
margin: 3px 0;
@ -132,7 +170,6 @@ export default {
margin-top: 3px;
color: #fff;
}
}
.line {
position: relative;
@ -149,7 +186,6 @@ export default {
background-position: 0 -11px;
width: 154px;
}
}
.modal-top-advert {
align-items: start;

View File

@ -1,66 +1,118 @@
<template>
<div class="new-goods">
<div class="left">
<div class="top-header setup-content" :style="{background:options.left.bgColor}">
<div
class="top-header setup-content"
:style="{ background: options.left.bgColor }"
>
<span>{{ options.left.title }}</span>
<span>{{ options.left.secondTitle }} &gt;</span>
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(options.left,true)">编辑</Button></div>
<div>
<Button
size="small"
@click.stop="handleSelectModel(options.left, true)"
>编辑</Button
>
</div>
</div>
</div>
<div class="content">
<div class="con-item setup-content" v-for="(item, index) in options.left.list" :key="index">
<div
class="con-item setup-content"
v-for="(item, index) in options.left.list"
:key="index"
>
<div>
<p>{{ item.name }}</p>
<p class="describe">{{ item.describe }}</p>
</div>
<img :src="item.img" alt="">
<img :src="item.img" alt="" />
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(item)">编辑</Button></div>
<div>
<Button size="small" @click.stop="handleSelectModel(item)"
>编辑</Button
>
</div>
</div>
</div>
</div>
</div>
<div class="middle">
<div class="top-header setup-content" :style="{background:options.middle.bgColor}">
<div
class="top-header setup-content"
:style="{ background: options.middle.bgColor }"
>
<span>{{ options.middle.title }}</span>
<span>{{ options.middle.secondTitle }} &gt;</span>
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(options.middle,true)">编辑</Button></div>
<div>
<Button
size="small"
@click.stop="handleSelectModel(options.middle, true)"
>编辑</Button
>
</div>
</div>
</div>
<div class="content">
<div class="con-item setup-content" v-for="(item, index) in options.middle.list" :key="index">
<div
class="con-item setup-content"
v-for="(item, index) in options.middle.list"
:key="index"
>
<div>
<p>{{ item.name }}</p>
<p class="describe">{{ item.describe }}</p>
</div>
<img :src="item.img" alt="">
<img :src="item.img" alt="" />
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(item)">编辑</Button></div>
<div>
<Button size="small" @click.stop="handleSelectModel(item)"
>编辑</Button
>
</div>
</div>
</div>
</div>
</div>
<div class="right">
<div class="top-header setup-content" :style="{background:options.right.bgColor}">
<div
class="top-header setup-content"
:style="{ background: options.right.bgColor }"
>
<span>{{ options.right.title }}</span>
<span>{{ options.right.secondTitle }} &gt;</span>
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectModel(options.right,true)">编辑</Button></div>
<div>
<Button
size="small"
@click.stop="handleSelectModel(options.right, true)"
>编辑</Button
>
</div>
</div>
</div>
<div class="content">
<div class="setup-content" v-for="(item, index) in options.right.list" :key="index">
<img :src="item.img" alt="">
<div
class="setup-content"
v-for="(item, index) in options.right.list"
:key="index"
>
<img :src="item.img" alt="" />
<p>{{ item.name }}</p>
<p>{{item.price | unitPrice('¥')}}</p>
<div class="jiaobiao" :class="'jiaobiao'+(index+1)">{{index+1}}</div>
<p>{{ item.price | unitPrice("¥") }}</p>
<div class="jiaobiao" :class="'jiaobiao' + (index + 1)">
{{ index + 1 }}
</div>
<div class="setup-box">
<div><Button size="small" @click.stop="handleSelectGoods(item)">编辑</Button></div>
<div>
<Button size="small" @click.stop="handleSelectGoods(item)"
>编辑</Button
>
</div>
</div>
</div>
</div>
@ -73,30 +125,50 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-top-advert">
<div>
<img class="show-image" width="160" height="160" v-if="selected.size && selected.size.indexOf('160*160')>=0" :src="selected.img" alt />
<img class="show-image" width="80" height="80" v-if="selected.size && selected.size.indexOf('90*90')>=0" :src="selected.img" alt />
</div>
<div>
<span>图片主标题</span><Input v-model="selected.name" />
</div>
<div>
<span>图片描述</span><Input v-model="selected.describe" />
<img
class="show-image"
width="160"
height="160"
v-if="selected.size && selected.size.indexOf('160*160') >= 0"
:src="selected.img"
alt
/>
<img
class="show-image"
width="80"
height="80"
v-if="selected.size && selected.size.indexOf('90*90') >= 0"
:src="selected.img"
alt
/>
</div>
<div><span>图片主标题</span><Input v-model="selected.name" /></div>
<div><span>图片描述</span><Input v-model="selected.describe" /></div>
<div class="tips">
建议尺寸<span>{{ selected.size }}</span>
</div>
<div>
图片链接<span>{{ selected.url }}</span> <Button size="small" type="primary" @click="handleSelectLink"></Button>
图片链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://"
/>
<Button size="small" type="primary" @click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
<Button size="small" type="primary" @click="handleSelectImg"></Button>&nbsp;
<Button size="small" type="primary" @click="handleSelectImg"
>选择图片</Button
>&nbsp;
<Button size="small" type="primary" @click="handleSelectGoods('')"></Button>
<Button size="small" type="primary" @click="handleSelectGoods('')"
>选择商品</Button
>
</div>
</div>
</Modal>
@ -108,21 +180,28 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-top-advert">
<div><span>主标题</span><Input v-model="selected.title" /></div>
<div><span>副标题</span><Input v-model="selected.secondTitle" /></div>
<div>
<span>主标题</span><Input v-model="selected.title" />
<span
>副标题链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://" /></span
><Button
size="small"
class="ml_10"
type="primary"
@click="handleSelectLink"
>选择链接</Button
>
</div>
<div>
<span>副标题</span><Input v-model="selected.secondTitle" />
</div>
<div>
<span>副标题链接{{selected.url}}</span><Button size="small" class="ml_10" type="primary" @click="handleSelectLink"></Button>
</div>
<div>
<span>背景色</span><ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
<span>背景色</span
><ColorPicker v-if="selected.bgColor" v-model="selected.bgColor" />
</div>
</div>
</Modal>
@ -134,7 +213,11 @@
></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" :isComponent="true" ref="ossManage" />
<ossManage
@callback="callbackSelected"
:isComponent="true"
ref="ossManage"
/>
</Modal>
</div>
</template>
@ -144,11 +227,11 @@ export default {
props: {
data: {
type: Object,
default:null
}
default: null,
},
},
components: {
ossManage
ossManage,
},
data() {
return {
@ -156,8 +239,8 @@ export default {
showModal: false, // modal
showModal1: false, // modal
selected: {}, //
picModelFlag: false // modal
}
picModelFlag: false, // modal
};
},
methods: {
// modal
@ -165,38 +248,41 @@ export default {
this.selected = item;
console.warn(item);
if (type) {
this.showModal1 = true
this.showModal1 = true;
} else {
this.showModal = true
this.showModal = true;
}
},
handleSelectLink() { //
this.$refs.liliDialog.open('link')
handleSelectLink() {
//
this.$refs.liliDialog.open("link");
},
handleSelectGoods(item) { //
handleSelectGoods(item) {
//
console.warn(item);
if (item) this.selected = item;
this.$refs.liliDialog.open('goods', 'single')
this.$refs.liliDialog.open("goods", "single");
setTimeout(() => {
this.$refs.liliDialog.goodsData = [this.selected]
this.$refs.liliDialog.goodsData = [this.selected];
}, 500);
},
//
selectedLink(val) {
this.selected.url = this.$options.filters.formatLinkType(val);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
//
selectedGoodsData(val) {
console.log(val);
let goods = val[0]
let goods = val[0];
console.log(this.selected);
this.selected.img = goods.thumbnail
this.selected.price = goods.price
this.selected.name = goods.goodsName
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`
this.selected.img = goods.thumbnail;
this.selected.price = goods.price;
this.selected.name = goods.goodsName;
this.selected.url = `/goodsDetail?skuId=${goods.id}&goodsId=${goods.goodsId}`;
},
handleSelectImg(){ //
handleSelectImg() {
//
this.$refs.ossManage.selectImage = true;
this.picModelFlag = true;
},
@ -204,12 +290,12 @@ export default {
callbackSelected(val) {
this.picModelFlag = false;
this.selected.img = val.url;
}
}
}
},
},
};
</script>
<style lang="scss" scoped>
@import './setup-box.scss';
@import "./setup-box.scss";
.new-goods {
display: flex;
justify-content: space-between;
@ -230,10 +316,17 @@ export default {
width: 160px;
height: 160px;
}
.describe{margin-top: 10px;}
.describe {
margin-top: 10px;
}
}
> div:nth-child(2) {
border-right: 1px solid #eee;
}
> div:nth-child(3),
> div:nth-child(4) {
border-bottom: 1px solid #eee;
}
>div:nth-child(2){border-right: 1px solid #eee;}
>div:nth-child(3),>div:nth-child(4){border-bottom: 1px solid #eee;}
}
.middle > .content {
@ -243,8 +336,15 @@ export default {
border-width: 0;
border-bottom-width: 1px;
}
>div:nth-child(1),>div:nth-child(2),>div:nth-child(3){border-right-width: 1px;}
>div:nth-child(6), >div:nth-child(3){border-bottom-width: 0;}
> div:nth-child(1),
> div:nth-child(2),
> div:nth-child(3) {
border-right-width: 1px;
}
> div:nth-child(6),
> div:nth-child(3) {
border-bottom-width: 0;
}
}
.right > .content {
@ -275,21 +375,28 @@ export default {
height: 23px;
top: 10px;
right: 16px;
background: url('../../../assets/festival_icon.png');
color: #FFF;
background: url("../../../assets/festival_icon.png");
color: #fff;
text-align: center;
}
.jiaobiao1,.jiaobiao4{
.jiaobiao1,
.jiaobiao4 {
background-position: -2px -30px;
}
.jiaobiao2,.jiaobiao5{
.jiaobiao2,
.jiaobiao5 {
background-position: -31px -30px;
}
.jiaobiao3,.jiaobiao6{
.jiaobiao3,
.jiaobiao6 {
background-position: -60px -30px;
}
}
>div:nth-child(4),>div:nth-child(5),>div:nth-child(6){border: none;}
> div:nth-child(4),
> div:nth-child(5),
> div:nth-child(6) {
border: none;
}
}
.top-header {

View File

@ -108,8 +108,6 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-top-advert">
<div>
@ -144,7 +142,12 @@
建议尺寸<span>{{ selected.size }}</span>
</div>
<div>
图片链接<span>{{ selected.url }}</span>
图片链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://"
/>
<Button
size="small"
class="ml_10"
@ -170,14 +173,17 @@
width="800"
:z-index="100"
:mask-closable="false"
>
<div class="modal-top-advert">
<div><span>主标题</span><Input v-model="selected.title" /></div>
<div><span>副标题</span><Input v-model="selected.secondTitle" /></div>
<div>
<span>副标题链接{{ selected.url }}</span
<span
>副标题链接<Input
class="outsideUrl"
v-model="selected.url"
:disabled="!!selected.type && selected.type !== 'link'"
placeholder="https://" /></span
><Button
size="small"
class="ml_10"
@ -200,7 +206,11 @@
></liliDialog>
<!-- 选择图片 -->
<Modal width="1200px" v-model="picModelFlag" footer-hide>
<ossManage @callback="callbackSelected" :isComponent="true" ref="ossManage" />
<ossManage
@callback="callbackSelected"
:isComponent="true"
ref="ossManage"
/>
</Modal>
</div>
</template>
@ -242,11 +252,13 @@ export default {
},
handleSelectGoods(item) {
//
this.$refs.liliDialog.open('goods', 'single')
this.$refs.liliDialog.open("goods", "single");
},
//
selectedLink(val) {
this.selected.url = this.$options.filters.formatLinkType(val);
this.selected.type =
val.___type === "other" && val.url === "" ? "link" : "other";
},
//
selectedGoodsData(val) {

View File

@ -52,8 +52,12 @@
/>
<span class="describe">消费达到当前金额可以参与优惠</span>
</FormItem>
<FormItem label="优惠方式">
<RadioGroup type="button" button-style="solid" v-model="form.discountType">
<FormItem label="赠送优惠券">
<RadioGroup
type="button"
button-style="solid"
v-model="form.discountType"
>
<Radio label="fullMinusFlag" disabled>减现金</Radio>
<Radio label="fullRateFlag" disabled>打折</Radio>
</RadioGroup>
@ -88,24 +92,29 @@
<span class="describe">优惠折扣为0-10之间数字可有一位小数</span>
</FormItem>
<FormItem label="额外赠送">
<Checkbox v-model="form.freeFreightFlag" disabled>免邮费</Checkbox>&nbsp;
<Checkbox v-model="form.couponFlag" disabled>送优惠券</Checkbox>&nbsp;
<Checkbox v-model="form.freeFreightFlag" disabled>免邮费</Checkbox
>&nbsp;
<Checkbox v-model="form.couponFlag" disabled>送优惠券</Checkbox
>&nbsp;
<Checkbox v-model="form.giftFlag" disabled>送赠品</Checkbox>&nbsp;
<Checkbox v-model="form.pointFlag" disabled>送积分</Checkbox>
</FormItem>
<FormItem v-if="form.couponFlag" label="赠送优惠券" prop="couponId">
<Select
v-model="form.couponId"
:disabled="form.promotionStatus != 'NEW'"
filterable
:remote-method="getCouponList"
placeholder="输入优惠券名称搜索"
disabled
:loading="couponLoading"
style="width: 260px"
style="width: 280px"
>
<Option
v-for="item in couponList"
:value="item.id"
:key="item.id"
>{{ item.couponName }}</Option
>
<Option v-for="item in couponList" :value="item.id" :key="item.id">{{
item.couponName
}}</Option>
</Select>
</FormItem>
<FormItem v-if="form.giftFlag" label="赠品" prop="giftId">
@ -118,22 +127,37 @@
:loading="giftLoading"
style="width: 260px"
>
<Option v-for="item in giftList" :value="item.id" :key="item.id">{{
item.goodsName
}}</Option>
<Option
v-for="item in giftList"
:value="item.id"
:key="item.id"
>{{ item.goodsName }}</Option
>
</Select>
</FormItem>
<FormItem v-if="form.pointFlag" label="赠积分" prop="point">
<Input v-model="form.point" type="number" disabled style="width: 260px" />
<Input
v-model="form.point"
type="number"
disabled
style="width: 260px"
/>
</FormItem>
<FormItem label="使用范围" prop="scopeType">
<RadioGroup type="button" button-style="solid" v-model="form.scopeType">
<RadioGroup
type="button"
button-style="solid"
v-model="form.scopeType"
>
<Radio label="ALL" disabled>全品类</Radio>
<Radio label="PORTION_GOODS" disabled>指定商品</Radio>
</RadioGroup>
</FormItem>
<FormItem style="width: 100%" v-if="form.scopeType == 'PORTION_GOODS'">
<FormItem
style="width: 100%"
v-if="form.scopeType == 'PORTION_GOODS'"
>
<Table border :columns="columns" :data="form.promotionGoodsList">
<template slot-scope="{ row }" slot="goodsName">
<div>
@ -165,7 +189,10 @@
</FormItem>
<div>
<Button @click="$router.push({ name: 'promotions/full-discount' })">返回</Button>
<Button
@click="$router.push({ name: 'promotions/full-discount' })"
>返回</Button
>
</div>
</div>
</div>
@ -211,7 +238,10 @@ export default {
key: "price",
minWidth: 40,
render: (h, params) => {
return h("div", this.$options.filters.unitPrice(params.row.price, "¥"));
return h(
"div",
this.$options.filters.unitPrice(params.row.price, "¥")
);
},
},
{
@ -260,6 +290,8 @@ export default {
let params = {
pageSize: 10,
pageNumber: 0,
getType: "ACTIVITY",
storeId: "",
couponName: query,
promotionStatus: "START",
};
@ -276,7 +308,10 @@ export default {
let params = {
pageSize: 10,
pageNumber: 1,
goodsName: query,
id: query === this.form.giftId ? this.form.giftId : null,
goodsName: query === this.form.giftId ? null : query,
marketEnable: "UPPER",
authFlag: "PASS"
};
this.giftLoading = true;
getGoodsSkuData(params).then((res) => {

View File

@ -28,9 +28,14 @@
<!-- MINIO存储-->
<FormItem v-if="formValidate.type==='MINIO'" label="访问地址" prop="m_frontUrl">
<Input v-model="formValidate.m_frontUrl"/>
<span class="desc">配置MINIO nginx前端访问转发地址一般为完整域名例如https://minio.pickmall.cn</span>
</FormItem>
<FormItem v-if="formValidate.type==='MINIO'" label="endpoint" prop="m_endpoint">
<Input v-model="formValidate.m_endpoint"/>
</FormItem>
<FormItem v-if="formValidate.type==='MINIO'" label="accessKey" class="label-item" prop="m_accessKey">
<Input v-model="formValidate.m_accessKey"/>
</FormItem>
@ -40,6 +45,7 @@
<FormItem v-if="formValidate.type==='MINIO'" label="bucketName" prop="accessKeyId">
<Input v-model="formValidate.m_bucketName"/>
</FormItem>
<div class="label-btns">
<Button type="primary" @click="submit('formValidate')"></Button>
@ -66,6 +72,7 @@ export default {
m_accessKey: "",
m_secretKey: "",
m_bucketName: "",
m_frontUrl: ""
},
};
},
@ -126,4 +133,9 @@ export default {
width: 300px;
margin-right: 10px;
}
.desc {
margin-left: 5px;
font-size: 12px;
color: #999;
}
</style>