Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
f21174c1
Commit
f21174c1
authored
Nov 03, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dd86fe67
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
list.vue
pages/goods/list.vue
+3
-1
subscribe.vue
pages/reserve/subscribe.vue
+19
-2
No files found.
pages/goods/list.vue
View file @
f21174c1
...
...
@@ -90,7 +90,8 @@
GoodsType
:
0
,
CategoryIds
:
''
,
OrderBy
:
1
,
GoodsPageType
:
0
GoodsPageType
:
0
,
StoreId
:
0
,
},
newsortType
:
1
,
};
...
...
@@ -170,6 +171,7 @@
this
.
loading
=
true
;
this
.
showLoading
=
this
.
msg
.
pageIndex
!=
1
;
this
.
msg
.
GoodsPageType
=
uni
.
getStorageSync
(
"mall_UserInfo"
)?
uni
.
getStorageSync
(
"mall_UserInfo"
).
UserPageType
:
0
;
this
.
msg
.
StoreId
=
uni
.
getStorageSync
(
"storeId"
)?
uni
.
getStorageSync
(
"storeId"
).
storeId
:
0
;
this
.
request2
({
url
:
'/api/AppletGoods/GetAppletGoodsPageListForZY'
,
data
:
this
.
msg
...
...
pages/reserve/subscribe.vue
View file @
f21174c1
...
...
@@ -33,6 +33,7 @@
line-height
:
29px
;
margin-right
:
5px
;
white-space
:
nowrap
;
position
:
relative
;
}
.subscribe
.classify-t
{
width
:
100%
;
...
...
@@ -185,6 +186,19 @@
align-items
:
flex-end
;
font-size
:
13px
;
}
.corner
{
width
:
0px
;
/* 宽高设置为0,很重要,否则达不到效果 */
height
:
0px
;
border
:
5px
solid
#FF4048
;
border-bottom-color
:
transparent
;
/* 设置透明背景色 */
border-left-color
:
transparent
;
border-right-color
:
transparent
;
position
:
absolute
;
left
:
50%
;
bottom
:
-10px
;
margin-left
:
-5px
;
}
</
style
>
<
template
>
<view
class=
"subscribe"
>
...
...
@@ -202,6 +216,8 @@
'font-weight':cl.Id== categoryIds?'Bold':'100',
}">
{{
cl
.
Name
}}
<div
class=
"corner"
v-if=
'cl.Id== categoryIds'
></div>
</view>
</view>
</view>
...
...
@@ -212,7 +228,8 @@
:style=
"
{
'margin-left':'15px',
'margin-right': i+1==OfflineGoods.length?'15px':'0px',
'transform':c.id== GoodsId?'scale(1.12)':'none'
'transform':c.id== GoodsId?'scale(1.12)':'none',
}">
<image
mode=
"aspectFill"
class=
"goodsimg"
:src=
"c.cover_pic"
></image>
<text
class=
"persionName-t"
>
{{
c
.
name
}}
</text>
...
...
@@ -253,7 +270,7 @@
<view
style=
"width: 100%;height: 15px;background: #FAF8F9;"
v-if=
"designerList.length>0"
></view>
<view
class=
"title"
v-if=
"designerList.length>0"
>
设计师
</view>
<view
class=
"classify-t"
v-if=
"designerList.length>0"
>
<view
class=
"c-t-box"
>
<view
class=
"c-t-box"
style=
"height: 140px;"
>
<view
v-for=
"(c, i) in designerList"
:key=
"i"
>
<view
class=
"c-t-item"
@
click=
"getdesigner(c)"
:style=
"
{
...
...
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