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
c92a639e
Commit
c92a639e
authored
Dec 12, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
451df8bf
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
33 additions
and
9 deletions
+33
-9
commycardpanel.acss
...mini/client/components/commycardpanel/commycardpanel.acss
+3
-0
commycardpanel.axml
...mini/client/components/commycardpanel/commycardpanel.axml
+1
-1
your.acss
taobao_mini/client/components/commycardpanel/your.acss
+4
-0
comprizetipspanel.axml
...lient/components/comprizetipspanel/comprizetipspanel.axml
+1
-1
comprizetipspanel.js
.../client/components/comprizetipspanel/comprizetipspanel.js
+1
-0
comrulepanel.axml
taobao_mini/client/components/comrulepanel/comrulepanel.axml
+1
-1
comtaskpanel.axml
taobao_mini/client/components/comtaskpanel/comtaskpanel.axml
+6
-0
comtaskpanel.js
taobao_mini/client/components/comtaskpanel/comtaskpanel.js
+15
-6
pageindexpage.js
taobao_mini/client/pages/pageindexpage/pageindexpage.js
+1
-0
No files found.
taobao_mini/client/components/commycardpanel/commycardpanel.acss
View file @
c92a639e
/* 程序样式 */
@import './your.acss';
.mycardpanel {
.mycardpanel {
top: 0rpx;
top: 0rpx;
left: 0rpx;
left: 0rpx;
...
...
taobao_mini/client/components/commycardpanel/commycardpanel.axml
View file @
c92a639e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<image class="bei_jing15 " src={{resList['6dd68f2c-4a65-4107-92f2-29464c469803'].url}} />
<image class="bei_jing15 " src={{resList['6dd68f2c-4a65-4107-92f2-29464c469803'].url}} />
<view class="mycardcontent ">
<view class="mycardcontent ">
<view class="mycarditem " a:for={{MyCardsInfo}}>
<view class="mycarditem " a:for={{MyCardsInfo}}>
<view class=
"mycarditembody "
>
<view class=
{{item.count<=0?"huise mycarditembody":"mycarditembody"}}
>
<image class="mcbgdisable " src={{resList['baba4718-16a8-4a77-a052-53af708bbb21'].url}} />
<image class="mcbgdisable " src={{resList['baba4718-16a8-4a77-a052-53af708bbb21'].url}} />
<image class="mcbg " src={{resList['8b2f6c1d-1fbd-4c64-b9a9-43549adbb472'].url}} />
<image class="mcbg " src={{resList['8b2f6c1d-1fbd-4c64-b9a9-43549adbb472'].url}} />
<image class="mcgivingbtndisable " a:if={{giftCardStatus==2&&item.count<2}} src={{resList['776b0825-6538-4ea4-8814-50149644f3bc'].url}} />
<image class="mcgivingbtndisable " a:if={{giftCardStatus==2&&item.count<2}} src={{resList['776b0825-6538-4ea4-8814-50149644f3bc'].url}} />
...
...
taobao_mini/client/components/commycardpanel/your.acss
0 → 100644
View file @
c92a639e
.huise {
filter: grayscale(100%);
}
taobao_mini/client/components/comprizetipspanel/comprizetipspanel.axml
View file @
c92a639e
<view class="prizetipspanel " >
<view class="prizetipspanel " >
<text class="zheng_zai_jin_xing_zhong comWinTitle">正在进行中...</text>
<text class="zheng_zai_jin_xing_zhong comWinTitle">正在进行中...</text>
<text class="prizetipsnumberremainingtext comWinTitle">(剩余{{
CollectCardInfo.cardTypeCount
-CollectCardInfo.cardTypeCollectedCount}}张解锁奖励)</text>
<text class="prizetipsnumberremainingtext comWinTitle">(剩余{{
needCards
-CollectCardInfo.cardTypeCollectedCount}}张解锁奖励)</text>
<text class={{!prizeList[1]?"prizetipsprize1text prizetipsprize1textOne":"prizetipsprize1text"}}>{{prizeList[0].name}}</text>
<text class={{!prizeList[1]?"prizetipsprize1text prizetipsprize1textOne":"prizetipsprize1text"}}>{{prizeList[0].name}}</text>
<text class="prizetipsprize2text ">{{prizeList[1].name}}</text>
<text class="prizetipsprize2text ">{{prizeList[1].name}}</text>
<image class="prizetipsclosebtn " onTap="hiddenPanelEvent" data-value="prizetipspanel" src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
<image class="prizetipsclosebtn " onTap="hiddenPanelEvent" data-value="prizetipspanel" src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
...
...
taobao_mini/client/components/comprizetipspanel/comprizetipspanel.js
View file @
c92a639e
...
@@ -15,6 +15,7 @@ Component({
...
@@ -15,6 +15,7 @@ Component({
this
.
setData
({
this
.
setData
({
resList
:
resList
,
resList
:
resList
,
prizeList
:
DataCenter
.
prizeList
,
prizeList
:
DataCenter
.
prizeList
,
needCards
:
DataCenter
.
DataCenter
.
prizeListNeedCards
,
CollectCardInfo
:
DataCenter
.
CollectCardInfo
CollectCardInfo
:
DataCenter
.
CollectCardInfo
});
});
}
}
...
...
taobao_mini/client/components/comrulepanel/comrulepanel.axml
View file @
c92a639e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view class="rulepanel">
<view class="rulepanel">
<image class="dim1131 " src={{resList['603034bb-2c7d-42c4-9be4-60aea30e0820'].url}} />
<image class="dim1131 " src={{resList['603034bb-2c7d-42c4-9be4-60aea30e0820'].url}} />
<view class="ruletext " style="width: 432rpx;height: 565rpx;" scroll-y="{{true}}">
<view class="ruletext " style="width: 432rpx;height: 565rpx;" scroll-y="{{true}}">
<
view style="min-height: calc(100% + 1px);">{{rule}}</view
>
<
text style="min-height: calc(100% + 1px);">{{rule}}</text
>
</view>
</view>
<image class="ruleclosebtn " onTap="hiddenPanelEvent" data-value="rulepanel" src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
<image class="ruleclosebtn " onTap="hiddenPanelEvent" data-value="rulepanel" src={{resList['878b3751-e6b3-4ae6-9811-77e938801873'].url}} />
</view>
</view>
taobao_mini/client/components/comtaskpanel/comtaskpanel.axml
View file @
c92a639e
...
@@ -42,6 +42,12 @@
...
@@ -42,6 +42,12 @@
onTap="onTapTaskNoneGotoBtn"
onTap="onTapTaskNoneGotoBtn"
data-value={{item}}
data-value={{item}}
src={{resList['34e9a26b-6288-4779-8eef-ad3698aab8df'].url}} />
src={{resList['34e9a26b-6288-4779-8eef-ad3698aab8df'].url}} />
<!-- 去加入 -->
<image class="tasknonegotobtn "
a:elif={{(item.taskType==="groupChat")}}
onTap="onTapTaskNoneGotoBtn"
data-value={{item}}
src={{resList['34e9a26b-6288-4779-8eef-ad3698aab8df'].url}} />
<!-- 去完成 -->
<!-- 去完成 -->
<image class="tasknonegotobtn "
<image class="tasknonegotobtn "
a:else
a:else
...
...
taobao_mini/client/components/comtaskpanel/comtaskpanel.js
View file @
c92a639e
...
@@ -140,9 +140,11 @@ Component({
...
@@ -140,9 +140,11 @@ Component({
events
.
emit
(
"doDisibleAll"
,
false
)
events
.
emit
(
"doDisibleAll"
,
false
)
await
this
.
updateData
()
await
this
.
updateData
()
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
my
.
navigateTo
(
{
my
.
call
(
"navigateToOutside"
,
{
url
url
});
},
(
res
)
=>
{
// my.alert({ content: "success - " + JSON.stringify(res)})
})
}
}
},
},
//跳转任务
//跳转任务
...
@@ -155,9 +157,11 @@ Component({
...
@@ -155,9 +157,11 @@ Component({
events
.
emit
(
"doDisibleAll"
,
false
)
events
.
emit
(
"doDisibleAll"
,
false
)
await
this
.
updateData
()
await
this
.
updateData
()
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
my
.
navigateTo
(
{
my
.
call
(
"navigateToOutside"
,
{
url
url
});
},
(
res
)
=>
{
// my.alert({ content: "success - " + JSON.stringify(res)})
})
}
}
},
},
//加入会员
//加入会员
...
@@ -170,9 +174,14 @@ Component({
...
@@ -170,9 +174,14 @@ Component({
events
.
emit
(
"doDisibleAll"
,
false
)
events
.
emit
(
"doDisibleAll"
,
false
)
await
this
.
updateData
()
await
this
.
updateData
()
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
if
(
doCompleteTask
&&
doCompleteTask
.
success
){
my
.
navigateTo
({
// my.navigateTo({
// url
// });
my
.
call
(
"navigateToOutside"
,
{
url
url
});
},
(
res
)
=>
{
// my.alert({ content: "success - " + JSON.stringify(res)})
})
}
}
},
},
//邀请会员
//邀请会员
...
...
taobao_mini/client/pages/pageindexpage/pageindexpage.js
View file @
c92a639e
...
@@ -447,6 +447,7 @@ Page({
...
@@ -447,6 +447,7 @@ Page({
let
i
=
e
.
target
.
dataset
.
value
.
index
;
let
i
=
e
.
target
.
dataset
.
value
.
index
;
let
status
=
e
.
target
.
dataset
.
value
.
status
;
let
status
=
e
.
target
.
dataset
.
value
.
status
;
if
(
status
==
1
){
if
(
status
==
1
){
DataCenter
.
prizeListNeedCards
=
this
.
data
.
collectedCardTypePrizeList
[
i
].
needCards
;
DataCenter
.
prizeList
=
this
.
data
.
collectedCardTypePrizeList
[
i
].
prizeList
;
DataCenter
.
prizeList
=
this
.
data
.
collectedCardTypePrizeList
[
i
].
prizeList
;
this
.
showPanel
(
"prizetipspanel"
)
this
.
showPanel
(
"prizetipspanel"
)
}
}
...
...
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