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
6d4f1fba
Commit
6d4f1fba
authored
May 15, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加合作厂商
parent
49c0aaf9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
10 deletions
+30
-10
index.vue
src/components/order/index.vue
+24
-9
index.vue
src/pages/index/index.vue
+1
-0
detail.vue
src/pages/order/detail.vue
+5
-1
No files found.
src/components/order/index.vue
View file @
6d4f1fba
...
@@ -11,8 +11,13 @@
...
@@ -11,8 +11,13 @@
</view>
</view>
<view
class=
"content-view"
>
<view
class=
"content-view"
>
<view
class=
"info-view"
v-for=
"(item, key) in infoTexts"
:key=
"key"
>
<view
class=
"info-view"
v-for=
"(item, key) in infoTexts"
:key=
"key"
>
<text>
{{
item
+
':'
}}
</text>
<view
class=
"info-title"
>
<text>
{{
item
.
name
+
':'
}}
</text>
</view>
<view
class=
"info-content"
>
<text>
{{
orderData
[
key
]
}}
</text>
<text>
{{
orderData
[
key
]
}}
</text>
<text
v-if=
"item.content"
>
{{
' / '
+
orderData
[
item
.
content
]
}}
</text>
</view>
</view>
</view>
<view
class=
"address-view"
>
<view
class=
"address-view"
>
<view
class=
"address-left-view"
>
<view
class=
"address-left-view"
>
...
@@ -133,9 +138,10 @@
...
@@ -133,9 +138,10 @@
},
},
infoTexts
()
{
infoTexts
()
{
return
{
return
{
'orderNumber'
:
'工单编号'
,
'orderNumber'
:
{
name
:
'工单编号'
},
'contactName'
:
'客户信息'
,
'partnerCompanyName'
:
{
name
:
'合作厂商'
},
'contactPhone'
:
'联系方式'
'contactName'
:
{
name
:
'客户信息'
,
content
:
'contactPhone'
},
}
}
},
},
typeTexts
()
{
typeTexts
()
{
...
@@ -375,8 +381,17 @@
...
@@ -375,8 +381,17 @@
text-align
:
left
;
text-align
:
left
;
color
:
#333333
;
color
:
#333333
;
font-size
:
26rpx
;
font-size
:
26rpx
;
margin-top
:
12rpx
;
margin-top
:
18rpx
;
margin-bottom
:
12rpx
;
margin-bottom
:
18rpx
;
display
:
flex
;
align-items
:
flex-start
;
.info-title
{
flex-shrink
:
0
;
}
.info-content
{
word-break
:
break-all
;
}
}
}
.address-view
{
.address-view
{
...
@@ -385,7 +400,7 @@
...
@@ -385,7 +400,7 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
color
:
#333333
;
color
:
#333333
;
font-size
:
24rpx
;
font-size
:
24rpx
;
margin-top
:
1
2
rpx
;
margin-top
:
1
8
rpx
;
.address-left-view
{
.address-left-view
{
display
:
flex
;
display
:
flex
;
...
...
src/pages/index/index.vue
View file @
6d4f1fba
...
@@ -158,6 +158,7 @@
...
@@ -158,6 +158,7 @@
}
else
{
}
else
{
this
.
waitInit
=
true
this
.
waitInit
=
true
}
}
// 第一次入驻成功弹出客服弹窗
if
(
e
&&
e
.
visible
)
{
if
(
e
&&
e
.
visible
)
{
this
.
visible
=
e
.
visible
this
.
visible
=
e
.
visible
}
}
...
...
src/pages/order/detail.vue
View file @
6d4f1fba
...
@@ -18,6 +18,10 @@
...
@@ -18,6 +18,10 @@
<text>
工单编号:
</text>
<text>
工单编号:
</text>
<text>
{{
order
.
orderNumber
}}
</text>
<text>
{{
order
.
orderNumber
}}
</text>
</view>
</view>
<view
class=
"order-cell"
>
<text>
合作厂商:
</text>
<text>
{{
order
.
partnerCompanyName
}}
</text>
</view>
<view
class=
"order-cell between-cell"
>
<view
class=
"order-cell between-cell"
>
<view
class=
"left"
>
<view
class=
"left"
>
<text>
客户信息:
</text>
<text>
客户信息:
</text>
...
@@ -1074,7 +1078,7 @@
...
@@ -1074,7 +1078,7 @@
.between-cell
{
.between-cell
{
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
flex-start
;
align-items
:
center
;
}
}
.display-cell
{
.display-cell
{
display
:
flex
;
display
:
flex
;
...
...
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