Commit 1a855663 authored by zhengke's avatar zhengke

增加一键发圈页面

parent 0ce34e1c
<template>
<div>123</div>
</template>
\ No newline at end of file
<template>
<div>
456
</div>
</template>
\ No newline at end of file
<style>
.pintuanMain {
height: 100%;
display: flex;
-webkit-box-orient: horizontal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-box-flex: 1;
-ms-flex: 1;
flex: 1;
-ms-flex-preferred-size: auto;
flex-basis: auto;
-webkit-box-sizing: border-box;
box-sizing: border-box;
min-width: 0;
font-size: 14px;
}
.pintuanMain .mainLeftMenu {
position: relative;
display: flex;
flex-direction: row;
color: #fff;
}
.pintuanMain .leftMenu1 {
background: #444444;
cursor: pointer;
width: 200px;
height: 100%;
overflow-y: auto;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.pintuanMain .asideInner {
background: rgba(0, 0, 0, 0.15);
padding: 6px 6px;
width: 100%;
border-radius: 3px;
font-weight: bold;
}
.pintuanMain .F_Logo {
height: 60px;
background: #464d54;
color: #f2f2f2;
cursor: pointer;
font-weight: bold;
text-align: center;
padding: 0 15px;
display: flex;
align-items: center;
}
.pintuanMain .mainRightContent {
width: 100%;
height: 100%;
background-color: #f3f3f3;
}
.pintuanMain .mainRightTop {
width: 100%;
height: 60px;
background: #fff;
display: flex;
justify-content: space-between;
color: #909399;
}
.pintuanMain .mainRightLeft {
width: 110px;
height: 60px;
line-height: 62px;
text-align: center;
margin-left: 30px;
cursor: pointer;
position: relative;
top: -2px;
}
.pintuanMain .marinRightList {
display: flex;
flex-wrap: wrap;
align-items: center;
width: 300px;
float: right;
}
.pintuanMain .marinRightList ul {
display: flex;
width: 100%;
justify-content: space-around;
}
.pintuanMain .marinRightList ul li {
display: block;
list-style-type: none;
cursor: pointer;
color: #909399;
outline: none;
border: none;
}
.pintuanMain .main_routerPage {
padding: 20px;
overflow-y: scroll;
}
.pintuanMain .pintuanSetUU{
position: fixed;
width: 200px;
height: 100%;
position: fixed;
top: 60px;
left: 0;
overflow: auto;
z-index: 5;
background-color: rgb(84, 92, 100);
}
.pintuanMain .pintuanSetUU .menu_item{
font-size: 14px;
color: #303133;
padding: 0 20px;
cursor: pointer;
-webkit-transition: border-color .3s,background-color .3s,color .3s;
transition: border-color .3s,background-color .3s,color .3s;
box-sizing: border-box;
height:56px;
line-height: 56px;
list-style: none;
white-space: nowrap;
color:#fff;
display: flex;
align-items: center;
}
.pintuanMain .pintuanSetUU .menu_item i {
margin-right: 5px;
width: 24px;
text-align: center;
font-size: 18px;
vertical-align: middle;
color:#909399;
}
.pintuanMain .menu_item:hover{
background-color: rgba(67,74,80);
}
.pintuanMain .F_Logo:hover{
background-color: #30353a;
color:#fff;
}
.pintuanMain .Fchecked{
color:rgb(255, 208, 75)!important;
}
.pintuanMain .Fchecked i{
color:rgb(255, 208, 75)!important;
}
</style>
<template>
<div class="pintuanMain">
<div class="mainLeftMenu">
<div class="leftMenu1">
<div class="F_Logo">
<div class="asideInner" @click="CommonJump('mallIndex')">{{currentUser.MallName}}
</div>
</div>
<ul class="pintuanSetUU">
<li class="menu_item" :class="{'Fchecked':isChecked=='/circleFenlei'}" @click="isChecked='/circleFenlei',CommonJump('circleFenlei')">
<i class="el-icon-menu"></i><span>分类</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked=='/circleSend'}" @click="isChecked='/circleSend',CommonJump('circleSend')">
<i class="el-icon-menu"></i><span>一键发圈</span>
</li>
</ul>
</div>
</div>
<div class="mainRightContent">
<div class="mainRightTop">
<div class="mainRightLeft">微信小程序</div>
<div class="marinRightList">
<ul>
<li style="display:none">缓存</li>
<li style="display:none"> title="教程管理">
<el-dropdown trigger="click">
<span class="el-dropdown-link">
教程管理<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>操作教程</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
<li :title="currentUser.MallName">
<el-dropdown trigger="click">
<span class="el-dropdown-link">
{{currentUser.MallName}}<i class="el-icon-arrow-down el-icon--right"></i>
</span>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item disabled>{{currentUser.MallName}}</el-dropdown-item>
<el-dropdown-item disabled>{{currentUser.Account}}({{currentUser.MobilePhone}})</el-dropdown-item>
<el-dropdown-item @click.native="CommonJump('index')">返回系统</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</li>
</ul>
</div>
</div>
<div class="main_routerPage" :style="{height: Height+'px'}">
<router-view />
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
currentUser: {},
isChecked:'',
Height:0
};
},
created() {
this.currentUser = this.getLocalStorage();
this.isChecked=this.$route.path;
if(this.$route.query.FIndex){
this.CommonJump('circleFenlei');
this.isChecked='/circleFenlei'
}
},
methods: {
},
mounted() {
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
this.Height = document.documentElement.clientHeight - 60
}
}
};
</script>
......@@ -10,13 +10,15 @@
}
.plugin-list {
margin: 0 0 0 -20px;
flex-wrap:wrap;
margin-left:-20px;
}
.plugin-item {
border: 1px solid #ebebeb;
background: #fff;
padding: 20px;
width:252px;
margin: 0 0 20px 20px;
transition: 250ms;
position: relative;
......@@ -71,10 +73,8 @@
<div flex="cross:center">
<h3 class="plugin_ListTitle">已安装</h3>
</div>
<div class="plugin-list el-row">
<div class="el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@click="goDiyCenter('Fsetting')">
<div flex="dir:left box:first" class="plugin-item">
<div class="plugin-list" flex="dir:left">
<div flex="dir:left box:first" class="plugin-item" @click="goDiyCenter('Fsetting')">
<div style="padding-right: 12px;"><img src="../../assets/img/sallCenter/icon.png"
style="width: 50px; height: 50px; display: block;"></div>
<div>
......@@ -84,10 +84,7 @@
</div>
</div>
</div>
</div>
<div class="el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@click="goDiyCenter('Ftemplate')">
<div flex="dir:left box:first" class="plugin-item">
<div flex="dir:left box:first" class="plugin-item" @click="goDiyCenter('Ftemplate')">
<div style="padding-right: 12px;"><img src="../../assets/img/sallCenter/Diy.png"
style="width: 50px; height: 50px; display: block;"></div>
<div>
......@@ -97,10 +94,7 @@
</div>
</div>
</div>
</div>
<div class="el-col el-col-24 el-col-xs-24 el-col-sm-12 el-col-md-8 el-col-lg-6 el-col-xl-4"
@click="goDiyCenter('authorize')">
<div flex="dir:left box:first" class="plugin-item">
<div flex="dir:left box:first" class="plugin-item" @click="goDiyCenter('authorize')">
<div style="padding-right: 12px;"><img src="../../assets/img/sallCenter/em.png"
style="width: 50px; height: 50px; display: block;"></div>
<div>
......@@ -110,7 +104,17 @@
</div>
</div>
</div>
</div>
<div flex="dir:left box:first" class="plugin-item" @click="goDiyCenter('FcircleMain')">
<div style="margin-right: 12px;background:rgb(51, 153, 255);height:50px;"><img src="../../assets/img/sallCenter/circle.png"
style="width: 50px; height: 50px; display: block;"></div>
<div>
<div class="display-name">一键发圈</div>
<div flex="box:last">
<div class="name">一键保存,高效发圈</div>
</div>
</div>
</div>
</div>
<div style="display:none">
<div flex="cross:center" style="margin-top:20px;">
......
......@@ -862,6 +862,26 @@ export default new Router({
component: resolve => require(['@/components/pintuan/ActiveDataDetail'], resolve),
}
]
},
//一键发圈
{
path: "/FcircleMain",
name: 'FcircleMain',
component: resolve => require(['@/components/FcircleMain'], resolve),
children: [
//一键发圈=>分类
{
path: '/circleFenlei',
name: 'circleFenlei',
component: resolve => require(['@/components/CircleOfFriend/circleFenlei'], resolve),
},
//一键发圈
{
path: '/circleSend',
name: 'circleSend',
component: resolve => require(['@/components/CircleOfFriend/circleSend'], resolve),
}
]
}
]
......
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