Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
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
刘川
wly-APP
Commits
9a7007d3
Commit
9a7007d3
authored
Jun 10, 2022
by
chuan.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页新增秩序入口 修复二级选择事件监听问题
parent
90f5265b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
455 additions
and
341 deletions
+455
-341
App.vue
App.vue
+29
-20
group-baseinfo.nvue
pages/group-buy/group-baseinfo.nvue
+1
-0
home.vue
pages/home/home.vue
+61
-42
purchase.nvue
pages/purchase/purchase.nvue
+17
-3
usercenter.nvue
pages/usercenter/usercenter.nvue
+1
-1
home_breakmission@3x.png
static/image/home_breakmission@3x.png
+0
-0
home_breakrule@3x.png
static/image/home_breakrule@3x.png
+0
-0
home_marketclue@3x.png
static/image/home_marketclue@3x.png
+0
-0
home_report@3x.png
static/image/home_report@3x.png
+0
-0
app-service.js
unpackage/dist/dev/app-plus/app-service.js
+96
-65
app-view.js
unpackage/dist/dev/app-plus/app-view.js
+249
-209
usercenter.js
unpackage/dist/dev/app-plus/pages/usercenter/usercenter.js
+1
-1
No files found.
App.vue
View file @
9a7007d3
<
script
>
import
{
mapMutations
}
from
'vuex'
<
script
>
import
{
mapMutations
}
from
'vuex'
export
default
{
onLaunch
:
function
()
{
console
.
log
(
'App Launch'
)
uni
.
getSystemInfo
({
// 获取当前设备的具体信息
success
:
(
sysinfo
)
=>
{
console
.
log
(
'sysinfo'
,
sysinfo
);
this
.
sysinfo
=
sysinfo
;
this
.
$uStore
({
name
:
'sysinfo'
,
value
:
sysinfo
});
}
});
console
.
log
(
'App Launch'
)
uni
.
getSystemInfo
({
// 获取当前设备的具体信息
success
:
(
sysinfo
)
=>
{
console
.
log
(
'sysinfo'
,
sysinfo
);
this
.
sysinfo
=
sysinfo
;
this
.
$uStore
({
name
:
'sysinfo'
,
value
:
sysinfo
});
}
});
},
onShow
:
function
()
{
// console.log('App Show')
},
onHide
:
function
()
{
// console.log('App Hide')
},
data
()
{
return
{
sysinfo
:
{}
}
},
methods
:{
...
mapMutations
([
'$uStore'
])
},
onTabItemTap
(
e
)
{
console
.
log
(
'onTabItemTap----'
,
e
)
},
data
()
{
return
{
sysinfo
:
{}
}
},
methods
:
{
...
mapMutations
([
'$uStore'
])
}
}
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
@import
"uview-ui/index.scss"
;
/*每个页面公共css */
/* #ifndef APP-NVUE */
uni-page-body
{
...
...
pages/group-buy/group-baseinfo.nvue
View file @
9a7007d3
...
...
@@ -291,6 +291,7 @@
default:
break;
}
this.condition.PENGMETHOD = this.paintDesignPicker[this.paintDesignIndex].key
},
selectGroupClient() {
uni.navigateTo({
...
...
pages/home/home.vue
View file @
9a7007d3
...
...
@@ -19,47 +19,66 @@
</uni-swiper-dot>
</view>
<view
class=
"content"
>
<!--
<view
class=
"amount-block"
>
<view
class=
"order-amount"
>
<view
class=
"order-amount--wrapper"
>
<text
class=
"order-amount--des"
>
本年订单金额
</text>
<text
class=
"order-amount--num"
>
50.000
</text>
<view
class=
"todo-box block"
>
<text
class=
"title"
>
市场秩序
</text>
<view
class=
"amount-block"
>
<view
class=
"order-amount"
@
click=
"entryHandle"
>
<view
class=
"order-amount--wrapper"
>
<image
class=
"entry-icon"
src=
"@/static/image/home_report@3x.png"
mode=
"aspectFit"
>
</image>
<text
class=
"order-amount--num"
>
提报线索
</text>
</view>
</view>
</view>
<view
class=
"order-amount bill-amount"
>
<view
class=
"order-amount--wrapper"
>
<text
class=
"order-amount--des"
>
本年订单金额
</text>
<text
class=
"order-amount--num"
>
50.000
</text>
<view
class=
"order-amount"
@
click=
"entryHandle"
>
<view
class=
"order-amount--wrapper"
>
<image
class=
"entry-icon"
src=
"@/static/image/home_marketclue@3x.png"
mode=
"aspectFit"
>
</image>
<text
class=
"order-amount--num"
>
市场线索
</text>
</view>
</view>
<view
class=
"order-amount"
@
click=
"entryHandle"
>
<view
class=
"order-amount--wrapper"
>
<image
class=
"entry-icon"
src=
"@/static/image/home_breakmission@3x.png"
mode=
"aspectFit"
>
</image>
<text
class=
"order-amount--num"
>
违约任务
</text>
</view>
</view>
<view
class=
"order-amount"
@
click=
"entryHandle"
>
<view
class=
"order-amount--wrapper"
>
<image
class=
"entry-icon"
src=
"@/static/image/home_breakrule@3x.png"
mode=
"aspectFit"
>
</image>
<text
class=
"order-amount--num"
>
违约处理
</text>
</view>
</view>
</view>
</view>
-->
<!--
<view
class=
"notice-block block"
>
</view>
<!--
<view
class=
"notice-block block"
>
<image
class=
"icon-notic"
src=
"../../static/image/notice@3x.png"
mode=
""
></image>
<uni-notice-bar
single=
"true"
showGetMore=
"false"
backgroundColor=
'#feebe6'
color=
"#333"
:text=
"noticeContent"
>
</uni-notice-bar>
</view>
-->
<view
class=
"todo-box block"
>
<text
class=
"title"
>
待办
</text>
<view
class=
"cell-list"
>
<view
class=
"cell-list-block"
@
click=
"goFundsConfirm"
>
<image
class=
"icon-address"
src=
"@/static/image/funds@3x.png"
mode=
"aspectFit"
></image>
<view
class=
"cell-list-block__content"
>
<text
class=
"cell-list-block__title"
>
打款500,000.00 ,请确认用途
</text>
<text
class=
"cell-list-block__desc"
>
3月27日 14:00
</text>
</view>
<image
class=
"icon-arrow"
src=
"@/static/image/arrow_r@3x.png"
mode=
"aspectFit"
></image>
<!--
<view
class=
"todo-box block"
>
<text
class=
"title"
>
待办
</text>
<view
class=
"cell-list"
>
<view
class=
"cell-list-block"
@
click=
"goFundsConfirm"
>
<image
class=
"icon-address"
src=
"@/static/image/funds@3x.png"
mode=
"aspectFit"
></image>
<view
class=
"cell-list-block__content"
>
<text
class=
"cell-list-block__title"
>
打款500,000.00 ,请确认用途
</text>
<text
class=
"cell-list-block__desc"
>
3月27日 14:00
</text>
</view>
<
view
class=
"cell-list-block"
>
<image
class=
"icon-address"
src=
"@/static/image/funds@3x.png"
mode=
"aspectFit"
></image
>
<view
class=
"cell-list-block__content
"
>
<text
class=
"cell-list-block__title"
>
打款500,000.00 ,请确认用途
</text
>
<text
class=
"cell-list-block__desc"
>
3月27日 14:00
</text
>
<
/view
>
<
image
class=
"icon-arrow"
src=
"@/static/image/arrow_r@3x.png"
mode=
"aspectFit"
></image
>
<
image
class=
"icon-arrow"
src=
"@/static/image/arrow_r@3x.png"
mode=
"aspectFit"
></image
>
</view
>
<view
class=
"cell-list-block
"
>
<image
class=
"icon-address"
src=
"@/static/image/funds@3x.png"
mode=
"aspectFit"
></image
>
<view
class=
"cell-list-block__content"
>
<
text
class=
"cell-list-block__title"
>
打款500,000.00 ,请确认用途
</text
>
<
text
class=
"cell-list-block__desc"
>
3月27日 14:00
</text
>
</view>
<image
class=
"icon-arrow"
src=
"@/static/image/arrow_r@3x.png"
mode=
"aspectFit"
></image>
</view>
</view>
</view>
-->
<view
class=
"charts-box block"
>
<view
class=
"title"
>
<text
class=
"title-text"
>
订单执行情况
</text>
...
...
@@ -255,6 +274,13 @@
},
change
(
e
)
{
this
.
current
=
e
.
detail
.
current
;
},
entryHandle
()
{
uni
.
showToast
({
title
:
'开发中...'
,
icon
:
'none'
,
duration
:
1500
});
}
}
}
...
...
@@ -375,30 +401,23 @@
.order-amount
{
flex
:
1
;
background
:
url('~@/static/image/home_order_bg@3x.png')
no-repeat
;
background-size
:
100%
100%
;
height
:
70px
;
border-radius
:
4px
;
padding-top
:
8px
;
padding-left
:
20px
;
margin-right
:
8px
;
}
.order-amount--wrapper
{
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
}
.order-amount--des
{
font-size
:
14px
;
color
:
#fff
;
margin-bottom
:
2px
;
.entry-icon
{
width
:
58px
;
height
:
58px
;
}
.order-amount--num
{
font-size
:
20px
;
color
:
#fff
;
font-weight
:
500
;
font-size
:
12px
;
color
:
#333
;
}
.bill-amount
{
...
...
pages/purchase/purchase.nvue
View file @
9a7007d3
...
...
@@ -207,6 +207,20 @@
},
...mapState(['sysinfo'])
},
onShow() {
uni.showToast({
title: '要货功能开发中...',
icon: 'none',
duration: 1200,
mask: true,
complete: () => {
uni.switchTab({
url: '/pages/usercenter/usercenter'
})
}
});
},
methods: {
selectClient() {
uni.navigateTo({
...
...
@@ -252,8 +266,8 @@
background: #f0f4f5;
overflow-y: scroll;
}
.scroll-area{
.scroll-area
{
flex: 1;
}
...
...
@@ -353,4 +367,4 @@
.btn-text-l {
color: $wly-primary-color;
}
</style>
</style>
pages/usercenter/usercenter.nvue
View file @
9a7007d3
...
...
@@ -133,7 +133,7 @@
goPage(page) {
if (page === 'my-purchase') {
uni.showToast({
title: '开发中...',
title: '
要货功能
开发中...',
icon: 'none',
duration: 1500
});
...
...
static/image/home_breakmission@3x.png
0 → 100644
View file @
9a7007d3
38.8 KB
static/image/home_breakrule@3x.png
0 → 100644
View file @
9a7007d3
37.2 KB
static/image/home_marketclue@3x.png
0 → 100644
View file @
9a7007d3
42.9 KB
static/image/home_report@3x.png
0 → 100644
View file @
9a7007d3
43 KB
unpackage/dist/dev/app-plus/app-service.js
View file @
9a7007d3
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/app-plus/app-view.js
View file @
9a7007d3
This diff is collapsed.
Click to expand it.
unpackage/dist/dev/app-plus/pages/usercenter/usercenter.js
View file @
9a7007d3
This diff is collapsed.
Click to expand it.
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