优化:隐藏优惠券相关内容
This commit is contained in:
parent
1b96cb80ca
commit
e92bf2e2c1
|
|
@ -65,7 +65,7 @@ export default {
|
|||
cname: '优惠券',
|
||||
configName: 'c_home_coupon',
|
||||
icon: 'iconyouhuiquan2',
|
||||
type:1,// 0 基础组件 1 营销组件 2工具组件
|
||||
type: 30,//1,// 0 基础组件 1 营销组件 2工具组件
|
||||
defaultName:'coupon', // 外面匹配名称
|
||||
props: {
|
||||
index: {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<div class="title line2" v-if="titleShow">{{item.store_name}}</div>
|
||||
<div class="text">
|
||||
<div class="label" :style="{background:labelColor}">旗舰店</div>
|
||||
<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>
|
||||
<!--<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>-->
|
||||
<div class="ship">包邮</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
</div>
|
||||
<div class="text">
|
||||
<div class="label" :style="{background:labelColor}">旗舰店</div>
|
||||
<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>
|
||||
<!--<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>-->
|
||||
<div class="ship">包邮</div>
|
||||
</div>
|
||||
<div class="price" :style="{color:fontColor}">
|
||||
|
|
@ -61,7 +61,7 @@
|
|||
</div>
|
||||
<div class="text">
|
||||
<div class="label" :style="{background:labelColor}">旗舰店</div>
|
||||
<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>
|
||||
<!--<div class="coupon" v-if="couponShow" :style="'border:1px solid '+labelColor+';color:'+labelColor">领券</div>-->
|
||||
<div class="ship">包邮</div>
|
||||
</div>
|
||||
<div class="price" :style="{color:fontColor}">
|
||||
|
|
@ -93,7 +93,7 @@
|
|||
</div>
|
||||
<div class="text">
|
||||
<!-- <div class="label" :style="{background:labelColor}">官方旗舰店</div> -->
|
||||
<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" :class="priceShow?'':'on'" v-if="item.couponId && item.couponId.length && couponShow">领券</div>
|
||||
<!--<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" :class="priceShow?'':'on'" v-if="item.couponId && item.couponId.length && couponShow">领券</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -114,7 +114,7 @@
|
|||
</div>
|
||||
<div class="text">
|
||||
<div class="label" :style="{background:labelColor}" v-if="index==0">官方旗舰店</div>
|
||||
<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" v-if="couponShow">领券</div>
|
||||
<!--<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" v-if="couponShow">领券</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -133,7 +133,7 @@
|
|||
</div>
|
||||
<div class="text">
|
||||
<div class="label" :style="{background:labelColor}" v-if="index==0">官方旗舰店</div>
|
||||
<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" v-if="couponShow">领券</div>
|
||||
<!--<div class="coupon" :style="'border:1px solid '+labelColor+';color:'+labelColor" v-if="couponShow">领券</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -146,9 +146,9 @@
|
|||
<div class="item">
|
||||
<div class="cont">活动</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<div class="cont">领券</div>
|
||||
</div>
|
||||
<!--<div class="item">-->
|
||||
<!-- <div class="cont">领券</div>-->
|
||||
<!--</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -228,10 +228,11 @@ import vuedraggable from "vuedraggable";
|
|||
import mPage from "@/components/mobilePage/index.js";
|
||||
import mConfig from "@/components/mobileConfig/index.js";
|
||||
import footPage from "@/components/pagesFoot";
|
||||
import { roterPre } from "@/settings";
|
||||
import {roterPre} from "@/settings";
|
||||
import {mapState} from "vuex";
|
||||
import html2canvas from 'html2canvas';
|
||||
import ClipboardJS from "clipboard";
|
||||
|
||||
let idGlobal = 0;
|
||||
export default {
|
||||
inject: ['reload'],
|
||||
|
|
@ -265,8 +266,8 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
roterPre: roterPre,
|
||||
clientHeight:'',//页面动态高度
|
||||
rollHeight:'',
|
||||
clientHeight: '',//页面动态高度
|
||||
rollHeight: '',
|
||||
leftMenu: [], // 左侧菜单
|
||||
lConfig: [], // 左侧组件
|
||||
mConfig: [], // 中间组件渲染
|
||||
|
|
@ -335,24 +336,24 @@ export default {
|
|||
link: '/pages/order_addcart/order_addcart'
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.$store.commit("mobildConfig/FOOTER",{'title':'是否自定义','name':imgList});
|
||||
this.$store.commit("mobildConfig/FOOTER", {'title': '是否自定义', 'name': imgList});
|
||||
this.arraySort();
|
||||
if (this.pageId != 0) {
|
||||
this.getDefaultConfig();
|
||||
}else {
|
||||
} else {
|
||||
this.showTitle();
|
||||
}
|
||||
this.clientHeight = `${document.documentElement.clientHeight}`-65.81;//获取浏览器可视区域高度
|
||||
let H = `${document.documentElement.clientHeight}`-180;
|
||||
this.rollHeight = H>650?650:H;
|
||||
this.clientHeight = `${document.documentElement.clientHeight}` - 65.81;//获取浏览器可视区域高度
|
||||
let H = `${document.documentElement.clientHeight}` - 180;
|
||||
this.rollHeight = H > 650 ? 650 : H;
|
||||
let that = this;
|
||||
window.onresize = function(){
|
||||
that.clientHeight = `${document.documentElement.clientHeight}`-65.81;
|
||||
let H = `${document.documentElement.clientHeight}`-180;
|
||||
that.rollHeight = H>650?650:H;
|
||||
window.onresize = function () {
|
||||
that.clientHeight = `${document.documentElement.clientHeight}` - 65.81;
|
||||
let H = `${document.documentElement.clientHeight}` - 180;
|
||||
that.rollHeight = H > 650 ? 650 : H;
|
||||
}
|
||||
});
|
||||
this.$nextTick(function() {
|
||||
this.$nextTick(function () {
|
||||
const clipboard = new ClipboardJS('.copy-data');
|
||||
clipboard.on("success", () => {
|
||||
this.$message.success('复制成功');
|
||||
|
|
@ -385,8 +386,8 @@ export default {
|
|||
return true;
|
||||
},
|
||||
// 返回
|
||||
goBack(){
|
||||
this.$router.push({ path: `${roterPre}/devise/diy/list` })
|
||||
goBack() {
|
||||
this.$router.push({path: `${roterPre}/devise/diy/list`})
|
||||
// this.$confirm('退出后新编辑的数据将无法保存,是否继续?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
|
|
@ -502,34 +503,34 @@ export default {
|
|||
return arr;
|
||||
},
|
||||
//点击上下移动;
|
||||
movePage(item,index,type){
|
||||
if(type){
|
||||
if(index == 0){
|
||||
movePage(item, index, type) {
|
||||
if (type) {
|
||||
if (index == 0) {
|
||||
return
|
||||
}
|
||||
}else {
|
||||
if(index == this.mConfig.length-1){
|
||||
} else {
|
||||
if (index == this.mConfig.length - 1) {
|
||||
return
|
||||
}
|
||||
}
|
||||
if (item.name == "search_box" || item.name == "nav_bar") {
|
||||
return this.$message.warning("该组件禁止移动");
|
||||
}
|
||||
if(type){
|
||||
if(this.mConfig[index-1].name == "search_box" || this.mConfig[index-1].name == "nav_bar"){
|
||||
if (type) {
|
||||
if (this.mConfig[index - 1].name == "search_box" || this.mConfig[index - 1].name == "nav_bar") {
|
||||
return this.$message.warning("搜索框或分类必须为顶部");
|
||||
}
|
||||
this.swapArray(this.mConfig, index-1, index);
|
||||
}else {
|
||||
this.swapArray(this.mConfig, index, index+1);
|
||||
this.swapArray(this.mConfig, index - 1, index);
|
||||
} else {
|
||||
this.swapArray(this.mConfig, index, index + 1);
|
||||
}
|
||||
let obj = {};
|
||||
this.rConfig = [];
|
||||
obj.oldIndex = index;
|
||||
if(type){
|
||||
obj.newIndex = index-1;
|
||||
}else {
|
||||
obj.newIndex = index+1;
|
||||
if (type) {
|
||||
obj.newIndex = index - 1;
|
||||
} else {
|
||||
obj.newIndex = index + 1;
|
||||
}
|
||||
this.mConfig.forEach((el, index) => {
|
||||
el.num = new Date().getTime() * 1000 + index;
|
||||
|
|
@ -538,16 +539,16 @@ export default {
|
|||
this.rConfig.push(tempItem);
|
||||
obj.element = item;
|
||||
obj.list = this.mConfig;
|
||||
if(type){
|
||||
this.activeIndex = index-1;
|
||||
}else {
|
||||
this.activeIndex = index+1;
|
||||
if (type) {
|
||||
this.activeIndex = index - 1;
|
||||
} else {
|
||||
this.activeIndex = index + 1;
|
||||
}
|
||||
this.$store.commit("mobildConfig/SETCONFIGNAME", item.name);
|
||||
this.$store.commit("mobildConfig/defaultArraySort", obj);
|
||||
},
|
||||
// 组件添加
|
||||
addDomCon(item,type,index){
|
||||
addDomCon(item, type, index) {
|
||||
if (item.name == "search_box") {
|
||||
if (this.isSearch) return this.$message.error("该组件只能添加一次");
|
||||
this.isSearch = true;
|
||||
|
|
@ -568,9 +569,9 @@ export default {
|
|||
this.mConfig.unshift(tempItem);
|
||||
this.activeIndex = 0;
|
||||
this.rConfig.push(tempItem);
|
||||
}else if (item.name == "nav_bar") { // 动态拖动可上传此部分代码
|
||||
} else if (item.name == "nav_bar") { // 动态拖动可上传此部分代码
|
||||
this.rConfig = [];
|
||||
if (this.mConfig[0]&&this.mConfig[0].name === "search_box") {
|
||||
if (this.mConfig[0] && this.mConfig[0].name === "search_box") {
|
||||
this.mConfig.splice(1, 0, tempItem);
|
||||
this.activeIndex = 1;
|
||||
} else {
|
||||
|
|
@ -578,15 +579,14 @@ export default {
|
|||
this.activeIndex = 0;
|
||||
}
|
||||
this.rConfig.push(tempItem);
|
||||
}
|
||||
else {
|
||||
if(type){
|
||||
} else {
|
||||
if (type) {
|
||||
this.rConfig = [];
|
||||
this.mConfig.push(tempItem);
|
||||
this.activeIndex = this.mConfig.length - 1;
|
||||
this.rConfig.push(tempItem);
|
||||
}else {
|
||||
this.mConfig.splice(index+1, 0, tempItem);
|
||||
} else {
|
||||
this.mConfig.splice(index + 1, 0, tempItem);
|
||||
this.activeIndex = index;
|
||||
}
|
||||
}
|
||||
|
|
@ -602,16 +602,16 @@ export default {
|
|||
//中间页点击添加模块;
|
||||
bindAddDom(item, type, index) {
|
||||
let i = item;
|
||||
this.lConfig.forEach(j=>{
|
||||
if(item.name==j.name){
|
||||
this.lConfig.forEach(j => {
|
||||
if (item.name == j.name) {
|
||||
i = j
|
||||
}
|
||||
});
|
||||
this.addDomCon(i,type,index);
|
||||
this.addDomCon(i, type, index);
|
||||
},
|
||||
//左边配置模块点击添加;
|
||||
addDom(item, type) {
|
||||
this.addDomCon(item,type);
|
||||
this.addDomCon(item, type);
|
||||
},
|
||||
// 点击显示相应的配置
|
||||
bindconfig(item, index) {
|
||||
|
|
@ -631,13 +631,13 @@ export default {
|
|||
}
|
||||
this.mConfig.splice(key, 1);
|
||||
this.rConfig.splice(0, 1);
|
||||
if(this.mConfig.length != key){
|
||||
if (this.mConfig.length != key) {
|
||||
this.rConfig.push(this.mConfig[key]);
|
||||
}else {
|
||||
if(this.mConfig.length){
|
||||
this.activeIndex = key-1;
|
||||
this.rConfig.push(this.mConfig[key-1]);
|
||||
}else {
|
||||
} else {
|
||||
if (this.mConfig.length) {
|
||||
this.activeIndex = key - 1;
|
||||
this.rConfig.push(this.mConfig[key - 1]);
|
||||
} else {
|
||||
this.showTitle()
|
||||
}
|
||||
}
|
||||
|
|
@ -672,6 +672,8 @@ export default {
|
|||
list: [],
|
||||
isOpen: true,
|
||||
};
|
||||
// console.log("配置列表");
|
||||
// console.log(this.lConfig);
|
||||
this.lConfig.map((el, index) => {
|
||||
if (el.type == 0) {
|
||||
basis.list.push(el);
|
||||
|
|
@ -686,17 +688,17 @@ export default {
|
|||
tempArr.push(basis, marketing, tool);
|
||||
this.leftMenu = tempArr;
|
||||
},
|
||||
diySaveDate(val){
|
||||
diySaveDate(val) {
|
||||
diySave(this.pageId, {
|
||||
value: val,
|
||||
title: this.titleTxt,
|
||||
name: this.nameTxt,
|
||||
is_show: this.showTxt?1:0,
|
||||
is_bg_color: this.colorTxt?1:0,
|
||||
is_show: this.showTxt ? 1 : 0,
|
||||
is_bg_color: this.colorTxt ? 1 : 0,
|
||||
color_picker: this.colorPickerTxt,
|
||||
bg_pic: this.picUrlTxt,
|
||||
bg_tab_val: this.tabValTxt,
|
||||
is_bg_pic: this.picTxt?1:0
|
||||
is_bg_pic: this.picTxt ? 1 : 0
|
||||
}).then((res) => {
|
||||
this.loading = false;
|
||||
this.pageId = res.data.id;
|
||||
|
|
@ -736,9 +738,11 @@ export default {
|
|||
this.$store.commit("mobildConfig/radioUpdata", data.info.bg_tab_val || 0);
|
||||
this.$store.commit("mobildConfig/picurlUpdata", data.info.bg_pic || '');
|
||||
let newArr = this.objToArr(data.info.value);
|
||||
|
||||
function sortNumber(a, b) {
|
||||
return a.timestamp - b.timestamp;
|
||||
}
|
||||
|
||||
newArr.sort(sortNumber);
|
||||
newArr.map((el, index) => {
|
||||
if (el.name == "headerSerch") {
|
||||
|
|
@ -747,7 +751,7 @@ export default {
|
|||
if (el.name == "tabNav") {
|
||||
this.isTab = true;
|
||||
}
|
||||
if(el.name == "goodList") {
|
||||
if (el.name == "goodList") {
|
||||
let storage = window.localStorage;
|
||||
storage.setItem(el.timestamp, el.selectConfig.activeValue);
|
||||
}
|
||||
|
|
@ -816,33 +820,40 @@ export default {
|
|||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.product_tabs{
|
||||
.product_tabs {
|
||||
padding: 16px 32px;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #e8eaec;
|
||||
text-align: right;
|
||||
}
|
||||
.ysize {
|
||||
}
|
||||
|
||||
.ysize {
|
||||
background-size: 100%;
|
||||
}
|
||||
.fullsize {
|
||||
}
|
||||
|
||||
.fullsize {
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.repeat {
|
||||
}
|
||||
|
||||
.repeat {
|
||||
background-repeat: repeat;
|
||||
}
|
||||
.noRepeat {
|
||||
}
|
||||
|
||||
.noRepeat {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
/deep/.el-input__inner{
|
||||
}
|
||||
|
||||
/deep/ .el-input__inner {
|
||||
font-size: 13px;
|
||||
}
|
||||
.defaultData{
|
||||
}
|
||||
|
||||
.defaultData {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
left:50%;
|
||||
margin-left:245px;
|
||||
.data{
|
||||
left: 50%;
|
||||
margin-left: 245px;
|
||||
|
||||
.data {
|
||||
margin-top: 20px;
|
||||
color: #282828;
|
||||
background-color: #fff;
|
||||
|
|
@ -853,51 +864,57 @@ export default {
|
|||
border-radius: 3px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.data:hover{
|
||||
|
||||
.data:hover {
|
||||
background-color: #2d8cf0;
|
||||
color: #fff;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
.overflowy{
|
||||
}
|
||||
|
||||
.overflowy {
|
||||
// overflow-y: scroll;
|
||||
.picture{
|
||||
.picture {
|
||||
width: 379px;
|
||||
height: 20px;
|
||||
margin: 0 auto;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
.bnt{
|
||||
width: 80px!important;
|
||||
}
|
||||
/*定义滑块 内阴影+圆角*/
|
||||
::-webkit-scrollbar-thumb{
|
||||
}
|
||||
|
||||
.bnt {
|
||||
width: 80px !important;
|
||||
}
|
||||
|
||||
/*定义滑块 内阴影+圆角*/
|
||||
::-webkit-scrollbar-thumb {
|
||||
-webkit-box-shadow: inset 0 0 6px #fff;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.left:hover::-webkit-scrollbar-thumb,.right-box:hover::-webkit-scrollbar-thumb{
|
||||
.left:hover::-webkit-scrollbar-thumb, .right-box:hover::-webkit-scrollbar-thumb {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.contxt:hover ::-webkit-scrollbar-thumb{
|
||||
.contxt:hover ::-webkit-scrollbar-thumb {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 4px!important; /*对垂直流动条有效*/
|
||||
}
|
||||
.store-home {
|
||||
::-webkit-scrollbar {
|
||||
width: 4px !important; /*对垂直流动条有效*/
|
||||
}
|
||||
|
||||
.store-home {
|
||||
width: 379px;
|
||||
margin: 0 auto;
|
||||
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%),url('../../assets/images/mer_banner.jpg');
|
||||
background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 100%), url('../../assets/images/mer_banner.jpg');
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background-position: left top/750px 200px no-repeat fixed;
|
||||
overflow: hidden;
|
||||
}
|
||||
.header {
|
||||
}
|
||||
|
||||
.header {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
display: flex;
|
||||
|
|
@ -905,6 +922,7 @@ export default {
|
|||
padding-right: 17px;
|
||||
height: 43px;
|
||||
padding-left: 16px;
|
||||
|
||||
.head-menu {
|
||||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
|
|
@ -916,10 +934,12 @@ export default {
|
|||
width: 70px;
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
border-radius: 13px;
|
||||
|
||||
.icon-xiangzuo {
|
||||
font-size: 16px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.iconfont-h5 {
|
||||
-webkit-box-flex: 1;
|
||||
-webkit-flex: 1;
|
||||
|
|
@ -927,11 +947,13 @@ export default {
|
|||
text-align: center;
|
||||
color: #fff;
|
||||
box-sizing: border-box;
|
||||
|
||||
&.icon-xiangzuo {
|
||||
border-right: 1px solid rgba(255,255,255,.3);
|
||||
border-right: 1px solid rgba(255, 255, 255, .3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
|
@ -944,14 +966,16 @@ export default {
|
|||
font-weight: 500;
|
||||
font-size: 13px;
|
||||
color: #999999;
|
||||
|
||||
.iconfont-h5 {
|
||||
margin-right: 6px;
|
||||
margin-left: 15px;
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.store {
|
||||
}
|
||||
|
||||
.store {
|
||||
position: relative;
|
||||
z-index: 6;
|
||||
display: flex;
|
||||
|
|
@ -960,28 +984,34 @@ export default {
|
|||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 11px;
|
||||
|
||||
image {
|
||||
width: 37px;
|
||||
height: 37px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.kefu{
|
||||
|
||||
.kefu {
|
||||
color: #ffffff;
|
||||
margin-right: 13px;
|
||||
cursor: pointer;
|
||||
.icon-kefu3{
|
||||
|
||||
.icon-kefu3 {
|
||||
font-size: 17px;
|
||||
}
|
||||
}
|
||||
|
||||
.text {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
margin-right: 10px;
|
||||
margin-left: 10px;
|
||||
|
||||
div {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
max-width: 100%;
|
||||
|
||||
.name {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
|
|
@ -993,12 +1023,14 @@ export default {
|
|||
line-height: 1;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.iconfont-h5 {
|
||||
margin-left: 5px;
|
||||
font-size: 8px;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
|
||||
.score {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -1007,6 +1039,7 @@ export default {
|
|||
font-size: 12px;
|
||||
line-height: 1;
|
||||
color: #FFFFFF;
|
||||
|
||||
.star {
|
||||
position: relative;
|
||||
width: 56px;
|
||||
|
|
@ -1014,6 +1047,7 @@ export default {
|
|||
margin-right: 5px;
|
||||
background: url(../../assets/images/star_active.png) left top/100% 100% no-repeat;
|
||||
overflow: hidden;
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
|
@ -1024,6 +1058,7 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
@ -1035,16 +1070,19 @@ export default {
|
|||
font-weight: 500;
|
||||
font-size: 11px;
|
||||
color: #FFFFFF;
|
||||
|
||||
.iconfont {
|
||||
margin-right: 6rpx;
|
||||
font-size: 22rpx;
|
||||
margin-right: 6 rpx;
|
||||
font-size: 22 rpx;
|
||||
}
|
||||
|
||||
&.gary {
|
||||
background-color: #999;
|
||||
}
|
||||
}
|
||||
}
|
||||
.font-bg-red {
|
||||
}
|
||||
|
||||
.font-bg-red {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
font-size: 11px;
|
||||
|
|
@ -1055,19 +1093,23 @@ export default {
|
|||
margin-right: 4px;
|
||||
background-color: #E93323;
|
||||
border: 1px solid #E93323;
|
||||
}
|
||||
.nav {
|
||||
}
|
||||
|
||||
.nav {
|
||||
position: relative;
|
||||
|
||||
.nav-cont {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 42px;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
|
||||
.cont {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
|
@ -1078,16 +1120,20 @@ export default {
|
|||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
color: #FFFFFF;
|
||||
|
||||
.arrow-icon {
|
||||
margin-left: 5px;
|
||||
font-size: 9px;
|
||||
}
|
||||
|
||||
.layout-icon {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.icon-pailie {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 8px;
|
||||
height: 10px;
|
||||
|
|
@ -1095,6 +1141,7 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
.cont {
|
||||
background-color: #FFFFFF;
|
||||
|
|
@ -1103,14 +1150,16 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
width: 379px;
|
||||
margin: 0 auto;
|
||||
height: 50px;
|
||||
background-color: #FFFFFF;
|
||||
opacity: 0.96;
|
||||
|
||||
.item {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
|
|
@ -1120,66 +1169,73 @@ export default {
|
|||
font-weight: 500;
|
||||
font-size: 10px;
|
||||
color: #282828;
|
||||
|
||||
.iconfont-h5 {
|
||||
font-size: 22px;
|
||||
}
|
||||
.icon-zhuanti{
|
||||
|
||||
.icon-zhuanti {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
.active {
|
||||
color: #E93323;
|
||||
}
|
||||
}
|
||||
.scrollCon{
|
||||
}
|
||||
|
||||
.scrollCon {
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-box .position{
|
||||
display: block!important;
|
||||
.scroll-box .position {
|
||||
display: block !important;
|
||||
height: 40px;
|
||||
text-align: center;
|
||||
line-height: 40px;
|
||||
border: 1px dashed #437FFD;
|
||||
color: #437FFD;
|
||||
background-color: #edf4fb;
|
||||
}
|
||||
}
|
||||
|
||||
.scroll-box .conter{
|
||||
display: none!important;
|
||||
}
|
||||
.scroll-box .conter {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.dragClass {
|
||||
.dragClass {
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
.ivu-mt {
|
||||
.ivu-mt {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
}
|
||||
|
||||
.iconfont-diy {
|
||||
.iconfont-diy {
|
||||
font-size: 24px;
|
||||
color: #437FFD;
|
||||
}
|
||||
}
|
||||
|
||||
.diy-wrapper {
|
||||
.diy-wrapper {
|
||||
max-width: 100%;
|
||||
min-width: 1100px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
.left {
|
||||
min-width: 300px;
|
||||
max-width: 300px;
|
||||
border-radius: 4px;
|
||||
height: 100%;
|
||||
|
||||
.title-bar {
|
||||
display: flex;
|
||||
color: #333;
|
||||
border-bottom: 1px solid #eee;
|
||||
border-radius: 4px;
|
||||
cursor: pointer;
|
||||
|
||||
.title-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -1252,6 +1308,7 @@ export default {
|
|||
margin-top: 5px;
|
||||
color: #999;
|
||||
align-items: center;
|
||||
|
||||
p {
|
||||
flex: 1;
|
||||
word-break: break-all;
|
||||
|
|
@ -1314,13 +1371,16 @@ export default {
|
|||
border: 2px dashed #437FFD;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
&:hover, &.on {
|
||||
.delete-box {
|
||||
/*display: block;*/
|
||||
}
|
||||
}
|
||||
|
||||
&.on {
|
||||
cursor: move;
|
||||
|
||||
.delete-box {
|
||||
display: block;
|
||||
border: 2px solid #437FFD;
|
||||
|
|
@ -1328,10 +1388,12 @@ export default {
|
|||
}
|
||||
}
|
||||
}
|
||||
.picture{
|
||||
|
||||
.picture {
|
||||
width: 379px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.page-title {
|
||||
position: relative;
|
||||
height: 35px;
|
||||
|
|
@ -1343,6 +1405,7 @@ export default {
|
|||
width: 379px;
|
||||
overflow: hidden;
|
||||
margin: 0 auto;
|
||||
|
||||
.delete-box {
|
||||
display: none;
|
||||
position: absolute;
|
||||
|
|
@ -1381,6 +1444,7 @@ export default {
|
|||
|
||||
&.on {
|
||||
cursor: move;
|
||||
|
||||
.delete-box {
|
||||
display: block;
|
||||
border: 2px solid #437FFD;
|
||||
|
|
@ -1416,7 +1480,7 @@ export default {
|
|||
border: 2px dashed #437FFD;
|
||||
/*padding: 10px 0;*/
|
||||
|
||||
.handleType{
|
||||
.handleType {
|
||||
position: absolute;
|
||||
right: -43px;
|
||||
top: 0;
|
||||
|
|
@ -1432,14 +1496,17 @@ export default {
|
|||
|
||||
.iconfont {
|
||||
padding: 5px 0;
|
||||
&.on{
|
||||
|
||||
&.on {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.on {
|
||||
cursor: move;
|
||||
|
||||
.delete-box {
|
||||
display: block;
|
||||
border: 2px solid #437FFD;
|
||||
|
|
@ -1483,9 +1550,9 @@ export default {
|
|||
::-webkit-scrollbar-thumb {
|
||||
background-color: #bfc1c4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.foot-box {
|
||||
.foot-box {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
|
@ -1503,17 +1570,18 @@ export default {
|
|||
margin-right: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .ivu-scroll-loader {
|
||||
/deep/ .ivu-scroll-loader {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .el-card {
|
||||
/deep/ .el-card {
|
||||
bordr: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
/deep/ .el-card__body{
|
||||
}
|
||||
|
||||
/deep/ .el-card__body {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue