Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
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
高淑倩
7-Eleven
Commits
376d3a6d
Commit
376d3a6d
authored
Jun 03, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify:个人中心字体颜色
parent
ee284484
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
imageSwiper.js
src/component/imageSwiper/imageSwiper.js
+1
-3
personCenter.js
src/component/personCenter/personCenter.js
+2
-2
personCenter.wxml
src/component/personCenter/personCenter.wxml
+4
-4
No files found.
src/component/imageSwiper/imageSwiper.js
View file @
376d3a6d
...
...
@@ -14,9 +14,7 @@ Component({
value
:
[],
},
},
attached
()
{
console
.
log
(
'this.data'
,
this
.
data
)
},
attached
()
{},
/**
* 组件的初始数据
*/
...
...
src/component/personCenter/personCenter.js
View file @
376d3a6d
...
...
@@ -14,11 +14,11 @@ Component({
* 页面的初始数据
*/
data
:
{
personCenter
Obj
:
{}
personCenter
:
{}
},
attached
()
{
this
.
setData
({
personCenter
Obj
:
this
.
data
.
personData
personCenter
:
this
.
data
.
personData
})
},
methods
:
{
...
...
src/component/personCenter/personCenter.wxml
View file @
376d3a6d
...
...
@@ -23,12 +23,12 @@
</view>
<view class='df tc'>
<view class='df-1 point'>
<view class='point-desc'>积分</view>
<view class='point-number'
>{{personCenterObj
.bonus}}</view>
<view class='point-desc'
style="color:{{personCenter.fontColor}};"
>积分</view>
<view class='point-number'
style="color:{{personCenter.fontColor}};">{{personCenter
.bonus}}</view>
</view>
<view class='df-1 point'>
<view class='point-desc'>优惠券</view>
<view class='point-number'
>{{personCenterObj
.coupon}}</view>
<view class='point-desc'
style="color:{{personCenter.fontColor}};"
>优惠券</view>
<view class='point-number'
style="color:{{personCenter.fontColor}};">{{personCenter
.coupon}}</view>
</view>
</view>
<!-- <view class="activation-content {{true ? 'user-content' : ''}}">
...
...
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