Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
hs-app-project
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李星剑
hs-app-project
Commits
3c03c3bf
Commit
3c03c3bf
authored
3 years ago
by
Zheng Shang Jun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改1
parent
75fc03cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
15 deletions
+8
-15
brands.vue
src/pages/brands/brands.vue
+3
-5
hotStyle.vue
src/pages/brands/components/hotStyle.vue
+2
-8
detail.vue
src/pages/brands/detail.vue
+3
-2
No files found.
src/pages/brands/brands.vue
View file @
3c03c3bf
...
...
@@ -92,11 +92,11 @@ export default {
methods
:
{
// 搜索按钮
searchCli
()
{
this
.
$
r
outer
.
push
(
"/pages/home/search"
);
this
.
$
R
outer
.
push
(
"/pages/home/search"
);
},
// 每日更新跳转
headTab
()
{
this
.
$
r
outer
.
push
(
"/pages/brands/everyDay"
);
this
.
$
R
outer
.
push
(
"/pages/brands/everyDay"
);
},
//更新
update
()
{
...
...
@@ -178,12 +178,10 @@ export default {
.imgList
{
overflow-x
:
auto
;
white-space
:
nowrap
;
display
:
flex
;
image
{
width
:
240rpx
;
height
:
160rpx
;
border-radius
:
5
px
;
border-radius
:
10r
px
;
padding-left
:
20
.3rpx
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/pages/brands/components/hotStyle.vue
View file @
3c03c3bf
<
template
>
<view
class=
"whole"
>
<view
class=
"hots"
v-for=
"(item, index) in recordsList"
:key=
"index"
>
<!--
<image
class=
"indexhot"
:src=
"`$
{imgUrl}${item.originalImageCode}`"
@click="tabdetail(item)"
mode="aspectFill"
>
</image>
-->
<image
class=
"indexhot"
:src=
"
item.imags
"
:src=
"
`$
{imgUrl}${item.originalImageCode}`
"
@click="tabdetail(item)"
mode="aspectFill"
>
</image>
...
...
@@ -73,7 +67,7 @@ export default {
},
// 跳转到详情
tabdetail
(
item
)
{
this
.
$
r
outer
.
push
(
"/pages/brands/detail?id="
+
item
.
id
);
this
.
$
R
outer
.
push
(
"/pages/brands/detail?id="
+
item
.
id
);
},
//收藏款式接口
collectionFn
(
item
)
{
...
...
This diff is collapsed.
Click to expand it.
src/pages/brands/detail.vue
View file @
3c03c3bf
...
...
@@ -112,7 +112,7 @@ export default {
// 采样按钮
samplingFn
()
{
this
.
show
=
true
;
this
.
supplierFn
(
this
.
$
r
oute
.
query
.
id
);
this
.
supplierFn
(
this
.
$
R
oute
.
query
.
id
);
},
// 取消
cancel
()
{
...
...
@@ -179,8 +179,9 @@ $main-color: #fff;
}
.sampling
{
position
:
fixed
;
left
:
0
;
bottom
:
0
;
width
:
750rpx
;
width
:
100%
;
height
:
100rpx
;
background
:
#ffffff
;
box-shadow
:
0px
-2px
3px
0px
rgba
(
178
,
182
,
214
,
0
.1
);
...
...
This diff is collapsed.
Click to expand it.
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