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
82b440a2
Commit
82b440a2
authored
Aug 30, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add picture base of shop
parent
45b85d92
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
160 additions
and
2 deletions
+160
-2
PictureShow.php
application/index/controller/PictureShow.php
+22
-0
picture_show.html
application/index/view/picture/picture_show.html
+132
-0
route.php
application/route.php
+6
-2
No files found.
application/index/controller/PictureShow.php
0 → 100644
View file @
82b440a2
<?php
namespace
app\index\controller
;
/**
* Created by PhpStorm.
* User: liu yin ping
* Date: 2018/3/13
* Time: 15:48
*/
use
app\index\extend\Basic
;
class
PictureShow
extends
Basic
{
public
function
pictureShow
()
{
if
(
!
$this
->
request
->
isAjax
())
{
return
view
(
'picture/picture_show'
);
}
}
}
application/index/view/picture/picture_show.html
0 → 100644
View file @
82b440a2
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"pictureShow"
/>
<style>
</style>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
""
>
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading breadcrumb"
>
<li><a
href=
"#"
>
商铺列表
</a></li>
<li
class=
"active"
>
商铺图库
</li>
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<li>
<a
href=
"#modal"
data-toggle=
"modal"
class=
"btn btn-default"
><i
class=
"icon-plus"
></i>
商铺图片
</a>
</li>
</ul>
</div>
</div>
<div
class=
"panel-body"
>
<div
class=
"table-responsive"
>
<table
class=
"table table-striped table-bordered table-hover table-condensed"
>
<thead>
<tr>
<td
colspan=
"10"
>
<form
id=
"form_search"
>
<div
class=
"col-xs-12 ld-Marheight"
style=
"padding:0px"
>
<select
class=
"form-control btn2"
id=
"shop_type"
>
<option
value=
"-1"
>
业态标签
</option>
<option
value=
"0"
>
商场美食
</option>
<option
value=
"1"
>
临街餐饮
</option>
</select>
<select
class=
"form-control btn2"
id=
"leased"
>
<option
value=
"-1"
>
图片类型
</option>
<option
value=
"0"
>
人群图
</option>
<option
value=
"1"
>
室内图
</option>
<option
value=
"2"
>
室外图
</option>
</select>
<span
class=
"btn btn-info btn3 ld-Marheight"
id=
"search"
>
筛选
</span>
</div>
</form>
</td>
</tr>
<tr
class=
"main_table_th_tr"
>
<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>
</tr>
</thead>
<tbody
class=
"text-center"
id=
"picture_list"
></tbody>
<tr>
<th>
111
</th><th>
111
</th>
<th>
111
</th>
<th>
111
</th>
<th>
111
</th>
</tr>
</table>
</div>
<!-- /#page-content-wrapper -->
<div
class=
"text-right"
id=
"pagediv"
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal fade"
id=
"modal"
tabindex=
"-1"
role=
"dialog"
aria-labelledby=
"myModalLabel"
aria-hidden=
"true"
>
<div
class=
"modal-dialog"
>
<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=
"col-xs-12 picture-area p-a-0"
>
<div
class=
"col-xs-3 p-a-0"
>
<label>
图片类型:
</label>
</div>
<div
class=
"col-xs-9 p-a-0"
>
<select
class=
"form-control"
id=
"leased"
value=
""
>
<option
value=
"-1"
>
图片类型
</option>
<option
value=
"0"
>
人群图
</option>
<option
value=
"1"
>
室内图
</option>
<option
value=
"2"
>
室外图
</option>
</select>
</div>
</div>
<div
class=
"col-xs-12 yetai-area p-a-0"
>
<div
class=
"col-xs-3 p-a-0"
>
<label>
业态标签:
</label>
</div>
<div
class=
"col-xs-9 p-a-0"
id=
"yetai_id"
>
</select>
</div>
</div>
<div
class=
"col-xs-12 p-a-0"
>
<div
class=
"col-xs-3"
>
<label>
图片:
</label>
</div>
<div
class=
"col-xs-9 p-a-0"
>
<div
class=
"file-upload-area"
style=
"padding-left:15px!important"
>
<ul
class=
"img-pre-ul"
id=
"fujian_ul"
></ul>
<div
class=
"btn-area"
>
<input
class=
"btn btn-default"
type=
"file"
id=
"file_input"
class=
""
data-limittop=
"10"
/>
<!--修改上传文件的最大数字-->
<button
class=
"btn btn-default"
>
选择图片
</button>
</div>
<div
class=
"col-xs-12 img_area"
>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer"
style=
"border : none "
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"save"
>
保存
</div>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
application/route.php
View file @
82b440a2
...
@@ -298,8 +298,10 @@ Route::group('index', [
...
@@ -298,8 +298,10 @@ Route::group('index', [
'selectIndividualPerformance'
=>
[
'index/Performance/selectIndividualPerformance'
,
[
'method'
=>
'POST|GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'selectIndividualPerformance'
=>
[
'index/Performance/selectIndividualPerformance'
,
[
'method'
=>
'POST|GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'transformFollowUp'
=>
[
'index/HouseFollowUp/transformFollowUp'
,
[
'method'
=>
'GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'transformFollowUp'
=>
[
'index/HouseFollowUp/transformFollowUp'
,
[
'method'
=>
'GET'
]
],
//个人业绩排行 朱伟 2018-07-31
'getPerformanceExcel'
=>
[
'index/Performance/getPerformanceExcel'
,
[
'method'
=>
'POST|GET'
]
],
'getPerformanceExcel'
=>
[
'index/Performance/getPerformanceExcel'
,
[
'method'
=>
'POST|GET'
]
],
'pictureShow'
=>
[
'index/PictureShow/pictureShow'
,
[
'method'
=>
'POST|GET'
]
],
]);
]);
...
@@ -584,6 +586,8 @@ Route::group('broker', [
...
@@ -584,6 +586,8 @@ Route::group('broker', [
'bargainMain'
=>
[
'api_broker/Bargain/bargainList'
,
[
'method'
=>
'POST|GET'
]
],
'bargainMain'
=>
[
'api_broker/Bargain/bargainList'
,
[
'method'
=>
'POST|GET'
]
],
...
...
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