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
726b76c2
Commit
726b76c2
authored
Sep 06, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺图库
parent
7e10cd09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
267 additions
and
6 deletions
+267
-6
PictureShow.php
application/index/controller/PictureShow.php
+22
-0
picture_show.html
application/index/view/picture/picture_show.html
+224
-0
route.php
application/route.php
+21
-6
No files found.
application/index/controller/PictureShow.php
0 → 100644
View file @
726b76c2
<?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 @
726b76c2
{layout name="global/frame_tpl" /}
<input
type=
"hidden"
class=
"page-load"
id=
"pictureShow"
/>
<style>
.p-a-0
{
padding
:
0px
;
}
.p-l-15
{
padding-left
:
15px
!important
;
}
.no-border
{
border
:
none
;
}
#preview
img
{
height
:
300px
!important
;
width
:
500px
!important
;
}
#preview
{
height
:
300px
!important
;
width
:
500px
!important
;
}
</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-11 ld-Marheight p-a-0"
>
<select
class=
"form-control btn2"
id=
"yetai_type"
>
<option
value=
"-1"
>
业态标签
</option>
<!--<option value="0">商场美食</option>
<option value="1">临街餐饮</option>-->
</select>
<select
class=
"form-control btn2"
id=
"p_type"
>
<option
value=
"-1"
>
图片类型
</option>
<!--<option value="0">室外图</option>
<option value="1">室内图</option>
<option value="2">人群图</option>-->
</select>
<span
class=
"btn btn-info btn3 "
id=
"search"
>
筛选
</span>
<span
class=
"btn btn-info btn3 "
id=
"reset"
>
重置
</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>
</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"
>
新增图片(上限:10张)
</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"
>
<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 p-l-15"
>
<ul
class=
"img-pre-ul"
id=
"fujian_ul"
></ul>
<div
class=
"btn-area"
>
<input
class=
"btn btn-default"
type=
"file"
id=
"file_input"
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 no-border"
>
<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>
<div
class=
"modal fade"
id=
"modal-show"
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"
>
<span
id=
"creat_time"
></span>
</div>
</div>
<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"
>
<span
id=
"picture_type_show"
></span>
</div>
</div>
<div
class=
"col-xs-12 yetai-area p-a-0 yetai_is_show"
>
<div
class=
"col-xs-3 p-a-0"
>
<label>
业态标签:
</label>
</div>
<div
class=
"col-xs-9 p-a-0"
id=
"yetai_id_show"
>
</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 p-l-15"
>
<!--<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_show"
>
</div>
</div>
</div>
</div>
</div>
<div
class=
"modal-footer no-border"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
<div
class=
"modal fade"
id=
"modal-delete"
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=
"modal-body"
id=
"del_msg"
>
确认删除吗?
</div>
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
关闭
</button>
<button
type=
"button"
class=
"btn btn-primary"
id=
"confirm_delete"
>
删除
</button>
</div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal -->
</div>
application/route.php
View file @
726b76c2
...
@@ -80,6 +80,7 @@ Route::group('index', [
...
@@ -80,6 +80,7 @@ Route::group('index', [
'pcAddFollow'
=>
[
'index/member/pcAddFollow'
,
[
'method'
=>
'post'
]
],
'pcAddFollow'
=>
[
'index/member/pcAddFollow'
,
[
'method'
=>
'post'
]
],
'pcEditClient'
=>
[
'index/member/pcEditClient'
,
[
'method'
=>
'post | get'
]
],
'pcEditClient'
=>
[
'index/member/pcEditClient'
,
[
'method'
=>
'post | get'
]
],
'batchEditCustomer'
=>
[
'index/member/batchEditCustomer'
,
[
'method'
=>
'post'
]
],
//批量修改客方
'batchEditCustomer'
=>
[
'index/member/batchEditCustomer'
,
[
'method'
=>
'post'
]
],
//批量修改客方
'updateUserStatus'
=>
[
'index/member/updateUserStatus'
,
[
'method'
=>
'post'
]
],
//无效客户
//transfer转铺列表
//transfer转铺列表
'transfer_list'
=>
[
'index/transfer/index'
,
[
'method'
=>
'get'
]
],
'transfer_list'
=>
[
'index/transfer/index'
,
[
'method'
=>
'get'
]
],
...
@@ -106,8 +107,11 @@ Route::group('index', [
...
@@ -106,8 +107,11 @@ Route::group('index', [
'delTohouses'
=>
[
'index/broker/delTohouses'
,
[
'method'
=>
'POST'
]
],
//解除经纪人和楼盘关系
'delTohouses'
=>
[
'index/broker/delTohouses'
,
[
'method'
=>
'POST'
]
],
//解除经纪人和楼盘关系
'getAgentsTohouses'
=>
[
'index/broker/getAgentsTohouses'
,
[
'method'
=>
'GET'
]
],
//获取经纪人和楼盘关系信息
'getAgentsTohouses'
=>
[
'index/broker/getAgentsTohouses'
,
[
'method'
=>
'GET'
]
],
//获取经纪人和楼盘关系信息
'getAgentDistrictStore'
=>
[
'index/broker/getAgentDistrictStore'
,
[
'method'
=>
'GET'
]
],
//获取经纪人id获取部门门店名称
'getAgentDistrictStore'
=>
[
'index/broker/getAgentDistrictStore'
,
[
'method'
=>
'GET'
]
],
//获取经纪人id获取部门门店名称
'getCurrentCity'
=>
[
'index/broker/getCurrentCity'
,
[
'method'
=>
'GET'
]
],
//获取所属城市
'settingCity'
=>
[
'index/broker/settingCity'
,
[
'method'
=>
'POST'
]
],
//设置所属城市
'batchChangDish'
=>
[
'index/houses/batchChangDish'
,
[
'method'
=>
'post'
]
],
//批量修改盘方
'batchChangDish'
=>
[
'index/houses/batchChangDish'
,
[
'method'
=>
'post'
]
],
//批量修改盘方
'transformLandlord'
=>
[
'index/houses/transformLandlord'
,
[
'method'
=>
'post'
]
],
//转换房东手机号
'transformLandlord'
=>
[
'index/houses/transformLandlord'
,
[
'method'
=>
'post'
]
],
//转换房东手机号
'lockHouse'
=>
[
'index/houses/lockHouse'
,
[
'method'
=>
'post'
]
],
//锁盘
//版本管理
//版本管理
'version'
=>
[
'index/version/index'
,
[
'method'
=>
'get'
]
],
'version'
=>
[
'index/version/index'
,
[
'method'
=>
'get'
]
],
...
@@ -156,9 +160,10 @@ Route::group('index', [
...
@@ -156,9 +160,10 @@ Route::group('index', [
'delBusinessDistrict'
=>
[
'index/BusinessDistrict/del'
,
[
'method'
=>
'post'
]
],
//删除商圈列表
'delBusinessDistrict'
=>
[
'index/BusinessDistrict/del'
,
[
'method'
=>
'post'
]
],
//删除商圈列表
//商铺
//商铺
'BusinessList'
=>
[
'index/BusinessDistrict/getBusiness'
,
[
'method'
=>
'get'
]
],
//获取商铺列表数据
'BusinessList'
=>
[
'index/BusinessDistrict/getBusiness'
,
[
'method'
=>
'get'
]
],
//获取商圈
'houseEdit'
=>
[
'index/Houses/edit'
,
[
'method'
=>
'get|post'
]
],
//编辑商铺
'getBusinessAll'
=>
[
'index/BusinessDistrict/getBusinessAll'
,
[
'method'
=>
'get'
]
],
//获取商圈,不带分页
'houseAdd'
=>
[
'index/Houses/edit'
,
[
'method'
=>
'get'
]
],
//新增商铺
'houseEdit'
=>
[
'index/Houses/editV2'
,
[
'method'
=>
'get|post'
]
],
//编辑商铺
'houseAdd'
=>
[
'index/Houses/editV2'
,
[
'method'
=>
'get'
]
],
//新增商铺
'houseDel'
=>
[
'index/Houses/del'
,
[
'method'
=>
'post'
]
],
//删除商铺
'houseDel'
=>
[
'index/Houses/del'
,
[
'method'
=>
'post'
]
],
//删除商铺
'regions'
=>
[
'index/BusinessDistrict/regions'
,
[
'method'
=>
'get'
]
],
//获取省市区数据
'regions'
=>
[
'index/BusinessDistrict/regions'
,
[
'method'
=>
'get'
]
],
//获取省市区数据
'getCity'
=>
[
'index/BusinessDistrict/getCity'
,
[
'method'
=>
'get'
]
],
//获取所有的城市
'getCity'
=>
[
'index/BusinessDistrict/getCity'
,
[
'method'
=>
'get'
]
],
//获取所有的城市
...
@@ -298,6 +303,9 @@ Route::group('index', [
...
@@ -298,6 +303,9 @@ 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'
]
],
//商铺图库 杜欣源 2018-08-31
//c端商铺图库相关
//c端商铺图库相关
'addImageDepot'
=>
[
'index/ImageDepot/addImageDepot'
,
[
'method'
=>
'get | post'
]
],
//上传保存图片
'addImageDepot'
=>
[
'index/ImageDepot/addImageDepot'
,
[
'method'
=>
'get | post'
]
],
//上传保存图片
...
@@ -306,8 +314,7 @@ Route::group('index', [
...
@@ -306,8 +314,7 @@ Route::group('index', [
'getImageDepotById'
=>
[
'index/ImageDepot/getImageDepotById'
,
[
'method'
=>
'get | post'
]
],
//根据ID获取记录
'getImageDepotById'
=>
[
'index/ImageDepot/getImageDepotById'
,
[
'method'
=>
'get | post'
]
],
//根据ID获取记录
'delImageDepot'
=>
[
'index/ImageDepot/delImageDepot'
,
[
'method'
=>
'get | post'
]
],
//删除
'delImageDepot'
=>
[
'index/ImageDepot/delImageDepot'
,
[
'method'
=>
'get | post'
]
],
//删除
'ceshi'
=>
[
'index/ImageDepot/ceshi'
,
[
'method'
=>
'get | post'
]
],
//
'ceshi'
=>
[
'index/ImageDepot/ceshi'
,
[
'method'
=>
'get | post'
]
],
//
]);
]);
...
@@ -386,6 +393,8 @@ Route::group('api', [
...
@@ -386,6 +393,8 @@ Route::group('api', [
'saveSiteCity'
=>
[
'api/Location/saveSiteCity'
,
[
'method'
=>
'POST|GET'
]
],
//保存默认城市选择 c端
'saveSiteCity'
=>
[
'api/Location/saveSiteCity'
,
[
'method'
=>
'POST|GET'
]
],
//保存默认城市选择 c端
]);
]);
Route
::
group
(
'chat'
,
[
Route
::
group
(
'chat'
,
[
...
@@ -431,7 +440,10 @@ Route::group('task', [
...
@@ -431,7 +440,10 @@ Route::group('task', [
'rongBilledInformUrl'
=>
[
'task/PrivacyNumber/rongBilledInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[话单通知]
'rongBilledInformUrl'
=>
[
'task/PrivacyNumber/rongBilledInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[话单通知]
'rongRecordingInformUrl'
=>
[
'task/PrivacyNumber/rongRecordingInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[录音通知]
'rongRecordingInformUrl'
=>
[
'task/PrivacyNumber/rongRecordingInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[录音通知]
'rongStatusInformUrl'
=>
[
'task/PrivacyNumber/rongStatusInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[状态通知]
'rongStatusInformUrl'
=>
[
'task/PrivacyNumber/rongStatusInformUrl'
,
[
'method'
=>
'post | get'
]
],
//隐私号码回调[状态通知]
'defaultFollowUp'
=>
[
'task/PrivacyNumber/defaultFollowUp'
,
[
'method'
=>
'post | get'
]
]
//默认跟进
'defaultFollowUp'
=>
[
'task/PrivacyNumber/defaultFollowUp'
,
[
'method'
=>
'post | get'
]
],
//默认跟进
'updateShopTask'
=>
[
'task/JobTask/updateShopTask'
,
[
'method'
=>
'post | get'
]
]
//默认跟进
]);
]);
Route
::
group
(
'broker'
,
[
Route
::
group
(
'broker'
,
[
...
@@ -517,6 +529,7 @@ Route::group('broker', [
...
@@ -517,6 +529,7 @@ Route::group('broker', [
'delHouseFile'
=>
[
'api_broker/shop/delHouseFile'
,
[
'method'
=>
'post'
]
],
//商铺文件删除
'delHouseFile'
=>
[
'api_broker/shop/delHouseFile'
,
[
'method'
=>
'post'
]
],
//商铺文件删除
'getAddress'
=>
[
'api_broker/shop/getAddress'
,
[
'method'
=>
'get'
]
],
//获取江浙沪城市
'getAddress'
=>
[
'api_broker/shop/getAddress'
,
[
'method'
=>
'get'
]
],
//获取江浙沪城市
'getRegions'
=>
[
'api_broker/shop/getRegions'
,
[
'method'
=>
'get'
]
],
//获取省市区
'getRegions'
=>
[
'api_broker/shop/getRegions'
,
[
'method'
=>
'get'
]
],
//获取省市区
'getBusinessAll'
=>
[
'api_broker/shop/getBusinessAll'
,
[
'method'
=>
'get'
]
],
//获取商圈
'selectPerformanceByTime'
=>
[
'api_broker/Performance/selectPerformanceByTime'
,
[
'method'
=>
'get'
]
],
'selectPerformanceByTime'
=>
[
'api_broker/Performance/selectPerformanceByTime'
,
[
'method'
=>
'get'
]
],
...
@@ -592,6 +605,8 @@ Route::group('broker', [
...
@@ -592,6 +605,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