Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
efa85366
Commit
efa85366
authored
Aug 15, 2019
by
linking2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
94b8db53
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
35 deletions
+56
-35
logistics.vue
src/components/logistics.vue
+56
-35
No files found.
src/components/logistics.vue
View file @
efa85366
<
template
>
<
template
>
<div>
<div>
<div
class=
"no-result"
v-if=
"!list.length"
>
<p>
暂无物流信息
<br>
<span
class=
"link"
@
click=
"goIndex"
>
返回首页
</span>
</p>
</div>
<div
v-else-if=
"list.length && list[0] != 0"
>
<h1
class=
"logistics-title"
>
我的快递
</h1>
<h1
class=
"logistics-title"
>
我的快递
</h1>
<ol
class=
"logistics-list"
>
<ol
class=
"logistics-list"
>
<li
class=
"no-result"
v-if=
"!list.length"
>
<li
class=
"item"
v-for=
"item in list"
>
暂无数据
</li>
<li
class=
"item"
v-else-if=
"list.length && list[0] != 0"
v-for=
"item in list"
>
<div
class=
"item-header"
>
<div
class=
"item-header"
>
<h2>
{{
item
.
goods_title
}}
</h2>
<h2>
{{
item
.
goods_title
}}
</h2>
</div>
</div>
...
@@ -33,6 +38,7 @@
...
@@ -33,6 +38,7 @@
</li>
</li>
</ol>
</ol>
</div>
</div>
</div>
</template>
</template>
...
@@ -61,6 +67,10 @@
...
@@ -61,6 +67,10 @@
// window.location='https://m.baidu.com/from=1013755s/s?word=806454448534420146&sa=tb&ts=2790568&t_kt=0&ie=utf-8&rsv_t=cbe2F%252FT5T3MIzkRl%252Fg8ZUw%252FEPHZmn2wHIrB8cLvgNlEKyyDqUNPrTyDEEDjkAb8&rsv_pq=11793168499026332712&ss=110000000001&tj=1&rqlang=zh&rsv_sug4=4111&inputT=3178&oq=快递单号查询'
// window.location='https://m.baidu.com/from=1013755s/s?word=806454448534420146&sa=tb&ts=2790568&t_kt=0&ie=utf-8&rsv_t=cbe2F%252FT5T3MIzkRl%252Fg8ZUw%252FEPHZmn2wHIrB8cLvgNlEKyyDqUNPrTyDEEDjkAb8&rsv_pq=11793168499026332712&ss=110000000001&tj=1&rqlang=zh&rsv_sug4=4111&inputT=3178&oq=快递单号查询'
},
},
goIndex
()
{
window
.
location
=
window
.
location
.
origin
},
initPage
()
{
initPage
()
{
Toast
.
loading
({
Toast
.
loading
({
mask
:
false
,
mask
:
false
,
...
@@ -78,6 +88,24 @@
...
@@ -78,6 +88,24 @@
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import "../util/public";
@import "../util/public";
.no-result {
height: 95vh;
line-height: 40px;
color: #999;
font-size: 16*@toVw;
text-align: center;
display: flex;
p {
align-items: center;
justify-content: center;
}
.link {
font-size: 14*@toVw;
color: #40A9FF;
text-decoration: underline;
}
}
.logistics-title {
.logistics-title {
padding: 14*@toVw 15*@toVw 10*@toVw;
padding: 14*@toVw 15*@toVw 10*@toVw;
height:21*@toVw;
height:21*@toVw;
...
@@ -90,13 +118,6 @@
...
@@ -90,13 +118,6 @@
.logistics-list {
.logistics-list {
padding: 0 15*@toVw;
padding: 0 15*@toVw;
.no-result {
height: 80vh;
line-height: 80vh;
color: #999;
font-size: 16*@toVw;
text-align: center;
}
.item {
.item {
margin-bottom: 10*@toVw;
margin-bottom: 10*@toVw;
...
...
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