切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
131e9a8337c4b1214941378a8bff91fba015129e
1 个父辈
935027af
1 个管道 的构建
通过
耗费 1 秒
首页
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
19 行增加
和
35 行删除
app/portal/controller/IndexController.php
public/themes/simpleboot3/portal/index/index.html
app/portal/controller/IndexController.php
查看文件 @
131e9a8
...
...
@@ -21,6 +21,10 @@ class IndexController extends WeChatBaseController
//显示分类
$data_classif
=
Db
::
name
(
'classification'
)
->
select
();
$this
->
assign
(
'data_classif'
,
$data_classif
);
//热门推荐
$data_goods_hot
=
Db
::
name
(
'goods'
)
->
where
(
"recommend_hot=1 and type = 1"
)
->
select
();
dump
(
$data_goods_hot
);
die
;
$this
->
assign
(
'data_goods_hot'
,
$data_goods_hot
);
return
$this
->
fetch
();
}
...
...
public/themes/simpleboot3/portal/index/index.html
查看文件 @
131e9a8
...
...
@@ -128,42 +128,22 @@
<div
class=
"in_campust2"
>
好货上新,火热开抢!
</div>
<!-- 商品 -->
<div
class=
"in_hot_shop"
>
<div
class=
"in_hotLi"
>
<div
class=
"in_hotImg"
>
<img
src=
"__TMPL__/public/assets/images/9.png"
alt=
""
>
</div>
<div
class=
"in_hotText"
>
<div
class=
"in_hotName txt-cut"
><span>
小学
</span>
小学英语五年级下 册好用不贵经济实...
</div>
<div
class=
"in_cam_shopPrice"
>
<div
class=
"in_hotPrice1"
>
¥
<span>
265
</span>
.00
</div>
<div
class=
"in_cam_shopY"
>
¥200.00
</div>
</div>
</div>
</div>
<div
class=
"in_hotLi"
>
<div
class=
"in_hotImg"
>
<img
src=
"__TMPL__/public/assets/images/9.png"
alt=
""
>
</div>
<div
class=
"in_hotText"
>
<div
class=
"in_hotName txt-cut"
><span>
小学
</span>
小学英语五年级下 册好用不贵经济实...
</div>
<div
class=
"in_cam_shopPrice"
>
<div
class=
"in_hotPrice1"
>
¥
<span>
265
</span>
.00
</div>
<div
class=
"in_cam_shopY"
>
¥200.00
</div>
</div>
</div>
</div>
<div
class=
"in_hotLi"
>
<div
class=
"in_hotImg"
>
<img
src=
"__TMPL__/public/assets/images/9.png"
alt=
""
>
</div>
<div
class=
"in_hotText"
>
<div
class=
"in_hotName txt-cut"
><span>
小学
</span>
小学英语五年级下 册好用不贵经济实...
</div>
<div
class=
"in_cam_shopPrice"
>
<div
class=
"in_hotPrice1"
>
¥
<span>
265
</span>
.00
</div>
<div
class=
"in_cam_shopY"
>
¥200.00
</div>
</div>
<volist
name=
"data_goods_hot"
id=
"vo"
>
<div
class=
"in_hotLi"
>
<a>
<div
class=
"in_hotImg"
>
<img
src=
"__TMPL__/public/assets/images/9.png"
alt=
""
>
</div>
<div
class=
"in_hotText"
>
<div
class=
"in_hotName txt-cut"
><span>
小学
</span>
小学英语五年级下 册好用不贵经济实...
</div>
<div
class=
"in_cam_shopPrice"
>
<div
class=
"in_hotPrice1"
>
¥
<span>
265
</span>
.00
</div>
<div
class=
"in_cam_shopY"
>
¥200.00
</div>
</div>
</div>
</a>
</div>
</
div
>
</
volist
>
</div>
</div>
<!-- 底部更多 -->
...
...
请
注册
或
登录
后发表评论