Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
2bc80512
Commit
2bc80512
authored
Jul 25, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商学院分享
parent
00973608
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
articleDetail.vue
...c/appnew/src/components/businessCollege/articleDetail.vue
+24
-1
headPublic.vue
public/appnew/src/components/publicEg/headPublic.vue
+13
-0
icon_share@2x.png
...c/appnew/src/components/publicEg/images/icon_share@2x.png
+0
-0
No files found.
public/appnew/src/components/businessCollege/articleDetail.vue
View file @
2bc80512
<
template
>
<
template
>
<div>
<div>
<header-pulic
:data=
"headerData"
></header-pulic>
<header-pulic
:data=
"headerData"
>
<a
href=
"javascript:;"
class=
"icon-link icon-link-share"
@
click=
"share"
></a>
</header-pulic>
<div
class=
"header_seat"
></div>
<article>
<article>
<div
class=
"article-bar"
>
<div
class=
"article-bar"
>
<h1>
{{
articleTitle
}}
</h1>
<h1>
{{
articleTitle
}}
</h1>
...
@@ -206,6 +209,26 @@
...
@@ -206,6 +209,26 @@
_this
.
commentDataList
=
[];
_this
.
commentDataList
=
[];
_this
.
page
=
1
;
_this
.
page
=
1
;
_this
.
noDataFlag
=
false
;
_this
.
noDataFlag
=
false
;
},
share
()
{
let
_this
=
this
;
let
_url
=
location
.
href
+
'&share=1'
;
let
_title
=
_this
.
articleTitle
;
let
_content
=
''
;
_this
.
common
.
Compatible
({
paraIos
:
{
'route'
:
'shareClick'
,
'url'
:
_url
,
'title'
:
_title
,
'content'
:
_content
},
fnAndroid
()
{
window
.
android
.
shareClick
(
_url
,
_title
,
_content
);
},
fn
()
{
console
.
warn
(
'error'
);
}
});
}
}
},
},
computed
:
{
computed
:
{
...
...
public/appnew/src/components/publicEg/headPublic.vue
View file @
2bc80512
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
<header
:class=
"
{'no-border':data.noborder}">
<header
:class=
"
{'no-border':data.noborder}">
<a
class=
"ps-back"
@
click=
"back"
href=
"javascript:;"
></a>
<a
class=
"ps-back"
@
click=
"back"
href=
"javascript:;"
></a>
<h2>
{{
data
.
title
}}
</h2>
<h2>
{{
data
.
title
}}
</h2>
<slot></slot>
</header>
</header>
<div
class=
"header_seat"
></div>
<div
class=
"header_seat"
></div>
</div>
</div>
...
@@ -76,6 +77,18 @@
...
@@ -76,6 +77,18 @@
background
:
url(images/ic_back_black@2x.png)
no-repeat
0.3rem
center
;
background
:
url(images/ic_back_black@2x.png)
no-repeat
0.3rem
center
;
background-size
:
.36rem
.28rem
;
background-size
:
.36rem
.28rem
;
}
}
header
.icon-link
{
position
:
absolute
;
top
:
0
;
bottom
:
0
;
right
:
0
;
display
:
block
;
width
:
.88rem
;
height
:
.88rem
;
}
header
.icon-link.icon-link-share
{
background
:
url(images/icon_share@2x.png)
no-repeat
center
center
/
.34rem
.38rem
;
}
header
>
h2
{
header
>
h2
{
font-size
:
.34rem
;
font-size
:
.34rem
;
line-height
:
.88rem
;
line-height
:
.88rem
;
...
...
public/appnew/src/components/publicEg/images/icon_share@2x.png
0 → 100644
View file @
2bc80512
1.76 KB
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