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
c78fe86c
Commit
c78fe86c
authored
Sep 04, 2020
by
zhengxiuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
主标题多行显示
parent
058eb1d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
search.vue
pages/search/search.vue
+6
-5
No files found.
pages/search/search.vue
View file @
c78fe86c
...
...
@@ -47,10 +47,10 @@
<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}`, item._source.equipment_id, item._source.is_show)">
<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 && item._source.is_show == 1"
src=
"https://dbc-static.oss-cn-beijing.aliyuncs.com/static/WechatIMG
4
.png"
class=
"equipment_logo"
mode=
"aspectFill"
></image>
<image
v-if=
"item._source.equipment_id && item._source.is_show == 1"
src=
"https://dbc-static.oss-cn-beijing.aliyuncs.com/static/WechatIMG
5
.png"
class=
"equipment_logo"
mode=
"aspectFill"
></image>
</view>
<view
class=
"title"
>
{{
item
.
_source
.
brand
?
`【${item._source.brand
}
】`
:
''
}}
{{
item
.
_source
.
goods_name
}}
<
/view
>
<
view
class
=
"sub-title"
>
{{
item
.
_source
.
goods_subname
}}
<
/view
>
<
!--
<
view
class
=
"sub-title"
>
{{
item
.
_source
.
goods_subname
}}
<
/view> --
>
<
view
v
-
if
=
"isLogin"
>
<
view
v
-
if
=
"item._source.is_pro === 1"
>
<
view
class
=
"price"
><
text
class
=
"price-tips"
>
¥
<
/text>{{item._source.pro_price.toFixed
(
2
)
}}
...
...
@@ -407,14 +407,15 @@
}
}
.
title
{
height
:
38
rpx
;
height
:
76
rpx
;
line
-
height
:
38
rpx
;
font
-
size
:
26
rpx
;
color
:
#
212121
;
width
:
100
%
;
display
:
-
webkit
-
box
;
-
webkit
-
box
-
orient
:
vertical
;
-
webkit
-
line
-
clamp
:
2
;
overflow
:
hidden
;
text
-
overflow
:
ellipsis
;
white
-
space
:
nowrap
;
margin
-
top
:
20
rpx
;
margin
-
bottom
:
4
rpx
;
}
...
...
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