Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
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
integralMall
integral-mall
Commits
97845125
Commit
97845125
authored
Nov 05, 2018
by
zhangmeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0f7a2d6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletions
+8
-1
index.scss
src/assets/style/base/index.scss
+4
-0
member-info.vue
src/views/mall/common/member-info.vue
+2
-1
info.js
src/views/mall/coupon/info.js
+2
-0
No files found.
src/assets/style/base/index.scss
View file @
97845125
...
...
@@ -195,6 +195,10 @@
border-radius
:
4px
;
}
.no-wrap
{
white-space
:
nowrap
;
}
/* 左侧菜单 */
...
...
src/views/mall/common/member-info.vue
View file @
97845125
...
...
@@ -18,7 +18,7 @@
<div
class=
"singelinfo-cost"
>
<div
class=
"singelinfo-costitem"
><p>
{{
singleInfo
.
costFee
||
0
}}
</p><p>
消费总额
</p></div>
<div
class=
"singelinfo-costitem"
><p>
{{
singleInfo
.
costTimes
||
0
}}
</p><p>
消费次数
</p></div>
<div
class=
"singelinfo-costitem"
><p
>
{{
singleInfo
.
lastCostTime
}}
</p><p>
最近消费
</p></div>
<div
class=
"singelinfo-costitem"
><p
class=
"no-wrap"
>
{{
singleInfo
.
lastCostTime
||
'--'
}}
</p><p>
最近消费
</p></div>
</div>
</div>
</div>
...
...
@@ -41,6 +41,7 @@
</
template
>
<
script
>
import
{
formateDateTimeByType
}
from
'@/utils/index.js'
;
import
{
getMemberInfo
}
from
'@/service/api/mallApi.js'
;
export
default
{
...
...
src/views/mall/coupon/info.js
View file @
97845125
...
...
@@ -231,6 +231,7 @@ export default {
let
list
=
[];
let
flag
=
false
;
let
arr
=
[];
console
.
log
(
JSON
.
stringify
(
this
.
timeRangeList
))
this
.
timeRangeList
.
forEach
(
v
=>
{
if
(
!
v
.
timeRange
||
!
v
.
timeRange
[
0
])
{
flag
=
true
;
...
...
@@ -243,6 +244,7 @@ export default {
this
.
$tips
({
type
:
'warning'
,
message
:
'部分时段未填写完整'
});
return
;
}
// list.sort((a,b) => {a.timeRange[0] - b.timeRange[0]})
// 如果数组为1的话也要传 #分割
if
(
list
.
length
===
1
)
{
params
.
timeZones
=
list
[
0
]
+
'#'
;
...
...
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