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
7dee7255
Commit
7dee7255
authored
Jul 16, 2020
by
郑秀明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改多功能菜单样式
parent
4c21acb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
manifest.json
manifest.json
+1
-1
functionmenu.vue
pages/home/components/functionmenu.vue
+2
-2
No files found.
manifest.json
View file @
7dee7255
...
...
@@ -62,7 +62,7 @@
"disableHostCheck"
:
true
,
"proxy"
:
{
"/uni/api"
:
{
"target"
:
"http://
10.0.0.52:6564
/"
,
"target"
:
"http://
39.96.85.45:9093
/"
,
"changeOrigin"
:
true
,
"secure"
:
false
,
"pathRewrite"
:
{
...
...
pages/home/components/functionmenu.vue
View file @
7dee7255
...
...
@@ -2,14 +2,14 @@
<view>
<view
v-if=
"style_setting.rank === 1"
class=
"rank rank1"
:style=
"[
{'background-image': `url(${style_setting.bg_url})`}, {'background-color': style_setting.bg_color},{'border-bottom-left-radius':style_setting.radius_bottom_left*2+'rpx', 'border-bottom-right-radius':style_setting.radius_bottom_right*2+'rpx', 'border-top-left-radius':style_setting.radius_top_left*2+'rpx', 'border-top-right-radius':style_setting.radius_top_right*2+'rpx'}, style_setting.bg_style === 1 ? {'width':'702rpx','margin':'0 auto'}: null]">
<view
class=
"menuItem"
v-for=
"(item, key) in menuArray"
:key=
"key"
:style=
"
{'width': width,height: style_setting.menuHeight*2+'rpx'}" @click="$jump(item.img_href)">
<image
:src=
"item.img_url"
class=
"icon_img"
></image>
<image
:src=
"item.img_url"
class=
"icon_img"
:style=
"[style_setting.spacing ?
{'margin-bottom':style_setting.spacing * 2 + 'rpx'}:{'margin-bottom':'16rpx'}]"
>
</image>
<text
v-if=
"style_setting.font_show"
class=
"title"
:style=
"
{'color': style_setting.font_color}">
{{
item
.
title
}}
</text>
</view>
</view>
<swiper
v-else
indicator-dots=
"true"
:style=
"[
{'height': style_setting.rank*200+10+'rpx'}, style_setting.bg_style === 1 ? {'width':'702rpx','margin':'0 auto'}: null, {'background-image':`url(${style_setting.bg_url})`}, {'background-color': style_setting.bg_color}, {'border-bottom-left-radius':style_setting.radius_bottom_left*2+'rpx', 'border-bottom-right-radius':style_setting.radius_bottom_right*2+'rpx', 'border-top-left-radius':style_setting.radius_top_left*2+'rpx', 'border-top-right-radius':style_setting.radius_top_right*2+'rpx'}]" class="swiper_view">
<swiper-item
v-for=
"(item, key) in menuArray"
:key=
"key"
class=
"rank rank1"
>
<view
class=
"menuItem"
v-for=
"(val, index) in item"
:key=
"index"
:style=
"
{'width': width, height: style_setting.menuHeight*2+'rpx'}" @click="$jump(val.img_href)">
<image
:src=
"val.img_url"
class=
"icon_img"
></image>
<image
:src=
"val.img_url"
class=
"icon_img"
:style=
"[style_setting.spacing ?
{'margin-bottom':style_setting.spacing * 2 + 'rpx'}:{'margin-bottom':'16rpx'}]"
>
</image>
<text
v-if=
"style_setting.font_show"
class=
"title"
:style=
"
{'color': style_setting.font_color}">
{{
val
.
title
}}
</text>
</view>
</swiper-item>
...
...
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