qj-common 4.3.0 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/.babelrc +12 -12
  2. package/.eslintrc.js +25 -25
  3. package/.idea/common.iml +11 -11
  4. package/.idea/modules.xml +7 -7
  5. package/.idea/vcs.xml +5 -5
  6. package/.postcssrc.js +9 -9
  7. package/.prettierrc.js +7 -7
  8. package/.project +37 -37
  9. package/README.md +2 -2
  10. package/gulpfile.js +20 -20
  11. package/package.json +18 -18
  12. package/src/api/apimanage.js +146 -146
  13. package/src/api/common/index.js +192 -192
  14. package/src/api/login.js +160 -160
  15. package/src/api/shopFbu.js +515 -515
  16. package/src/api/upload.js +8 -8
  17. package/src/components/Bounced/index.vue +145 -145
  18. package/src/components/Breadcrumb/index.vue +71 -71
  19. package/src/components/Checkbox/index.vue +53 -53
  20. package/src/components/Hamburger/index.vue +48 -48
  21. package/src/components/Logistics/logic.vue +186 -186
  22. package/src/components/ScrollBar/index.vue +60 -60
  23. package/src/components/Sticky/index.vue +76 -76
  24. package/src/components/SvgIcon/index.vue +42 -42
  25. package/src/components/ThemePicker/index.vue +243 -243
  26. package/src/components/Tinymce/components/editorImage.vue +94 -94
  27. package/src/components/Tinymce/index.vue +166 -166
  28. package/src/components/Tinymce/plugins.js +7 -7
  29. package/src/components/Tinymce/toolbar.js +6 -6
  30. package/src/components/TreeTable/customEval.js +44 -44
  31. package/src/components/TreeTable/eval.js +29 -29
  32. package/src/components/TreeTable/index.vue +124 -124
  33. package/src/components/TreeTable/readme.md +89 -89
  34. package/src/components/TreeTableApi/customEval.js +49 -49
  35. package/src/components/TreeTableApi/eval.js +29 -29
  36. package/src/components/TreeTableApi/index.vue +124 -124
  37. package/src/components/TreeTableApi/readme.md +89 -89
  38. package/src/components/Upload/singleImage.vue +123 -123
  39. package/src/components/Upload/singleImage2.vue +118 -118
  40. package/src/components/Upload/singleImage3.vue +138 -138
  41. package/src/components/Upload/upload.vue +295 -295
  42. package/src/components/workOrderList/index.vue +158 -158
  43. package/src/dependencies.js +119 -119
  44. package/src/iconShop/demo.css +539 -539
  45. package/src/iconShop/demo_index.html +8445 -8445
  46. package/src/iconShop/iconfont.css +1451 -1451
  47. package/src/iconShop/iconfont.json +2522 -2522
  48. package/src/iconShop/iconfont.svg +1070 -1070
  49. package/src/iconfont/demo.css +539 -539
  50. package/src/iconfont/demo_index.html +5276 -5276
  51. package/src/iconfont/iconfont.css +905 -905
  52. package/src/iconfont/iconfont.json +1563 -1563
  53. package/src/iconfont/iconfont.svg +692 -692
  54. package/src/icons/index.js +9 -9
  55. package/src/lang/e.js +48 -48
  56. package/src/lang/en.js +48 -48
  57. package/src/lang/zh.js +48 -48
  58. package/src/main.js +62 -62
  59. package/src/permission.js +283 -283
  60. package/src/permissionForMall.backup.js +375 -375
  61. package/src/permissionForMall.js +375 -375
  62. package/src/preset.js +67 -67
  63. package/src/router/_import_common.js +1 -1
  64. package/src/router/_import_development.js +1 -1
  65. package/src/router/_import_production.js +1 -1
  66. package/src/store/getters.js +39 -39
  67. package/src/store/index.js +18 -18
  68. package/src/store/modules/app.js +34 -30
  69. package/src/store/modules/menu.js +82 -82
  70. package/src/store/modules/user.js +227 -227
  71. package/src/styles/element-ui.scss +1368 -1368
  72. package/src/styles/index.scss +166 -166
  73. package/src/styles/mixin.scss +27 -27
  74. package/src/styles/pc-ui.scss +1031 -1031
  75. package/src/styles/scrollBar.scss +21 -21
  76. package/src/styles/sidebar.scss +123 -123
  77. package/src/styles/transition.scss +32 -32
  78. package/src/styles/variables.scss +44 -44
  79. package/src/styles/wf-ui.scss +86 -86
  80. package/src/utils/auth.js +57 -57
  81. package/src/utils/dom.js +12 -12
  82. package/src/utils/getQueryString.js +5 -5
  83. package/src/utils/import.js +5 -5
  84. package/src/utils/index.js +355 -355
  85. package/src/utils/interceptor.js +34 -34
  86. package/src/utils/menu.js +116 -116
  87. package/src/utils/proapp.js +35 -35
  88. package/src/utils/query.js +26 -26
  89. package/src/utils/request.js +366 -366
  90. package/src/utils/routeMapping.js +39 -39
  91. package/src/utils/routeMapping.json +310 -310
  92. package/src/utils/utils.js +84 -84
  93. package/src/utils/validate.js +102 -102
  94. package/src/views/404.vue +72 -72
  95. package/src/views/Layout.vue +106 -106
  96. package/src/views/imgSwiper/index.vue +34 -34
  97. package/src/views/layout/Layout.vue +181 -170
  98. package/src/views/layout/components/AppMain.vue +20 -20
  99. package/src/views/layout/components/Footer.vue +22 -22
  100. package/src/views/layout/components/LeftNavbar.vue +318 -310
  101. package/src/views/layout/components/NavMenu.vue +15 -15
  102. package/src/views/layout/components/Navbar.vue +664 -661
  103. package/src/views/layout/components/Sidebar/SidebarItem.vue +116 -113
  104. package/src/views/layout/components/Sidebar/index.vue +203 -193
  105. package/src/views/layout/components/index.js +19 -19
  106. package/src/views/layout/theme/darkBlue/Layout.vue +140 -140
  107. package/src/views/layout/theme/darkBlue/components/AppMain.vue +38 -38
  108. package/src/views/layout/theme/darkBlue/components/Footer.vue +147 -147
  109. package/src/views/layout/theme/darkBlue/components/LeftNavbar(/345/261/225/347/244/272/345/205/250/351/203/250/350/217/234/345/215/225).vue +448 -448
  110. package/src/views/layout/theme/darkBlue/components/LeftNavbar.3.vue +191 -191
  111. package/src/views/layout/theme/darkBlue/components/LeftNavbar.vue +466 -466
  112. package/src/views/layout/theme/darkBlue/components/Navbar.vue +200 -200
  113. package/src/views/layout/theme/darkBlue/components/Sidebar/SidebarItem.vue +71 -71
  114. package/src/views/layout/theme/darkBlue/components/Sidebar/index.vue +49 -49
  115. package/src/views/layout/theme/darkBlue/components/index.js +15 -15
  116. package/src/views/layout-default/Layout.vue +134 -134
  117. package/src/views/layout-default/components/AppMain.vue +19 -19
  118. package/src/views/layout-default/components/Footer.vue +22 -22
  119. package/src/views/layout-default/components/LeftNavbar.vue +164 -164
  120. package/src/views/layout-default/components/Navbar.vue +295 -295
  121. package/src/views/layout-default/components/Sidebar/SidebarItem.vue +67 -67
  122. package/src/views/layout-default/components/Sidebar/index.vue +59 -59
  123. package/src/views/layout-default/components/index.js +4 -4
  124. package/src/views/layout-default/theme/darkBlue/Layout.vue +140 -140
  125. package/src/views/layout-default/theme/darkBlue/components/AppMain.vue +38 -38
  126. package/src/views/layout-default/theme/darkBlue/components/Footer.vue +147 -147
  127. package/src/views/layout-default/theme/darkBlue/components/LeftNavbar.vue +465 -465
  128. package/src/views/layout-default/theme/darkBlue/components/Navbar.vue +200 -200
  129. package/src/views/layout-default/theme/darkBlue/components/Sidebar/SidebarItem.vue +69 -69
  130. package/src/views/layout-default/theme/darkBlue/components/Sidebar/index.vue +49 -49
  131. package/src/views/layout-default/theme/darkBlue/components/index.js +15 -15
  132. package/src/views/pc/Internationalization.vue +80 -80
  133. package/src/views/pc/default/Layout.vue +442 -442
  134. package/src/views/pc/default/LayoutCard.vue +424 -424
  135. package/src/views/pc/default/assets/flex.scss +99 -99
  136. package/src/views/pc/default/footer-modules/DgFooter/index.vue +179 -179
  137. package/src/views/pc/default/footer-modules/DgFooter/indexSDX.vue +187 -187
  138. package/src/views/pc/default/footer-modules/footer.vue +171 -171
  139. package/src/views/pc/default/footer-modules/footerAns.vue +167 -167
  140. package/src/views/pc/default/footer-modules/footerBulk.vue +169 -169
  141. package/src/views/pc/default/footer-modules/footerDM.vue +254 -254
  142. package/src/views/pc/default/footer-modules/footerDefault.vue +267 -267
  143. package/src/views/pc/default/footer-modules/footerDefaultA.vue +270 -270
  144. package/src/views/pc/default/footer-modules/footerDefaultNew.vue +201 -201
  145. package/src/views/pc/default/footer-modules/footerHDB.vue +153 -153
  146. package/src/views/pc/default/footer-modules/footerHy.vue +63 -63
  147. package/src/views/pc/default/footer-modules/footerKYW.vue +163 -163
  148. package/src/views/pc/default/footer-modules/footerMh.vue +30 -30
  149. package/src/views/pc/default/footer-modules/footerNew.vue +116 -116
  150. package/src/views/pc/default/footer-modules/footer_yzj.vue +169 -169
  151. package/src/views/pc/default/footer-modules/footerayd.vue +85 -85
  152. package/src/views/pc/default/footer-modules/ymFooter.vue +154 -154
  153. package/src/views/pc/default/footer-modules/zgl.vue +250 -250
  154. package/src/views/pc/default/header-modules/DgHeader/Logo.vue +57 -57
  155. package/src/views/pc/default/header-modules/DgHeader/Search.vue +135 -135
  156. package/src/views/pc/default/header-modules/DgHeader/Settleup.vue +46 -46
  157. package/src/views/pc/default/header-modules/DgHeader/index.vue +38 -38
  158. package/src/views/pc/default/header-modules/active.vue +177 -177
  159. package/src/views/pc/default/header-modules/header.vue +97 -97
  160. package/src/views/pc/default/header-modules/headerA.vue +142 -142
  161. package/src/views/pc/default/header-modules/headerFLPT.vue +157 -157
  162. package/src/views/pc/default/header-modules/headerMh.vue +187 -187
  163. package/src/views/pc/default/header-modules/headerNew.vue +121 -121
  164. package/src/views/pc/default/header-modules/headerSDX.vue +304 -304
  165. package/src/views/pc/default/header-modules/headerStyle2.vue +173 -173
  166. package/src/views/pc/default/header-modules/headerStyle3.vue +190 -190
  167. package/src/views/pc/default/header-modules/headerStyle4.vue +163 -163
  168. package/src/views/pc/default/header-modules/headerStyleAns.vue +400 -400
  169. package/src/views/pc/default/header-modules/headerStyleBulk.vue +427 -427
  170. package/src/views/pc/default/header-modules/headerStyleDefalut.vue +209 -209
  171. package/src/views/pc/default/header-modules/headerStyleKYW.vue +435 -435
  172. package/src/views/pc/default/header-modules/headerStyle_yzj.vue +427 -427
  173. package/src/views/pc/default/header-modules/headerayd.vue +187 -187
  174. package/src/views/pc/default/header-modules/index.vue +466 -466
  175. package/src/views/pc/default/header-modules/ymHeader.vue +292 -292
  176. package/src/views/pc/default/header-modules/ysHeader.vue +248 -248
  177. package/src/views/pc/default/header-modules/zgl.vue +855 -855
  178. package/src/views/pc/default/leftMenu-modules/leftMenu-logo.vue +194 -194
  179. package/src/views/pc/default/leftMenu-modules/leftMenu-style2.vue +206 -206
  180. package/src/views/pc/default/leftMenu-modules/leftMenu-style3.vue +207 -207
  181. package/src/views/pc/default/leftMenu-modules/leftMenu-style4.vue +192 -192
  182. package/src/views/pc/default/leftMenu-modules/leftMenu.vue +183 -183
  183. package/src/views/pc/default/leftMenu-modules/leftMenuDefault.vue +212 -212
  184. package/src/views/pc/default/leftMenu-modules/leftMenuDefaultEn.vue +214 -214
  185. package/src/views/pc/default/leftMenu-modules/leftMenuDefaultFLPT.vue +220 -220
  186. package/src/views/pc/default/leftMenu-modules/leftMenuDefaultayd.vue +220 -220
  187. package/src/views/pc/default/nav-modules/nav.vue +52 -52
  188. package/src/views/pc/default/nav-modules/navAns.vue +60 -60
  189. package/src/views/pc/default/nav-modules/navBulk.vue +60 -60
  190. package/src/views/pc/default/top-modules/DgTopShortcut/index.vue +177 -177
  191. package/src/views/pc/default/top-modules/Toplg.vue +280 -280
  192. package/src/views/pc/default/top-modules/topA.vue +136 -136
  193. package/src/views/pc/default/top-modules/topAns.vue +261 -261
  194. package/src/views/pc/default/top-modules/topAns_yzj.vue +282 -282
  195. package/src/views/pc/default/top-modules/topBar.vue +304 -304
  196. package/src/views/pc/default/top-modules/topBulk.vue +280 -280
  197. package/src/views/pc/default/top-modules/topDefault.vue +244 -244
  198. package/src/views/pc/default/top-modules/topDefaultDM.vue +197 -197
  199. package/src/views/pc/default/top-modules/topDefaultNew.vue +271 -271
  200. package/src/views/pc/default/top-modules/topFLPT.vue +197 -197
  201. package/src/views/pc/default/top-modules/topHDB.vue +479 -479
  202. package/src/views/pc/default/top-modules/topKYW.vue +258 -258
  203. package/src/views/pc/default/top-modules/topMh.vue +174 -174
  204. package/src/views/pc/default/top-modules/topNew.vue +97 -97
  205. package/src/views/pc/default/top-modules/topSDX.vue +298 -298
  206. package/src/views/pc/default/top-modules/topSimple.vue +247 -247
  207. package/src/views/pc/default/top-modules/topSimpleHy.vue +256 -256
  208. package/src/views/pc/default/top-modules/topUcc.vue +264 -264
  209. package/src/views/pc/default/top-modules/topayd.vue +170 -170
  210. package/src/views/pc/default/top-modules/ymTop.vue +299 -299
  211. package/src/views/pc/default/top-modules/zgltop.vue +499 -499
  212. package/src/views/routerView.vue +9 -9
  213. package/src/views/templates/components/temp-select.vue +80 -80
  214. package/src/views/templates/components/temp-upload.vue +233 -233
  215. package/src/views/templates/readme.md +2 -2
  216. package/src/views/templates/templateInput.vue +421 -421
  217. package/src/views/templates/templateReadme.html +588 -588
  218. package/src/views/templates/templateReadme.md +619 -619
  219. package/src/views/templates/templateTable.vue +2243 -2243
  220. package/src/views/templates/templateTableData.vue +1883 -1883
  221. package/src/views/templates/templateUi/templateTableContent.vue +187 -187
  222. package/src/views/treeTemplate/index.vue +559 -559
  223. package/src/views/treeTemplate/treeTemplate.md +274 -274
  224. package/src/views/uploadDialog/index copy.vue +352 -352
  225. package/src/views/uploadDialog/index.vue +558 -558
  226. package/src/views/uploadDialog/indexOlay.vue +582 -582
  227. package/src/views/uploadDialog/indexPM.vue +578 -578
  228. package/src/views/uploadDialog/indexUpload.vue +543 -543
  229. package/src/views/uploadDialog/readme.md +45 -45
