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,466 +1,466 @@
1
- <template>
2
- <div id="ymHeaderbox" 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="###">
7
- <img src="../assets/ymlogo.png" 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
15
- @keyup.enter="search"
16
- @keyup.13="search"
17
- v-model="searchValue"
18
- type="text"
19
- placeholder="Tmax"
20
- />
21
- <div class="secrbtn">
22
- <el-button
23
- slot="append"
24
- @click.native="search"
25
- @keyup.13="search"
26
- >搜索</el-button
27
- >
28
- </div>
29
- </div>
30
- </div>
31
- </div>
32
- <!-- <a class="Helmet_s" @click="tocar">
33
- <i></i>
34
- <div class="Helmet_ico ucc-car">
35
- <div class="Helmet_i">
36
- <i class="iconfont icon-gouwuche3"></i>
37
- <span v-if="isLogin&&total&&total>0"></span>
38
- </div>
39
- </div>
40
- <span class="mcar">我的购物车</span>
41
- </a> -->
42
- </div>
43
- </div>
44
- <div class="toplead">
45
- <div class="topleadbox">
46
- <div class="topleadboxli">
47
- <span>首页</span>
48
- </div>
49
- </div>
50
- </div>
51
- </div>
52
- </template>
53
-
54
- <script>
55
- import hot from '#/assets/nav_lab.png';
56
- import { getToken, removeToken } from '#/utils/auth';
57
- import API from '#/api/common/index.js';
58
- export default {
59
- name: 'ymHeader',
60
- };
61
- </script>
62
- <style lang="scss" scope>
63
- .auto {
64
- margin: 0 auto;
65
- width: 1200px;
66
- }
67
-
68
- .pad-l10 {
69
- padding-left: 10px;
70
- }
71
-
72
- .icon-search-color {
73
- color: #343434;
74
- }
75
-
76
- .common-top .search-box .el-input .el-input__inner {
77
- border-color: #f2f2f2 !important;
78
- }
79
-
80
- .common-top .el-input-group__append,
81
- .common-top .el-input-group__prepend {
82
- border-color: #f2f2f2 !important;
83
- }
84
-
85
- .common-top {
86
- .el-input__icon {
87
- line-height: 20px !important;
88
- }
89
- .search-box-input {
90
- font-size: 12px;
91
- }
92
- .el-button {
93
- width: 40px;
94
- }
95
- .el-input .el-input__inner {
96
- /*border-radius: 32px 0 0 32px !important;*/
97
- width: 130px !important;
98
- height: 33px !important;
99
- }
100
- .search-box .el-input .el-input__inner {
101
- border-right: none !important;
102
- }
103
- .el-input-group__append,
104
- .el-input-group__prepend {
105
- background: #1cac43;
106
- border-left: none !important;
107
- color: #343434 !important;
108
- /*border-radius: 0 32px 32px 0 !important;*/
109
- border: none !important;
110
- span {
111
- font-size: 18px;
112
- font-weight: bold;
113
- i {
114
- color: #ffffff !important;
115
- }
116
- }
117
- }
118
- .el-input-group--append .el-input__inner,
119
- .el-input-group--prepend .el-input__inner,
120
- .el-input-group__append {
121
- border-radius: 0;
122
- }
123
- }
124
-
125
- .common-top .el-input-group__append,
126
- .common-top .el-input-group__prepend {
127
- background: #1cac43;
128
- }
129
-
130
- .default-nav {
131
- li {
132
- margin-right: 72px !important;
133
- a {
134
- font-weight: normal;
135
- font-size: 16px;
136
- }
137
- }
138
- }
139
- </style>
140
-
141
- <style rel="stylesheet/scss" lang="scss" scoped>
142
- #zgltopbox {
143
- height: 173px;
144
- #zgltop {
145
- height: 125px;
146
- }
147
- }
148
-
149
- .icon-UCC-PC-sousuo {
150
- font-size: 12px;
151
- }
152
-
153
- .left {
154
- float: left;
155
- }
156
-
157
- .right {
158
- float: right;
159
- }
160
-
161
- .nav {
162
- line-height: 120px;
163
- max-width: 768px;
164
- height: 120px;
165
- width: auto;
166
- }
167
-
168
- .common-top {
169
- width: 100%;
170
- min-width: 1200px;
171
- /*border-bottom: 1px solid #f5f5f5;*/
172
- box-shadow: 0px 0px 6px rgba(153, 153, 153, 0.2);
173
- .header-box {
174
- height: inherit;
175
- }
176
- margin: 0 auto;
177
- height: 126px;
178
- line-height: 126px;
179
- // border-bottom: 1px solid #f5f5f5;
180
- .logo-img {
181
- width: 240px;
182
- height: 120px;
183
- overflow: hidden;
184
- img {
185
- width: inherit;
186
- height: inherit;
187
- }
188
- }
189
- .search-box {
190
- .search-history {
191
- height: 30px;
192
- line-height: 30px;
193
- float: left;
194
- font-size: 13px;
195
- color: #999;
196
- i {
197
- margin: 0 5px;
198
- }
199
- }
200
- }
201
- .right {
202
- .car-box {
203
- position: relative;
204
- // width: 160px;
205
- height: 30px;
206
- border: 1px solid #e0e0e0;
207
- // border-radius: 5px;
208
- line-height: 30px;
209
- text-align: center;
210
- display: block;
211
- float: left;
212
- padding: 0 20px;
213
- margin: 50px 0 0 100px;
214
- .car-num {
215
- position: absolute;
216
- color: #fff;
217
- width: 32px;
218
- height: 32px;
219
- text-align: center;
220
- line-height: 32px;
221
- border-radius: 50%;
222
- background: #ff9e01;
223
- right: -16px;
224
- top: -16px;
225
- }
226
- }
227
- }
228
- }
229
-
230
- .toplead {
231
- .topleadbox {
232
- width: 870px;
233
- height: 50px;
234
- /*background-color: #1cac43;*/
235
- text-align: center;
236
- color: #333333;
237
- margin: 0 auto;
238
- .topleadboxli {
239
- cursor: pointer;
240
- display: block;
241
- float: left;
242
- width: 172px;
243
- line-height: 50px;
244
- font-weight: 100;
245
- position: relative;
246
- font-size: 16px;
247
- font-family: Microsoft YaHei;
248
- font-weight: 400;
249
- color: #333333;
250
- a {
251
- color: white !important;
252
- }
253
- .activechecked {
254
- display: inline-block;
255
- color: #ffd608;
256
- padding: 0 6px;
257
- border-bottom: 2px solid #ffd608;
258
- height: 48px;
259
- }
260
- .d3 {
261
- position: absolute;
262
- top: 76%;
263
- left: 47%;
264
- width: 0;
265
- height: 0;
266
- border-bottom: 5px solid white;
267
- border-right: 5px solid transparent;
268
- border-left: 5px solid transparent;
269
- }
270
- }
271
- .active {
272
- font-weight: 800;
273
- }
274
- }
275
- .lhot {
276
- margin-right: 4px;
277
- }
278
- .rhot {
279
- position: absolute;
280
- top: -3px;
281
- right: 29px;
282
- img {
283
- width: 18px;
284
- height: 23px;
285
- }
286
- }
287
- }
288
-
289
- .Helmet {
290
- background: white;
291
- .Helmet_p {
292
- position: relative;
293
- height: 118px;
294
- box-sizing: border-box;
295
- display: -webkit-flex;
296
- display: flex;
297
- .Helmet_e {
298
- width: 171px;
299
- height: 44px;
300
- margin: 43px 200px 30px 0;
301
- img {
302
- vertical-align: top;
303
- width: 100%;
304
- height: 100%;
305
- }
306
- }
307
- .Helmet_w {
308
- margin-top: 38px;
309
- width: 553px;
310
- margin-right: 127px;
311
- .Helmet_t {
312
- width: 553px;
313
- height: 38px;
314
- .Helmet_input {
315
- position: relative;
316
- height: 38px;
317
- line-height: 34px;
318
- background: white;
319
- border: 2px solid #ffd608;
320
- box-sizing: border-box;
321
- -webkit-transition: all 0.3s;
322
- transition: all 0.3s;
323
- font-weight: 800;
324
- > i {
325
- vertical-align: top;
326
- color: #ffd608;
327
- font-size: 8px;
328
- }
329
- .secrbtn {
330
- cursor: pointer;
331
- display: inline-block;
332
- width: 60px;
333
- height: 34px;
334
- background: #ffd608;
335
- text-align: center;
336
- font-size: 14px;
337
- font-weight: Regular;
338
- color: #fff;
339
- border: 1px solid #ffd608;
340
- box-sizing: border-box;
341
- position: relative;
342
- right: -1px;
343
- float: right;
344
- line-height: 36px;
345
- }
346
- button {
347
- border-color: #ffd608;
348
- background: #ffd608;
349
- color: #ffffff;
350
- font-size: 14px !important;
351
- display: block;
352
- width: 100%;
353
- height: 100%;
354
- }
355
- > input::-webkit-input-placeholder {
356
- /* placeholder颜色 */
357
- color: #989898;
358
- /* placeholder字体大小 */
359
- font-size: 14px;
360
- }
361
- > input {
362
- width: 340px;
363
- color: #333333;
364
- font-size: 14px;
365
- font: 400 14px Arial;
366
- }
367
- .Helmet_seek {
368
- cursor: pointer;
369
- display: inline-block;
370
- width: 60px;
371
- height: 36px;
372
- background: #ffd608;
373
- text-align: center;
374
- font-size: 22px;
375
- font-weight: Regular;
376
- color: white;
377
- border: 1px solid #ffd608;
378
- box-sizing: border-box;
379
- position: relative;
380
- right: -1px;
381
- float: right;
382
- line-height: 45px;
383
- }
384
- }
385
- }
386
- }
387
- .Helmet_s {
388
- cursor: pointer;
389
- margin-top: 34px;
390
- width: 153px;
391
- height: 38px;
392
- border: 2px solid #ffd608;
393
- .Helmet_ico {
394
- vertical-align: top;
395
- display: inline-block;
396
- position: relative;
397
- height: 28px;
398
- line-height: 28px;
399
- background: #fff;
400
- font-size: 25px;
401
- font-weight: 400;
402
- color: #000;
403
- text-align: center;
404
- padding: 0 14px 0 17px;
405
- margin-left: 1px;
406
- margin-top: 1px;
407
- .Helmet_i {
408
- /*padding: 0 14px 0 17px;
409
- position: relative;
410
- margin-top: 1px;
411
- margin-left: 1px;*/
412
- position: relative;
413
- display: inline;
414
- > i {
415
- font-size: 18px !important;
416
- vertical-align: middle;
417
- color: #ffd608;
418
- }
419
- span {
420
- position: absolute;
421
- top: 6px;
422
- left: 20px;
423
- height: 10px;
424
- width: 10px;
425
- border-radius: 50%;
426
- background-color: #ffd608;
427
- }
428
- }
429
- }
430
- .mcar {
431
- color: #ffd608;
432
- display: inline-block;
433
- height: 36px;
434
- line-height: 37px;
435
- text-align: top;
436
- vertical-align: top;
437
- font-size: 14px;
438
- font-family: Microsoft YaHei;
439
- font-weight: 400;
440
- }
441
- .ico_car {
442
- width: 32px;
443
- height: 32px;
444
- line-height: 31px;
445
- font-style: normal;
446
- display: none;
447
- background: #ff9e01;
448
- border-radius: 50%;
449
- text-align: center;
450
- top: 18%;
451
- right: 6.5%;
452
- position: absolute;
453
- font-size: 18px;
454
- font-weight: 400;
455
- color: rgba(255, 255, 255, 1);
456
- }
457
- }
458
- .Helmet_V {
459
- display: none;
460
- position: absolute;
461
- right: 0%;
462
- top: 1%;
463
- }
464
- }
465
- }
466
- </style>
1
+ <template>
2
+ <div id="ymHeaderbox" 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="###">
7
+ <img src="../assets/ymlogo.png" 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
15
+ @keyup.enter="search"
16
+ @keyup.13="search"
17
+ v-model="searchValue"
18
+ type="text"
19
+ placeholder="Tmax"
20
+ />
21
+ <div class="secrbtn">
22
+ <el-button
23
+ slot="append"
24
+ @click.native="search"
25
+ @keyup.13="search"
26
+ >搜索</el-button
27
+ >
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <!-- <a class="Helmet_s" @click="tocar">
33
+ <i></i>
34
+ <div class="Helmet_ico ucc-car">
35
+ <div class="Helmet_i">
36
+ <i class="iconfont icon-gouwuche3"></i>
37
+ <span v-if="isLogin&&total&&total>0"></span>
38
+ </div>
39
+ </div>
40
+ <span class="mcar">我的购物车</span>
41
+ </a> -->
42
+ </div>
43
+ </div>
44
+ <div class="toplead">
45
+ <div class="topleadbox">
46
+ <div class="topleadboxli">
47
+ <span>首页</span>
48
+ </div>
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </template>
53
+
54
+ <script>
55
+ import hot from '#/assets/nav_lab.png';
56
+ import { getToken, removeToken } from '#/utils/auth';
57
+ import API from '#/api/common/index.js';
58
+ export default {
59
+ name: 'ymHeader',
60
+ };
61
+ </script>
62
+ <style lang="scss" scope>
63
+ .auto {
64
+ margin: 0 auto;
65
+ width: 1200px;
66
+ }
67
+
68
+ .pad-l10 {
69
+ padding-left: 10px;
70
+ }
71
+
72
+ .icon-search-color {
73
+ color: #343434;
74
+ }
75
+
76
+ .common-top .search-box .el-input .el-input__inner {
77
+ border-color: #f2f2f2 !important;
78
+ }
79
+
80
+ .common-top .el-input-group__append,
81
+ .common-top .el-input-group__prepend {
82
+ border-color: #f2f2f2 !important;
83
+ }
84
+
85
+ .common-top {
86
+ .el-input__icon {
87
+ line-height: 20px !important;
88
+ }
89
+ .search-box-input {
90
+ font-size: 12px;
91
+ }
92
+ .el-button {
93
+ width: 40px;
94
+ }
95
+ .el-input .el-input__inner {
96
+ /*border-radius: 32px 0 0 32px !important;*/
97
+ width: 130px !important;
98
+ height: 33px !important;
99
+ }
100
+ .search-box .el-input .el-input__inner {
101
+ border-right: none !important;
102
+ }
103
+ .el-input-group__append,
104
+ .el-input-group__prepend {
105
+ background: #1cac43;
106
+ border-left: none !important;
107
+ color: #343434 !important;
108
+ /*border-radius: 0 32px 32px 0 !important;*/
109
+ border: none !important;
110
+ span {
111
+ font-size: 18px;
112
+ font-weight: bold;
113
+ i {
114
+ color: #ffffff !important;
115
+ }
116
+ }
117
+ }
118
+ .el-input-group--append .el-input__inner,
119
+ .el-input-group--prepend .el-input__inner,
120
+ .el-input-group__append {
121
+ border-radius: 0;
122
+ }
123
+ }
124
+
125
+ .common-top .el-input-group__append,
126
+ .common-top .el-input-group__prepend {
127
+ background: #1cac43;
128
+ }
129
+
130
+ .default-nav {
131
+ li {
132
+ margin-right: 72px !important;
133
+ a {
134
+ font-weight: normal;
135
+ font-size: 16px;
136
+ }
137
+ }
138
+ }
139
+ </style>
140
+
141
+ <style rel="stylesheet/scss" lang="scss" scoped>
142
+ #zgltopbox {
143
+ height: 173px;
144
+ #zgltop {
145
+ height: 125px;
146
+ }
147
+ }
148
+
149
+ .icon-UCC-PC-sousuo {
150
+ font-size: 12px;
151
+ }
152
+
153
+ .left {
154
+ float: left;
155
+ }
156
+
157
+ .right {
158
+ float: right;
159
+ }
160
+
161
+ .nav {
162
+ line-height: 120px;
163
+ max-width: 768px;
164
+ height: 120px;
165
+ width: auto;
166
+ }
167
+
168
+ .common-top {
169
+ width: 100%;
170
+ min-width: 1200px;
171
+ /*border-bottom: 1px solid #f5f5f5;*/
172
+ box-shadow: 0px 0px 6px rgba(153, 153, 153, 0.2);
173
+ .header-box {
174
+ height: inherit;
175
+ }
176
+ margin: 0 auto;
177
+ height: 126px;
178
+ line-height: 126px;
179
+ // border-bottom: 1px solid #f5f5f5;
180
+ .logo-img {
181
+ width: 240px;
182
+ height: 120px;
183
+ overflow: hidden;
184
+ img {
185
+ width: inherit;
186
+ height: inherit;
187
+ }
188
+ }
189
+ .search-box {
190
+ .search-history {
191
+ height: 30px;
192
+ line-height: 30px;
193
+ float: left;
194
+ font-size: 13px;
195
+ color: #999;
196
+ i {
197
+ margin: 0 5px;
198
+ }
199
+ }
200
+ }
201
+ .right {
202
+ .car-box {
203
+ position: relative;
204
+ // width: 160px;
205
+ height: 30px;
206
+ border: 1px solid #e0e0e0;
207
+ // border-radius: 5px;
208
+ line-height: 30px;
209
+ text-align: center;
210
+ display: block;
211
+ float: left;
212
+ padding: 0 20px;
213
+ margin: 50px 0 0 100px;
214
+ .car-num {
215
+ position: absolute;
216
+ color: #fff;
217
+ width: 32px;
218
+ height: 32px;
219
+ text-align: center;
220
+ line-height: 32px;
221
+ border-radius: 50%;
222
+ background: #ff9e01;
223
+ right: -16px;
224
+ top: -16px;
225
+ }
226
+ }
227
+ }
228
+ }
229
+
230
+ .toplead {
231
+ .topleadbox {
232
+ width: 870px;
233
+ height: 50px;
234
+ /*background-color: #1cac43;*/
235
+ text-align: center;
236
+ color: #333333;
237
+ margin: 0 auto;
238
+ .topleadboxli {
239
+ cursor: pointer;
240
+ display: block;
241
+ float: left;
242
+ width: 172px;
243
+ line-height: 50px;
244
+ font-weight: 100;
245
+ position: relative;
246
+ font-size: 16px;
247
+ font-family: Microsoft YaHei;
248
+ font-weight: 400;
249
+ color: #333333;
250
+ a {
251
+ color: white !important;
252
+ }
253
+ .activechecked {
254
+ display: inline-block;
255
+ color: #ffd608;
256
+ padding: 0 6px;
257
+ border-bottom: 2px solid #ffd608;
258
+ height: 48px;
259
+ }
260
+ .d3 {
261
+ position: absolute;
262
+ top: 76%;
263
+ left: 47%;
264
+ width: 0;
265
+ height: 0;
266
+ border-bottom: 5px solid white;
267
+ border-right: 5px solid transparent;
268
+ border-left: 5px solid transparent;
269
+ }
270
+ }
271
+ .active {
272
+ font-weight: 800;
273
+ }
274
+ }
275
+ .lhot {
276
+ margin-right: 4px;
277
+ }
278
+ .rhot {
279
+ position: absolute;
280
+ top: -3px;
281
+ right: 29px;
282
+ img {
283
+ width: 18px;
284
+ height: 23px;
285
+ }
286
+ }
287
+ }
288
+
289
+ .Helmet {
290
+ background: white;
291
+ .Helmet_p {
292
+ position: relative;
293
+ height: 118px;
294
+ box-sizing: border-box;
295
+ display: -webkit-flex;
296
+ display: flex;
297
+ .Helmet_e {
298
+ width: 171px;
299
+ height: 44px;
300
+ margin: 43px 200px 30px 0;
301
+ img {
302
+ vertical-align: top;
303
+ width: 100%;
304
+ height: 100%;
305
+ }
306
+ }
307
+ .Helmet_w {
308
+ margin-top: 38px;
309
+ width: 553px;
310
+ margin-right: 127px;
311
+ .Helmet_t {
312
+ width: 553px;
313
+ height: 38px;
314
+ .Helmet_input {
315
+ position: relative;
316
+ height: 38px;
317
+ line-height: 34px;
318
+ background: white;
319
+ border: 2px solid #ffd608;
320
+ box-sizing: border-box;
321
+ -webkit-transition: all 0.3s;
322
+ transition: all 0.3s;
323
+ font-weight: 800;
324
+ > i {
325
+ vertical-align: top;
326
+ color: #ffd608;
327
+ font-size: 8px;
328
+ }
329
+ .secrbtn {
330
+ cursor: pointer;
331
+ display: inline-block;
332
+ width: 60px;
333
+ height: 34px;
334
+ background: #ffd608;
335
+ text-align: center;
336
+ font-size: 14px;
337
+ font-weight: Regular;
338
+ color: #fff;
339
+ border: 1px solid #ffd608;
340
+ box-sizing: border-box;
341
+ position: relative;
342
+ right: -1px;
343
+ float: right;
344
+ line-height: 36px;
345
+ }
346
+ button {
347
+ border-color: #ffd608;
348
+ background: #ffd608;
349
+ color: #ffffff;
350
+ font-size: 14px !important;
351
+ display: block;
352
+ width: 100%;
353
+ height: 100%;
354
+ }
355
+ > input::-webkit-input-placeholder {
356
+ /* placeholder颜色 */
357
+ color: #989898;
358
+ /* placeholder字体大小 */
359
+ font-size: 14px;
360
+ }
361
+ > input {
362
+ width: 340px;
363
+ color: #333333;
364
+ font-size: 14px;
365
+ font: 400 14px Arial;
366
+ }
367
+ .Helmet_seek {
368
+ cursor: pointer;
369
+ display: inline-block;
370
+ width: 60px;
371
+ height: 36px;
372
+ background: #ffd608;
373
+ text-align: center;
374
+ font-size: 22px;
375
+ font-weight: Regular;
376
+ color: white;
377
+ border: 1px solid #ffd608;
378
+ box-sizing: border-box;
379
+ position: relative;
380
+ right: -1px;
381
+ float: right;
382
+ line-height: 45px;
383
+ }
384
+ }
385
+ }
386
+ }
387
+ .Helmet_s {
388
+ cursor: pointer;
389
+ margin-top: 34px;
390
+ width: 153px;
391
+ height: 38px;
392
+ border: 2px solid #ffd608;
393
+ .Helmet_ico {
394
+ vertical-align: top;
395
+ display: inline-block;
396
+ position: relative;
397
+ height: 28px;
398
+ line-height: 28px;
399
+ background: #fff;
400
+ font-size: 25px;
401
+ font-weight: 400;
402
+ color: #000;
403
+ text-align: center;
404
+ padding: 0 14px 0 17px;
405
+ margin-left: 1px;
406
+ margin-top: 1px;
407
+ .Helmet_i {
408
+ /*padding: 0 14px 0 17px;
409
+ position: relative;
410
+ margin-top: 1px;
411
+ margin-left: 1px;*/
412
+ position: relative;
413
+ display: inline;
414
+ > i {
415
+ font-size: 18px !important;
416
+ vertical-align: middle;
417
+ color: #ffd608;
418
+ }
419
+ span {
420
+ position: absolute;
421
+ top: 6px;
422
+ left: 20px;
423
+ height: 10px;
424
+ width: 10px;
425
+ border-radius: 50%;
426
+ background-color: #ffd608;
427
+ }
428
+ }
429
+ }
430
+ .mcar {
431
+ color: #ffd608;
432
+ display: inline-block;
433
+ height: 36px;
434
+ line-height: 37px;
435
+ text-align: top;
436
+ vertical-align: top;
437
+ font-size: 14px;
438
+ font-family: Microsoft YaHei;
439
+ font-weight: 400;
440
+ }
441
+ .ico_car {
442
+ width: 32px;
443
+ height: 32px;
444
+ line-height: 31px;
445
+ font-style: normal;
446
+ display: none;
447
+ background: #ff9e01;
448
+ border-radius: 50%;
449
+ text-align: center;
450
+ top: 18%;
451
+ right: 6.5%;
452
+ position: absolute;
453
+ font-size: 18px;
454
+ font-weight: 400;
455
+ color: rgba(255, 255, 255, 1);
456
+ }
457
+ }
458
+ .Helmet_V {
459
+ display: none;
460
+ position: absolute;
461
+ right: 0%;
462
+ top: 1%;
463
+ }
464
+ }
465
+ }
466
+ </style>