Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
469ae2e2
authored
May 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
da6a2904
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
8 deletions
pages/mine/inquery.vue
pages/mine/orderdetail.vue
pages/mine/user.vue
pages/mine/inquery.vue
View file @
469ae2e2
...
...
@@ -2,7 +2,7 @@
<view
class=
"page-inquery"
>
<navElement
title=
"询价记录"
>
<template
slot=
"title-bar"
>
<view
style=
"text-align: right;"
><
text
class=
"iconfont icon-qq"
></text
></view>
<view
style=
"text-align: right;"
><
a
class=
"iconfont icon-qq"
:href=
"kfqq"
target=
"_blank"
></a
></view>
</
template
>
</navElement>
<view
class=
"tab row avarage verCenter"
>
...
...
@@ -40,6 +40,7 @@ export default {
},
data
()
{
return
{
kfqq
:
''
,
curr
:
0
,
text_arr
:
[],
list
:
[],
...
...
@@ -52,6 +53,11 @@ export default {
}
};
},
mounted
()
{
setTimeout
(()
=>
{
this
.
kfqq
=
this
.
$globalData
&&
this
.
$globalData
.
kfqq_xk
;
},
500
);
},
onShow
()
{
this
.
getData
();
},
...
...
pages/mine/orderdetail.vue
View file @
469ae2e2
<
template
>
<view
class=
"page-userOrderDetail"
>
订单详情
</view>
<view
class=
"page-userOrderDetail"
>
<navElement
:title=
"title"
>
<template
slot=
"title-bar"
>
<view
style=
"text-align: right;"
><a
class=
"iconfont icon-qq"
:href=
"kfqq"
target=
"_blank"
></a></view>
</
template
>
</navElement>
</view>
</template>
<
script
>
import
{
Api_Url
}
from
'@/util/api.js'
;
import
navElement
from
'@/components/nav.vue'
;
export
default
{
components
:
{
navElement
},
data
()
{
return
{};
return
{
kfqq
:
''
,
title
:
''
,
order_id
:
''
,
detail
:
{}
};
},
mounted
()
{
setTimeout
(()
=>
{
this
.
kfqq
=
this
.
$globalData
&&
this
.
$globalData
.
kfqq_xk
;
},
500
);
},
onLoad
(
options
)
{
this
.
order_id
=
options
.
order_id
;
},
onShow
()
{
this
.
getData
();
},
methods
:
{
getData
()
{
this
.
request
(
Api_Url
+
'/order/
lists'
,
'POST'
,
this
.
searchParams
,
true
,
true
).
then
(
res
=>
{
this
.
request
(
Api_Url
+
'/order/
info'
,
'POST'
,
{
order_id
:
this
.
order_id
}
,
true
,
true
).
then
(
res
=>
{
if
(
res
.
err_code
===
0
)
{
this
.
list
=
res
.
data
.
list
;
}
else
{
this
.
list
=
[];
this
.
title
=
res
.
data
.
status_val
;
this
.
detail
=
res
.
data
;
}
else
if
(
res
.
err_code
==
21004
)
{
uni
.
showToast
({
title
:
res
.
err_msg
,
icon
:
'none'
});
setTimeout
(()
=>
{
uni
.
navigateBack
({
delta
:
1
});
},
2000
);
}
else
if
(
res
.
err_code
===
11012
)
{
uni
.
navigateTo
({
url
:
'/login'
});
}
});
}
...
...
pages/mine/user.vue
View file @
469ae2e2
...
...
@@ -25,7 +25,7 @@
<text
class=
"tt"
>
我的优惠券
</text>
<text
class=
"tip"
></text>
</navigator>
<a
class=
"box column rowCenter verCenter"
:href=
"kfqq"
>
<a
class=
"box column rowCenter verCenter"
:href=
"kfqq"
target=
"_blank"
>
<image
src=
"../../static/qq.png"
></image>
<text
class=
"tt"
>
我的客服
</text>
</a>
...
...
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