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
ee77b987
Commit
ee77b987
authored
Aug 28, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改分期标签
parent
148bea8c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
5 deletions
+13
-5
.DS_Store
.DS_Store
+0
-0
package-lock.json
package-lock.json
+1
-1
functionmenu.vue
pages/home/components/functionmenu.vue
+2
-2
search.vue
pages/search/search.vue
+10
-2
No files found.
.DS_Store
View file @
ee77b987
No preview for this file type
package-lock.json
View file @
ee77b987
{
"name"
:
"shop_mobile_uni"
,
"version"
:
"1.0.
1
3"
,
"version"
:
"1.0.
2
3"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
"dependencies"
:
{
...
...
pages/home/components/functionmenu.vue
View file @
ee77b987
<
template
>
<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
v-if=
"style_setting.rank === 1"
class=
"rank rank1"
:style=
"[
{'background-image': `url(${style_setting.bg_
show ? 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"
: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
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_
show ? 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"
:style=
"[style_setting.spacing ?
{'margin-bottom':style_setting.spacing * 2 + 'rpx'}:{'margin-bottom':'16rpx'}]">
</image>
...
...
pages/search/search.vue
View file @
ee77b987
...
...
@@ -46,7 +46,8 @@
<view
class=
"goods-item"
v-for=
"(item,index) in goods_list"
:key=
"index"
>
<countDown
v-if=
"item._source.is_pro === 1"
:time=
"item._source.end_time"
></countDown>
<view
class=
"image-outer"
@
click=
"jumpPhpPage(`app=goods&id=$
{item._source.goods_id}`)">
<image
:src=
"item._source.default_image || $noGoodsImg"
lazy-load
@
error=
"$__reloadResource(item)"
mode=
"aspectFit"
></image>
<image
class=
"goods_image"
:src=
"item._source.default_image || $noGoodsImg"
lazy-load
@
error=
"$__reloadResource(item)"
mode=
"aspectFit"
></image>
<image
v-if=
"item._source.equipment_id"
src=
"https://dbc-static.oss-cn-beijing.aliyuncs.com/static/WechatIMG4.png"
class=
"equipment_logo"
mode=
"aspectFill"
></image>
</view>
<view
class=
"title"
>
{{
item
.
_source
.
brand
}}
{{
item
.
_source
.
goods_name
}}
</view>
<view
class=
"sub-title"
>
{{
item
.
_source
.
goods_subname
}}
</view>
...
...
@@ -384,7 +385,7 @@
width: 320rpx;
height: 320rpx;
position: relative;
image{
.goods_
image{
position: absolute;
top: 0;
left: 0;
...
...
@@ -394,6 +395,13 @@
max-height: 100%;
margin: auto;
}
.equipment_logo{
position: absolute;
left: 0;
top: 0;
width: 125rpx;
height: 45rpx;
}
}
.title{
height: 38rpx;
...
...
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