Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
93586833
Commit
93586833
authored
Jun 12, 2020
by
zhangjianguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7d2044df
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
15 deletions
+26
-15
order-good-list2.vue
components/goods/order-good-list2.vue
+7
-7
index.vue
pages/order/index/index.vue
+13
-2
order-detail.vue
pages/order/order-detail.vue
+4
-2
index.vue
pages/share/index/index.vue
+2
-4
No files found.
components/goods/order-good-list2.vue
View file @
93586833
...
@@ -24,23 +24,23 @@
...
@@ -24,23 +24,23 @@
<view
class=
"tips"
>
共
{{
list
.
length
}}
件
</view>
<view
class=
"tips"
>
共
{{
list
.
length
}}
件
</view>
</view>
</view>
<view
class=
"goodbox update-goodbox"
v-for=
"(cx, i) in list"
:key=
"i"
>
<view
class=
"goodbox update-goodbox"
v-for=
"(cx, i) in list"
:key=
"i"
>
<image
:src=
"cx.
goods_info.pic_url
"
style=
"width: 100px; height: 100px"
/>
<image
:src=
"cx.
CoverImagePath
"
style=
"width: 100px; height: 100px"
/>
<view
style=
"width: calc(100% - 110px);height: 100px;display: flex;flex-direction: column;margin-left: 10px;justify-content: space-between;"
>
<view
style=
"width: calc(100% - 110px);height: 100px;display: flex;flex-direction: column;margin-left: 10px;justify-content: space-between;"
>
<Text
class=
'topic_cont_text'
>
{{
cx
.
goods_info
.
n
ame
}}
</Text>
<Text
class=
'topic_cont_text'
>
{{
cx
.
GoodsN
ame
}}
</Text>
<view
style=
'width: calc(100% - 110px);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'
>
<view
style=
'width: calc(100% - 110px);overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'
>
<view
v-for=
"(attr, index2) in cx.
goods_info.attr_l
ist"
:key=
"index2"
>
<view
v-for=
"(attr, index2) in cx.
SpecificationL
ist"
:key=
"index2"
>
<Text
style=
'color: #A0A09D;font-size: 24rpx;margin-right: 5rpx;'
>
规格:
{{
attr
.
attr_name
}}
</Text>
<Text
style=
'color: #A0A09D;font-size: 24rpx;margin-right: 5rpx;'
>
规格:
{{
attr
}}
</Text>
</view>
</view>
</view>
</view>
<view
style=
"width: 100%;display: flex;flex-direction: row;align-items:center;justify-content: space-between;"
>
<view
style=
"width: 100%;display: flex;flex-direction: row;align-items:center;justify-content: space-between;"
>
<view
class=
"left"
:style=
"
{ color: mc }">
<view
class=
"left"
:style=
"
{ color: mc }">
<text
class=
"small"
>
¥
</text>
<text
class=
"small"
>
¥
</text>
<text
style=
'font-size: 40rpx;'
>
{{
cx
.
unit_price
.
split
(
"."
)[
0
]
}}
</text>
<text
style=
'font-size: 40rpx;'
>
{{
cx
.
Final_Price
.
toString
()
.
split
(
"."
)[
0
]
}}
</text>
<text
class=
"small"
<text
class=
"small"
>
.
{{
cx
.
unit_price
.
split
(
"."
)[
1
]
||
"00"
}}
</text
>
.
{{
cx
.
Final_Price
.
toString
()
.
split
(
"."
)[
1
]
||
"00"
}}
</text
>
>
</view>
</view>
<Text
style=
'color: #A0A09D;font-size: 24rpx;'
>
X
{{
cx
.
num
}}
</Text>
<Text
style=
'color: #A0A09D;font-size: 24rpx;'
>
X
{{
cx
.
Number
}}
</Text>
</view>
</view>
</view>
</view>
...
...
pages/order/index/index.vue
View file @
93586833
...
@@ -105,7 +105,18 @@
...
@@ -105,7 +105,18 @@
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<view
style=
"width: 100%;text-align: right;"
>
<Text>
应付金额:
</Text>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
{{
item.Income.toString().split(".")[0]
}}
</text>
<text
style=
"font-size: 11px;"
>
.{{
item.Income.toString().split(".")[1] || "00"
}}
</text
>
</view>
<!-- TODO 样式结构修改-->
<!-- TODO 样式结构修改-->
<view
class=
"handle"
>
<view
class=
"handle"
>
<u-button
<u-button
...
@@ -512,7 +523,7 @@ export default {
...
@@ -512,7 +523,7 @@ export default {
this
.
showGoodList
=
false
;
this
.
showGoodList
=
false
;
},
},
showGoodListHandler
(
i
)
{
showGoodListHandler
(
i
)
{
this
.
goodData
=
this
.
g
[
i
].
detail
;
this
.
goodData
=
this
.
g
[
i
].
DetailList
;
console
.
log
(
this
.
goodData
);
console
.
log
(
this
.
goodData
);
this
.
showGoodList
=
true
;
this
.
showGoodList
=
true
;
},
},
...
...
pages/order/order-detail.vue
View file @
93586833
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
color=
"#FFF"
color=
"#FFF"
size=
"28"
size=
"28"
></u-icon>
></u-icon>
<!-- TODO返回字段 不能写死 -->
<text
style=
"margin-left: 5px;"
>
交易成功14天,系统自动确认完成
</text>
<text
style=
"margin-left: 5px;"
>
交易成功14天,系统自动确认完成
</text>
<!-- TODO 交易情况说明 -->
<!-- TODO 交易情况说明 -->
</view>
</view>
...
@@ -177,6 +178,7 @@
...
@@ -177,6 +178,7 @@
>-¥{{ orders.integral_deduction_price }}</view
>-¥{{ orders.integral_deduction_price }}</view
>
>
</view> -->
</view> -->
<view
style=
"width: 100%;height: 1px;background: #f5f5f5;margin: 5px 0;"
></view>
<view
class=
"field"
>
<view
class=
"field"
>
<view
class=
"label"
>
</view>
<view
class=
"label"
>
</view>
<view
class=
"content right"
>
<view
class=
"content right"
>
...
@@ -694,14 +696,14 @@ export default {
...
@@ -694,14 +696,14 @@ export default {
height
:
20px
;
height
:
20px
;
}
}
.orderdetail
.order-info-item
{
.orderdetail
.order-info-item
{
padding
:
2
0px
0
;
padding
:
1
0px
0
;
border-bottom
:
1px
solid
#f5f5f5
;
border-bottom
:
1px
solid
#f5f5f5
;
}
}
.orderdetail
.order-info-item
:last-child
{
.orderdetail
.order-info-item
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
.orderdetail
.order-info-item
.field
{
.orderdetail
.order-info-item
.field
{
margin-bottom
:
1
5
px
;
margin-bottom
:
1
0
px
;
display
:
flex
;
display
:
flex
;
}
}
.orderdetail
.order-info-item.peisong
{
.orderdetail
.order-info-item.peisong
{
...
...
pages/share/index/index.vue
View file @
93586833
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
sharestatus
:{},
sharestatus
:{},
userinfo
:{},
userinfo
:{},
sharedata
:{},
sharedata
:{},
bg_img
:
''
,
showAuth
:
false
showAuth
:
false
}
}
},
},
...
@@ -139,9 +139,7 @@
...
@@ -139,9 +139,7 @@
:
[];
:
[];
this
.
bg_img
=
wx
.
getStorageSync
(
"basedata"
)
?
wx
.
getStorageSync
(
"basedata"
).
__wxapp_img
.
share
.
status
:
''
;
pages
.
forEach
((
x
)
=>
{
pages
.
forEach
((
x
)
=>
{
if
(
x
.
value
==
u
)
{
if
(
x
.
value
==
u
)
{
this
.
pageTitle
=
x
.
new_name
?
x
.
new_name
:
x
.
name
;
this
.
pageTitle
=
x
.
new_name
?
x
.
new_name
:
x
.
name
;
...
...
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