Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
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
蒋勇
zhichan
Commits
6a63ccdf
Commit
6a63ccdf
authored
Jan 08, 2020
by
刘泽奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
5b9fbb39
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
62 additions
and
31 deletions
+62
-31
igirl-channel-web/app/front/entry/public/js/index.js
+1
-3
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.html
+1
-1
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.js
+52
-22
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.html
+2
-2
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.js
+6
-3
No files found.
igirl-channel-web/app/front/entry/public/js/index.js
View file @
6a63ccdf
...
...
@@ -292,13 +292,12 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
this
.
jdSelfFooterShow
=
false
;
break
;
}
});
},
// 处理参数方法
copyParams
(
actionBody
,
actionType
,
url
,
isUser
=
"no"
,
isDecryptUser
=
"no"
)
{
var
data
=
this
.
commonParams
;
data
.
actionProcess
=
this
.
$root
.
getChannelPath
()
;
data
.
actionProcess
=
'jd'
||
this
.
channelName
;
data
.
actionType
=
actionType
;
data
.
actionBody
=
actionBody
||
{};
data
.
requrl
=
this
.
host
+
url
;
...
...
@@ -332,7 +331,6 @@ axios.get("/web/common/metaCtl/getRouteConfig").then(d => {
$
(
".spechorizotal .nav_color:hover"
).
css
(
"color"
,
"#2692FF"
);
}
else
{
this
.
popupsType
=
true
;
}
// setTimeout(()=>{
...
...
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.html
View file @
6a63ccdf
...
...
@@ -81,7 +81,7 @@
<div><sup>
¥
</sup><span>
{{item.proPrice}}
</span>
/件
</div>
<div
class=
"brandreg-swiper-content-button"
:class=
"{\'brandreg-swiper-content-button-enter\':index==current}"
@
click=
"jumpJdProductDetails(item
,$event
)"
>
立即购买
@
click=
"jumpJdProductDetails(item)"
>
立即购买
</div>
</div>
</div>
...
...
igirl-channel-web/app/front/vues/pages/jdtrademark/jdtrademark.js
View file @
6a63ccdf
...
...
@@ -157,7 +157,7 @@
methods
:
{
/*全选 */
goIndentList
(){
location
.
href
=
"https://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=https://tm.plus.jdcloud.com/jdtm/getUser&state=jdindentlist&client_id=9491577327154697"
;
location
.
href
=
"https://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=https://tm.plus.jdcloud.com/jdtm/getUser&state=jdindentlist&client_id=9491577327154697"
;
},
handleCheckAllChange
(
val
)
{
if
(
val
)
{
...
...
@@ -195,32 +195,62 @@
}
});
},
jumpJdProductDetails
(
code
,
e
){
if
(
code
.
channelItemCode
)
{
switch
(
code
.
itemCode
)
{
case
"zzsbzc"
:
location
.
href
=
"https://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=https://tm.plus.jdcloud.com/jdtm/getUser&state=selftmreg&client_id=9491577327154697"
;
/*this.$router.push({ path: "/jd/selftmreg", query: {} });*/
break
;
case
"fzsbzc"
:
jumpJdProductDetails
(
code
){
switch
(
this
.
$root
.
channelName
)
{
case
"jd"
:
if
(
code
.
channelItemCode
)
{
switch
(
code
.
itemCode
)
{
case
"zzsbzc"
:
location
.
href
=
"https://oauth2.jdcloud.com/authorize?response_type=token&redirect_uri=https://tm.plus.jdcloud.com/jdtm/getUser&state=selftmreg&client_id=9491577327154697"
;
/*this.$router.push({ path: "/jd/selftmreg", query: {} });*/
break
;
case
"fzsbzc"
:
case
"dbsbzc"
:
let
productId
=
code
.
channelItemCode
.
split
(
'-'
)[
1
];
console
.
log
(
code
.
channelItemCode
.
split
(
'-'
),
"xxxxxxxxxxxxxx"
);
window
.
open
(
`https://market.jdcloud.com/service/details/
${
productId
}
`
);
break
;
default
:
break
;
}
}
else
{
return
}
case
"dbsbzc"
:
let
productId
=
code
.
channelItemCode
.
split
(
'-'
)[
1
];
console
.
log
(
code
.
channelItemCode
.
split
(
'-'
),
"xxxxxxxxxxxxxx"
);
window
.
open
(
`https://market.jdcloud.com/service/details/
${
productId
}
`
);
break
;
default
:
break
;
}
}
else
{
return
}
break
;
case
"bw"
:
if
(
code
.
channelItemCode
)
{
switch
(
code
.
itemCode
)
{
case
"zzsbzc"
:
this
.
$router
.
push
({
path
:
`/
${
this
.
$root
.
channelName
}
/bwselftmreg`
,
query
:
{
sdsId
:
code
.
channelItemCode
}
});
/*this.$router.push({ path: "/jd/selftmreg", query: {} });*/
break
;
case
"fzsbzc"
:
case
"dbsbzc"
:
this
.
$router
.
push
({
path
:
`/
${
this
.
$root
.
channelName
}
/servicedetails`
,
query
:
{
sdsId
:
code
.
channelItemCode
}
});
break
;
default
:
break
;
}
}
else
{
return
}
break
;
default
:
break
;
}
console
.
log
(
code
,
e
);
}
},
vname
:
"gsb-jdtrademark"
...
...
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.html
View file @
6a63ccdf
...
...
@@ -5,10 +5,10 @@
<span
style=
"font-weight:600;"
>
服务详情页
</span>
</div>
<div
class=
"sds-img"
>
<img
:src=
"serviceItem.
mobilePic
"
alt=
""
style=
"width:100%;height:100%"
>
<img
:src=
"serviceItem.
picUrl
"
alt=
""
style=
"width:100%;height:100%"
>
</div>
<div
class=
"sds-info"
>
<h3>
{{serviceItem.
n
ame}}
</h3>
<h3>
{{serviceItem.
itemN
ame}}
</h3>
<h5>
{{serviceItem.shortDesc}}
</h5>
<div
class=
"sds-t"
>
<span
style=
"color:#999;font-size:12px;margin:12px"
>
服务费:
</span>
<b
...
...
igirl-channel-web/app/front/vues/pages/servicedetails/servicedetails.js
View file @
6a63ccdf
...
...
@@ -350,10 +350,13 @@
getServiceItemInfo
(){
var
sdsId
=
window
.
location
.
href
.
split
(
"sdsId="
)[
1
];
var
that
=
this
;
this
.
$root
.
getReq
(
"/web/serviceitemCtl/findOneById"
,
{
id
:
sdsId
}).
then
(
function
(
d
)
{
if
(
d
.
code
==
1
)
{
let
obj
=
this
.
$root
.
copyParams
({
channelUserId
:
"123"
,
channelItemCode
:
sdsId
},
"getProductDetail"
,
"/action/tmOrder/springBoard"
);
this
.
$root
.
postReq
(
"/web/trademark/tmqueryCtl/doPost"
,
obj
).
then
(
function
(
d
)
{
if
(
d
.
status
==
0
)
{
that
.
serviceItem
=
d
.
data
;
console
.
log
(
"返回信息"
,
d
.
data
)
console
.
log
(
"返回信息"
,
{...
d
.
data
})
}
else
{
console
.
log
(
d
.
msg
);
}
})
},
...
...
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