Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
Project
Project
Details
Activity
Releases
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
wildfirecode13
hello_taobao
Commits
6eadec33
Commit
6eadec33
authored
Sep 08, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b3e36f30
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
59 additions
and
5 deletions
+59
-5
app.js
dist/app.js
+2
-2
pageshou_ye.acss
dist/pages/pageshou_ye/pageshou_ye.acss
+12
-3
pageshou_ye.js
dist/utils/pageshou_ye.js
+45
-0
No files found.
dist/app.js
View file @
6eadec33
...
@@ -2,7 +2,7 @@ import cloud from '@tbmp/mp-cloud-sdk';
...
@@ -2,7 +2,7 @@ import cloud from '@tbmp/mp-cloud-sdk';
import
tbcc
from
'./tbcc-sdk'
;
import
tbcc
from
'./tbcc-sdk'
;
cloud
.
init
({
cloud
.
init
({
env
:
'
online
'
// 云函数环境 test 测试环境 online 线上环境
env
:
'
test
'
// 云函数环境 test 测试环境 online 线上环境
});
});
App
({
App
({
...
@@ -23,6 +23,6 @@ App({
...
@@ -23,6 +23,6 @@ App({
*/
*/
handleQuery
(
query
)
{
handleQuery
(
query
)
{
const
{
activityId
}
=
query
;
const
{
activityId
}
=
query
;
this
.
activityId
=
activityId
||
'5f
34e1c4964f9706aa7d803c
'
;
this
.
activityId
=
activityId
||
'5f
505873738989c8b356e284
'
;
}
}
});
});
dist/pages/pageshou_ye/pageshou_ye.acss
View file @
6eadec33
.shou_ye {
.shou_ye {
top:
0rpx
;
top:
50%
;
left: 0rpx;
left: 0rpx;
width: 750rpx;
width: 750rpx;
height: 1624rpx;
height: 1624rpx;
margin-top: -812rpx;
display: block;
display: block;
position:
absolute
;
position:
fixed
;
}
}
.shou_ye .bei_jing_tu {
.shou_ye .bei_jing_tu {
width: 750rpx;
width: 750rpx;
height: 1624rpx;
height: 1624rpx;
...
@@ -16,6 +18,7 @@
...
@@ -16,6 +18,7 @@
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
.shou_ye .logo {
.shou_ye .logo {
width: 160rpx;
width: 160rpx;
height: 58rpx;
height: 58rpx;
...
@@ -26,6 +29,7 @@
...
@@ -26,6 +29,7 @@
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
.shou_ye .jiang_pin {
.shou_ye .jiang_pin {
width: 136rpx;
width: 136rpx;
height: 48rpx;
height: 48rpx;
...
@@ -36,6 +40,7 @@
...
@@ -36,6 +40,7 @@
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
.shou_ye .gui_ze {
.shou_ye .gui_ze {
width: 136rpx;
width: 136rpx;
height: 48rpx;
height: 48rpx;
...
@@ -46,6 +51,7 @@
...
@@ -46,6 +51,7 @@
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
.shou_ye .zhu_ti {
.shou_ye .zhu_ti {
width: 673rpx;
width: 673rpx;
height: 1065rpx;
height: 1065rpx;
...
@@ -56,6 +62,7 @@
...
@@ -56,6 +62,7 @@
position: absolute;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
transform-origin: 0rpx 0rpx 0rpx;
}
}
.shou_ye .zhu_ti .tu {
.shou_ye .zhu_ti .tu {
width: 673rpx;
width: 673rpx;
height: 674rpx;
height: 674rpx;
...
@@ -64,6 +71,7 @@
...
@@ -64,6 +71,7 @@
top: 67rpx;
top: 67rpx;
position: absolute;
position: absolute;
}
}
.shou_ye .zhu_ti .an_niu {
.shou_ye .zhu_ti .an_niu {
width: 458rpx;
width: 458rpx;
height: 185rpx;
height: 185rpx;
...
@@ -73,6 +81,7 @@
...
@@ -73,6 +81,7 @@
top: 792rpx;
top: 792rpx;
position: absolute;
position: absolute;
}
}
.shou_ye .zhu_ti .wen_an {
.shou_ye .zhu_ti .wen_an {
width: 543rpx;
width: 543rpx;
height: 830rpx;
height: 830rpx;
...
...
dist/utils/pageshou_ye.js
0 → 100644
View file @
6eadec33
'use strict'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
API
from
'../../api'
;
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
commonToast
,
getAuthUserInfo
,
navigateToOutside
}
=
tbcc
.
tb
;
Page
({
data
:
{
ruleModalVisible
:
false
},
onLoad
(
props
)
{
this
.
setData
({
resList
:
resList
});
},
gotoVipPage
()
{
API
.
getVipInfo
().
then
(
res
=>
{
if
(
!
res
.
vip
)
navigateToOutside
(
res
.
url
)
else
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
})
},
handleStart
()
{
console
.
log
(
'change'
)
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
},
showRuleModal
()
{
this
.
setData
({
ruleModalVisible
:
true
})
},
ruleModalClose
()
{
this
.
setData
({
ruleModalVisible
:
false
})
}
});
\ No newline at end of file
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