Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
2dc494e8
Commit
2dc494e8
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
6307058c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
248 deletions
+41
-248
addons/theme/stv1/_static_w3g/css/common.css
+6
-0
apps/mall/Lib/Action/GoodsAction.class.php
+11
-1
apps/mall/Tpl/default/Goods/view_w3g.html
+24
-247
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
2dc494e8
...
@@ -894,4 +894,9 @@ div::-webkit-scrollbar {
...
@@ -894,4 +894,9 @@ div::-webkit-scrollbar {
.pay_course_bottom
{
.pay_course_bottom
{
padding
:
0.75rem
;
padding
:
0.75rem
;
}
/* Goods Detail */
.goods_detail_top
{
}
}
\ No newline at end of file
apps/mall/Lib/Action/GoodsAction.class.php
View file @
2dc494e8
...
@@ -171,7 +171,17 @@ class GoodsAction extends Action
...
@@ -171,7 +171,17 @@ class GoodsAction extends Action
$split_score
=
model
(
'Xdata'
)
->
get
(
"admin_Config:rechargeIntoConfig"
);
$split_score
=
model
(
'Xdata'
)
->
get
(
"admin_Config:rechargeIntoConfig"
);
unset
(
$split_score
[
'rechange_default'
]);
unset
(
$split_score
[
'rechange_default'
]);
$sple_score
=
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
1
]
/
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
0
];
$sple_score
=
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
1
]
/
array_filter
(
explode
(
':'
,
$split_score
[
'sple_score'
]))[
0
];
//如果是ajax并且为h5访问 直接输出后边的数据
// if ($this->isAjax() && $this->is_wap && $_GET['api']) {
// echo json_encode(array(
// 'status': 1,
// 'data' => $data,
// 'address' => $address,
// 'goodsOrder' => $goodsOrder['data']
// ));
// }
$this
->
assign
(
'data'
,
$data
);
$this
->
assign
(
'data'
,
$data
);
$this
->
assign
(
'address'
,
$address
);
$this
->
assign
(
'address'
,
$address
);
$this
->
assign
(
'goodsOrder'
,
$goodsOrder
[
'data'
]);
$this
->
assign
(
'goodsOrder'
,
$goodsOrder
[
'data'
]);
...
...
apps/mall/Tpl/default/Goods/view_w3g.html
View file @
2dc494e8
This diff is collapsed.
Click to expand it.
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