Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
黄成意
/
yunxin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
01e762b4
authored
Nov 03, 2020
by
huangchengyi
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加商品详情链接
parent
3b7c7e01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
config/website.php
public/pc/js/controller/GoodsComList.js
public/pc/js/controller/GoodsList.js
config/website.php
View file @
01e762b4
...
...
@@ -6,7 +6,7 @@ return [
"URL_ICHUNT"
=>
"https://www.ichunt.com"
,
"URL_YUNXIN"
=>
"http://yunxin.liexin.com"
,
"URL_FINANCE"
=>
"http://finance.liexin.com"
,
"URL_FOOTSTONE"
=>
"http://foostone.liexin.net"
,
"URL_FOOTSTONE"
=>
"http://foo
t
stone.liexin.net"
,
"URL_PUR"
=>
"http://pur.liexin.com"
,
"URL_ES"
=>
"http://soso12.ichunt.com"
,
//测试Es地址
// "URL_ES"=>"http://szso.ichunt.com",//测试Es地址
...
...
public/pc/js/controller/GoodsComList.js
View file @
01e762b4
...
...
@@ -43,7 +43,7 @@
})
,
cols
:
[[
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
190
,
align
:
'center'
,
templet
:
function
(
d
){
return
d
.
goods_id
return
"<a href='https://www.ichunt.com/goods_"
+
d
.
goods_id
+
".html' style='cursor: pointer;text-decoration: none'>"
+
d
.
goods_id
+
"</a>"
}},
{
field
:
'goods_name'
,
title
:
'SKU型号'
,
width
:
170
,
align
:
'center'
},
{
field
:
'goods_type_name'
,
title
:
'商品类别'
,
align
:
'center'
},
...
...
public/pc/js/controller/GoodsList.js
View file @
01e762b4
...
...
@@ -46,6 +46,9 @@
,
first
:
true
//不显示首页
,
last
:
false
//不显示尾页
,
cols
:
[[
{
field
:
'goods_id'
,
title
:
'商品ID'
,
width
:
190
,
align
:
'center'
,
templet
:
function
(
d
){
return
"<a href='https://www.ichunt.com/item/"
+
d
.
goods_id
+
".html' style='cursor: pointer;text-decoration: none'>"
+
d
.
goods_id
+
"</a>"
}},
{
field
:
'encoded'
,
title
:
'商品编码'
,
align
:
'center'
}
,{
field
:
'goods_type_name'
,
title
:
'类型'
,
align
:
'center'
}
,{
field
:
'goods_name'
,
title
:
'型号'
,
align
:
'center'
}
...
...
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