Commit c1e749a7 authored by 黄媛媛's avatar 黄媛媛

111

parent 67bc466d
......@@ -94,3 +94,6 @@
.center{
text-align:center;
}
.tableCenter td, .tableCenter th{
text-align:center;
}
This diff is collapsed.
<style>
.Fsetting {
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;
}
.Fsetting .mainLeftMenu {
position: relative;
display: flex;
flex-direction: row;
color: #fff;
}
.Fsetting .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;
}
.Fsetting .asideInner {
background: rgba(0, 0, 0, 0.15);
padding: 6px 6px;
width: 100%;
border-radius: 3px;
font-weight: bold;
}
.Fsetting .F_Logo {
height: 60px;
background: #464d54;
color: #f2f2f2;
cursor: pointer;
font-weight: bold;
text-align: center;
padding: 0 15px;
display: flex;
align-items: center;
}
.Fsetting .mainRightContent {
width: 100%;
height: 100%;
background-color: #f3f3f3;
}
.Fsetting .mainRightTop {
width: 100%;
height: 60px;
background: #fff;
display: flex;
justify-content: space-between;
color: #909399;
}
.Fsetting .mainRightLeft {
width: 110px;
height: 60px;
line-height: 62px;
text-align: center;
margin-left: 30px;
cursor: pointer;
position: relative;
top: -2px;
}
.Fsetting .marinRightList {
display: flex;
flex-wrap: wrap;
align-items: center;
width: 300px;
float: right;
}
.Fsetting .marinRightList ul {
display: flex;
width: 100%;
justify-content: space-around;
}
.Fsetting .marinRightList ul li {
display: block;
list-style-type: none;
cursor: pointer;
color: #909399;
outline: none;
border: none;
}
.Fsetting .main_routerPage {
padding: 20px;
overflow-y: scroll;
}
.Fsetting .FsettingUU{
position: fixed;
width: 200px;
height: 100%;
position: fixed;
top: 60px;
left: 0;
overflow: auto;
z-index: 5;
background-color: rgb(84, 92, 100);
}
.Fsetting .FsettingUU .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;
}
.Fsetting .FsettingUU .menu_item i {
margin-right: 5px;
width: 24px;
text-align: center;
font-size: 18px;
vertical-align: middle;
color:#909399;
}
.Fsetting .menu_item:hover{
background-color: rgba(67,74,80);
}
.Fsetting .F_Logo:hover{
background-color: #30353a;
color:#fff;
}
.Fsetting .Fchecked{
color:rgb(255, 208, 75)!important;
}
.Fsetting .Fchecked i{
color:rgb(255, 208, 75)!important;
}
</style>
<template>
<div class="Fsetting">
<div class="mainLeftMenu">
<div class="leftMenu1">
<div class="F_Logo">
<div class="asideInner" @click="CommonJump('zanIndex')">{{currentUser.MallName}}
</div>
</div>
<ul class="FsettingUU">
<li class="menu_item" :class="{'Fchecked':isChecked==1}" @click="isChecked=1,CommonJump('wexinappconfig')">
<i class="el-icon-menu"></i><span>模板管理</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==2}" @click="isChecked=2,CommonJump('wexinappmsg')">
<i class="el-icon-menu"></i><span>模板市场</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==3}" @click="isChecked=3">
<i class="el-icon-menu"></i><span>自定义页面</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==4}" @click="isChecked=4">
<i class="el-icon-menu"></i><span>授权页面</span>
</li>
<li class="menu_item" :class="{'Fchecked':isChecked==5}" @click="isChecked=5">
<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>缓存</li>
<li 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:1,
Height:0
};
},
created() {
this.currentUser = this.getLocalStorage();
},
methods: {
},
mounted() {
this.CommonJump('templateManage');
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
this.Height = document.documentElement.clientHeight - 60
}
}
};
</script>
This diff is collapsed.
......@@ -314,7 +314,7 @@
}
}
return {
//是否线下链接弹窗
//是否显示链接弹窗
isShowLink: false,
mallMsg: {
MallBaseId: 0,
......
<style>
</style>
<template>
<div>
123
<div class="custom_Main">
<div class="custom_mobile_box">
<div class="custom_bg_box">
</div>
</div>
<div class="custom_formBody">
<div class="customShareBtn">
<el-button size="small" type="primary">保存</el-button>
</div>
</div>
</div>
</template>
\ No newline at end of file
</template>
<script>
export default {
data() {
return {
};
},
created() {
},
methods: {
},
mounted() {
}
};
</script>
This diff is collapsed.
This diff is collapsed.
......@@ -121,9 +121,9 @@
prop="name"
label="下级用户">
<template slot-scope="scope">
<p class="blue">一级:{{scope.row.OneNum}}</p>
<p class="blue">二级:{{scope.row.TwoNum}}</p>
<p class="blue">三级:{{scope.row.ThreeNum}}</p>
<p @click="getReferrals(1,scope.row)" class="blue point">一级:{{scope.row.OneNum}}</p>
<p @click="getReferrals(2,scope.row)" class="blue point">二级:{{scope.row.TwoNum}}</p>
<p @click="getReferrals(3,scope.row)" class="blue point">三级:{{scope.row.ThreeNum}}</p>
</template>
</el-table-column>
<el-table-column
......@@ -299,6 +299,38 @@
<el-button size="small" type="primary" @click="adduserForm('adduserMsg')">确 定</el-button>
</span>
</el-dialog>
<!-- 下线情况 -->
<el-dialog
title="下线情况"
:visible.sync="referDig"
width="768px">
<el-table
v-loading="loading1"
:data="tableData1"
border
style="width: 100%">
<el-table-column
prop="ReferralsType"
label="序号">
</el-table-column>
<el-table-column
prop="DistributorName"
label="分销商">
</el-table-column>
<el-table-column
prop="Name"
label="昵称">
</el-table-column>
<el-table-column
prop="CreateDate"
label="成为下线时间">
</el-table-column>
</el-table>
<div style="text-align:right;margin-top:20px">
<el-button size="small" @click="referDig=false">取消</el-button>
<el-button size="small" type="primary" @click="referDig=false">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
......@@ -380,6 +412,13 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
Name:'',
Mobile:'',
},
referMsg:{
UserId:0,
ReferralsType:0,
},
referDig:false,
loading1:false,
tableData1:[],
};
},
created() {
......@@ -392,6 +431,23 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
this.getUserList();
},
methods: {
getReferrals(type,row){
this.referMsg.ReferralsType=type;
this.referMsg.UserId=row.Id;
this.referDig=true;
this.getReferralsList();
},
getReferralsList(){
this.loading1=true;
this.apipost("/api/user/GetDistributorInfoReferralsList", this.referMsg, res => {
this.loading1=false;
if(res.data.resultCode==1){
let pageData=res.data.data.pageData;
this.tableData1=pageData;
}
})
},
// 申请
adduserForm (formName) {
this.$refs[formName].validate((valid) => {
......@@ -440,9 +496,8 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
},
Delete(num,row){
this.addMsg.Type=num;
this.addMsg.UserIds=row.Id;
this.addMsg.UserIds=row.UserId;
let that=this;
console.log("this.addMsg.Type",this.addMsg.Type)
that.Confirm("是否删除?", function () {
that.apipost(
"/api/user/SetDistributorAudit",
......@@ -480,26 +535,27 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
},
CheckAllTable(selection){
selection.forEach(item=>{
this.checktableList.push(item.Id);
this.checktableList.push(item.UserId);
})
},
SingelCheck(selection, row){
this.checktableList.push(row.Id);
this.checktableList.push(row.UserId);
},
openRemark(num,row){
this.addMsg.Type=num;
this.addMsg.UserIds=row.Id;
this.addMsg.UserIds=row.UserId;
this.addMsg.Remark=row.Remark;
this.remarkDig=true;
},
openReason(num,row){
this.addMsg.Type=num;
this.addMsg.UserIds=row.Id;
this.addMsg.UserIds=row.UserId;
this.addMsg.NewGradeId=row.GradeId;
this.reasonDig=true;
},
handleClick(val){
this.msg.AuditStatus=val.$attrs.dataId;
this.getList();
},
SelectId(msg){
this.changeState=false;
......@@ -547,7 +603,6 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
},
Export(){
this.msg.ExcelEnumIds=this.checkedCities;
console.log("this.msg",this.msg)
let msg = JSON.parse(JSON.stringify(this.msg));
this.JavaGetLocalFile(
"/api/user/GetDistributorListToExcel",
......
......@@ -84,12 +84,12 @@
</style>
<template>
<div class="app-style-multi-map">
<template v-if="pictureNum==1">
<template v-if="GoodsImgCount==1">
<div class="goods_one">
<img src="../../assets/img/storeDesign/goods-url.png" alt=""/>
</div>
</template>
<template v-else-if="pictureNum==2">
<template v-else-if="GoodsImgCount==2">
<div flex="dir:left" class="goods-two">
<div class="el-image">
<img class="postimage_inner" src="../../assets/img/storeDesign/goods-url.png" alt=""/>
......@@ -99,7 +99,7 @@
</div>
</div>
</template>
<template v-else-if="pictureNum==3">
<template v-else-if="GoodsImgCount==3">
<div flex="dir:left" class="goods-three">
<div class="el-image">
<img class="postimage_inner" src="../../assets/img/storeDesign/goods-url.png" alt=""/>
......@@ -112,7 +112,7 @@
</div>
</div>
</template>
<template v-else-if="pictureNum==4">
<template v-else-if="GoodsImgCount==4">
<div flex="dir:left" class="goods-four">
<div class="el-image">
<img class="postimage_inner" src="../../assets/img/storeDesign/goods-url.png" alt=""/>
......@@ -128,7 +128,7 @@
</div>
</div>
</template>
<template v-else-if="pictureNum==5">
<template v-else-if="GoodsImgCount==5">
<div flex="dir:left" class="goods-five">
<div class="el-image">
<img class="postimage_inner" src="../../assets/img/storeDesign/goods-url.png" alt=""/>
......@@ -151,7 +151,7 @@
</template>
<script>
export default {
props: ["pictureNum"],
props: ["GoodsImgCount"],
data() {
return {
......
......@@ -42,7 +42,8 @@
var obj = {
PageUrl: "",
IsParameter: 0,
ParameterValue: ""
ParameterValue: "",
PageName:""
};
if (this.dataList && this.dataList.length > 0) {
this.dataList.forEach(item => {
......@@ -52,6 +53,7 @@
obj.PageUrl = subItem.PageUrl;
obj.IsParameter = subItem.IsParameter;
obj.ParameterValue = subItem.ParameterValue;
obj.PageName=subItem.PageName;
}
})
}
......
<style>
.pluginCenter{
padding:20px 0;
}
.plugin_ListTitle{
font-weight: 400;
font-size: 18px;
margin-bottom:24px;
}
.plugin-list{
margin:0 0 0 -20px;
}
.plugin-item {
border: 1px solid #ebebeb;
background: #fff;
padding: 20px;
margin: 0 0 20px 20px;
transition: 250ms;
position: relative;
height: 97px;
}
.plugin-item .display-name {
margin-bottom: 10px;
transition: 250ms;
}
.plugin-item:hover{
border-color: #bfddff;
cursor: pointer;
}
.plugin-item:hover .display-name {
color: #409EFF;
}
</style>
<template>
<div class="pluginCenter">
<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">
<div flex="dir:left box:first" class="plugin-item">
<div style="padding-right: 12px;"><img src="../../assets/img/sallCenter/icon.png" style="width: 50px; height: 50px; display: block;"></div>
<div>
<div class="display-name">微信小程序</div>
<div flex="box:last"><div class="name">wxapp</div>
</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">
<div flex="dir:left box:first" class="plugin-item">
<div style="padding-right: 12px;"><img src="../../assets/img/sallCenter/Diy.png" style="width: 50px; height: 50px; display: block;"></div>
<div>
<div class="display-name">DIY装修</div>
<div flex="box:last"><div class="name">diy</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
currentUser: {},
isChecked:1,
Height:0
};
},
created() {
this.currentUser = this.getLocalStorage();
},
methods: {
//跳转微信小程序
goDiyCenter(){
let routeData = this.$router.resolve({
name: 'Fsetting',
query: {}
});
window.open(routeData.href, "_blank");
}
},
mounted() {
this.Height = document.documentElement.clientHeight - 60;
//监听浏览器窗口变化 
window.onresize = () => {
this.Height = document.documentElement.clientHeight - 60
}
}
};
</script>
<style>
.tpEdit_header {
padding: 18px;
background: #fff;
color: #606266;
margin-bottom: 10px;
}
.tpEdit_Content {
margin-bottom: 10px;
min-width: 1280px;
height: 725px;
}
.all-components {
max-height: 725px;
overflow-y: auto;
background: #fff;
padding: 20px;
}
.all-components .component-group {
border: 1px solid #eeeeee;
width: 300px;
margin-bottom: 20px;
}
.all-components .component-group-name {
height: 35px;
line-height: 35px;
background: #f7f7f7;
padding: 0 20px;
border-bottom: 1px solid #eeeeee;
}
.all-components .component-list {
margin-right: -2px;
margin-top: -2px;
flex-wrap: wrap;
}
.all-components .component-list .component-item {
width: 100px;
height: 100px;
border: 0 solid #eeeeee;
border-width: 0 1px 1px 0;
text-align: center;
padding: 15px 0 0;
cursor: pointer;
}
.component-item:nth-child(3n) {
border-right: 0 !important;
}
.template_right {
padding-left: 2px;
position: relative;
overflow-y: auto;
}
.template_Mobile {
overflow-y: auto;
padding: 0px 25px;
width: 435px;
height: 705px;
margin-left: 6px;
}
.mobile-framework{
width: 375px;
}
.mobile-framework-header {
height: 60px;
line-height: 60px;
background: #333;
color: #fff;
text-align: center;
background: url('../../assets/img/sallCenter/head.png') no-repeat;
}
.mobile-framework-body {
background-color: rgb(245, 247, 249);
min-height: 645px;
border: 1px solid #e2e2e2;
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: left center;
}
</style>
<template>
<div class="templateEdit">
<div class="tpEdit_header">
<span style="color:rgb(64, 158, 255);cursor:pointer;">模板管理</span><span
style="margin:0 9px;color:#C0C4CC">/</span><span>新增</span>
</div>
<div flex="box:first" class="tpEdit_Content">
<div class="all-components">
<el-form label-width="80px">
<el-form-item label="模板名称">
<el-input type="text" size="small"></el-input>
</el-form-item>
<el-form-item label="背景设置">
<el-button size="small">设置</el-button>
</el-form-item>
</el-form>
<div class="component-group" v-for="(item,index) in allComponents" :key="index">
<div class="component-group-name">{{item.GroupName}}</div>
<div flex class="component-list">
<div class="component-item" v-for="(subItem,subIndex) in item.SubList" :key="subIndex">
<img :src="subItem.Icon" alt="" />
<div>{{subItem.Name}}</div>
</div>
</div>
</div>
</div>
<div class="template_right">
<div class="template_Mobile">
<div class="mobile-framework" style="height:705px;">
<div class="mobile-framework-header"></div>
<div class="mobile-framework-body">
<div flex="main:center cross:center"
style="height: 200px; color: rgb(173, 177, 184); text-align: center;">
<div>
<i class="el-icon-folder-opened" style="font-size: 32px; margin-bottom: 10px;"></i>
<div>空空如也</div>
<div>请从左侧组件库添加组件</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
data() {
return {
allComponents:[],
};
},
created() {
},
methods: {
GetPlugInList(){
this.apipost("/api/Tenant/GetPlugInList", {}, res => {
if (res.data.resultCode == 1) {
console.log(res,'ressss');
this.allComponents=res.data.data;
} else {
this.Info(res.data.message);
}
})
}
},
mounted() {
this.GetPlugInList();
}
};
</script>
<style>
.templateManage .template_comheader{
padding: 13px 20px;
border-bottom: 1px solid #EBEEF5;
-webkit-box-sizing: border-box;
box-sizing: border-box;
background: #fff;
}
.templateManage .template_comheader>div{
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: row;
}
.templateManage .temp_content{
margin-top:10px;
background: #fff;
padding:20px;
}
.templateManage .temp_imgStyle{
display:inline-block;
margin-right:10px;
}
</style>
<template>
<div class="templateManage">
<div class="template_comheader">
<div>
<span>模板管理</span>
<el-button type="primary" size="small" @click="CommonJump('templateEdit')">添加模板</el-button>
</div>
</div>
<div class="temp_content">
<el-table :data="tableData" border style="width: 100%">
<el-table-column prop="ID" label="ID"></el-table-column>
<el-table-column prop="name" label="模板名称"></el-table-column>
<el-table-column prop="date" label="创建时间"></el-table-column>
<el-table-column label="操作">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" content="编辑" placement="top" >
<img src="../../assets/img/setup/edit.png" alt="" class="temp_imgStyle" @click="edit(scope.row)">
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top" >
<img src="../../assets/img/setup/del.png" alt="" class="temp_imgStyle" @click="delRow(scope.row)">
</el-tooltip>
</template>
</el-table-column>
</el-table>
</div>
</div>
</template>
<script>
export default {
data() {
return {
tableData: [{
ID: '3542',
name: '微途测试',
date: '2020-04-27 19:20:08',
}]
};
},
created() {
},
methods: {
},
mounted() {
}
};
</script>
......@@ -29,7 +29,7 @@
<div class="query-box">
名称: <el-input type="text" style="width:234px;" size="small" v-model="msg.PageName" clearable
@keyup.enter.native="msg.pageIndex=1,getPageList()"></el-input>
等级<el-select style="width:234px;" size="small" v-model="msg.QPageType">
类型<el-select style="width:234px;" size="small" v-model="msg.QPageType">
<el-option label="全部" :key="0" :value="0"></el-option>
<el-option v-for="item in pageType" :key="item.Id" :value="item.Id" :label="item.Name"></el-option>
</el-select>
......@@ -84,7 +84,7 @@
<el-input type="text" style="width:234px" size="small" maxlength="25" v-model="addMsg.PageName"></el-input>
</el-form-item>
<el-form-item label="菜单连接" prop="MenuUrl">
<el-input type="text" style="width:234px" size="small" maxlength="25" v-model="addMsg.PageUrl"></el-input>
<el-input type="text" style="width:234px" size="small" maxlength="100" v-model="addMsg.PageUrl"></el-input>
</el-form-item>
<el-form-item label="菜单类型">
<el-select style="width:234px;" size="small" v-model="addMsg.PageType">
......
This diff is collapsed.
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