Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mayi-mp-shop
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
程默
mayi-mp-shop
Commits
dd55dc5a
Commit
dd55dc5a
authored
Feb 01, 2021
by
程默
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix home
parent
c51d1a9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
src/pages/home/index.vue
+22
-24
No files found.
src/pages/home/index.vue
View file @
dd55dc5a
<
template
>
<
template
>
<div
class=
"domain"
>
<div
class=
"domain"
>
<
view
class=
"ant-daipinglun"
>
1
</view
>
<
!--
<view
class=
"ant-daipinglun"
>
1
</view>
--
>
<!--
<goods-list
id=
"goodsList"
></goods-list>
-->
<!--
<goods-list
id=
"goodsList"
></goods-list>
-->
<scroll-view
@
scroll=
"scrolls"
@
scrolltolower=
"scrolltolower"
style=
"height:100vh;"
scroll-y=
"true"
>
<scroll-view
@
scroll=
"scrolls"
@
scrolltolower=
"scrolltolower"
style=
"height:100vh;"
scroll-y=
"true"
>
<div
style=
"position:relative"
>
<div
style=
"position:relative"
>
...
@@ -18,24 +18,24 @@
...
@@ -18,24 +18,24 @@
<div
v-else-if=
"item.componentCode == 'cube-nav'"
>
<div
v-else-if=
"item.componentCode == 'cube-nav'"
>
<cube-nav
:datas=
"item"
></cube-nav>
<cube-nav
:datas=
"item"
></cube-nav>
</div>
</div>
</div
>
<div
v-else-if=
"item.componentCode == 'time-limited-discount'"
>
<div
v-else-if=
"item.componentCode == 'time-limited-discount'"
>
<time-limited-discount
:datas=
"item"
></time-limited-discount
>
<
time-limited-discount
:datas=
"item"
></time-limited-discount
>
<
/div
>
</div
>
<div
v-if=
"item.componentCode == 'links'"
>
<div
v-if=
"item.componentCode == 'links'"
>
<links
:datas=
"item"
></links
>
<
links
:datas=
"item"
></links
>
<
/div
>
</div
>
<div
v-if=
"item.componentCode == 'interval'"
>
<div
v-if=
"item.componentCode == 'interval'"
>
<interval
:datas=
"item"
></interval
>
<
interval
:datas=
"item"
></interval
>
<
/div
>
</div
>
<div
v-if=
"item.componentCode == 'partition'"
>
<div
v-if=
"item.componentCode == 'partition'"
>
<partition
:datas=
"item"
></partition
>
<
partition
:datas=
"item"
></partition
>
<
/div
>
</div
>
<div
v-if=
"item.componentCode == 'shop-popup'"
>
<div
v-if=
"item.componentCode == 'shop-popup'"
>
<shop-popup
:datas=
"item"
></shop-popup
>
<
shop-popup
:datas=
"item"
></shop-popup
>
<
/div
>
</div
>
<div
v-if=
"item.componentCode == 'float-button'"
>
<div
v-if=
"item.componentCode == 'float-button'"
>
<float-button
:datas=
"item"
></float-button
>
<
float-button
:datas=
"item"
></float-button
>
<
/div
>
</div>
</div>
</div>
</div>
<bottomCont></bottomCont>
<bottomCont></bottomCont>
...
@@ -65,13 +65,9 @@ import links from '@/components/basicTool/link/index.vue'
...
@@ -65,13 +65,9 @@ import links from '@/components/basicTool/link/index.vue'
import
interval
from
'@/components/basicTool/interval/index.vue'
import
interval
from
'@/components/basicTool/interval/index.vue'
import
partition
from
'@/components/basicTool/partition/index.vue'
import
partition
from
'@/components/basicTool/partition/index.vue'
import
shopPopup
from
'@/components/basicTool/shop-popup/index.vue'
import
shopPopup
from
'@/components/basicTool/shop-popup/index.vue'
import
{
setTabBarActive
,
checkTabbarPage
}
from
"../../utils/mayi.js"
;
//
import { setTabBarActive, checkTabbarPage } from "../../utils/mayi.js";
export
default
{
export
default
{
components
:
{
bottomCont
,
ThemeDataPlant
},
data
()
{
data
()
{
return
{
return
{
pageInfo
:
{},
pageInfo
:
{},
...
@@ -83,6 +79,8 @@ export default {
...
@@ -83,6 +79,8 @@ export default {
interval
,
interval
,
partition
,
partition
,
shopPopup
,
shopPopup
,
bottomCont
,
ThemeDataPlant
},
},
onShareAppMessage
:
function
(
res
)
{
onShareAppMessage
:
function
(
res
)
{
if
(
res
.
from
===
"button"
)
{
if
(
res
.
from
===
"button"
)
{
...
...
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