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
6b781060
Commit
6b781060
authored
Apr 03, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
ffd7420e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
149 additions
and
29 deletions
+149
-29
opensquareLogList.html
application/index/view/opensquare/opensquareLogList.html
+143
-14
opensquareList.js
public/resource/js/opensquareList.js
+0
-0
opensquareList_template_tpl.html
public/resource/template/opensquareList_template_tpl.html
+6
-15
No files found.
application/index/view/opensquare/opensquareLogList.html
View file @
6b781060
{layout name="global/frame_two_tpl" /}
{layout name="global/frame_two_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"opensquareList"
/>
<input
type=
"hidden"
class=
"page-load"
id=
"opensquareList"
/>
<style>
<style>
.table-responsive
{
overflow-x
:
none
!important
;
}
.modal-body1
{
.modal-body1
{
height
:
600px
;
height
:
600px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
...
@@ -251,21 +254,21 @@
...
@@ -251,21 +254,21 @@
<div
class=
"panel panel-default"
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<div
class=
"panel-heading breadcrumb"
>
<li>
<li>
<a
href=
"#"
>
商学院
</a>
<a
href=
"#"
>
开盘广场
</a>
</li>
</li>
<
li
class=
"active"
>
商学院列表
</li
>
<
!--<li class="active">商学院列表</li>--
>
<div
class=
"pull-right"
>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<ul
class=
"bread_btn"
>
<li>
<li>
<a
href=
"new_text.html"
class=
"btn btn-default add_alert"
target=
"_self"
><i
class=
"icon-plus"
></i>
新增文章
<a
class=
"btn btn-default"
href=
"#add_modal"
data-toggle=
"modal"
data-id=
"[%= it[item]['id'] %]"
><i
class=
"icon-plus"
></i>
发布开盘
</a>
</a>
</li>
</li>
</ul>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"panel-body"
>
<div
class=
"
table-responsive
"
>
<div
class=
""
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<thead>
<tr>
<tr>
...
@@ -276,9 +279,14 @@
...
@@ -276,9 +279,14 @@
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<span
class=
"fore-span ld-Marheight"
>
-
</span>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<input
class=
"form-control btn4 ld-Marheight"
value=
""
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"end_date"
name=
"end_date"
type=
"date"
>
<!--下拉列表-->
<!--下拉列表-->
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"city_id"
title=
" "
>
<option
value=
"10001"
>
上海市
</option>
<option
value=
"10002"
>
杭州市
</option>
<option
value=
"10003"
>
深圳市
</option>
<option
value=
"10006"
>
广州市
</option>
</select>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id"
title=
" "
>
<select
class=
"form-control btn2 margin-top-ld input"
name=
""
id=
"district_id"
title=
" "
>
<option
value=
""
>
请选择标签
</option>
<option
value=
""
>
部门标签
</option>
</select>
</select>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"release_title"
placeholder=
"文章标题"
type=
"text"
value=
""
>
<input
class=
"form-control btn2 margin-top-ld"
data-rule-phoneus=
"false"
data-rule-required=
"false"
id=
"release_title"
placeholder=
"文章标题"
type=
"text"
value=
""
>
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"search"
>
搜索
</span>
<span
class=
"btn btn-info btn3 margin-top-ld"
id=
"search"
>
搜索
</span>
...
@@ -291,7 +299,8 @@
...
@@ -291,7 +299,8 @@
<th
class=
"text-center"
>
发布时间
</th>
<th
class=
"text-center"
>
发布时间
</th>
<th
class=
"text-center"
>
发布人
</th>
<th
class=
"text-center"
>
发布人
</th>
<th
class=
"text-center"
>
标题
</th>
<th
class=
"text-center"
>
标题
</th>
<th
class=
"text-center"
>
标签
</th>
<th
class=
"text-center"
>
城市
</th>
<th
class=
"text-center"
>
部门标签
</th>
<th
class=
"text-center"
>
评论数
</th>
<th
class=
"text-center"
>
评论数
</th>
<th
class=
"text-center"
>
操作
</th>
<th
class=
"text-center"
>
操作
</th>
...
@@ -302,10 +311,6 @@
...
@@ -302,10 +311,6 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<!-- /#page-content-wrapper -->
<!-- <div class="text-left">
每页显示<span id="page">15</span>条 | 共<span id="total_page"></span>条
</div> -->
<div
class=
"text-right"
id=
"pagediv"
>
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
...
@@ -433,4 +438,128 @@
...
@@ -433,4 +438,128 @@
<!-- /.modal-content -->
<!-- /.modal-content -->
</div>
</div>
<!-- /.modal -->
<!-- /.modal -->
</div>
</div>
\ No newline at end of file
<!--新增开盘 编辑开盘-->
<div
class=
"modal fade"
id=
"add_modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog button-center-bargain"
style=
"width: 900px;"
>
<div
class=
"modal-content"
>
<div
class=
"modal-header"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"modal"
aria-hidden=
"true"
>
×
</button>
<h4
class=
"modal-title"
>
发布开盘
</h4>
</div>
<div
class=
"modal-body"
>
<div
class=
""
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<tbody
id=
""
class=
"text-center"
>
<tr>
<td>
<form
class=
"form-horizontal"
action=
"/agents/add_user"
id=
""
>
<div
class=
"form-group"
>
<label
for=
"inputEmail3"
class=
"col-sm-2 control-label"
>
标题:
</label>
<div
class=
"col-sm-9"
>
<input
type=
"text"
class=
"form-control btn6"
name=
"user_name"
id=
"announcement_title_add"
placeholder=
"请输入标题"
>
<span
class=
"use-span text-danger"
>
(20字以内,显示在首页列表)
</span>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
城市标签:
</label>
<div
class=
"col-sm-9"
>
<select
class=
"form-control btn5 input"
name=
""
id=
"add_city_id"
title=
" "
>
<option
value=
""
>
请选择标签
</option>
<option
value=
"10001"
>
上海市
</option>
<option
value=
"10002"
>
杭州市
</option>
<option
value=
"10003"
>
深圳市
</option>
<option
value=
"10006"
>
广州市
</option>
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
部门标签:
</label>
<div
class=
"col-sm-9"
>
<select
class=
"form-control btn5 input"
name=
""
id=
"add_district_id"
title=
" "
>
<option
value=
""
>
请选择标签
</option>
<option
value=
"7"
>
四部林时达区域
</option>
</select>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
封面图:
</label>
<div
class=
"col-xs-9"
>
<ul
class=
"list-group"
>
<li
class=
"list-group-item"
>
<div
class=
"file-upload-area p-a-0 "
>
<ul
class=
"img-pre-ul"
id=
"fujian_ul_add"
></ul>
<div
class=
"btn-area"
>
<input
class=
"btn btn-default"
type=
"file"
id=
"upload-image-btn"
data-limittop=
"1"
/>
<!--修改上传文件的最大数字-->
<button
class=
"btn btn-default"
>
选择图片
</button>
</div>
</div>
</li>
</ul>
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
内容:
</label>
<div
class=
"col-sm-9"
>
<div>
<!-- 加载编辑器的容器 -->
<script
type=
"text/plain"
id=
"myEditor"
style=
"width:620px;height:240px;"
>
</script>
<!-- 实例化编辑器 -->
<script
type=
"text/javascript"
>
var
ue
=
UE
.
getEditor
(
'myEditor'
);
</script>
</div>
</div>
</div>
</form>
<button
type=
"button"
class=
"btn btn-primary"
id=
"add_news"
>
保存
</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div
class=
"modal-footer text-center"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
\ No newline at end of file
public/resource/js/opensquareList.js
View file @
6b781060
This diff is collapsed.
Click to expand it.
public/resource/template/opensquareList_template_tpl.html
View file @
6b781060
...
@@ -3,31 +3,22 @@
...
@@ -3,31 +3,22 @@
[
%
for
(
var
item
in
it
){
%
]
[
%
for
(
var
item
in
it
){
%
]
<
tr
>
<
tr
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<!--<
td
>
[
%=
hideTel
(
it
[
item
][
"name"
])
%
]
<
/td>--
>
<
td
>
[
%
if
(
it
[
item
][
"name"
]
!=
null
)
{
%
]
<
td
>
[
%
if
(
it
[
item
][
"name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"name"
]
%
]
[
%=
it
[
item
][
"name"
]
%
]
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
[
%
if
(
it
[
item
][
"
label
_name"
]
!=
null
)
{
%
]
<
td
>
[
%
if
(
it
[
item
][
"
site
_name"
]
!=
null
)
{
%
]
[
%=
it
[
item
][
"
label
_name"
]
%
]
[
%=
it
[
item
][
"
site
_name"
]
%
]
[
%
}
%
]
[
%
}
%
]
<
/td
>
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
"label_name"
]
%
]
<
/td>--
>
<
td
>
[
%=
it
[
item
][
"district_name"
]
%
]
<
/td
>
<!--
没有评论数字段
-->
<
td
>
[
%=
it
[
item
][
"id"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"comment_number"
]
%
]
<
/td
>
<
td
>
<
td
>
<
a
href
=
"#show_modal"
class
=
"btn1 btn-success show_modal_btn"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
>
查看
<
/a>
<
a
class
=
"btn1 btn-success show_modal_btn"
href
=
"#show_modal"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
>
查看
<
/a>
<!--<
a
class
=
"btn1 btn-success"
href
=
"new_text.html?id=[%= it[item]['id'] %]"
data
-
createTime
=
'[%= it[item]["create_time"] %]'
data
-
title
=
'[%= it[item]["title"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
content
=
'[%= it[item]["content"] %]'
target
=
"_self"
>-->
<
a
class
=
"btn1 btn-success edit_modal_btn"
href
=
"#add_modal"
data
-
toggle
=
"modal"
data
-
id
=
"[%= it[item]['id'] %]"
>
编辑
<
/a>
<
a
class
=
"btn1 btn-success"
href
=
"new_text.html?id=[%= it[item]['id'] %]"
data
-
id
=
"[%= it[item]['id'] %]"
>
编辑
<
/a
>
[
%
if
(
check_auth
(
'index/delNews'
))
{
%
]
<!--
删除权限
-->
<
a
class
=
"btn1 btn-danger announcement-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
<
a
class
=
"btn1 btn-danger announcement-del"
href
=
"#modal-delete"
data
-
toggle
=
"modal"
data
-
id
=
'[%= it[item]["id"] %]'
>
删除
<
/a
>
[
%
}
%
]
<
/td
>
<
/td
>
<
/tr
>
<
/tr
>
[
%
}
%
]
[
%
}
%
]
...
...
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