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
684d26d3
Commit
684d26d3
authored
Apr 22, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拒单-静态页面
parent
c353356a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
184 additions
and
2 deletions
+184
-2
pages.json
src/pages.json
+10
-2
refuse.vue
src/pages/order/refuse.vue
+174
-0
No files found.
src/pages.json
View file @
684d26d3
...
@@ -29,6 +29,14 @@
...
@@ -29,6 +29,14 @@
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
"disableScroll"
:
true
}
}
},{
"path"
:
"pages/order/refuse"
,
"style"
:
{
"navigationBarTitleText"
:
"订单-拒单"
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
,
//
隐藏系统导航栏
"disableScroll"
:
true
}
},
},
{
{
"path"
:
"pages/mine/index"
,
"path"
:
"pages/mine/index"
,
...
@@ -272,8 +280,8 @@
...
@@ -272,8 +280,8 @@
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},
},
{
{
"name"
:
"订单 -
过程反馈
"
,
//模式名称
"name"
:
"订单 -
拒单
"
,
//模式名称
"path"
:
"pages/order/
feedback
"
,
//启动页面,必选
"path"
:
"pages/order/
refuse
"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
}
}
]
]
...
...
src/pages/order/refuse.vue
0 → 100644
View file @
684d26d3
<!-- 过程反馈 -->
<
template
>
<view
class=
"refuse-box bg"
>
<u-navbar
back-icon-color=
"#FFFFFF"
:background=
"background"
title=
"拒单"
title-color=
"#fff"
:border-bottom=
"false"
></u-navbar>
<view
class=
"title"
>
拒单说明
</view>
<view
class=
"content"
>
<view
class=
"con-box"
>
<view
class=
"tit u-m-b-40"
>
{{
refuse
.
title
}}
</view>
<view
class=
"u-flex u-flex-wrap"
>
<view
:class=
"
{'txt-item':true,'active':true}" v-for="(txt,index) in refuse.list" :key="index">
<text
class=
"txt"
>
{{
txt
}}
</text>
</view>
</view>
</view>
<view
class=
"con-box"
>
<view
class=
"tit u-m-b-40"
>
补充说明
</view>
<u-input
class=
"textarea"
height=
"156"
type=
"textarea"
placeholder=
"请补充详细说明,以便于记录您的接单信用分"
></u-input>
</view>
</view>
<view
class=
"u-m-60"
>
<button
class=
"btn"
>
确定
</button>
</view>
</view>
</
template
>
<
script
>
import
appointTime
from
'@/components/appoint/appoint-time.vue'
export
default
{
data
()
{
return
{
background
:
{
backgroundColor
:
'none'
,
},
refuse
:{
title
:
'问题归属'
,
list
:[
'时间不匹配'
,
'技术不匹配'
,
'价格过低'
,
'距离太远'
,
'其他'
],
},
// questionList: ['个人', '客户', '现场/客户'],
feedback
:
{
own
:{
title
:
'问题归属'
,
list
:[
'个人'
,
'客户'
,
'现场/客户'
],
},
type
:{
title
:
'问题类型'
,
list
:[
'有事耽搁'
,
'未带齐工具'
,
'个人改约'
,
'其他'
]
},
appoint
:{
title
:
'预约时间'
,
}
},
list
:[
'报备'
,
'预约'
],
curNow
:
1
};
},
components
:{
appointTime
},
methods
:
{
/**
* 拒单
*/
rejectOrder
()
{
console
.
log
(
"点击拒单"
)
},
sectionChange
(
index
)
{
this
.
curNow
=
index
;
},
weekChange
(
data
){
// 点击下一周
console
.
log
(
data
,
'week-data'
)
},
dateChange
(
data
){
// 点击日期选择
console
.
log
(
data
,
'week-data'
)
},
timeChange
(
data
){
// 时间段选择变化
console
.
log
(
data
,
'week-data'
)
},
}
}
</
script
>
<
style
lang=
"scss"
>
.bg
{
width
:
750rpx
;
height
:
100vh
;
overflow
:
auto
;
background-color
:
#F4F5F7
;
background-image
:
linear-gradient
(
to
top
,
#F4F5F7
0%
,
#2272FF
100%
);
background-size
:
750rpx
600rpx
;
background-repeat
:
no-repeat
;
}
/
deep
/
.u-subsection
{
padding
:
4rpx
!
important
;
}
.content
{
margin
:
0
30rpx
;
overflow
:
hidden
;
border-radius
:
12rpx
;
padding-bottom
:
60rpx
;
background-color
:
#fff
;
}
.con-box
{
padding
:
30rpx
30rpx
30rpx
20rpx
;
// border-radius: 12rpx;
background-color
:
#FFFFFF
;
.tit
{
font-weight
:
bold
;
font-size
:
32rpx
;
line-height
:
32rpx
;
color
:
#333
;
}
&
>
.u-flex
{
// margin-top:40rpx;
margin-right
:
-20rpx
;
.txt-item
{
border-radius
:
12rpx
;
padding
:
24rpx
38rpx
;
min-width
:
196rpx
;
text-align
:
center
;
margin-right
:
20rpx
;
margin-bottom
:
20rpx
;
background-color
:
#F4F5F7
;
&
.active
{
background-color
:
#2272FF
;
.txt
{
color
:
#fff
;
}
}
}
}
.txt
{
display
:block
;
font-size
:
26rpx
;
line-height
:
26rpx
;
color
:
#333
;
}
.textarea
{
/
deep
/
.u-input
{
textarea
{
margin-top
:
20rpx
;
border
:
2rpx
solid
#ECECEC
;
padding
:
18rpx
30rpx
;
}
}
}
}
.btn
{
padding
:
30rpx
;
border-radius
:
52rpx
;
line-height
:
44rpx
;
font-size
:
32rpx
;
text-align
:
center
;
background-color
:
#2272FF
;
color
:
#fff
;
&
:
:
after
{
content
:
''
;
height
:
0
;
}
}
.width-320
{
width
:
320rpx
;
}
.title
{
padding
:
30rpx
30rpx
46rpx
;
line-height
:
40rpx
;
font-size
:
40rpx
;
color
:
#fff
;
}
</
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