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
1a327ab0
Commit
1a327ab0
authored
Jul 30, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充
parent
9cacb7ea
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
3 deletions
+31
-3
edit.html
application/index/view/houses/edit.html
+9
-0
articleDetail.vue
...c/appnew/src/components/businessCollege/articleDetail.vue
+6
-3
houseList.js
public/resource/js/houseList.js
+16
-0
No files found.
application/index/view/houses/edit.html
View file @
1a327ab0
...
...
@@ -79,9 +79,18 @@
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"百货零售"
>
百货零售
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"服装"
>
服装
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"亲子教育"
>
亲子教育
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"休闲娱乐"
>
休闲娱乐
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"办公"
>
办公
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
class=
"yetai"
id=
""
value=
"其他"
>
其他
</label>
...
...
public/appnew/src/components/businessCollege/articleDetail.vue
View file @
1a327ab0
<
template
>
<div>
<header-pulic
:data=
"headerData"
>
<header-pulic
:data=
"headerData"
v-if=
"!isShare"
>
<a
href=
"javascript:;"
class=
"icon-link icon-link-share"
@
click=
"share"
></a>
</header-pulic>
<div
class=
"header_seat"
></div>
...
...
@@ -38,7 +38,7 @@
</div>
</div>
</div>
<div
class=
"btn-comment-area flex-center"
v-show=
"!isCommentingFlag"
>
<div
class=
"btn-comment-area flex-center"
v-show=
"!is
Share && !is
CommentingFlag"
>
<a
href=
"javascript:;"
class=
"flex-center"
@
click=
"isCommentingFlag = true"
><img
:src=
"commentIcon"
/>
我来说两句
</a>
</div>
</div>
...
...
@@ -75,9 +75,11 @@
'noborder'
:
false
,
'isBack'
:
true
},
isShare
:
_this
.
$route
.
query
.
share
?
true
:
false
,
articleId
:
_this
.
$route
.
query
.
id
,
token
:
localStorage
.
getItem
(
'token'
),
articleTitle
:
''
,
articleLabelname
:
''
,
//标签名
articleTime
:
''
,
articleContent
:
''
,
commentIcon
,
...
...
@@ -125,6 +127,7 @@
if
(
response
.
data
.
code
==
200
)
{
let
_news
=
response
.
data
.
data
.
news
;
_this
.
articleTitle
=
_news
.
title
;
_this
.
articleLabelname
=
_news
.
label_name
;
_this
.
articleTime
=
_news
.
create_time
;
_this
.
articleContent
=
_this
.
common
.
urlDeal
(
_news
.
content
);
}
else
{
...
...
@@ -214,7 +217,7 @@
let
_this
=
this
;
let
_url
=
location
.
href
+
'&share=1'
;
let
_title
=
_this
.
articleTitle
;
let
_content
=
''
;
let
_content
=
_this
.
articleLabelname
;
_this
.
common
.
Compatible
({
paraIos
:
{
'route'
:
'shareClick'
,
...
...
public/resource/js/houseList.js
View file @
1a327ab0
...
...
@@ -24,6 +24,22 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
isFollowupSaving
:
false
,
init
:
function
()
{
//初始化dot
$
.
ajax
({
//推荐至首页
'type'
:
'get'
,
'url'
:
'https://pre2.tonglianjituan.com/api/filtrateCondition'
,
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
if
(
data
.
data
)
{}
}
else
{
alert
(
"推荐失败!"
)
}
}
});
$
(
"body"
).
append
(
template
);
function
getPreMonth
(
date
)
{
var
arr
=
date
.
split
(
'-'
);
...
...
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