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
815a3980
Commit
815a3980
authored
Dec 04, 2019
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
0f4cb39b
e5493ffb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
4 deletions
+6
-4
PayTypeChart.js
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
+0
-0
PayTypeChart.ts
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
+4
-2
monthOperator.js
miniprogram/pages/monthOperator/monthOperator.js
+0
-0
monthOperator.ts
miniprogram/pages/monthOperator/monthOperator.ts
+1
-1
project.config.json
project.config.json
+1
-1
No files found.
miniprogram/pages/components/PayTypeChart/PayTypeChart.js
View file @
815a3980
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/PayTypeChart/PayTypeChart.ts
View file @
815a3980
...
...
@@ -97,9 +97,11 @@ Component({
let
item
=
newVal
.
find
(
item
=>
item
.
name
===
val
);
if
(
item
)
{
let
name
=
item
.
name
;
if
(
item
&&
item
.
name
.
length
<
4
)
{
name
+=
'
\
xa0
\
xa0
\
xa0
'
;
while
(
name
.
length
<
4
)
{
name
+=
'
\
xa0'
;
}
name
=
name
.
replace
(
/
\x
a0/g
,
'
\
xa0
\
xa0
\
xa0'
);
console
.
log
(
name
,
name
.
length
);
return
name
+
' '
+
formatPrice
(
item
.
count
);
}
else
{
return
''
;
...
...
miniprogram/pages/monthOperator/monthOperator.js
View file @
815a3980
This diff is collapsed.
Click to expand it.
miniprogram/pages/monthOperator/monthOperator.ts
View file @
815a3980
...
...
@@ -203,7 +203,7 @@ Page({
console
.
log
(
res
);
if
(
res
.
data
)
{
const
keyMap
=
{
aimi
:
'艾米
豆
'
,
aimi
:
'艾米'
,
bean
:
'消费豆'
,
discount
:
'优惠金额'
,
online
:
'线上支付'
,
...
...
project.config.json
View file @
815a3980
...
...
@@ -5,7 +5,7 @@
},
"miniprogramRoot"
:
"miniprogram/"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.
5.0
"
,
"libVersion"
:
"2.
8.3
"
,
"projectname"
:
"wx-manage-shell"
,
"scripts"
:
{
"beforeCompile"
:
"npm run tsc"
,
...
...
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