Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
37438b9a
Commit
37438b9a
authored
Nov 20, 2019
by
任建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jiazaiyangshi
parent
3547ce08
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
27 deletions
+51
-27
embed_applications/app/front/entry/index.ejs
+2
-2
embed_applications/app/front/entry/public/css/pagecom.css
+0
-0
embed_applications/app/front/vues/pages/ncldetail/ncldetail.css
+39
-15
embed_applications/app/front/vues/pages/ncldetail/ncldetail.html
+5
-1
embed_applications/app/front/vues/pages/ncldetail/ncldetail.js
+5
-9
No files found.
embed_applications/app/front/entry/index.ejs
View file @
37438b9a
...
...
@@ -21,9 +21,9 @@
<body>
<div
id=
"app"
style=
"visibility: hidden;"
>
<div>
<el-scrollbar
class=
"page-component__scroll"
>
<el-scrollbar
class=
"page-component__scroll"
style=
"marginTop:0;"
>
<div
id=
"embedwarpper"
>
<div><keep-alive>
<div
style=
"width:100%;min-height: 850px;"
><keep-alive>
<router-view
name=
"default"
v-loading
.
fullscreen
.
lock=
"loading"
element-loading-text=
"拼命加载中"
element-loading-spinner=
"el-icon-loading"
element-loading-background=
"rgba(0, 0, 0, 0.8)"
>
</router-view></keep-alive>
...
...
embed_applications/app/front/entry/public/css/pagecom.css
View file @
37438b9a
This diff is collapsed.
Click to expand it.
embed_applications/app/front/vues/pages/ncldetail/ncldetail.css
View file @
37438b9a
...
...
@@ -5,6 +5,14 @@
background-color
:
#fff
;
padding-bottom
:
25px
;
}
.detail-loading
{
width
:
100%
;
height
:
100%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
z-index
:
99000
;
}
.ncldetail-main-name
{
width
:
100%
;
...
...
@@ -69,30 +77,44 @@
/* 隐藏 */
.ncldetail-main-content-particular
{
width
:
100%
;
max-height
:
160px
;
padding
:
0px
15px
;
max-height
:
120px
;
padding
:
0px
30px
;
box-sizing
:
border-box
;
overflow
:
hidden
;
margin-bottom
:
20px
;
}
.ncldetail-main-content-particular
>
div
{
width
:
100%
;
height
:
118px
;
border-radius
:
1px
;
border
:
1px
solid
rgba
(
230
,
232
,
233
,
1
);
box-sizing
:
border-box
;
padding
:
0
5px
0
13px
;
overflow
:
auto
;
}
.ncldetail-main-content-particular
>
div
{
.ncldetail-main-content-particular
>
div
::-webkit-scrollbar
{
width
:
4px
;
/*height: 4px;*/
}
.ncldetail-main-content-particular
>
div
>
div
{
float
:
left
;
width
:
45
px
;
height
:
45
px
;
line-height
:
45
px
;
width
:
33
px
;
height
:
33
px
;
line-height
:
32
px
;
color
:
rgba
(
16
,
16
,
16
,
1
);
font-size
:
16px
;
text-align
:
center
;
font-family
:
Roboto
;
border
:
1px
solid
rgba
(
187
,
187
,
187
,
1
);
margin
:
1
5
px
;
margin
:
1
0px
7
px
;
cursor
:
pointer
;
border-radius
:
2px
;
}
.ncldetail-main-content-particular
>
.special
{
background
-color
:
#118EE9
;
color
:
#fff
;
border
:
#118EE9
;
.ncldetail-main-content-particular
>
div
>
.special
{
background
:
rgba
(
235
,
242
,
255
,
1
)
;
border-radius
:
2px
;
border
:
1px
solid
rgba
(
202
,
220
,
255
,
1
)
;
}
/* */
...
...
@@ -100,7 +122,7 @@
float
:
left
;
min-width
:
178px
;
min-height
:
171px
;
width
:
1
3
%
;
width
:
1
2.5
%
;
height
:
10.4%
;
padding-bottom
:
14px
;
background-color
:
rgba
(
255
,
255
,
255
,
1
);
...
...
@@ -185,9 +207,11 @@
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
5
;
overflow
:
hidden
;
overflow
:
auto
;
}
.ncldetail-main-item
>
.maskLayer
>
.text
::-webkit-scrollbar
{
width
:
4px
;
}
/* 2 */
.ncldetail-main-content2
{
width
:
100%
;
...
...
embed_applications/app/front/vues/pages/ncldetail/ncldetail.html
View file @
37438b9a
<div
class=
"ncldetail"
>
<div
class=
"detail-loading"
v-if=
"loading"
v-loading=
"true"
></div>
<div
class=
"ncldetail-main"
>
<div
class=
"ncldetail-main-name"
>
商标分类
</div>
<div
class=
"ncldetail-main-title"
>
...
...
@@ -29,7 +30,10 @@
</div>
</div>
<div
class=
"ncldetail-main-content-particular"
v-if=
"recommendType && brandKey == 1"
>
<div
:class=
"NmcpKey == i ? \'special\' : \' \'"
v-for=
"i in 45"
@
click=
"ncldataParEve(i)"
>
{{i}}
</div>
<div>
<div
:class=
"NmcpKey == i ? \'special\' : \' \'"
v-for=
"i in 45"
@
click=
"ncldataParEve(i)"
>
{{i}}
</div>
</div>
</div>
<div
class=
"ncldetail-main-content2-particular"
v-if=
"recommendType"
>
<div
class=
"RecommendedDetails"
>
...
...
embed_applications/app/front/vues/pages/ncldetail/ncldetail.js
View file @
37438b9a
...
...
@@ -87,7 +87,8 @@
RecommendedDetailsData
:
[],
RecommendedDetailsObj
:
{},
RdeKey
:
0
,
NmcpKey
:
null
NmcpKey
:
null
,
loading
:
false
}
},
methods
:
{
...
...
@@ -127,14 +128,9 @@
number
:
this
.
number
};
var
that
=
this
;
const
loadingbyc
=
this
.
$loading
({
lock
:
true
,
text
:
'拼命加载中'
,
spinner
:
'el-icon-loading'
,
background
:
'rgba(0, 0, 0, 0.7)'
});
this
.
loading
=
true
;
this
.
$root
.
postReq
(
"/web/tmquery/tmqueryCtl/getNclDetail"
,
objdata
).
then
(
function
(
d
)
{
loadingbyc
.
close
()
;
that
.
loading
=
false
;
that
.
RecommendedDetailsData
=
d
.
data
;
that
.
RecommendedDetailsObj
=
d
.
data
.
data
[
0
];
var
str
=
that
.
RecommendedDetailsData
.
classification
.
replace
(
/-/
,
` -`
);
...
...
@@ -142,7 +138,7 @@
}).
catch
(
function
(
e
)
{
console
.
log
(
e
);
that
.
$root
.
loading
=
false
;
that
.
loading
=
false
;
that
.
$message
.
warning
(
`操作失败,请刷新页面后重新操作`
);
});
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment