Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
shop_mobile_uni
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
郑秀明
shop_mobile_uni
Commits
64f1cb2c
Commit
64f1cb2c
authored
Mar 12, 2020
by
王建威
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wx share
parent
7b0c1f14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
hotrecommd.vue
pages/home/components/hotrecommd.vue
+1
-1
home.vue
pages/home/home.vue
+6
-0
No files found.
pages/home/components/hotrecommd.vue
View file @
64f1cb2c
...
...
@@ -11,7 +11,7 @@
</view>
</view>
<view
class=
"hot_cate_list"
>
<text
class=
"hot_cate_item"
v-for=
"(item, key) in cate_list"
:key=
"key"
@
click=
"changeCate(key)"
:class=
"key === hotIndex ? 'act' : ''"
v-if=
"item.goods_list
instanceof Array
"
>
{{
item
.
cate_name
}}
</text>
<text
class=
"hot_cate_item"
v-for=
"(item, key) in cate_list"
:key=
"key"
@
click=
"changeCate(key)"
:class=
"key === hotIndex ? 'act' : ''"
v-if=
"item.goods_list
.length
"
>
{{
item
.
cate_name
}}
</text>
</view>
</view>
<view
v-for=
"(val, key) in cate_list"
:key=
"key"
v-if=
"key === hotIndex"
>
...
...
pages/home/home.vue
View file @
64f1cb2c
...
...
@@ -29,6 +29,12 @@
uni
.
showLoading
({
title
:
'加载中'
});
// #ifdef H5
//默认请求微信分享
if
(
this
.
$wechat
&&
this
.
$wechat
.
isWechat
())
{
this
.
$wechat
.
share
({
titie
:
this
.
$getNavigationBarTitle
()});
}
// #endif
},
methods
:
{
getData
()
{
...
...
郑秀明
@zhengxiuming
mentioned in commit
4efb8c48
·
Mar 12, 2020
mentioned in commit
4efb8c48
mentioned in commit 4efb8c48d60fc64bf2c677f639894583fd3af95c
Toggle commit list
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