Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
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
李俊赕
self-support
Commits
d54b4e03
Commit
d54b4e03
authored
Apr 22, 2021
by
Facius
Browse files
Options
Browse Files
Download
Plain Diff
代码冲突
parents
d26355cc
6c427e39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
13 deletions
+90
-13
pages.json
src/pages.json
+16
-13
detail.vue
src/pages/order/detail.vue
+74
-0
No files found.
src/pages.json
View file @
d54b4e03
...
@@ -15,13 +15,7 @@
...
@@ -15,13 +15,7 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"订单"
"navigationBarTitleText"
:
"订单"
}
}
},
},
//
{
//
"path"
:
"pages/order/orderItem"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"订单详情"
//
}
//
},
{
{
"path"
:
"pages/order/complete"
,
"path"
:
"pages/order/complete"
,
"style"
:
{
"style"
:
{
...
@@ -173,6 +167,15 @@
...
@@ -173,6 +167,15 @@
"enablePullDownRefresh"
:
false
"enablePullDownRefresh"
:
false
}
}
}
}
,{
//
订单详情页
"path"
:
"pages/order/detail"
,
"style"
:
{
"navigationStyle"
:
"custom"
//
隐藏系统导航栏
}
}
],
],
"globalStyle"
:
{
"globalStyle"
:
{
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
...
@@ -226,8 +229,8 @@
...
@@ -226,8 +229,8 @@
"query"
:
""
"query"
:
""
},
},
{
{
"name"
:
"
基本信息
"
,
//模式名称
"name"
:
"
订单详情
"
,
//模式名称
"path"
:
"pages/
settle/base
"
,
//启动页面,必选
"path"
:
"pages/
order/detail
"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
},
{
{
...
@@ -250,10 +253,10 @@
...
@@ -250,10 +253,10 @@
"path"
:
"pages/settle/file"
,
//启动页面,必选
"path"
:
"pages/settle/file"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
},
{
{
"name"
:
"缴纳保证金"
,
//模式名称
"name"
:
"缴纳保证金"
,
//模式名称
"path"
:
"pages/settle/pay-ensure"
,
//启动页面,必选
"path"
:
"pages/settle/pay-ensure"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
},
{
{
"name"
:
"签约页面"
,
//模式名称
"name"
:
"签约页面"
,
//模式名称
...
...
src/pages/order/detail.vue
0 → 100644
View file @
d54b4e03
<
template
>
<view
class=
"order-wrap"
>
<u-navbar
back-icon-color=
"#FFFFFF"
:background=
"background"
:border-bottom=
"false"
></u-navbar>
<view
class=
"header"
>
<view
class=
"title"
>
订单信息
</view>
<view
class=
"button"
@
click=
"rejectOrder"
>
拒单
</view>
</view>
<view
class=
"content"
></view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
background
:
{
backgroundColor
:
'none'
,
// 导航栏背景图
// background: 'url(https://cdn.uviewui.com/uview/swiper/1.jpg) no-repeat',
// 还可以设置背景图size属性
// backgroundSize: 'cover',
// 渐变色
}
};
},
methods
:
{
/**
* 拒单
*/
rejectOrder
()
{
console
.
log
(
"点击拒单"
)
}
}
}
</
script
>
<
style
lang=
"scss"
>
.order-wrap
{
width
:
750rpx
;
height
:
100vh
;
overflow
:
auto
;
// height: 1600rpx;
// background: linear-gradient(360deg, #F4F5F7 0%, #2272FF 100%);
background-color
:
#F4F5F7
;
background-image
:
linear-gradient
(
to
top
,
#F4F5F7
,
#2272FF
);
background-size
:
750rpx
600rpx
;
background-repeat
:
no-repeat
;
.header
{
padding
:
12rpx
30rpx
40rpx
30rpx
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
.title
{
font-size
:
40rpx
;
font-weight
:
bold
;
color
:
#FFFFFF
;
}
.button
{
text-align
:
center
;
width
:
106rpx
;
height
:
52rpx
;
background
:
#FFFFFF
;
border-radius
:
40rpx
;
font-size
:
24rpx
;
font-weight
:
400
;
color
:
#2272FF
;
line-height
:
52rpx
;
}
}
.content
{
height
:
2000rpx
;
}
}
</
style
>
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