Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
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
姜雷
wx-boss
Commits
32c31686
Commit
32c31686
authored
Feb 12, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改刷新机制
parent
ad1491ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
12 deletions
+3
-12
PlatformFeeChart.js
...ram/pages/components/PlatformFeeChart/PlatformFeeChart.js
+2
-7
PlatformFeeChart.ts
...ram/pages/components/PlatformFeeChart/PlatformFeeChart.ts
+0
-4
platformFee.wxml
miniprogram/pages/platformFee/platformFee.wxml
+1
-1
No files found.
miniprogram/pages/components/PlatformFeeChart/PlatformFeeChart.js
View file @
32c31686
...
...
@@ -67,11 +67,6 @@ Component({
if
(
platforFeeChart
)
{
platforFeeChart
.
changeData
(
newVal
);
}
else
{
setTimeout
(
function
()
{
platforFeeChart
.
changeData
(
newVal
);
},
1000
);
}
if
(
platforFeeChart
)
{
var
index
=
findMaxIndex
(
newVal
,
'totalMoney'
);
if
(
index
!==
-
1
)
{
...
...
@@ -111,4 +106,4 @@ Component({
},
},
});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlBsYXRmb3JtRmVlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLElBQUksZUFBZSxHQUFHLElBQUksQ0F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Oagh1xuICAvLyAgICAgICAgIGNvbnNvbGUubG9nKHJlcyk7XG4gIC8vICAgICAgICAgdGhpcy5zZXREYXRhKHtcbiAgLy8gICAgICAgICAgIHg6IHJlcy5sZWZ0LFxuICAvLyAgICAgICAgICAgeTogcmVzLnRvcCxcbiAgLy8gICAgICAgICB9KTtcbiAgLy8gICAgICAgfSlcbiAgLy8gICAgICAgLmV4ZWMoKTtcbiAgLy8gICB9LFxuICAvLyB9LFxuXG4gIHByb3BlcnRpZXM6IHtcbiAgICBkYXRhTGlzdDoge1xuICAgICAgdHlwZTogQXJyYXksXG4gICAgICB2YWx1ZTogW10sXG4gICAgICBvYnNlcnZlcihuZXdWYWwpIHtcbiAgICAgICAgaWYgKHBsYXRmb3JGZWVDaGFydCkge1xuICAgICAgICAgIHBsYXRmb3JGZWVDaGFydC5jaGFuZ2VEYXRhKG5ld1ZhbCk7XG4gICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICBwbGF0Zm9yRmVlQ2hhcnQuY2hhbmdlRGF0YShuZXdWYWwpO1xuICAgICAgICAgIH0sIDEwMDApO1xuICAgICAgICB9XG4gICAgICAgIGlmIChwbGF0Zm9yRmVlQ2hhcnQpIHtcbiAgICAgICAgICBsZXQgaW5kZXggPSBmaW5kTWF4SW5kZXgobmV3VmFsLCAndG90YWxNb25leScpO1xuICAgICAgICAgIGlmIChpbmRleCAhPT0gLTEpIHtcbiAgICAgICAgICAgIGxldCBpdGVtID0gbmV3VmFsW2luZGV4XTtcbiAgICAgICAgICAgIGNvbnN0IHBvaW50ID0gcGxhdGZvckZlZUNoYXJ0LmdldFBvc2l0aW9uKGl0ZW0pO1xuICAgICAgICAgICAgcGxhdGZvckZlZUNoYXJ0LnNob3dUb29sdGlwKHBvaW50KTtcbiAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgIH0sXG4gICAgfSxcbiAgICBtb250aDoge1xuICAgICAgdHlwZTogU3RyaW5nLFxuICAgICAgdmFsdWU6ICcnLFxuICAgICAgb2JzZXJ2ZXIobmV3VmFsKSB7XG4gICAgICAgIG1vbnRoID0gbmV3VmFsO1xuICAgICAgfSxcbiAgICB9LFxuICB9LFxuICBkYXRhOiB7XG4gICAgb3B0czoge1xuICAgICAgb25Jbml0OiBpbml0Q2hhcnQsXG4gICAgfSxcbiAgfSxcbiAgbWV0aG9kczoge1xuICAgIGNsaWNrSGFuZGxlKGUpIHtcbiAgICAgIGNvbnNvbGUubG9nKGUpO1xuICAgICAgY29uc3QgeyBjaGFuZ2VkVG91Y2hlcyB9ID0gZS5kZXRhaWw7XG5cbiAgICAgIGxldCB4ID0gMDtcbiAgICAgIGxldCB5ID0gMDtcbiAgICAgIGlmIChjaGFuZ2VkVG91Y2hlcyAmJiBjaGFuZ2VkVG91Y2hlcy5sZW5ndGgpIHtcbiAgICAgICAgeCA9IGNoYW5nZWRUb3VjaGVzWzBdLng7XG4gICAgICAgIHkgPSBjaGFuZ2VkVG91Y2hlc1swXS55O1xuICAgICAgfVxuICAgICAgY29uc3Qgb2JqQXJyID0gcGxhdGZvckZlZUNoYXJ0LmdldFNuYXBSZWNvcmRzKHsgeCwgeSB9KTtcbiAgICAgIGlmIChvYmpBcnIubGVuZ3RoKSB0aGlzLnRyaWdnZXJFdmVudCgnc2VsZWN0ZWREYXRhJywgb2JqQXJyWzBdLl9vcmlnaW4pO1xuICAgIH0sXG4gIH0sXG59KTtcbiJdfQ==
\ No newline at end of file
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUGxhdGZvcm1GZWVDaGFydC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIlBsYXRmb3JtRmVlQ2hhcnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUNBLElBQUksZUFBZSxHQUFHLElBQUksQ0FBQztBQUMzQixJQUFJLEtBQUssR0FBRyxFQUFFLENBQUM7QUFFZixtQkF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gICAgICBpZiAoY2hhbmdlZFRvdWNoZXMgJiYgY2hhbmdlZFRvdWNoZXMubGVuZ3RoKSB7XG4gICAgICAgIHggPSBjaGFuZ2VkVG91Y2hlc1swXS54O1xuICAgICAgICB5ID0gY2hhbmdlZFRvdWNoZXNbMF0ueTtcbiAgICAgIH1cbiAgICAgIGNvbnN0IG9iakFyciA9IHBsYXRmb3JGZWVDaGFydC5nZXRTbmFwUmVjb3Jkcyh7IHgsIHkgfSk7XG4gICAgICBpZiAob2JqQXJyLmxlbmd0aCkgdGhpcy50cmlnZ2VyRXZlbnQoJ3NlbGVjdGVkRGF0YScsIG9iakFyclswXS5fb3JpZ2luKTtcbiAgICB9LFxuICB9LFxufSk7XG4iXX0=
\ No newline at end of file
miniprogram/pages/components/PlatformFeeChart/PlatformFeeChart.ts
View file @
32c31686
...
...
@@ -86,10 +86,6 @@ Component({
observer
(
newVal
)
{
if
(
platforFeeChart
)
{
platforFeeChart
.
changeData
(
newVal
);
}
else
{
setTimeout
(()
=>
{
platforFeeChart
.
changeData
(
newVal
);
},
1000
);
}
if
(
platforFeeChart
)
{
let
index
=
findMaxIndex
(
newVal
,
'totalMoney'
);
...
...
miniprogram/pages/platformFee/platformFee.wxml
View file @
32c31686
...
...
@@ -23,7 +23,7 @@
<view class="platformFee-title-sum">合计:{{selected.totalMoney}}元</view>
</view>
<view class="platformFee-areaList">
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}">
<view class="platformFee-areaItem" wx:for="{{selected.areaPlatformFees}}"
wx:key="areaId"
>
<view class="platformFee-areaItem-index">{{index + 1}}</view>
<view class="platformFee-areaItem-name">{{item.areaName}}</view>
<view class="platformFee-areaItem-price">{{item.totalMoney}}元</view>
...
...
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