Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fk_xcx
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李静静
fk_xcx
Commits
74940ffe
Commit
74940ffe
authored
Apr 11, 2022
by
李静静
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
有赞商城跳转
parent
a09ab2cb
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
116 additions
and
5 deletions
+116
-5
app.json
app.json
+2
-1
index.js
pages/youzan/index.js
+44
-0
index.json
pages/youzan/index.json
+4
-0
index.wxss
pages/youzan/index.wxss
+37
-0
project.config.json
project.config.json
+29
-4
No files found.
app.json
View file @
74940ffe
...
...
@@ -3,7 +3,8 @@
"pages/freeCourse/index"
,
"pages/joinGroup/index"
,
"pages/weibanzhushou/index"
,
"pages/yinliu/externalLink"
"pages/yinliu/externalLink"
,
"pages/youzan/index"
],
"plugins"
:
{
"chatGroupPlugin"
:
{
...
...
pages/youzan/index.js
0 → 100644
View file @
74940ffe
import
{
request
}
from
"../../utils/request"
;
Page
({
data
:
{
path
:
""
,
picture_list
:[]
},
onLoad
(
pageParams
){
this
.
path
=
pageParams
.
yz_url
;
this
.
loadImgs
(
pageParams
.
pic_id
)
},
loadImgs
(
id
){
if
(
!
id
){
return
}
request
({
url
:
"/xcx/picture?ids="
+
id
,
success
:(
res
)
=>
{
console
.
log
(
res
.
data
)
if
(
res
.
data
&&
res
.
data
.
code
===
0
){
// console.log(res.data.data.list)
this
.
setData
({
picture_list
:
res
.
data
.
data
,
})
}
}
})
},
gotomini
(){
wx
.
navigateToMiniProgram
({
path
:
this
.
path
,
appId
:
'wxb600f58eba6a3af9'
,
success
(
res
){
console
.
log
(
res
)
},
fail
(
err
){
console
.
log
(
err
)
},
complete
(){
console
.
log
(
'complete'
)
}
})
}
})
pages/youzan/index.json
0 → 100644
View file @
74940ffe
{
"usingComponents"
:
{}
}
\ No newline at end of file
pages/youzan/index.wxss
0 → 100644
View file @
74940ffe
page{
background: none;
}
.img_list{
width: 100%;
padding-bottom: 176rpx;
}
.img_item{
display: block;
width: 100%;
}
.join-btn{
position: fixed;
left:0;
bottom:0;
width: 100%;
height:176rpx;
line-height: 176rpx;
text-align: center;
color:#fff;
font-size: 30rpx;
font-weight: 600;
z-index: 5;
background: #fff;
}
.join-btn-text{
position: relative;
width:85%;
left:50%;
top:50%;
transform:translate(-50%,-50%);
height:110rpx;
line-height:110rpx;
border-radius:110rpx;
z-index: 1;
background: linear-gradient(180deg, rgba(245, 110, 81, 1) 0%, rgba(234, 62, 102, 1) 100%);
}
project.config.json
View file @
74940ffe
...
...
@@ -19,20 +19,21 @@
"compileHotReLoad"
:
false
,
"useMultiFrameRuntime"
:
true
,
"useApiHook"
:
true
,
"useApiHostProcess"
:
true
,
"babelSetting"
:
{
"ignore"
:
[],
"disablePlugins"
:
[],
"outputPath"
:
""
},
"enableEngineNative"
:
false
,
"bundle"
:
false
,
"useIsolateContext"
:
true
,
"useCompilerModule"
:
true
,
"userConfirmedUseCompilerModuleSwitch"
:
false
,
"userConfirmedBundleSwitch"
:
false
,
"packNpmManually"
:
false
,
"packNpmRelationList"
:
[],
"minifyWXSS"
:
true
,
"bundle"
:
false
,
"useApiHostProcess"
:
true
"minifyWXSS"
:
true
},
"appid"
:
"wxc2a5e8782fb56ad9"
,
"projectname"
:
"fk_xcx"
,
...
...
@@ -60,7 +61,31 @@
{
"name"
:
"pages/joinGroup/index"
,
"pathName"
:
"pages/joinGroup/index"
,
"query"
:
"gId=https://work.weixin.qq.com/gm/24e84fe11d990cd99fa67ccd99f1aa4b"
,
"query"
:
"gId=https://work.weixin.qq.com/gm/392681dd4ee5031d28f1136841fbd76e"
,
"scene"
:
null
},
{
"name"
:
"pages/weibanzhushou/index"
,
"pathName"
:
"pages/weibanzhushou/index"
,
"query"
:
""
,
"scene"
:
null
},
{
"name"
:
"引流链接"
,
"pathName"
:
"pages/yinliu/externalLink"
,
"query"
:
""
,
"scene"
:
null
},
{
"name"
:
"pages/yinliu/externalLink"
,
"pathName"
:
"pages/yinliu/externalLink"
,
"query"
:
""
,
"scene"
:
null
},
{
"name"
:
"pages/youzan/index"
,
"pathName"
:
"pages/youzan/index"
,
"query"
:
"pic_id=2192&yz_url=packages/goods/detail/index?alias=1y91ryy7uj35ure"
,
"scene"
:
null
}
]
...
...
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