From ed60ec042e8b4d429e881ef31b4d6332e0da459a Mon Sep 17 00:00:00 2001 From: dai_siki <851733175@qq.com> Date: Mon, 23 Mar 2020 11:26:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8E=E7=AB=AF=E8=81=94=E8=B0=83=E5=BC=80?= =?UTF-8?q?=E5=A7=8B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epmet-oper-web/public/index.html | 6 +- .../scss/modules/wx-mini/index-set.scss | 2 + .../src/components/wx-index/cpt-item.vue | 154 +++++++++++++ .../src/views/modules/wx-mini/index-set.vue | 204 +++--------------- epmet-oper-web/vue.config.js | 2 +- 5 files changed, 192 insertions(+), 176 deletions(-) create mode 100644 epmet-oper-web/src/components/wx-index/cpt-item.vue diff --git a/epmet-oper-web/public/index.html b/epmet-oper-web/public/index.html index 4e072fb..e3e7b15 100644 --- a/epmet-oper-web/public/index.html +++ b/epmet-oper-web/public/index.html @@ -33,15 +33,15 @@ <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> - + <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %> - + <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod') { %> - + <% } %> diff --git a/epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss b/epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss index c4aa5d7..e7f5daa 100644 --- a/epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss +++ b/epmet-oper-web/src/assets/scss/modules/wx-mini/index-set.scss @@ -6,6 +6,8 @@ margin-top: 10px; } .mw-cpt_type { + position: relative; + z-index: 10; padding: 10px; min-height: 250px; border-radius: 4px; diff --git a/epmet-oper-web/src/components/wx-index/cpt-item.vue b/epmet-oper-web/src/components/wx-index/cpt-item.vue new file mode 100644 index 0000000..981eb5f --- /dev/null +++ b/epmet-oper-web/src/components/wx-index/cpt-item.vue @@ -0,0 +1,154 @@ + + + diff --git a/epmet-oper-web/src/views/modules/wx-mini/index-set.vue b/epmet-oper-web/src/views/modules/wx-mini/index-set.vue index 7319a9c..74a6904 100644 --- a/epmet-oper-web/src/views/modules/wx-mini/index-set.vue +++ b/epmet-oper-web/src/views/modules/wx-mini/index-set.vue @@ -72,187 +72,43 @@
({{ getCptRegionName('top') }})
-
-
-
- - - {{ item.demoData.title }} - - - -
-
-
-
- {{ item.componentName }} -
-
-
-
- -

删除

-
-
-
+
({{ getCptRegionName('ban') }})
-
-
-
-
- - -
- {{ item.demoData.title }} - - - - -
-
-
-
-
-
- {{ item.componentName }} -
-
-
-
- -

删除

-
-
-
+
({{ getCptRegionName('fixed') }})
-
-
-
- - - {{ item.demoData.text }} -
-
-
-
- {{ item.componentName }} -
-
-
-
- -

删除

-
-
-
+
({{ getCptRegionName('cnt') }})
-
-
-
-
-
- - -
{{ subitem.title }}
-
- 来源:{{ subitem.author }} - {{ subitem.date }} -
-
-
-
-
-
-
-
-
- - - - - -

{{ subitem.text }}

-
-
-
-
-
-
-
-
-
- - - - {{ subitem.no }} -
-
- - -
-
{{ subitem.title }}
-
- {{ subitem.info1 }} -
-
- {{ subitem.info2 }} - {{ subitem.info3 }} -
-
加入
-
-
-
-
-
-
- {{ item.componentName }} -
-
-
-
- -

上移

-
-
- -

删除

-
-
- -

下移

-
-
-
+
@@ -306,6 +162,7 @@