Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
4423c7cc
Commit
4423c7cc
authored
May 26, 2020
by
王建威
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
打电话
parent
f2cf115d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
manifest.json
manifest.json
+1
-1
logistics.vue
pages/logistics/logistics.vue
+9
-2
No files found.
manifest.json
View file @
4423c7cc
...
...
@@ -51,7 +51,7 @@
"mode"
:
"history"
,
"base"
:
"/uni"
},
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
test
/1.0.12/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
mirror
/1.0.12/"
,
"optimization"
:
{
"treeShaking"
:
{
"enable"
:
true
...
...
pages/logistics/logistics.vue
View file @
4423c7cc
...
...
@@ -63,7 +63,7 @@
<text
v-if=
"data.deliverystatus === '5'"
class=
"item_status"
>
疑难件
</text>
<text
v-if=
"data.deliverystatus === '6'"
class=
"item_status"
>
退件签收
</text>
</text>
<text
class=
"item_detail"
>
{{
item
.
status
}}
</text>
<text
class=
"item_detail"
v-html=
"item.status"
>
</text>
</view>
</view>
</view>
...
...
@@ -126,7 +126,14 @@
},
dataType
:
'json'
,
success
:
(
res
)
=>
{
if
(
res
.
data
.
result
)
{
if
(
res
.
data
.
data
.
result
)
{
// #ifdef H5
if
(
res
.
data
.
data
.
result
.
deliverystatus
===
'2'
||
res
.
data
.
data
.
result
.
deliverystatus
===
'3'
||
res
.
data
.
data
.
result
.
deliverystatus
===
'4'
)
{
let
reg
=
/
(\d{11})
/g
,
str
=
res
.
data
.
data
.
result
.
list
[
0
][
'status'
];
res
.
data
.
data
.
result
.
list
[
0
][
'status'
]
=
str
.
replace
(
reg
,
`<a style="color:red;" href="tel:
${
"$1"
}
">
${
"$1"
}
</a>`
);
}
// #endif
this
.
data
=
res
.
data
.
data
.
result
;
this
.
address
=
res
.
data
.
data
.
address
;
}
...
...
郑秀明
@zhengxiuming
mentioned in commit
951cd7c7
·
May 26, 2020
mentioned in commit
951cd7c7
mentioned in commit 951cd7c738f8fa7a9112657ee1be5c9865eb40a1
Toggle commit list
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