@@ -1,855 +1,855 @@
1
- <template>
2
- <div id="zgltopbox" class="common-top common-theme bg-white">
3
- <div class="Helmet">
4
- <div class="Helmet_p auto">
5
- <div class="Helmet_e">
6
- <a href="/" class="Helme_img">
7
- <img :src="proappEnvLogo && proappEnvLogo.proappEnvLogo" alt />
8
- </a>
9
- </div>
10
- <div class="Helmet_w">
11
- <div class="Helmet_t">
12
- <div class="Helmet_input">
13
- <i class="iconfont icon-sousuo pad-l10"></i>
14
- <input @keyup.enter="search" @keyup.13="search" v-model="searchValue" type="text" placeholder="BWFRP电力管" />
15
- <div class="secrbtn">
16
- <el-button slot="append" @click.native="search" @keyup.13="search">搜索</el-button>
17
- </div>
18
- </div>
19
- </div>
20
- </div>
21
- <a class="Helmet_s" @click="tocar">
22
- <i></i>
23
- <div class="Helmet_ico ucc-car">
24
- <div class="Helmet_i">
25
- <i class="iconfont icon-gouwuche3"></i>
26
- <span v-if="isLogin&&total&&total>0"></span>
27
- </div>
28
- </div>
29
- <!-- <i class="ico_car" id="ico_car" style="display: none">1</i> -->
30
- <span class="mcar">我的购物车</span>
31
- </a>
32
- </div>
33
- </div>
34
- <div class="toplead">
35
- <div class="topleadbox">
36
- <div @click="tohome" class="topleadboxli">
37
- <span :class="{activechecked:false}">首页</span>
38
- <!--<div style="display:none" class="d3"></div>-->
39
- </div>
40
- <div @click="torm" id="rm" :class="{topleadboxli:true, active:classlist[1].flag}">
41
- <span :class="{ activechecked:classlist[1].flag}">热门产品</span>
42
- <span class="rhot"><img :src="hotp" alt /></span>
43
- <!--<div v-if="classlist[0].flag" class="d3"></div>-->
44
- </div>
45
- <!--<div @click="toal" id="al" :class="{topleadboxli:true, active:classlist[1].flag}">-->
46
- <!--<span :class="{topleadboxli:true, activechecked:classlist[0].flag}">行业案例</span>-->
47
- <!--<div v-if="classlist[1].flag" class="d3"></div>-->
48
- <!--</div>-->
49
- <div @click="tocj" id="cj" :class="{topleadboxli:true, active:classlist[2].flag}">
50
- <span :class="{activechecked:classlist[2].flag}">应用场景</span>
51
- <!--<div v-if="classlist[2].flag" class="d3"></div>-->
52
- </div>
53
- <div @click="tosd" id="sd" :class="{topleadboxli:true, active:classlist[3].flag}">
54
- <span :class="{activechecked:classlist[3].flag}">新闻视点</span>
55
- <!--<div v-if="classlist[3].flag" class="d3"></div>-->
56
- </div>
57
- <div @click="contentgo" id="lx" :class="{topleadboxli:true, active:classlist[4].flag}">
58
- <span :class="{ activechecked:classlist[4].flag}">联系我们</span>
59
- <!--<div v-if="classlist[3].flag" class="d3"></div>-->
60
- </div>
61
- </div>
62
- </div>
63
- </div>
64
- </template>
65
-
66
- <script>
67
- import VNav from "../nav-modules/nav";
68
- import hot from "#/assets/nav_lab.png";
69
- import { getToken, removeToken } from "#/utils/auth";
70
- import API from "#/api/common/index.js";
71
- export default {
72
- components: {
73
- VNav
74
- },
75
- data() {
76
- return {
77
- hotp: hot,
78
- total: 0,
79
- logins: null,
80
- hrefs: '',
81
- classlist: [{
82
- flag: false
83
- },
84
- {
85
- flag: false
86
- },
87
- {
88
- flag: false
89
- },
90
- {
91
- flag: false
92
- },
93
- {
94
- flag: false
95
- }
96
- ],
97
- tabchose: "",
98
- logo: require("../assets/logo_ucc.png"),
99
- keywords: "",
100
- navChildren: null,
101
- searchValue: this.$route.query.searchParam ?
102
- this.$route.query.searchParam : "",
103
- menuList: JSON.parse(window.sessionStorage.getItem("menuList")) ?
104
- JSON.parse(window.sessionStorage.getItem("menuList")).menuList : []
105
- };
106
- },
107
- created() {
108
- localStorage.getItem("searchParam") ?
109
- (this.searchValue = localStorage.getItem("searchParam")) :
110
- "";
111
- },
112
- mounted() {
113
- // console.log(this.$route.query.tabchose);
114
-
115
- //对nav导航进行操作
116
-
117
- this.menuList.forEach(el => {
118
- if(el.menuDefaultClass === "nav") {
119
- //表示是导航
120
- this.navChildren = el.children;
121
- }
122
- });
123
- // this.gettabchose()
124
- // this.tabchose = localStorage.getItem("tabchose")
125
- if(this.getQueryVariable("tabchose") == "rm") {
126
- this.classlist = [{
127
- flag: false
128
- },
129
- {
130
- flag: false
131
- },
132
- {
133
- flag: false
134
- },
135
- {
136
- flag: false
137
- },
138
- {
139
- flag: false
140
- }
141
- ];
142
- this.$set(this.classlist[1], "flag", true);
143
- console.log(this.classlist,"热门")
144
- } else if(this.getQueryVariable("tabchose") == "lx") {
145
- this.classlist = [{
146
- flag: false
147
- },
148
- {
149
- flag: false
150
- },
151
- {
152
- flag: false
153
- },
154
- {
155
- flag: false
156
- },
157
- {
158
- flag: false
159
- }
160
- ];
161
- this.$set(this.classlist[4], "flag", true);
162
- } else if(this.getQueryVariable("tabchose") == "cj") {
163
- this.classlist = [{
164
- flag: false
165
- },
166
- {
167
- flag: false
168
- },
169
- {
170
- flag: false
171
- },
172
- {
173
- flag: false
174
- },
175
- {
176
- flag: false
177
- }
178
- ];
179
- this.$set(this.classlist[2], "flag", true);
180
- } else if(this.getQueryVariable("tabchose") == "sd") {
181
- this.classlist = [{
182
- flag: false
183
- },
184
- {
185
- flag: false
186
- },
187
- {
188
- flag: false
189
- },
190
- {
191
- flag: false
192
- },
193
- {
194
- flag: false
195
- }
196
- ];
197
- this.$set(this.classlist[3], "flag", true);
198
- }
199
- this.hrefs = window.location.href.indexOf('pc-mall');
200
- },
201
- computed: {
202
- proappEnvLogo() {
203
- let proappEnvLogo = sessionStorage.getItem("proappEnvLayout") ?
204
- JSON.parse(sessionStorage.getItem("proappEnvLayout")) :
205
- null;
206
- return proappEnvLogo;
207
- },
208
- searchValue() {
209
- return this.$route.query.searchParam ? this.$route.query.searchParam : "";
210
- },
211
- carName() {
212
- return sessionStorage.getItem("carName") ?
213
- sessionStorage.getItem("carName") :
214
- "购物车";
215
- },
216
- isLogin() {
217
- this.logins = this.getUserCookie() ? getToken(this.getUserCookie()) : false;
218
- return this.getUserCookie() ? getToken(this.getUserCookie()) : false;
219
- },
220
- },
221
- watch: {
222
- logins(newVal, oldVal) {
223
- if(newVal) {
224
- this.getCarNum()
225
- }
226
- },
227
- $route: {
228
- handler: function(val, oldVal) {
229
- if(val && this.logins) {
230
- console.log('来了')
231
- this.getCarNum()
232
- }
233
- },
234
- deep: true
235
- }
236
- },
237
- methods: {
238
- tocar() {
239
- location.href = "/paas/pc-mall/index.html#/car";
240
- },
241
- getCarNum() {
242
- API.shoppingList().then(res => {
243
- this.total = res && res.total
244
- })
245
- },
246
- getQueryVariable(variable) {
247
- // debugger
248
- var query = window.location.hash.substring(1).split("?") ? window.location.hash.substring(1).split("?")[1] : [];
249
- var vars = query ? query.split("&") : [];
250
- for(var i = 0; i < vars.length; i++) {
251
- var pair = vars[i].split("=");
252
- if(pair[0] == variable) {
253
- return pair[1];
254
- }
255
- }
256
- return false;
257
- },
258
- gettabchose() {
259
- this.tabchose = this.$route.query.tabchose;
260
- },
261
-
262
- search() {
263
- console.log(this.searchValue, "this.searchValue");
264
- localStorage.removeItem("searchParam");
265
- location.href =
266
- "/paas/pc-mall/index.html#/searchResult?searchParam=" +
267
- this.searchValue;
268
- },
269
- tohome() {
270
- location.href =
271
- "/paas/shop/2020021100000063/029/indexpc/indexpc/indexpc.html";
272
- },
273
- torm() {
274
- // localStorage.setItem('tabchose',)
275
- // this.classlist[0] = true
276
- this.classlist = [{
277
- flag: false
278
- },
279
- {
280
- flag: false
281
- },
282
- {
283
- flag: false
284
- },
285
- {
286
- flag: false
287
- },
288
- {
289
- flag: false
290
- }
291
- ];
292
- this.$set(this.classlist[1], "flag", true);
293
- console.log(this.classlist);
294
- //
295
- if(this.hrefs > 0) {
296
- this.$router.push({
297
- path: "/hotProductPipeline",
298
- query: {
299
- tabchose: "rm"
300
- }
301
- });
302
- } else {
303
- location.href = "/paas/pc-mall/index.html#/hotProductPipeline?tabchose=rm";
304
- }
305
- },
306
- contentgo() {
307
- this.classlist = [{
308
- flag: false
309
- },
310
- {
311
- flag: false
312
- },
313
- {
314
- flag: false
315
- },
316
- {
317
- flag: false
318
- },
319
- {
320
- flag: false
321
- }
322
- ];
323
- this.$set(this.classlist[4], "flag", true);
324
- if(this.hrefs > 0) {
325
- this.$router.push({
326
- path: "/helpindex",
327
- query: {
328
- parindex: "2",
329
- childindex: "1",
330
- pcode: "lianxi",
331
- styletype: "styledocDetails",
332
- title: "联系我们"
333
- }
334
- });
335
- } else {
336
- location.href = "/paas/pc-mall/index.html#/helpindex?parindex=2&childindex=1&pcode=lianxi&styletype=styledocDetails&title=联系我们";
337
- }
338
- },
339
- tocj() {
340
- this.classlist = [{
341
- flag: false
342
- },
343
- {
344
- flag: false
345
- },
346
- {
347
- flag: false
348
- },
349
- {
350
- flag: false
351
- },
352
- {
353
- flag: false
354
- }
355
- ];
356
- this.$set(this.classlist[2], "flag", true);
357
- if(this.hrefs > 0) {
358
- this.$router.push({
359
- path: "/scenario",
360
- query: {
361
- tabchose: "cj"
362
- }
363
- });
364
- } else {
365
- location.href = "/paas/pc-mall/index.html#/scenario?tabchose=cj";
366
- }
367
- // location.href = "/paas/pc-mall/index.html#?tabchose=cj";
368
- },
369
- tosd() {
370
- this.classlist = [{
371
- flag: false
372
- },
373
- {
374
- flag: false
375
- },
376
- {
377
- flag: false
378
- },
379
- {
380
- flag: false
381
- },
382
- {
383
- flag: false
384
- }
385
- ];
386
- this.$set(this.classlist[3], "flag", true);
387
- if(this.hrefs > 0) {
388
- this.$router.push({
389
- path: "/industryPerspective",
390
- query: {
391
- tabchose: "sd"
392
- }
393
- });
394
- } else {
395
- location.href = "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
396
- }
397
- // location.href =
398
- // "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
399
- },
400
- content() {
401
- this.classlist = [{
402
- flag: false
403
- },
404
- {
405
- flag: false
406
- },
407
- {
408
- flag: false
409
- },
410
- {
411
- flag: false
412
- },
413
- {
414
- flag: false
415
- }
416
- ];
417
- this.$set(this.classlist[4], "flag", true);
418
- if(this.hrefs > 0) {
419
- // this.$router.push({
420
- // path: "/industryPerspective",
421
- // query: {
422
- // tabchose: "sd"
423
- // }
424
- // });
425
- } else {
426
- // location.href = "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
427
- }
428
- // location.href =
429
- // "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
430
- },
431
- getUserCookie() {
432
- let cookie = document.cookie;
433
- let start = cookie.indexOf("saas-user-");
434
- if(start > -1) {
435
- let end = cookie.indexOf("=", start);
436
- return cookie.substring(start, end);
437
- } else {
438
- return null;
439
- }
440
- }
441
- }
442
- };
443
- </script>
444
- <style lang="scss" scope>
445
- .auto {
446
- margin: 0 auto;
447
- width: 1200px;
448
- }
449
-
450
- .pad-l10 {
451
- padding-left: 10px;
452
- }
453
-
454
- .icon-search-color {
455
- color: #343434;
456
- }
457
-
458
- .common-top .search-box .el-input .el-input__inner {
459
- border-color: #f2f2f2 !important;
460
- }
461
-
462
- .common-top .el-input-group__append,
463
- .common-top .el-input-group__prepend {
464
- border-color: #f2f2f2 !important;
465
- }
466
-
467
- .common-top {
468
- .el-input__icon {
469
- line-height: 20px !important;
470
- }
471
- .search-box-input {
472
- font-size: 12px;
473
- }
474
- .el-button {
475
- width: 40px;
476
- }
477
- .el-input .el-input__inner {
478
- /*border-radius: 32px 0 0 32px !important;*/
479
- width: 130px !important;
480
- height: 33px !important;
481
- }
482
- .search-box .el-input .el-input__inner {
483
- border-right: none !important;
484
- }
485
- .el-input-group__append,
486
- .el-input-group__prepend {
487
- background: #1cac43 ;
488
- border-left: none !important;
489
- color: #343434 !important;
490
- /*border-radius: 0 32px 32px 0 !important;*/
491
- border: none !important;
492
- span {
493
- font-size: 18px;
494
- font-weight: bold;
495
- i {
496
- color: #ffffff !important;
497
- }
498
- }
499
- }
500
- .el-input-group--append .el-input__inner,
501
- .el-input-group--prepend .el-input__inner,
502
- .el-input-group__append {
503
- border-radius: 0;
504
- }
505
- }
506
-
507
- .common-top .el-input-group__append,
508
- .common-top .el-input-group__prepend {
509
- background: #1cac43 ;
510
- }
511
-
512
- .default-nav {
513
- li {
514
- margin-right: 72px !important;
515
- a {
516
- font-weight: normal;
517
- font-size: 16px;
518
- }
519
- }
520
- }
521
- </style>
522
-
523
- <style rel="stylesheet/scss" lang="scss" scoped>
524
- #zgltopbox {
525
- height: 173px;
526
- #zgltop {
527
- height: 125px;
528
- }
529
- }
530
-
531
- .icon-UCC-PC-sousuo {
532
- font-size: 12px;
533
- }
534
-
535
- .left {
536
- float: left;
537
- }
538
-
539
- .right {
540
- float: right;
541
- }
542
-
543
- .nav {
544
- line-height: 120px;
545
- max-width: 768px;
546
- height: 120px;
547
- width: auto;
548
- }
549
-
550
- .common-top {
551
- width: 100%;
552
- min-width: 1200px;
553
- /*border-bottom: 1px solid #f5f5f5;*/
554
- box-shadow: 0px 0px 6px rgba(153, 153, 153, 0.2);
555
- .header-box {
556
- height: inherit;
557
- }
558
- margin: 0 auto;
559
- height: 126px;
560
- line-height: 126px;
561
- // border-bottom: 1px solid #f5f5f5;
562
- .logo-img {
563
- width: 240px;
564
- height: 120px;
565
- overflow: hidden;
566
- img {
567
- width: inherit;
568
- height: inherit;
569
- }
570
- }
571
- .search-box {
572
- .search-history {
573
- height: 30px;
574
- line-height: 30px;
575
- float: left;
576
- font-size: 13px;
577
- color: #999;
578
- i {
579
- margin: 0 5px;
580
- }
581
- }
582
- }
583
- .right {
584
- .car-box {
585
- position: relative;
586
- // width: 160px;
587
- height: 30px;
588
- border: 1px solid #e0e0e0;
589
- // border-radius: 5px;
590
- line-height: 30px;
591
- text-align: center;
592
- display: block;
593
- float: left;
594
- padding: 0 20px;
595
- margin: 50px 0 0 100px;
596
- .car-num {
597
- position: absolute;
598
- color: #fff;
599
- width: 32px;
600
- height: 32px;
601
- text-align: center;
602
- line-height: 32px;
603
- border-radius: 50%;
604
- background: #ff9e01;
605
- right: -16px;
606
- top: -16px;
607
- }
608
- }
609
- }
610
- }
611
-
612
- .toplead {
613
- .topleadbox {
614
- width: 870px;
615
- height: 50px;
616
- /*background-color: #1cac43;*/
617
- text-align: center;
618
- color: #333333;
619
- margin: 0 auto;
620
- .topleadboxli {
621
- cursor: pointer;
622
- display: block;
623
- float: left;
624
- width: 172px;
625
- line-height: 50px;
626
- font-weight: 100;
627
- position: relative;
628
- font-size: 16px;
629
- font-family: Microsoft YaHei;
630
- font-weight: 400;
631
- color: #333333;
632
- a {
633
- color: white !important;
634
- }
635
- .activechecked {
636
- display: inline-block;
637
- color: #48B1E0;
638
- padding: 0 6px;
639
- border-bottom: 2px solid #48B1E0;
640
- height: 48px;
641
- }
642
- .d3 {
643
- position: absolute;
644
- top: 76%;
645
- left: 47%;
646
- width: 0;
647
- height: 0;
648
- border-bottom: 5px solid white;
649
- border-right: 5px solid transparent;
650
- border-left: 5px solid transparent;
651
- }
652
- }
653
- .active {
654
- font-weight: 800;
655
- }
656
- }
657
- .lhot {
658
- margin-right: 4px;
659
- }
660
- .rhot {
661
- position: absolute;
662
- top: -3px;
663
- right: 29px;
664
- img {
665
- width: 18px;
666
- height: 23px;
667
- }
668
- }
669
- }
670
-
671
- .Helmet {
672
- background: white;
673
- .Helmet_p {
674
- position: relative;
675
- height: 123px;
676
- box-sizing: border-box;
677
- display: -webkit-flex;
678
- display: flex;
679
- .Helmet_e {
680
- margin: 18px 86px 27px 0;
681
- /*margin: 18px 100px 27px 0;*/
682
- width: 171px;
683
- height: 78px;
684
- .Helme_img {
685
- display: block;
686
- width: 171px;
687
- height: 78px;
688
- /*background: pink;*/
689
- img {
690
- vertical-align: top;
691
- width: 100%;
692
- height: 100%;
693
- }
694
- }
695
- }
696
- .Helmet_w {
697
- margin-top: 38px;
698
- width: 553px;
699
- margin-right: 127px;
700
- .Helmet_t {
701
- width: 553px;
702
- height: 38px;
703
- .Helmet_input {
704
- position: relative;
705
- height: 38px;
706
- line-height: 34px;
707
- background: white;
708
- border: 2px solid #48B1E0;
709
- box-sizing: border-box;
710
- -webkit-transition: all .3s;
711
- transition: all .3s;
712
- font-weight: 800;
713
- >i {
714
- vertical-align: top;
715
- color: #48B1E0;
716
- font-size: 8px;
717
- }
718
- .secrbtn {
719
- cursor: pointer;
720
- display: inline-block;
721
- width: 60px;
722
- height: 34px;
723
- background: #48B1E0;
724
- text-align: center;
725
- font-size: 14px;
726
- font-weight: Regular;
727
- color: #fff;
728
- border: 1px solid #48B1E0;
729
- box-sizing: border-box;
730
- position: relative;
731
- right: -1px;
732
- float: right;
733
- line-height: 36px;
734
- }
735
- button {
736
- border-color: #48B1E0;
737
- background: #48B1E0;
738
- color: #ffffff;
739
- font-size: 14px !important;
740
- display: block;
741
- width: 100%;
742
- height: 100%;
743
- }
744
- >input::-webkit-input-placeholder {
745
- /* placeholder颜色 */
746
- color: #989898;
747
- /* placeholder字体大小 */
748
- font-size: 14px;
749
- }
750
- >input {
751
- width: 340px;
752
- color: #333333;
753
- font-size: 14px;
754
- font: 400 14px Arial;
755
- }
756
- .Helmet_seek {
757
- cursor: pointer;
758
- display: inline-block;
759
- width: 60px;
760
- height: 36px;
761
- background: #48B1E0;
762
- text-align: center;
763
- font-size: 22px;
764
- font-weight: Regular;
765
- color: white;
766
- border: 1px solid #48B1E0;
767
- box-sizing: border-box;
768
- position: relative;
769
- right: -1px;
770
- float: right;
771
- line-height: 45px;
772
- }
773
- }
774
- }
775
- }
776
- .Helmet_s {
777
- cursor: pointer;
778
- margin-top: 34px;
779
- width: 153px;
780
- height: 38px;
781
- border: 2px solid #48B1E0;
782
- .Helmet_ico {
783
- vertical-align: top;
784
- display: inline-block;
785
- position: relative;
786
- height: 28px;
787
- line-height: 28px;
788
- background: #fff;
789
- font-size: 25px;
790
- font-weight: 400;
791
- color: #000;
792
- text-align: center;
793
- padding: 0 14px 0 17px;
794
- margin-left: 1px;
795
- margin-top: 1px;
796
- .Helmet_i {
797
- /*padding: 0 14px 0 17px;
798
- position: relative;
799
- margin-top: 1px;
800
- margin-left: 1px;*/
801
- position: relative;
802
- display: inline;
803
- >i {
804
- font-size: 18px !important;
805
- vertical-align: middle;
806
- color: #48B1E0;
807
- }
808
- span {
809
- position: absolute;
810
- top: 6px;
811
- left: 20px;
812
- height: 10px;
813
- width: 10px;
814
- border-radius: 50%;
815
- background-color: #48B1E0;
816
- }
817
- }
818
- }
819
- .mcar {
820
- color: #48B1E0;
821
- display: inline-block;
822
- height: 36px;
823
- line-height: 37px;
824
- text-align: top;
825
- vertical-align: top;
826
- font-size: 14px;
827
- font-family: Microsoft YaHei;
828
- font-weight: 400;
829
- }
830
- .ico_car {
831
- width: 32px;
832
- height: 32px;
833
- line-height: 31px;
834
- font-style: normal;
835
- display: none;
836
- background: #ff9e01;
837
- border-radius: 50%;
838
- text-align: center;
839
- top: 18%;
840
- right: 6.5%;
841
- position: absolute;
842
- font-size: 18px;
843
- font-weight: 400;
844
- color: rgba(255, 255, 255, 1);
845
- }
846
- }
847
- .Helmet_V {
848
- display: none;
849
- position: absolute;
850
- right: 0%;
851
- top: 1%;
852
- }
853
- }
854
- }
855
- </style>
1
+ <template>
2
+ <div id="zgltopbox" class="common-top common-theme bg-white">
3
+ <div class="Helmet">
4
+ <div class="Helmet_p auto">
5
+ <div class="Helmet_e">
6
+ <a href="/" class="Helme_img">
7
+ <img :src="proappEnvLogo && proappEnvLogo.proappEnvLogo" alt />
8
+ </a>
9
+ </div>
10
+ <div class="Helmet_w">
11
+ <div class="Helmet_t">
12
+ <div class="Helmet_input">
13
+ <i class="iconfont icon-sousuo pad-l10"></i>
14
+ <input @keyup.enter="search" @keyup.13="search" v-model="searchValue" type="text" placeholder="BWFRP电力管" />
15
+ <div class="secrbtn">
16
+ <el-button slot="append" @click.native="search" @keyup.13="search">搜索</el-button>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+ <a class="Helmet_s" @click="tocar">
22
+ <i></i>
23
+ <div class="Helmet_ico ucc-car">
24
+ <div class="Helmet_i">
25
+ <i class="iconfont icon-gouwuche3"></i>
26
+ <span v-if="isLogin&&total&&total>0"></span>
27
+ </div>
28
+ </div>
29
+ <!-- <i class="ico_car" id="ico_car" style="display: none">1</i> -->
30
+ <span class="mcar">我的购物车</span>
31
+ </a>
32
+ </div>
33
+ </div>
34
+ <div class="toplead">
35
+ <div class="topleadbox">
36
+ <div @click="tohome" class="topleadboxli">
37
+ <span :class="{activechecked:false}">首页</span>
38
+ <!--<div style="display:none" class="d3"></div>-->
39
+ </div>
40
+ <div @click="torm" id="rm" :class="{topleadboxli:true, active:classlist[1].flag}">
41
+ <span :class="{ activechecked:classlist[1].flag}">热门产品</span>
42
+ <span class="rhot"><img :src="hotp" alt /></span>
43
+ <!--<div v-if="classlist[0].flag" class="d3"></div>-->
44
+ </div>
45
+ <!--<div @click="toal" id="al" :class="{topleadboxli:true, active:classlist[1].flag}">-->
46
+ <!--<span :class="{topleadboxli:true, activechecked:classlist[0].flag}">行业案例</span>-->
47
+ <!--<div v-if="classlist[1].flag" class="d3"></div>-->
48
+ <!--</div>-->
49
+ <div @click="tocj" id="cj" :class="{topleadboxli:true, active:classlist[2].flag}">
50
+ <span :class="{activechecked:classlist[2].flag}">应用场景</span>
51
+ <!--<div v-if="classlist[2].flag" class="d3"></div>-->
52
+ </div>
53
+ <div @click="tosd" id="sd" :class="{topleadboxli:true, active:classlist[3].flag}">
54
+ <span :class="{activechecked:classlist[3].flag}">新闻视点</span>
55
+ <!--<div v-if="classlist[3].flag" class="d3"></div>-->
56
+ </div>
57
+ <div @click="contentgo" id="lx" :class="{topleadboxli:true, active:classlist[4].flag}">
58
+ <span :class="{ activechecked:classlist[4].flag}">联系我们</span>
59
+ <!--<div v-if="classlist[3].flag" class="d3"></div>-->
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </div>
64
+ </template>
65
+
66
+ <script>
67
+ import VNav from "../nav-modules/nav";
68
+ import hot from "#/assets/nav_lab.png";
69
+ import { getToken, removeToken } from "#/utils/auth";
70
+ import API from "#/api/common/index.js";
71
+ export default {
72
+ components: {
73
+ VNav
74
+ },
75
+ data() {
76
+ return {
77
+ hotp: hot,
78
+ total: 0,
79
+ logins: null,
80
+ hrefs: '',
81
+ classlist: [{
82
+ flag: false
83
+ },
84
+ {
85
+ flag: false
86
+ },
87
+ {
88
+ flag: false
89
+ },
90
+ {
91
+ flag: false
92
+ },
93
+ {
94
+ flag: false
95
+ }
96
+ ],
97
+ tabchose: "",
98
+ logo: require("../assets/logo_ucc.png"),
99
+ keywords: "",
100
+ navChildren: null,
101
+ searchValue: this.$route.query.searchParam ?
102
+ this.$route.query.searchParam : "",
103
+ menuList: JSON.parse(window.sessionStorage.getItem("menuList")) ?
104
+ JSON.parse(window.sessionStorage.getItem("menuList")).menuList : []
105
+ };
106
+ },
107
+ created() {
108
+ localStorage.getItem("searchParam") ?
109
+ (this.searchValue = localStorage.getItem("searchParam")) :
110
+ "";
111
+ },
112
+ mounted() {
113
+ // console.log(this.$route.query.tabchose);
114
+
115
+ //对nav导航进行操作
116
+
117
+ this.menuList.forEach(el => {
118
+ if(el.menuDefaultClass === "nav") {
119
+ //表示是导航
120
+ this.navChildren = el.children;
121
+ }
122
+ });
123
+ // this.gettabchose()
124
+ // this.tabchose = localStorage.getItem("tabchose")
125
+ if(this.getQueryVariable("tabchose") == "rm") {
126
+ this.classlist = [{
127
+ flag: false
128
+ },
129
+ {
130
+ flag: false
131
+ },
132
+ {
133
+ flag: false
134
+ },
135
+ {
136
+ flag: false
137
+ },
138
+ {
139
+ flag: false
140
+ }
141
+ ];
142
+ this.$set(this.classlist[1], "flag", true);
143
+ console.log(this.classlist,"热门")
144
+ } else if(this.getQueryVariable("tabchose") == "lx") {
145
+ this.classlist = [{
146
+ flag: false
147
+ },
148
+ {
149
+ flag: false
150
+ },
151
+ {
152
+ flag: false
153
+ },
154
+ {
155
+ flag: false
156
+ },
157
+ {
158
+ flag: false
159
+ }
160
+ ];
161
+ this.$set(this.classlist[4], "flag", true);
162
+ } else if(this.getQueryVariable("tabchose") == "cj") {
163
+ this.classlist = [{
164
+ flag: false
165
+ },
166
+ {
167
+ flag: false
168
+ },
169
+ {
170
+ flag: false
171
+ },
172
+ {
173
+ flag: false
174
+ },
175
+ {
176
+ flag: false
177
+ }
178
+ ];
179
+ this.$set(this.classlist[2], "flag", true);
180
+ } else if(this.getQueryVariable("tabchose") == "sd") {
181
+ this.classlist = [{
182
+ flag: false
183
+ },
184
+ {
185
+ flag: false
186
+ },
187
+ {
188
+ flag: false
189
+ },
190
+ {
191
+ flag: false
192
+ },
193
+ {
194
+ flag: false
195
+ }
196
+ ];
197
+ this.$set(this.classlist[3], "flag", true);
198
+ }
199
+ this.hrefs = window.location.href.indexOf('pc-mall');
200
+ },
201
+ computed: {
202
+ proappEnvLogo() {
203
+ let proappEnvLogo = sessionStorage.getItem("proappEnvLayout") ?
204
+ JSON.parse(sessionStorage.getItem("proappEnvLayout")) :
205
+ null;
206
+ return proappEnvLogo;
207
+ },
208
+ searchValue() {
209
+ return this.$route.query.searchParam ? this.$route.query.searchParam : "";
210
+ },
211
+ carName() {
212
+ return sessionStorage.getItem("carName") ?
213
+ sessionStorage.getItem("carName") :
214
+ "购物车";
215
+ },
216
+ isLogin() {
217
+ this.logins = this.getUserCookie() ? getToken(this.getUserCookie()) : false;
218
+ return this.getUserCookie() ? getToken(this.getUserCookie()) : false;
219
+ },
220
+ },
221
+ watch: {
222
+ logins(newVal, oldVal) {
223
+ if(newVal) {
224
+ this.getCarNum()
225
+ }
226
+ },
227
+ $route: {
228
+ handler: function(val, oldVal) {
229
+ if(val && this.logins) {
230
+ console.log('来了')
231
+ this.getCarNum()
232
+ }
233
+ },
234
+ deep: true
235
+ }
236
+ },
237
+ methods: {
238
+ tocar() {
239
+ location.href = "/paas/pc-mall/index.html#/car";
240
+ },
241
+ getCarNum() {
242
+ API.shoppingList().then(res => {
243
+ this.total = res && res.total
244
+ })
245
+ },
246
+ getQueryVariable(variable) {
247
+ // debugger
248
+ var query = window.location.hash.substring(1).split("?") ? window.location.hash.substring(1).split("?")[1] : [];
249
+ var vars = query ? query.split("&") : [];
250
+ for(var i = 0; i < vars.length; i++) {
251
+ var pair = vars[i].split("=");
252
+ if(pair[0] == variable) {
253
+ return pair[1];
254
+ }
255
+ }
256
+ return false;
257
+ },
258
+ gettabchose() {
259
+ this.tabchose = this.$route.query.tabchose;
260
+ },
261
+
262
+ search() {
263
+ console.log(this.searchValue, "this.searchValue");
264
+ localStorage.removeItem("searchParam");
265
+ location.href =
266
+ "/paas/pc-mall/index.html#/searchResult?searchParam=" +
267
+ this.searchValue;
268
+ },
269
+ tohome() {
270
+ location.href =
271
+ "/paas/shop/2020021100000063/029/indexpc/indexpc/indexpc.html";
272
+ },
273
+ torm() {
274
+ // localStorage.setItem('tabchose',)
275
+ // this.classlist[0] = true
276
+ this.classlist = [{
277
+ flag: false
278
+ },
279
+ {
280
+ flag: false
281
+ },
282
+ {
283
+ flag: false
284
+ },
285
+ {
286
+ flag: false
287
+ },
288
+ {
289
+ flag: false
290
+ }
291
+ ];
292
+ this.$set(this.classlist[1], "flag", true);
293
+ console.log(this.classlist);
294
+ //
295
+ if(this.hrefs > 0) {
296
+ this.$router.push({
297
+ path: "/hotProductPipeline",
298
+ query: {
299
+ tabchose: "rm"
300
+ }
301
+ });
302
+ } else {
303
+ location.href = "/paas/pc-mall/index.html#/hotProductPipeline?tabchose=rm";
304
+ }
305
+ },
306
+ contentgo() {
307
+ this.classlist = [{
308
+ flag: false
309
+ },
310
+ {
311
+ flag: false
312
+ },
313
+ {
314
+ flag: false
315
+ },
316
+ {
317
+ flag: false
318
+ },
319
+ {
320
+ flag: false
321
+ }
322
+ ];
323
+ this.$set(this.classlist[4], "flag", true);
324
+ if(this.hrefs > 0) {
325
+ this.$router.push({
326
+ path: "/helpindex",
327
+ query: {
328
+ parindex: "2",
329
+ childindex: "1",
330
+ pcode: "lianxi",
331
+ styletype: "styledocDetails",
332
+ title: "联系我们"
333
+ }
334
+ });
335
+ } else {
336
+ location.href = "/paas/pc-mall/index.html#/helpindex?parindex=2&childindex=1&pcode=lianxi&styletype=styledocDetails&title=联系我们";
337
+ }
338
+ },
339
+ tocj() {
340
+ this.classlist = [{
341
+ flag: false
342
+ },
343
+ {
344
+ flag: false
345
+ },
346
+ {
347
+ flag: false
348
+ },
349
+ {
350
+ flag: false
351
+ },
352
+ {
353
+ flag: false
354
+ }
355
+ ];
356
+ this.$set(this.classlist[2], "flag", true);
357
+ if(this.hrefs > 0) {
358
+ this.$router.push({
359
+ path: "/scenario",
360
+ query: {
361
+ tabchose: "cj"
362
+ }
363
+ });
364
+ } else {
365
+ location.href = "/paas/pc-mall/index.html#/scenario?tabchose=cj";
366
+ }
367
+ // location.href = "/paas/pc-mall/index.html#?tabchose=cj";
368
+ },
369
+ tosd() {
370
+ this.classlist = [{
371
+ flag: false
372
+ },
373
+ {
374
+ flag: false
375
+ },
376
+ {
377
+ flag: false
378
+ },
379
+ {
380
+ flag: false
381
+ },
382
+ {
383
+ flag: false
384
+ }
385
+ ];
386
+ this.$set(this.classlist[3], "flag", true);
387
+ if(this.hrefs > 0) {
388
+ this.$router.push({
389
+ path: "/industryPerspective",
390
+ query: {
391
+ tabchose: "sd"
392
+ }
393
+ });
394
+ } else {
395
+ location.href = "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
396
+ }
397
+ // location.href =
398
+ // "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
399
+ },
400
+ content() {
401
+ this.classlist = [{
402
+ flag: false
403
+ },
404
+ {
405
+ flag: false
406
+ },
407
+ {
408
+ flag: false
409
+ },
410
+ {
411
+ flag: false
412
+ },
413
+ {
414
+ flag: false
415
+ }
416
+ ];
417
+ this.$set(this.classlist[4], "flag", true);
418
+ if(this.hrefs > 0) {
419
+ // this.$router.push({
420
+ // path: "/industryPerspective",
421
+ // query: {
422
+ // tabchose: "sd"
423
+ // }
424
+ // });
425
+ } else {
426
+ // location.href = "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
427
+ }
428
+ // location.href =
429
+ // "/paas/pc-mall/index.html#/industryPerspective?tabchose=sd";
430
+ },
431
+ getUserCookie() {
432
+ let cookie = document.cookie;
433
+ let start = cookie.indexOf("saas-user-");
434
+ if(start > -1) {
435
+ let end = cookie.indexOf("=", start);
436
+ return cookie.substring(start, end);
437
+ } else {
438
+ return null;
439
+ }
440
+ }
441
+ }
442
+ };
443
+ </script>
444
+ <style lang="scss" scope>
445
+ .auto {
446
+ margin: 0 auto;
447
+ width: 1200px;
448
+ }
449
+
450
+ .pad-l10 {
451
+ padding-left: 10px;
452
+ }
453
+
454
+ .icon-search-color {
455
+ color: #343434;
456
+ }
457
+
458
+ .common-top .search-box .el-input .el-input__inner {
459
+ border-color: #f2f2f2 !important;
460
+ }
461
+
462
+ .common-top .el-input-group__append,
463
+ .common-top .el-input-group__prepend {
464
+ border-color: #f2f2f2 !important;
465
+ }
466
+
467
+ .common-top {
468
+ .el-input__icon {
469
+ line-height: 20px !important;
470
+ }
471
+ .search-box-input {
472
+ font-size: 12px;
473
+ }
474
+ .el-button {
475
+ width: 40px;
476
+ }
477
+ .el-input .el-input__inner {
478
+ /*border-radius: 32px 0 0 32px !important;*/
479
+ width: 130px !important;
480
+ height: 33px !important;
481
+ }
482
+ .search-box .el-input .el-input__inner {
483
+ border-right: none !important;
484
+ }
485
+ .el-input-group__append,
486
+ .el-input-group__prepend {
487
+ background: #1cac43 ;
488
+ border-left: none !important;
489
+ color: #343434 !important;
490
+ /*border-radius: 0 32px 32px 0 !important;*/
491
+ border: none !important;
492
+ span {
493
+ font-size: 18px;
494
+ font-weight: bold;
495
+ i {
496
+ color: #ffffff !important;
497
+ }
498
+ }
499
+ }
500
+ .el-input-group--append .el-input__inner,
501
+ .el-input-group--prepend .el-input__inner,
502
+ .el-input-group__append {
503
+ border-radius: 0;
504
+ }
505
+ }
506
+
507
+ .common-top .el-input-group__append,
508
+ .common-top .el-input-group__prepend {
509
+ background: #1cac43 ;
510
+ }
511
+
512
+ .default-nav {
513
+ li {
514
+ margin-right: 72px !important;
515
+ a {
516
+ font-weight: normal;
517
+ font-size: 16px;
518
+ }
519
+ }
520
+ }
521
+ </style>
522
+
523
+ <style rel="stylesheet/scss" lang="scss" scoped>
524
+ #zgltopbox {
525
+ height: 173px;
526
+ #zgltop {
527
+ height: 125px;
528
+ }
529
+ }
530
+
531
+ .icon-UCC-PC-sousuo {
532
+ font-size: 12px;
533
+ }
534
+
535
+ .left {
536
+ float: left;
537
+ }
538
+
539
+ .right {
540
+ float: right;
541
+ }
542
+
543
+ .nav {
544
+ line-height: 120px;
545
+ max-width: 768px;
546
+ height: 120px;
547
+ width: auto;
548
+ }
549
+
550
+ .common-top {
551
+ width: 100%;
552
+ min-width: 1200px;
553
+ /*border-bottom: 1px solid #f5f5f5;*/
554
+ box-shadow: 0px 0px 6px rgba(153, 153, 153, 0.2);
555
+ .header-box {
556
+ height: inherit;
557
+ }
558
+ margin: 0 auto;
559
+ height: 126px;
560
+ line-height: 126px;
561
+ // border-bottom: 1px solid #f5f5f5;
562
+ .logo-img {
563
+ width: 240px;
564
+ height: 120px;
565
+ overflow: hidden;
566
+ img {
567
+ width: inherit;
568
+ height: inherit;
569
+ }
570
+ }
571
+ .search-box {
572
+ .search-history {
573
+ height: 30px;
574
+ line-height: 30px;
575
+ float: left;
576
+ font-size: 13px;
577
+ color: #999;
578
+ i {
579
+ margin: 0 5px;
580
+ }
581
+ }
582
+ }
583
+ .right {
584
+ .car-box {
585
+ position: relative;
586
+ // width: 160px;
587
+ height: 30px;
588
+ border: 1px solid #e0e0e0;
589
+ // border-radius: 5px;
590
+ line-height: 30px;
591
+ text-align: center;
592
+ display: block;
593
+ float: left;
594
+ padding: 0 20px;
595
+ margin: 50px 0 0 100px;
596
+ .car-num {
597
+ position: absolute;
598
+ color: #fff;
599
+ width: 32px;
600
+ height: 32px;
601
+ text-align: center;
602
+ line-height: 32px;
603
+ border-radius: 50%;
604
+ background: #ff9e01;
605
+ right: -16px;
606
+ top: -16px;
607
+ }
608
+ }
609
+ }
610
+ }
611
+
612
+ .toplead {
613
+ .topleadbox {
614
+ width: 870px;
615
+ height: 50px;
616
+ /*background-color: #1cac43;*/
617
+ text-align: center;
618
+ color: #333333;
619
+ margin: 0 auto;
620
+ .topleadboxli {
621
+ cursor: pointer;
622
+ display: block;
623
+ float: left;
624
+ width: 172px;
625
+ line-height: 50px;
626
+ font-weight: 100;
627
+ position: relative;
628
+ font-size: 16px;
629
+ font-family: Microsoft YaHei;
630
+ font-weight: 400;
631
+ color: #333333;
632
+ a {
633
+ color: white !important;
634
+ }
635
+ .activechecked {
636
+ display: inline-block;
637
+ color: #48B1E0;
638
+ padding: 0 6px;
639
+ border-bottom: 2px solid #48B1E0;
640
+ height: 48px;
641
+ }
642
+ .d3 {
643
+ position: absolute;
644
+ top: 76%;
645
+ left: 47%;
646
+ width: 0;
647
+ height: 0;
648
+ border-bottom: 5px solid white;
649
+ border-right: 5px solid transparent;
650
+ border-left: 5px solid transparent;
651
+ }
652
+ }
653
+ .active {
654
+ font-weight: 800;
655
+ }
656
+ }
657
+ .lhot {
658
+ margin-right: 4px;
659
+ }
660
+ .rhot {
661
+ position: absolute;
662
+ top: -3px;
663
+ right: 29px;
664
+ img {
665
+ width: 18px;
666
+ height: 23px;
667
+ }
668
+ }
669
+ }
670
+
671
+ .Helmet {
672
+ background: white;
673
+ .Helmet_p {
674
+ position: relative;
675
+ height: 123px;
676
+ box-sizing: border-box;
677
+ display: -webkit-flex;
678
+ display: flex;
679
+ .Helmet_e {
680
+ margin: 18px 86px 27px 0;
681
+ /*margin: 18px 100px 27px 0;*/
682
+ width: 171px;
683
+ height: 78px;
684
+ .Helme_img {
685
+ display: block;
686
+ width: 171px;
687
+ height: 78px;
688
+ /*background: pink;*/
689
+ img {
690
+ vertical-align: top;
691
+ width: 100%;
692
+ height: 100%;
693
+ }
694
+ }
695
+ }
696
+ .Helmet_w {
697
+ margin-top: 38px;
698
+ width: 553px;
699
+ margin-right: 127px;
700
+ .Helmet_t {
701
+ width: 553px;
702
+ height: 38px;
703
+ .Helmet_input {
704
+ position: relative;
705
+ height: 38px;
706
+ line-height: 34px;
707
+ background: white;
708
+ border: 2px solid #48B1E0;
709
+ box-sizing: border-box;
710
+ -webkit-transition: all .3s;
711
+ transition: all .3s;
712
+ font-weight: 800;
713
+ >i {
714
+ vertical-align: top;
715
+ color: #48B1E0;
716
+ font-size: 8px;
717
+ }
718
+ .secrbtn {
719
+ cursor: pointer;
720
+ display: inline-block;
721
+ width: 60px;
722
+ height: 34px;
723
+ background: #48B1E0;
724
+ text-align: center;
725
+ font-size: 14px;
726
+ font-weight: Regular;
727
+ color: #fff;
728
+ border: 1px solid #48B1E0;
729
+ box-sizing: border-box;
730
+ position: relative;
731
+ right: -1px;
732
+ float: right;
733
+ line-height: 36px;
734
+ }
735
+ button {
736
+ border-color: #48B1E0;
737
+ background: #48B1E0;
738
+ color: #ffffff;
739
+ font-size: 14px !important;
740
+ display: block;
741
+ width: 100%;
742
+ height: 100%;
743
+ }
744
+ >input::-webkit-input-placeholder {
745
+ /* placeholder颜色 */
746
+ color: #989898;
747
+ /* placeholder字体大小 */
748
+ font-size: 14px;
749
+ }
750
+ >input {
751
+ width: 340px;
752
+ color: #333333;
753
+ font-size: 14px;
754
+ font: 400 14px Arial;
755
+ }
756
+ .Helmet_seek {
757
+ cursor: pointer;
758
+ display: inline-block;
759
+ width: 60px;
760
+ height: 36px;
761
+ background: #48B1E0;
762
+ text-align: center;
763
+ font-size: 22px;
764
+ font-weight: Regular;
765
+ color: white;
766
+ border: 1px solid #48B1E0;
767
+ box-sizing: border-box;
768
+ position: relative;
769
+ right: -1px;
770
+ float: right;
771
+ line-height: 45px;
772
+ }
773
+ }
774
+ }
775
+ }
776
+ .Helmet_s {
777
+ cursor: pointer;
778
+ margin-top: 34px;
779
+ width: 153px;
780
+ height: 38px;
781
+ border: 2px solid #48B1E0;
782
+ .Helmet_ico {
783
+ vertical-align: top;
784
+ display: inline-block;
785
+ position: relative;
786
+ height: 28px;
787
+ line-height: 28px;
788
+ background: #fff;
789
+ font-size: 25px;
790
+ font-weight: 400;
791
+ color: #000;
792
+ text-align: center;
793
+ padding: 0 14px 0 17px;
794
+ margin-left: 1px;
795
+ margin-top: 1px;
796
+ .Helmet_i {
797
+ /*padding: 0 14px 0 17px;
798
+ position: relative;
799
+ margin-top: 1px;
800
+ margin-left: 1px;*/
801
+ position: relative;
802
+ display: inline;
803
+ >i {
804
+ font-size: 18px !important;
805
+ vertical-align: middle;
806
+ color: #48B1E0;
807
+ }
808
+ span {
809
+ position: absolute;
810
+ top: 6px;
811
+ left: 20px;
812
+ height: 10px;
813
+ width: 10px;
814
+ border-radius: 50%;
815
+ background-color: #48B1E0;
816
+ }
817
+ }
818
+ }
819
+ .mcar {
820
+ color: #48B1E0;
821
+ display: inline-block;
822
+ height: 36px;
823
+ line-height: 37px;
824
+ text-align: top;
825
+ vertical-align: top;
826
+ font-size: 14px;
827
+ font-family: Microsoft YaHei;
828
+ font-weight: 400;
829
+ }
830
+ .ico_car {
831
+ width: 32px;
832
+ height: 32px;
833
+ line-height: 31px;
834
+ font-style: normal;
835
+ display: none;
836
+ background: #ff9e01;
837
+ border-radius: 50%;
838
+ text-align: center;
839
+ top: 18%;
840
+ right: 6.5%;
841
+ position: absolute;
842
+ font-size: 18px;
843
+ font-weight: 400;
844
+ color: rgba(255, 255, 255, 1);
845
+ }
846
+ }
847
+ .Helmet_V {
848
+ display: none;
849
+ position: absolute;
850
+ right: 0%;
851
+ top: 1%;
852
+ }
853
+ }
854
+ }
855
+ </style>