Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_wechat
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
pseer
gxpt_wechat
Commits
c69f70df
Commit
c69f70df
authored
Jan 12, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
75073c0c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
index.vue
pages/couponList/index.vue
+1
-1
order.vue
pages/order/order.vue
+5
-6
index.vue
pages/useCoupon/index.vue
+1
-1
No files found.
pages/couponList/index.vue
View file @
c69f70df
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
</view>
</view>
<view
v-if=
"item.couponType == 4"
class=
"flex-row margin-top"
>
<view
v-if=
"item.couponType == 4"
class=
"flex-row margin-top"
>
<text
class=
""
>
使用说明:
</text>
<text
class=
""
>
使用说明:
</text>
<text>
{{
item
.
remark
}}
</text>
<text>
{{
item
.
remark
||
''
}}
</text>
</view>
</view>
<view
v-else
class=
"flex-row margin-top"
>
<view
v-else
class=
"flex-row margin-top"
>
<text
class=
""
>
使用说明:
</text>
<text
class=
""
>
使用说明:
</text>
...
...
pages/order/order.vue
View file @
c69f70df
...
@@ -836,7 +836,9 @@
...
@@ -836,7 +836,9 @@
roomId
:
this
.
roomInfo
.
id
,
roomId
:
this
.
roomInfo
.
id
,
orderMode
:
this
.
orderTypeList
[
this
.
index
].
type
,
orderMode
:
this
.
orderTypeList
[
this
.
index
].
type
,
preStartDate
:
this
.
dateObj
.
startDate
,
preStartDate
:
this
.
dateObj
.
startDate
,
preEndDate
:
this
.
dateObj
.
endDate
preEndDate
:
this
.
dateObj
.
endDate
,
orderType
:
this
.
orderType
,
packageId
:
this
.
packageMode
[
this
.
modeIndex
].
id
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
...
@@ -937,11 +939,7 @@
...
@@ -937,11 +939,7 @@
onChangeMode
(
i
)
{
onChangeMode
(
i
)
{
if
(
this
.
modeIndex
===
i
)
return
;
if
(
this
.
modeIndex
===
i
)
return
;
this
.
modeIndex
=
i
;
this
.
modeIndex
=
i
;
this
.
duration
=
Number
(
this
.
packageMode
[
this
.
modeIndex
].
duration
);
this
.
duration
=
Number
(
this
.
packageMode
[
this
.
modeIndex
].
duration
);
let
val
=
this
.
intervalList
.
findIndex
(
item
=>
item
.
status
===
2
)
let
val
=
this
.
intervalList
.
findIndex
(
item
=>
item
.
status
===
2
)
let
len
=
this
.
intervalList
.
filter
(
item
=>
item
.
status
===
2
).
length
;
let
len
=
this
.
intervalList
.
filter
(
item
=>
item
.
status
===
2
).
length
;
let
duration
=
Number
(
this
.
packageMode
[
this
.
modeIndex
].
duration
);
let
duration
=
Number
(
this
.
packageMode
[
this
.
modeIndex
].
duration
);
...
@@ -987,7 +985,8 @@
...
@@ -987,7 +985,8 @@
}
}
})
})
}
}
// this.onComputePrice();
this
.
dateObj
=
this
.
onSetDateTime
(
this
.
startTime
,
this
.
endTime
);
this
.
onGetUseCoupon
();
},
},
onDurationChange
(
i
)
{
onDurationChange
(
i
)
{
...
...
pages/useCoupon/index.vue
View file @
c69f70df
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</view>
</view>
<view
v-if=
"item.couponType == 4"
class=
"flex-row margin-top"
>
<view
v-if=
"item.couponType == 4"
class=
"flex-row margin-top"
>
<text
class=
""
>
使用说明:
</text>
<text
class=
""
>
使用说明:
</text>
<text>
{{
item
.
remark
}}
</text>
<text>
{{
item
.
remark
||
''
}}
</text>
</view>
</view>
<view
v-else
class=
"flex-row margin-top"
>
<view
v-else
class=
"flex-row margin-top"
>
<text
class=
""
>
使用说明:
</text>
<text
class=
""
>
使用说明:
</text>
...
...
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