Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
user
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
hooloo
mp
user
Commits
632be137
Commit
632be137
authored
Aug 23, 2022
by
songbingqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复部分bug
parent
385e24d2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
8 deletions
+22
-8
components/Ticket/index.vue
+5
-2
components/shopCar/shopCar.vue
+11
-4
mineSubPackage/pages/coupon/index.vue
+6
-2
No files found.
components/Ticket/index.vue
View file @
632be137
...
...
@@ -23,10 +23,10 @@
</view>
<view
v-else
>
<view
v-if=
"info.status===0"
>
<
button
class=
"gouse"
@
click=
"goMenu"
>
去使用
</button
>
<
view
class=
"gouse"
@
click=
"goMenu"
>
去使用
</view
>
</view>
<view
v-if=
"info.status===4"
>
<
button
class=
"gouse_dis"
>
去使用
</button
>
<
view
class=
"gouse_dis"
>
去使用
</view
>
</view>
</view>
</view>
...
...
@@ -291,6 +291,7 @@ export default {
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
52
rpx
;
text-align
:
center
;
}
.gouse_dis
{
width
:
128
rpx
;
...
...
@@ -303,6 +304,7 @@ export default {
font-weight
:
400
;
color
:
#FFFFFF
;
line-height
:
52
rpx
;
text-align
:
center
;
}
.check
{
width
:
40
rpx
;
...
...
@@ -472,6 +474,7 @@ export default {
}
.partThree
{
width
:
100%
;
transform
:
translateZ
(
0
);
position
:
relative
;
overflow
:
hidden
;
background
:
radial-gradient
(
circle
at
right
top
,
transparent
17
rpx
,
#E9E9E9
0
)
top
left
/
182
rpx
51%
no-repeat
,
...
...
components/shopCar/shopCar.vue
View file @
632be137
<
template
>
<view>
<view
catchtouchmove=
"return"
>
<u-popup
:show=
"showShopCar && goods.length"
mode=
"bottom"
:round=
"5"
:overlay=
"true"
:closeOnClickOverlay=
"true"
@
close=
"closeT"
zIndex=
"10071"
>
<view
class=
"shop-car"
:style=
"
{'padding-bottom':bottomPadding+'rpx'}">
...
...
@@ -7,6 +7,7 @@
<text
class=
"left"
>
购物袋
</text>
<text
class=
"right"
@
click=
"clearCar"
><text
class=
"delete-icon"
></text>
清空购物车
</text>
</view>
<scroll-view
scroll-y=
"true"
class=
"scroll-Y"
>
<view
class=
"container"
>
<view>
<view
class=
"empty"
v-if=
"show == false"
>
...
...
@@ -60,6 +61,8 @@
</view>
</view>
</view>
</scroll-view>
</view>
</u-popup>
...
...
@@ -120,7 +123,8 @@ export default {
mounted
()
{
this
.
animation
=
uni
.
createAnimation
()
this
.
BottomSafeHeight
=
uni
.
getStorageSync
(
'BottomSafeHeight'
)
||
10
this
.
bottomPadding
=
this
.
BottomSafeHeight
+
132
+
92
this
.
bottomPadding
=
this
.
BottomSafeHeight
+
132
this
.
shopCar
=
uni
.
getStorageSync
(
'shopCar'
)
console
.
log
(
this
.
shopCar
)
if
(
!
this
.
userms
){
...
...
@@ -302,7 +306,6 @@ export default {
.shop-car
{
display
:
flex
;
flex-direction
:
column
;
max-height
:
715
rpx
;
.header
{
padding
:
24.87
rpx
31.78
rpx
22.3
rpx
31.54
rpx
;
...
...
@@ -340,10 +343,14 @@ export default {
}
}
.scroll-Y
{
max-height
:
565
rpx
;
.container
{
flex
:
1
;
overflow
:
auto
;
}
}
}
.goods
{
...
...
mineSubPackage/pages/coupon/index.vue
View file @
632be137
...
...
@@ -52,12 +52,14 @@ export default {
};
},
mounted
(){
console
.
log
(
12
)
this
.
getTickList
(
true
)
this
.
getTickList
(
false
)
},
methods
:
{
async
getTickList
(
val
)
{
const
{
data
}
=
await
Mine
.
getUserList
(
val
)
getTickList
(
val
)
{
Mine
.
getUserList
(
val
).
then
(
res
=>
{
const
{
data
}
=
res
const
{
rows
}
=
data
const
canuse
=
rows
.
map
(
item
=>
{
let
timeStart
=
''
...
...
@@ -100,6 +102,8 @@ export default {
}
else
{
this
.
cantuse
=
canuse
}
})
},
changeTab
(
current
)
{
this
.
current
=
current
;
...
...
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