Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_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
new_taobao
Commits
4c46f9d2
Commit
4c46f9d2
authored
Sep 30, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1234
parent
12ba612c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8823 additions
and
7 deletions
+8823
-7
comcatname.js
taobao_mini/client/components/comcatname/comcatname.js
+7
-1
comcatrule.axml
taobao_mini/client/components/comcatrule/comcatrule.axml
+1
-1
comlevelup.acss
taobao_mini/client/components/comlevelup/comlevelup.acss
+4
-4
pagecanvas.js
taobao_mini/client/pages/pagecanvas/pagecanvas.js
+23
-1
debug.log
taobao_mini/debug.log
+8788
-0
No files found.
taobao_mini/client/components/comcatname/comcatname.js
View file @
4c46f9d2
...
...
@@ -11,6 +11,11 @@ const {
commonToast
}
=
tbcc
.
tb
;
const
nameArr
=
[
'Edwise'
,
'爱德'
,
'Mr.W'
];
Component
({
props
:
{
...
...
@@ -55,7 +60,8 @@ Component({
/**随机名字,需要根据运营数据可配置 */
randomName
()
{
console
.
log
(
"随即名字"
)
let
name
=
"Edwise"
let
index
=
Math
.
floor
(
Math
.
random
()
*
nameArr
.
length
)
let
name
=
nameArr
[
index
];
this
.
setData
({
catNameText
:
name
})
...
...
taobao_mini/client/components/comcatrule/comcatrule.axml
View file @
4c46f9d2
...
...
@@ -5,5 +5,5 @@
<label class="catruleText" >{{rule}}</label>
</view>
<image class="catrulebtnclose" onTap="onModalClose" src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
<image class="catrulebtnclose" onTap="onModalClose"
src={{resList['29e80fbb-98ed-40fb-a11b-e14b45fee158'].url}} />
</view>
\ No newline at end of file
taobao_mini/client/components/comlevelup/comlevelup.acss
View file @
4c46f9d2
...
...
@@ -97,10 +97,10 @@
}
.levelup .levelup_prizeView {
width: 35
3
rpx;
width: 35
0
rpx;
height: 293rpx;
opacity: 1;
left: 20
1
rpx;
left: 20
2
rpx;
top: 380rpx;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
...
...
@@ -110,12 +110,12 @@
}
.levelup .levelup_prizeImg {
width: 3
60
rpx;
width: 3
56
rpx;
height: 299rpx;
opacity: 1;
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
left: -
3
rpx;
left: -
1
rpx;
top: -3rpx;
}
...
...
taobao_mini/client/pages/pagecanvas/pagecanvas.js
View file @
4c46f9d2
...
...
@@ -300,7 +300,7 @@ Page({
if
(
this
.
main
)
{
this
.
main
.
run
();
this
.
main
.
dispatchGlobalEvent
(
"onShow"
);
my
.
__updateUserInfo__
();
this
.
showPageLogin
();
}
},
...
...
@@ -376,6 +376,28 @@ Page({
this
.
initCanvas
();
}
},
/**页面显示登录 */
async
showPageLogin
()
{
const
{
nickName
,
avatar
}
=
app
;
const
{
success
,
data
,
}
=
await
API
.
login
({
userNick
:
nickName
,
avatar
}).
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
})
||
{};
if
(
success
)
{
app
.
openId
=
data
.
openId
;
my
.
__updateUserInfo__
();
}
},
/**刷新用户信息 */
updateUserInfo
()
{
console
.
log
(
"通知canvas刷新用户信息"
)
...
...
taobao_mini/debug.log
View file @
4c46f9d2
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