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
e113eb2a
Commit
e113eb2a
authored
Aug 26, 2020
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分调整
parent
fac72648
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1000 additions
and
4 deletions
+1000
-4
index.vue
components/pagetitle/index.vue
+4
-4
index.vue
pages/pintuan/index.vue
+117
-0
tuangood.vue
pages/pintuan/tuangood.vue
+879
-0
search.png
static/images/icon/search.png
+0
-0
No files found.
components/pagetitle/index.vue
View file @
e113eb2a
...
@@ -52,13 +52,13 @@ export default {
...
@@ -52,13 +52,13 @@ export default {
return
{};
return
{};
},
},
methods
:
{
methods
:
{
clickTitleHandler
(
e
)
{
clickTitleHandler
()
{
if
(
if
(
this
.
ts
.
link
&&
this
.
ts
.
link
&&
this
.
ts
.
link
.
new_link_
url
&&
this
.
ts
.
link
.
url
&&
this
.
ts
.
link
.
new_link_
url
!=
""
this
.
ts
.
link
.
url
!=
""
)
{
)
{
uni
.
navigateTo
({
url
:
this
.
ts
.
link
.
new_link_
url
});
uni
.
navigateTo
({
url
:
this
.
ts
.
link
.
url
});
}
}
}
}
}
}
...
...
pages/pintuan/index.vue
0 → 100644
View file @
e113eb2a
<
template
>
<view>
<view
:style=
"
{ height: contentHeight + 'px' }" style="voerflow: hidden; overflow-y: auto;">
<view
class=
"head-pin-box"
>
<view
class=
"left"
>
<image
src=
"../../static/images/icon/search.png"
mode=
"widthfix"
style=
"width:20px;height:20px;"
/>
</view>
<view
class=
"middle"
></view>
<view
class=
"right"
>
<u-tabs
name=
"name"
:list=
"myPageData.home_pages.navs"
:is-scroll=
"true"
:active-color=
"mainColor"
:current=
"active"
:bar-width=
"80"
:font-size=
"32"
:bold=
"false"
@
change=
"changeHandler"
></u-tabs>
</view>
</view>
</view>
<tabbars></tabbars>
</view>
</
template
>
<
script
>
import
tabbars
from
"@/components/tabbar/index"
;
export
default
{
components
:
{
tabbars
,
},
data
()
{
return
{
contentHeight
:
0
,
pageTitle
:
"拼团"
,
advertisement
:{},
banners
:[]
};
},
mounted
()
{
let
currentPages
=
getCurrentPages
();
let
c
=
this
.
$uiConfig
.
is_bang
?
80
:
52
;
this
.
contentHeight
=
this
.
$utils
.
calcContentHeight
(
c
);
console
.
log
(
this
.
contentHeight
);
let
u
=
"/"
+
currentPages
[
currentPages
.
length
-
1
].
route
;
let
pages
=
uni
.
getStorageSync
(
"basedata"
)
?
uni
.
getStorageSync
(
"basedata"
).
bar_title
:
[];
pages
.
forEach
((
x
)
=>
{
if
(
x
.
value
==
u
)
{
this
.
pageTitle
=
x
.
new_name
?
x
.
new_name
:
x
.
name
;
}
});
uni
.
setNavigationBarTitle
({
title
:
this
.
pageTitle
,
});
// this.init();
// this.getStyle();
uni
.
showNavigationBarLoading
();
},
methods
:
{
init
()
{
let
h
=
this
.
apiheader
();
this
.
request
(
{
url
:
""
,
header
:
h
,
data
:
{
r
:
"plugin/pintuan/api/v2/index/index"
,
status
:
this
.
current
+
1
,
page
:
this
.
page
,
},
},
(
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
list
.
length
>
0
)
{
this
.
g
=
this
.
g
.
concat
(
res
.
data
.
list
);
}
}
);
},
},
};
</
script
>
<
style
>
.head-pin-box
{
height
:
80
rpx
;
display
:
flex
;
align-items
:
center
;
padding
:
0
20
rpx
;
}
.head-pin-box
.left
{
height
:
100%
;
width
:
90
rpx
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
}
.head-pin-box
.middle
{
width
:
2
rpx
;
background
:
#ddd
;
height
:
45
rpx
;
margin
:
0
20
rpx
;
}
.head-pin-box
.right
{
height
:
100%
;
flex
:
1
;
}
</
style
>
\ No newline at end of file
pages/pintuan/tuangood.vue
View file @
e113eb2a
This diff is collapsed.
Click to expand it.
static/images/icon/search.png
0 → 100644
View file @
e113eb2a
683 Bytes
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