Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
wly-APP
Project
Project
Details
Activity
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
刘川
wly-APP
Commits
bceaeaab
Commit
bceaeaab
authored
Apr 01, 2022
by
chuan.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增物流查询页面
parent
66bc15fa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
156 additions
and
138 deletions
+156
-138
pages.json
pages.json
+15
-0
logistics.nvue
pages/logistics/logistics.nvue
+140
-137
usercenter.nvue
pages/usercenter/usercenter.nvue
+1
-1
No files found.
pages.json
View file @
bceaeaab
...
...
@@ -526,6 +526,21 @@
}
}
}
},
{
"path"
:
"pages/my-order/my-order"
,
"style"
:
{
"app-plus"
:
{
"titleNView"
:
{
"titleAlign"
:
"left"
,
"titleColor"
:
"#333"
,
"titleSize"
:
"17px"
,
"backgroundColor"
:
"#fff"
,
"titleText"
:
"我的订单"
,
"autoBackButton"
:
true
}
}
}
}
],
"globalStyle"
:
{
...
...
pages/logistics/logistics.nvue
View file @
bceaeaab
...
...
@@ -14,14 +14,17 @@
<view class="steps__row-line steps__row-line--after steps__row-line--active"></view>
</view>
<view class="steps__row-line-item">
<view class="steps__row-line steps__row-line--before" :class="{'steps__row-line--active':deliveryListBeforeLineShow}"></view>
<view class="steps__row-line steps__row-line--before"
:class="{'steps__row-line--active':deliveryListBeforeLineShow}"></view>
<view class="steps__row-check steps__row-circle">
<i class="icon-dot" :class="{'icon-dot-active':deliveryListBeforeLineShow}"></i>
</view>
<view class="steps__row-line steps__row-line--after" :class="{'steps__row-line--active':deliveryListAfterLineShow}"></view>
<view class="steps__row-line steps__row-line--after"
:class="{'steps__row-line--active':deliveryListBeforeLineShow}"></view>
</view>
<view class="steps__row-line-item">
<view class="steps__row-line steps__row-line--before" :class="{'steps__row-line--active':deliveryCheckLineShow}"></view>
<view class="steps__row-line steps__row-line--before"
:class="{'steps__row-line--active':deliveryCheckLineShow}"></view>
<view class="steps__row-check steps__row-circle">
<i class="icon-dot " :class="{'icon-dot-active':deliveryCheckLineShow}"></i>
</view>
...
...
@@ -30,15 +33,15 @@
</view>
<view class="steps__row-text-container">
<view class="steps__row-text">
<text class="steps__row-title
">装车</text>
<text class="steps__row-title
steps__row-title--active">装车</text>
<text class="steps__row-desc">2021.7.21 9:00</text>
</view>
<view class="steps__row-text">
<text class="steps__row-title"
>起运</text>
<text class="steps__row-title"
:class="{'steps__row-title--active':deliveryListAfterLineShow}">起运</text>
<text class="steps__row-desc">预计 2021.7.21 9:00</text>
</view>
<view class="steps__row-text">
<text class="steps__row-title"
>到达宣化中转仓</text>
<text class="steps__row-title"
:class="{'steps__row-title--active':deliveryCheckLineShow}">到达宣化中转仓</text>
<text class="steps__row-desc">预计 2021.7.21 9:00</text>
</view>
</view>
...
...
@@ -53,9 +56,20 @@
} from 'vuex'
export default {
data() {
return {}
return {
deliveryStatus: 'doing'
}
},
computed: {
deliveryListBeforeLineShow() {
return this.deliveryStatus === 'doing'
},
deliveryListAfterLineShow() {
return this.deliveryStatus === 'doing'
},
deliveryCheckLineShow() {
return this.deliveryStatus === 'end'
},
...mapState(['sysinfo'])
},
onLoad() {
...
...
@@ -93,7 +107,7 @@
padding: 26rpx 32rpx;
}
.title
{
.title
{
font-size: 32rpx;
color: $text-base-color;
font-weight: 500;
...
...
@@ -122,14 +136,14 @@
line-height: 16px;
text-align: center;
color: $text-base-color;
margin-bottom:
4rpx;
margin-bottom:
6rpx;
}
.steps__row-title--active
{
.steps__row-title--active
{
color: #F62C29;
}
.steps__row-desc
{
.steps__row-desc
{
font-size: 30rpx;
color: #999;
}
...
...
@@ -145,30 +159,24 @@
flex-direction: column;
}
.steps__row-line--before {
transform: translateX(-1px);
}
.steps__row-line {
height: 80rpx;
background-color: #999;
}
.icon-dot {
width:
40rpx;
height:
40rpx;
width:
16rpx;
height:
16rpx;
background: #E5E5E5;
border-radius: 50%;
}
.icon-dot-active {
width: 40rpx;
height: 40rpx;
background: #ff1d32;
}
.steps__row-line--after {
transform: translateX(1px);
}
.steps__row-line {
width: 1px;
height: 80rpx;
...
...
@@ -180,12 +188,7 @@
border-radius: 1px;
}
.steps__row-circle {
background: #E5E5E5;
}
.steps__row-line--hide {
background-color: transparent;
}
</style>
pages/usercenter/usercenter.nvue
View file @
bceaeaab
...
...
@@ -58,7 +58,7 @@
<text class="entry-bill-text">我的要货</text>
</view>
<view class="entry-block">
<view class="entry-block"
@click="goPage('my-order')"
>
<view class="entry-bill">
<image class="entry-bill-icon" src="@/static/image/uc_company@3x.png" mode=""></image>
</view>
...
...
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