Ver código fonte

提交修改

newStyle
douzhuo 2 anos atrás
pai
commit
be0094ba8f
11 arquivos alterados com 87 adições e 29 exclusões
  1. +1
    -1
      public/index.html
  2. +1
    -1
      src/const/website.js
  3. +1
    -1
      src/page/check/chose.vue
  4. +2
    -2
      src/page/check/index.vue
  5. +2
    -2
      src/page/index/top/index.vue
  6. +1
    -1
      src/page/index/top/top-setting.vue
  7. +15
    -1
      src/router/page/index.js
  8. +0
    -13
      src/router/views/index.js
  9. +9
    -3
      src/views/Template/wrongword.vue
  10. +23
    -1
      src/views/msg/detail.vue
  11. +32
    -3
      src/views/msg/index.vue

+ 1
- 1
public/index.html Ver arquivo

@@ -15,7 +15,7 @@
<link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/avue.css">
<link rel="stylesheet" href="<%= BASE_URL %>cdn/avue/index.css">
<link rel="icon" href="<%= BASE_URL %>icon1.png">
<title>智控管家</title>
<title>AI销讲助手</title>
<style>
.el-message .el-icon-success {
font-size: 18px;


+ 1
- 1
src/const/website.js Ver arquivo

@@ -1,5 +1,5 @@
export default {
title: '智控管家',
title: 'AI销讲助手',
subtitle: '智控',
copyright: 'Copyright © 2021 pig4cloud.com. All rights reserved.',
isFirstPage: true,// 配置首页不可关闭


+ 1
- 1
src/page/check/chose.vue Ver arquivo

@@ -1,7 +1,7 @@
<template>
<div class="box-center">
<div class="head">
<div>智控管家管理系统</div>
<div>AI销讲助手管理系统</div>
<div class="callback" @click="goback" style="cursor: pointer">返回</div>
</div>
<div class="hid">


+ 2
- 2
src/page/check/index.vue Ver arquivo

@@ -1,7 +1,7 @@
<template>
<div class="box-center">
<div class="head">
<div>智控管家管理系统</div>
<div>AI销讲助手管理系统</div>
<div class="callback" @click="goloign" style="cursor: pointer">
{{ backFlag ? "返回" : "退出" }}
</div>
@@ -11,7 +11,7 @@
<!-- 质控后台 -->
<div class="tab" @click="goindex(0)" v-if="tabFlag1">
<div><img src="/img/checktab1.png" alt="" /></div>
<div class="text">智控管家后台</div>
<div class="text">AI销讲助手后台</div>
</div>
<div class="tab" @click="goindex(1)" v-if="tabFlag2">
<div><img src="/img/checktab2.png" alt="" /></div>


+ 2
- 2
src/page/index/top/index.vue Ver arquivo

@@ -88,7 +88,7 @@
</div>
</el-tooltip>
<!-- 暂时注释下一版本开发上线 -->
<!-- <el-popover placement="bottom" width="350" trigger="click">
<el-popover placement="bottom" trigger="hover" width="350">
<el-table :data="gridData" @row-click="msgTap">
<el-table-column
width="324"
@@ -104,7 +104,7 @@
</el-table-column>
</el-table>
<i slot="reference" class="el-icon-bell" style="font-size: 18px;color: #fff;"></i>
</el-popover> -->
</el-popover>

<el-tooltip
v-if="showTheme"


+ 1
- 1
src/page/index/top/top-setting.vue Ver arquivo

@@ -10,7 +10,7 @@
<div class="setting__header">版权信息</div>
<div class="setting__body setting__about">
<!-- <p>Version:PigX 4.0</p> -->
<p>name: 智控管家</p>
<p>name: AI销讲助手</p>
<p>Copyright: 京ICP备2021005217号-1</p>
</div>
<div class="setting__header">设置


+ 15
- 1
src/router/page/index.js Ver arquivo

@@ -133,4 +133,18 @@ export default [{
isTab: false,
isAuth: false
}
}]
},


