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
1ad9b80d
Commit
1ad9b80d
authored
Jul 22, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
e36104c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
96 additions
and
92 deletions
+96
-92
myValuation.vue
pages/Luxury/myValuation.vue
+96
-92
No files found.
pages/Luxury/myValuation.vue
View file @
1ad9b80d
...
...
@@ -3,102 +3,105 @@
<view
style=
"padding: 10px 0; background: #fff;"
>
<!--
<u-tabs
:list=
"headList"
:current=
"current"
name=
"Name"
@
change=
"change"
:active-color=
"mainColor"
bg-color=
"#FFF"
height=
"80"
></u-tabs>
-->
<view
class=
"myValation-header"
>
<view
class=
"myValation-header"
>
<view
class=
"myValation-title"
v-for=
"(item,index) in headList"
:class=
"
{'active':headID==item.Id}" @click="choose(item)">
<text>
{{
item
.
name
}}
</text>
<view></view>
</view>
</view>
</view>
<view
style=
"height: calc(100vh - 50px); background: #fff;"
v-if=
"g.length != 0"
>
<u-empty
text=
"快去上传估价商品吧"
mode=
"order"
></u-empty>
</view>
</view>
<view
style=
"height: calc(100vh - 50px);width: calc(100vw);overflow: hidden;padding-bottom: 20px;"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ height: '100%' }">
<view
class=
"orderList"
>
<view
class=
"listBox"
>
<view
class=
"listBox_t"
@
click=
"redirectToDetail()"
>
<Text>
订单号:65655
</Text>
<Text
style=
"color: gray;"
>
名称
</Text>
</view>
<view
class=
"listBox_c"
>
<template>
<view
class=
"box_bottom"
@
click=
"redirectToDetail()"
>
<!--
<image
:src=
""
style=
"width: 80px; height: 80px; border-radius: 2px;"
mode=
"aspectFill"
/>
-->
<view
style=
"margin-left: 15px; flex: 1;"
>
<Text
class=
"topic_cont_text"
>
付广告费
</Text>
</view>
<view
style=
"margin-left: 15px;"
>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
555
</text>
<text
style=
"font-size: 11px;"
>
44
</text>
</view>
</view>
</
template
>
<
template
>
<view
class=
"goodboxmore"
@
click=
"redirectToDetail()"
>
<view
class=
"good-list"
>
<view
style=
"white-space: nowrap;"
>
<!--
<image
:src=
""
mode=
"aspectFill"
class=
"item"
/>
-->
</view>
</view>
<view
class=
"infos"
@
click
.
stop=
"showGoodListHandler(index)"
>
<view>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
11
</text>
<text
style=
"font-size: 11px;"
>
22
</text>
</view>
<view
class=
"text"
>
共55件
</view>
</view>
</view>
</
template
>
<view
style=
"width: 100%;text-align: right;"
>
<Text>
应付金额:
</Text>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
11
</text>
<text
style=
"font-size: 11px;"
>
22
</text>
</view>
<!-- TODO 样式结构修改-->
<view
class=
"handle"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel()"
>
取消订单
</u-button>
<view
class=
""
v-if=
"item.OrderEduType===0"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel()"
>
取消订单
</u-button>
</view>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
v-on:click
.
stop=
"payment()"
>
立即支付
</u-button>
<!-- <u-button shape="circle" size="medium" :custom-style=" payBtn ?customStyle : themCustomStyle" @click.stop="buy()">再次购买</u-button>
<u-button shape="circle" size="medium" :custom-style="customStyle" @click="shouhuoHandler()">确认收货</u-button> -->
</view>
</view>
</view>
</view>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#f3f4f6"
/>
</scroll-view>
</view>
<u-popup
v-model=
"showModal"
mode=
"center"
length=
"80%"
>
<view
style=
'display: flex;flex-direction: column;align-items: center;background: #fff;'
>
<view
style=
"display: flex;align-items: center;justify-content: center;height:70px ;"
>
<Text>
是否取消订单?
</Text>
</view>
<view
style=
"display: flex;flex-direction: column;height:80px ;margin-left: 15px;width: 100%;"
v-if=
'item.OrderStatus==2'
>
<Text
style=
'margin-left: 10px;margin-top: 5px;'
>
备注
</Text>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"Cancelmsg.Remark"
placeholder=
"输入备注"
/>
</view>
<view
style=
"display: flex;flex-direction: row;align-items: center;height: 50px;border-top: 1px solid #F5F5F5;width: 100%;"
>
<view
style=
"width: 50%;display: flex;align-items: center;justify-content: center"
@
click=
"showModal=false"
>
<Text>
取消
</Text>
</view>
<view
style=
"width: 50%;color: #a0cfff;display: flex;align-items: center;justify-content: center"
@
click=
"confirm"
>
<Text>
确定
</Text>
</view>
</view>
</view>
</u-popup>
<u-modal
v-model=
"showReviceModal"
content=
"是否确认收货?"
:show-cancel-button=
"true"
:show-title=
"false"
@
confirm=
"submitReviceGoodHandler"
:border-radius=
"20"
></u-modal>
<good-list
:list=
"goodData"
v-if=
"showGoodList"
@
close=
"closeGoodListHandler"
></good-list>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'goback'
></auth>
<view
style=
"height: calc(100vh - 50px); background: #fff;"
v-if=
"g.length != 0"
>
<u-empty
text=
"快去上传估价商品吧"
mode=
"order"
></u-empty>
</view>
<view
style=
"height: calc(100vh - 50px);width: calc(100vw);overflow: hidden;padding-bottom: 20px;"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lower"
:style=
"
{ height: '100%' }">
<view
class=
"orderList"
>
<view
class=
"listBox"
>
<view
class=
"listBox_t"
@
click=
"redirectToDetail()"
>
<Text>
订单号:65655
</Text>
<Text
style=
"color: gray;"
>
名称
</Text>
</view>
<view
class=
"listBox_c"
>
<template>
<view
class=
"box_bottom"
@
click=
"redirectToDetail()"
>
<!--
<image
:src=
""
style=
"width: 80px; height: 80px; border-radius: 2px;"
mode=
"aspectFill"
/>
-->
<view
style=
"margin-left: 15px; flex: 1;"
>
<Text
class=
"topic_cont_text"
>
付广告费
</Text>
</view>
<view
style=
"margin-left: 15px;"
>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
555
</text>
<text
style=
"font-size: 11px;"
>
44
</text>
</view>
</view>
</
template
>
<
template
>
<view
class=
"goodboxmore"
@
click=
"redirectToDetail()"
>
<view
class=
"good-list"
>
<view
style=
"white-space: nowrap;"
>
<!--
<image
:src=
""
mode=
"aspectFill"
class=
"item"
/>
-->
</view>
</view>
<view
class=
"infos"
@
click
.
stop=
"showGoodListHandler(index)"
>
<view>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
11
</text>
<text
style=
"font-size: 11px;"
>
22
</text>
</view>
<view
class=
"text"
>
共2件
</view>
</view>
</view>
</
template
>
<view
style=
"width: 100%;text-align: right;"
>
<Text>
应付金额:
</Text>
<text
style=
"font-size: 10px;"
>
¥
</text>
<text
style=
"font-size: 17px;"
>
11
</text>
<text
style=
"font-size: 11px;"
>
.22
</text>
</view>
<!-- TODO 样式结构修改-->
<view
class=
"handle"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel()"
>
取消订单
</u-button>
<view
class=
""
v-if=
"item.OrderEduType===0"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel()"
>
取消订单
</u-button>
</view>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
v-on:click
.
stop=
"payment()"
>
立即支付
</u-button>
<!-- <u-button shape="circle" size="medium" :custom-style=" payBtn ?customStyle : themCustomStyle" @click.stop="buy()">再次购买</u-button>
<u-button shape="circle" size="medium" :custom-style="customStyle" @click="shouhuoHandler()">确认收货</u-button> -->
</view>
</view>
</view>
</view>
<u-loadmore
:status=
"status"
:load-text=
"loadText"
:font-size=
"24"
:margin-top=
"20"
:margin-bottom=
"20"
bg-color=
"#f3f4f6"
/>
</scroll-view>
</view>
<u-popup
v-model=
"showModal"
mode=
"center"
length=
"80%"
>
<view
style=
'display: flex;flex-direction: column;align-items: center;background: #fff;'
>
<view
style=
"display: flex;align-items: center;justify-content: center;height:70px ;"
>
<Text>
是否取消订单?
</Text>
</view>
<view
style=
"display: flex;flex-direction: column;height:80px ;margin-left: 15px;width: 100%;"
v-if=
'item.OrderStatus==2'
>
<Text
style=
'margin-left: 10px;margin-top: 5px;'
>
备注
</Text>
<input
class=
"uni-input inputM"
style=
'margin-left: 10px;margin-top: 5px;'
v-model=
"Cancelmsg.Remark"
placeholder=
"输入备注"
/>
</view>
<view
style=
"display: flex;flex-direction: row;align-items: center;height: 50px;border-top: 1px solid #F5F5F5;width: 100%;"
>
<view
style=
"width: 50%;display: flex;align-items: center;justify-content: center"
@
click=
"showModal=false"
>
<Text>
取消
</Text>
</view>
<view
style=
"width: 50%;color: #a0cfff;display: flex;align-items: center;justify-content: center"
@
click=
"confirm"
>
<Text>
确定
</Text>
</view>
</view>
</view>
</u-popup>
<u-modal
v-model=
"showReviceModal"
content=
"是否确认收货?"
:show-cancel-button=
"true"
:show-title=
"false"
@
confirm=
"submitReviceGoodHandler"
:border-radius=
"20"
></u-modal>
<good-list
:list=
"goodData"
v-if=
"showGoodList"
@
close=
"closeGoodListHandler"
></good-list>
<auth
v-if=
"showAuth"
@
changeuserinfo=
"reloadUserinfo"
@
gbAuth=
'goback'
></auth>
<payCom
v-if=
"payBtn"
:payInfo=
"payInfo"
@
closePay=
"closePay"
></payCom>
<u-popup
v-model=
"payExit"
mode=
"center"
:mask-close-able=
"false"
>
<view
style=
"background:#fff;width:500rpx"
>
...
...
@@ -190,8 +193,8 @@
created
()
{
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
-
40
)
+
"px"
;
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
themCustomStyle
.
color
=
this
.
mainColor
;
this
.
themCustomStyle
.
borderColor
=
this
.
mainColor
;
this
.
themCustomStyle
.
color
=
'#D0A86C'
;
this
.
themCustomStyle
.
borderColor
=
'#D0A86C'
;
},
mounted
()
{
let
currentPages
=
getCurrentPages
();
...
...
@@ -224,6 +227,7 @@
methods
:
{
choose
(
item
){
this
.
headID
=
item
.
Id
this
.
getOrderStatus
()
},
getOrderStatus
()
{
this
.
msg
.
pageIndex
=
1
;
...
...
@@ -243,7 +247,7 @@
Id
:
0
,
}
this
.
list
.
unshift
(
obj
)
this
.
msg
.
OrderStatus
=
this
.
list
[
this
.
current
].
Id
;
this
.
msg
.
OrderStatus
=
this
.
headID
//this.
list[this.current].Id;
this
.
init
();
}
}
...
...
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