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
85085964
authored
May 24, 2023
by
LJM
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
全局变量
parent
83306b5e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
components/drag-button-follow/drag-button-follow.vue
pages/index/index.vue
pages/mine/shoporder.vue
pages/mine/user.vue
components/drag-button-follow/drag-button-follow.vue
View file @
85085964
...
@@ -34,7 +34,6 @@ export default {
...
@@ -34,7 +34,6 @@ export default {
type
:
String
,
type
:
String
,
default
:
''
default
:
''
},
},
follow
:
{
follow
:
{
type
:
String
|
Boolean
,
type
:
String
|
Boolean
,
default
:
'all'
default
:
'all'
...
@@ -57,9 +56,7 @@ export default {
...
@@ -57,9 +56,7 @@ export default {
foll
:
{}
foll
:
{}
};
};
},
},
onShow
()
{},
mounted
()
{
mounted
()
{
this
.
url
=
this
.
$globalData
.
kefu
;
const
systemInfo
=
uni
.
getSystemInfoSync
()
||
{};
const
systemInfo
=
uni
.
getSystemInfoSync
()
||
{};
this
.
$options
.
safeArea
=
{
this
.
$options
.
safeArea
=
{
left
:
0
,
left
:
0
,
...
...
pages/index/index.vue
View file @
85085964
This diff is collapsed.
Click to expand it.
pages/mine/shoporder.vue
View file @
85085964
<
template
>
<
template
>
<view
class=
"page-userOrder"
>
<view
class=
"page-userOrder"
>
<drag-button-follow
follow=
"left,right"
className=
"drag-button"
class=
"drag-button"
></drag-button-follow>
<drag-button-follow
follow=
"left,right"
className=
"drag-button"
class=
"drag-button"
:url=
"kfqq_xk"
></drag-button-follow>
<view
class=
"top"
>
<view
class=
"top"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"head row bothSide verCenter"
>
<view
class=
"left row verCenter"
>
<view
class=
"left row verCenter"
>
...
@@ -153,6 +153,7 @@ export default {
...
@@ -153,6 +153,7 @@ export default {
format
:
true
format
:
true
});
});
return
{
return
{
kfqq_xk
:
''
,
time
:
currentDate
,
time
:
currentDate
,
arr
:
[
'全部'
,
'待付款'
,
'待收货'
,
'已完结订单'
],
arr
:
[
'全部'
,
'待付款'
,
'待收货'
,
'已完结订单'
],
curr
:
0
,
curr
:
0
,
...
@@ -171,6 +172,9 @@ export default {
...
@@ -171,6 +172,9 @@ export default {
}
}
};
};
},
},
onLoad
()
{
this
.
kfqq_xk
=
this
.
$globalData
&&
this
.
$globalData
.
kefu
;
},
onShow
()
{
onShow
()
{
this
.
getData
();
this
.
getData
();
},
},
...
...
pages/mine/user.vue
View file @
85085964
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
},
},
onShow
()
{
onShow
()
{
this
.
getData
();
this
.
getData
();
this
.
kfqq_xk
=
this
.
$globalData
.
kefu
;
this
.
kfqq_xk
=
this
.
$globalData
&&
this
.
$globalData
.
kefu
;
},
},
methods
:
{
methods
:
{
/**
/**
...
...
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