Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xinrenli-app
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郑云飞
xinrenli-app
Commits
8c2cb0e5
Commit
8c2cb0e5
authored
Mar 07, 2023
by
zhangmengjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
23.3.7
parent
ebb2e627
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
34 deletions
+22
-34
components/tabbar/tabbar.vue
+1
-1
demand/payment/index.vue
+15
-8
my/coupon/index.vue
+0
-0
pages/demand/index.vue
+5
-12
pages/home/index.vue
+1
-13
No files found.
components/tabbar/tabbar.vue
View file @
8c2cb0e5
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
url
:
path
.
url
url
:
path
.
url
});
});
}
}
this
.
$emit
(
'tabBarChange'
,
path
.
url
,
path
.
type
);
//
this.$emit('tabBarChange', path.url, path.type);
}
}
}
}
};
};
...
...
demand/payment/index.vue
View file @
8c2cb0e5
...
@@ -28,12 +28,12 @@
...
@@ -28,12 +28,12 @@
</view>
</view>
</view>
</view>
</view>
</view>
<view
class=
"content-discounts"
>
<view
class=
"content-discounts"
@
click=
"jump(1)"
>
<view
class=
""
>
<view
class=
""
>
选择优惠券
选择优惠券
</view>
</view>
<view
class=
""
>
<view
class=
""
>
-99
{{
times
}}
元
<image
src=
"@/static/icon/jt.png"
mode=
""
></image>
<image
src=
"@/static/icon/jt.png"
mode=
""
></image>
</view>
</view>
</view>
</view>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<view
class=
""
>
<view
class=
""
>
截止1小时内支付完成
<text>
00:59:42
</text>
截止1小时内支付完成
<text>
00:59:42
</text>
</view>
</view>
<button
@
click=
"jump"
>
立即支付 300.00元
</button>
<button
@
click=
"jump
(2)
"
>
立即支付 300.00元
</button>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -53,15 +53,22 @@
...
@@ -53,15 +53,22 @@
return
{
return
{
imgBgUrl
:
apiBaseConfig
.
imgBgUrl
,
imgBgUrl
:
apiBaseConfig
.
imgBgUrl
,
globalData
:
getApp
().
globalData
,
globalData
:
getApp
().
globalData
,
scrollTopHeader
:
0
scrollTopHeader
:
0
,
times
:
'0'
};
};
},
},
onLoad
()
{},
onLoad
()
{},
methods
:
{
methods
:
{
jump
()
{
jump
(
val
)
{
this
.
$uniGo
.
navigateTo
({
if
(
val
==
1
){
url
:
`/demand/confirm/index`
this
.
$uniGo
.
navigateTo
({
});
url
:
`/my/coupon/index?type=pay`
});
}
else
{
this
.
$uniGo
.
navigateTo
({
url
:
`/demand/confirm/index`
});
}
}
}
}
}
}
}
...
...
my/coupon/index.vue
View file @
8c2cb0e5
This diff is collapsed.
Click to expand it.
pages/demand/index.vue
View file @
8c2cb0e5
...
@@ -8,16 +8,16 @@
...
@@ -8,16 +8,16 @@
<view
v-show=
"subscript == index"
class=
"content-tabs-text-area"
></view>
<view
v-show=
"subscript == index"
class=
"content-tabs-text-area"
></view>
</view>
</view>
</view>
</view>
<
template
v-if=
"arr && arr.length"
>
<
!--
<template
v-if=
"arr && arr.length"
>
--
>
<comindex
class=
"content-mindex"
:subscript=
'subscript'
></comindex>
<comindex
class=
"content-mindex"
:subscript=
'subscript'
></comindex>
<
/
template
>
<
!--
</
template
>
--
>
<view
v-else
class=
"diagram"
>
<!--
<view v-else class="diagram">
<image src="@/static/icon/qst.png" mode=""></image>
<image src="@/static/icon/qst.png" mode=""></image>
<view class="">
<view class="">
暂无数据
暂无数据
</view>
</view>
</view>
</view>
-->
<com-tabbar
@
tabBarChange=
'tabBarChange'
:list=
" [{
<com-tabbar
:list=
" [{
name: '首页',
name: '首页',
icon: '/static/tabbar/tb1.png',
icon: '/static/tabbar/tb1.png',
selectIcon:'/static/tabbar/td1.png',
selectIcon:'/static/tabbar/td1.png',
...
@@ -84,13 +84,6 @@
...
@@ -84,13 +84,6 @@
}
}
},
},
methods
:
{
methods
:
{
tabBarChange
(
url
,
type
)
{
if
(
type
==
'type'
)
{
uniGo
.
reLaunch
({
url
:
url
});
}
},
jump
(
ind
)
{
jump
(
ind
)
{
this
.
subscript
=
ind
this
.
subscript
=
ind
}
}
...
...
pages/home/index.vue
View file @
8c2cb0e5
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
</view>
</view>
<com-navbar
:leftIcon=
"false"
:homeShow=
"false"
bgColor=
"transparent"
title=
"首页"
<com-navbar
:leftIcon=
"false"
:homeShow=
"false"
bgColor=
"transparent"
title=
"首页"
:titleStyle=
"
{ color: '#FFFFFF', fontSize: '32rpx',scrollTopHeader: scrollTopHeader }" />
:titleStyle=
"
{ color: '#FFFFFF', fontSize: '32rpx',scrollTopHeader: scrollTopHeader }" />
<com-tabbar
@
tabBarChange=
'tabBarChange'
:list=
"tabBarList"
></com-tabbar>
<com-tabbar
:list=
"tabBarList"
></com-tabbar>
</view>
</view>
</
template
>
</
template
>
...
@@ -100,13 +100,6 @@
...
@@ -100,13 +100,6 @@
url
:
`/home/index/index`
url
:
`/home/index/index`
});
});
},
},
tabBarChange
(
url
,
type
)
{
if
(
type
==
'type'
)
{
this
.
$uniGo
.
reLaunch
({
url
:
url
});
}
}
}
}
}
}
</
script
>
</
script
>
...
@@ -119,7 +112,6 @@
...
@@ -119,7 +112,6 @@
.content
{
.content
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
//
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
&-swiper
{
&-swiper
{
...
@@ -149,7 +141,6 @@
...
@@ -149,7 +141,6 @@
>
view
:nth-child
(
2
)
{
>
view
:nth-child
(
2
)
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
AlibabaPuHuiTi-Medium
,
AlibabaPuHuiTi
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
}
}
...
@@ -173,7 +164,6 @@
...
@@ -173,7 +164,6 @@
>
view
:
nth-child
(
1
)
{
>
view
:
nth-child
(
1
)
{
font-size
:
28
rpx
;
font-size
:
28
rpx
;
font-family
:
AlibabaPuHuiTi-Medium
,
AlibabaPuHuiTi
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#333333
;
color
:
#333333
;
margin-top
:
8
rpx
;
margin-top
:
8
rpx
;
...
@@ -182,7 +172,6 @@
...
@@ -182,7 +172,6 @@
>
view
:nth-child
(
2
)
{
>
view
:nth-child
(
2
)
{
margin-top
:
6
rpx
;
margin-top
:
6
rpx
;
font-size
:
24
rpx
;
font-size
:
24
rpx
;
font-family
:
AlibabaPuHuiTi-Regular
,
AlibabaPuHuiTi
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#444444
;
color
:
#444444
;
}
}
...
@@ -190,7 +179,6 @@
...
@@ -190,7 +179,6 @@
>
view
:nth-child
(
3
)
{
>
view
:nth-child
(
3
)
{
margin-top
:
9
rpx
;
margin-top
:
9
rpx
;
font-size
:
20
rpx
;
font-size
:
20
rpx
;
font-family
:
AlibabaPuHuiTi-Regular
,
AlibabaPuHuiTi
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#5281FF
;
color
:
#5281FF
;
}
}
...
...
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