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
63260856
Commit
63260856
authored
Nov 02, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
eba49cbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
15 deletions
+31
-15
index.vue
pages/MallMange/index.vue
+14
-1
orderMessage.vue
pages/MallMange/orderMessage.vue
+17
-14
No files found.
pages/MallMange/index.vue
View file @
63260856
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
class=
"imgicon"
class=
"imgicon"
/>
/>
<view
class=
"iconname"
>
订单消息
</view>
<view
class=
"iconname"
>
订单消息
</view>
<view
class=
"tipNum"
>
1
</view>
<view
class=
"tipNum"
>
{{
OrderNumber
}}
</view>
</view>
</view>
<!--
<view
class=
"itemBox"
>
<!--
<view
class=
"itemBox"
>
<image
<image
...
@@ -284,6 +284,7 @@ export default {
...
@@ -284,6 +284,7 @@ export default {
cWidth
:
""
,
cWidth
:
""
,
cHeight
:
""
,
cHeight
:
""
,
pixelRatio
:
1
,
pixelRatio
:
1
,
OrderNumber
:
0
//订单数量
};
};
},
},
methods
:
{
methods
:
{
...
@@ -492,6 +493,17 @@ export default {
...
@@ -492,6 +493,17 @@ export default {
url
:
url
,
url
:
url
,
});
});
},
},
getOrderNumber
(){
this
.
requestAdmin
(
"/api/MemberUser/GetAdminMessageNoticeNum"
,
{},
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
OrderNumber
=
res
.
data
.
TotalNum
;
}
else
{
uni
.
showToast
({
title
:
res
.
message
});
}
})
}
},
},
onLoad
()
{
onLoad
()
{
_self
=
this
;
_self
=
this
;
...
@@ -504,6 +516,7 @@ export default {
...
@@ -504,6 +516,7 @@ export default {
});
});
this
.
getBasicData
();
this
.
getBasicData
();
this
.
photo
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?.
Photo
this
.
photo
=
uni
.
getStorageSync
(
'mall_UserInfo'
)?.
Photo
this
.
getOrderNumber
();
},
},
};
};
</
script
>
</
script
>
...
...
pages/MallMange/orderMessage.vue
View file @
63260856
...
@@ -4,26 +4,30 @@
...
@@ -4,26 +4,30 @@
<u-tabs
:list=
"RemarkList"
:is-scroll=
"false"
:current=
"current"
name=
"Name"
@
change=
"change"
<u-tabs
:list=
"RemarkList"
:is-scroll=
"false"
:current=
"current"
name=
"Name"
@
change=
"change"
:active-color=
"mainColor"
bg-color=
"#FFF"
height=
"80"
bar-width=
"100"
></u-tabs>
:active-color=
"mainColor"
bg-color=
"#FFF"
height=
"80"
bar-width=
"100"
></u-tabs>
</view>
</view>
<
!--
<
view
style=
"height: calc(100vh - 120px); background: #F7F7F7;"
v-if=
"dataList.length == 0"
>
<view
style=
"height: calc(100vh - 120px); background: #F7F7F7;"
v-if=
"dataList.length == 0"
>
<u-empty
text=
"暂无相关数据"
mode=
"order"
></u-empty>
<u-empty
text=
"暂无相关数据"
mode=
"order"
></u-empty>
</view>
-->
</view>
<view
<view
v-if=
"dataList.length>0"
style=
"height: calc(100vh -
5
0px);width: calc(100vw);overflow: hidden;padding: 25rpx;background-color: #F7F7F7;"
>
style=
"height: calc(100vh -
8
0px);width: calc(100vw);overflow: hidden;padding: 25rpx;background-color: #F7F7F7;"
>
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lowerTwo"
<scroll-view
:scroll-y=
"true"
:enable-back-to-top=
"true"
:enable-flex=
"true"
@
scrolltolower=
"lowerTwo"
:style=
"
{ height: '100%' }">
:style=
"
{ height: '100%' }">
<view
class=
"orderList"
>
<view
class=
"orderList"
v-for=
"(item,index) in dataList"
:key=
"index"
>
<view
class=
"user_Top"
>
<view
class=
"user_Top"
>
<view
class=
"order_Header"
>
<view
class=
"order_Header"
>
<view
class=
"tk_Apply"
>
退款申请
</view>
<view
class=
"tk_Apply"
>
<view
class=
"tk_Date"
>
2021-11-01
</view>
<text
v-if=
"item.Type==1"
>
下单提醒
</text>
<text
v-if=
"item.Type==2"
>
退款申请
</text>
<text
v-if=
"item.Type==3"
>
售后申请
</text>
</view>
<view
class=
"tk_Date"
>
{{
item
.
CreateDate
}}
</view>
</view>
</view>
<view
class=
"order_Bottom"
>
<view
class=
"order_Bottom"
>
<view
class=
"order_LeftHeader"
>
<view
class=
"order_LeftHeader"
>
<img
:src=
"item.GoodsCoverImage"
style=
"width:100%;height:100%;"
alt=
""
/>
</view>
</view>
<view
style=
"width:100%;position:relative;padding:20rpx;"
>
<view
style=
"width:100%;position:relative;padding:
10rpx 10rpx 10rpx
20rpx;"
>
<view
class=
"order_btmTop"
>
春花秋月合适了
</view>
<view
class=
"order_btmTop"
>
{{
item
.
GoodsName
}}
</view>
<view
class=
"order_btnTwo"
>
来自用户
嘎啦嘎啦
</view>
<view
class=
"order_btnTwo"
>
来自用户
{{
item
.
UserName
}}
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -91,8 +95,7 @@
...
@@ -91,8 +95,7 @@
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
this
.
getList
();
},
},
getList
(
type
)
{
getList
()
{
this
.
dataList
=
[];
uni
.
showLoading
({
uni
.
showLoading
({
title
:
'加载中'
title
:
'加载中'
});
});
...
@@ -164,6 +167,6 @@
...
@@ -164,6 +167,6 @@
font-size
:
28
rpx
;
font-size
:
28
rpx
;
color
:
#A3A3A3
;
color
:
#A3A3A3
;
position
:
absolute
;
position
:
absolute
;
bottom
:
2
0
rpx
;
bottom
:
1
0
rpx
;
}
}
</
style
>
</
style
>
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