{
path: '/message',
component: () => import(/* webpackChunkName: "views" */ '@/views/msg/index'),
name: '公告列表',
},

{
path: '/message/detail',
component: () => import(/* webpackChunkName: "views" */ '@/views/msg/detail'),
name: '公告详情',
}
]

+ 0
- 13
src/router/views/index.js Ver arquivo

@@ -30,19 +30,6 @@ export default [{
component: () =>
import(/* webpackChunkName: "page" */ '@/views/Receive/index'),
name: '接待详情',
},


{
path: '/message',
component: () => import(/* webpackChunkName: "views" */ '@/views/msg/index'),
name: '公告列表',
},
{
path: '/message/detail',
component: () => import(/* webpackChunkName: "views" */ '@/views/msg/detail'),
name: '公告详情',
}
]
}, {


+ 9
- 3
src/views/Template/wrongword.vue Ver arquivo

@@ -281,11 +281,17 @@ export default {
};
},
addSure() {
// this.loadingFlag = true;
this.ruleForm.correctWord = this.ruleForm.correctWord.replace(
/[^\w\u4e00-\u9fa5]/g,
""
);
this.ruleForm.wrongWord = this.ruleForm.wrongWord.replace(
/[^\w\u4e00-\u9fa5]/g,
""
);
this.$refs.ruleForm.validate((valid) => {
if (valid) {
// this.loadingFlag = true;
this.ruleForm.correctWord = this.ruleForm.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"");
this.ruleForm.wrongWord = this.ruleForm.wrongWord.replace(/[^\w\u4e00-\u9fa5]/g,"");
// 编辑
if (this.editFlag) {
console.log("编辑");


+ 23
- 1
src/views/msg/detail.vue Ver arquivo

@@ -1,5 +1,15 @@
<template>
<div class="app-container calendar-list-container">
<!-- 顶部导航栏 -->
<div class="avue-layout">
<div class="avue-left">
<!-- 左侧导航栏 -->
<logo />
</div>
</div>
<div class="avue-header">
<top />
</div>
<basic-container>
<template> <div v-html="detail"></div> </template>
</basic-container>
@@ -7,12 +17,24 @@
</template>

<script>
import top from "@/page/index/top/";
import logo from "@/page/index/logo";
export default {
name: "Index",
provide() {
return {
Index: this,
};
},
data() {
return {
detail: '详情内容<br/>文章内容巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉'
detail: "详情内容<br/>文章内容巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉巴拉",
};
},
components: {
top,
logo,
},
};
</script>



+ 32
- 3
src/views/msg/index.vue Ver arquivo

@@ -1,10 +1,26 @@
<template>
<div class="app-container calendar-list-container">
<!-- 顶部导航栏 -->
<div class="avue-layout">
<div class="avue-left">
<!-- 左侧导航栏 -->
<logo />
</div>
</div>
<div class="avue-header">
<top />
</div>

<basic-container>
<template>
<!-- 内容盒子 -->
<div class="table-box">
<el-table :data="tableData" style="width: 100%" :show-header="false" @row-click="toDetail">
<el-table
:data="tableData"
style="width: 100%"
:show-header="false"
@row-click="toDetail"
>
<el-table-column>
<template slot-scope="scope">
<div class="line-box">
@@ -36,9 +52,22 @@
</template>

<script>
import top from "@/page/index/top/";
import logo from "@/page/index/logo";
export default {
components: {
top,
logo,
},
name: 'Index',
provide() {
return {
Index: this
};
},
data() {
return {
currentPage4: 1,
tableData: [
{
date: "2016-05-02",
@@ -83,7 +112,7 @@ export default {
// 跳转详情页面
toDetail(item) {
console.log(item, "123");
this.$router.push('/message/detail')
this.$router.push("/message/detail");
},

handleSizeChange(val) {
@@ -105,7 +134,7 @@ export default {
}

.line-box {
// padding: 0 0 0 10px;
// padding: 0 0 0 10px;
.title {
display: flex;
align-items: center;


Carregando…
Cancelar
Salvar