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
bbb84f05
Commit
bbb84f05
authored
Mar 13, 2020
by
王建威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
bbc88816
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
35 additions
and
25 deletions
+35
-25
manifest.json
manifest.json
+1
-1
custowstyle.vue
pages/home/components/custowstyle.vue
+0
-1
functionmenu.vue
pages/home/components/functionmenu.vue
+5
-6
goodslist.vue
pages/home/components/goodslist.vue
+1
-2
hotrecommd.vue
pages/home/components/hotrecommd.vue
+23
-13
maintitle.vue
pages/home/components/maintitle.vue
+5
-2
No files found.
manifest.json
View file @
bbb84f05
...
...
@@ -51,7 +51,7 @@
"mode"
:
"history"
,
"base"
:
"/uni"
},
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
test
/1.0.5/"
,
"publicPath"
:
"https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/
mirror
/1.0.5/"
,
"optimization"
:
{
"treeShaking"
:
{
"enable"
:
true
...
...
pages/home/components/custowstyle.vue
View file @
bbb84f05
...
...
@@ -23,7 +23,6 @@
.customer_content {
background-repeat: no-repeat;
background-size: 100% 100%;
margin-bottom: 20rpx;
}
.need_padding {
width: 702rpx;
...
...
pages/home/components/functionmenu.vue
View file @
bbb84f05
<
template
>
<view>
<view
v-if=
"style_setting.rank === 1"
class=
"rank rank1"
:style=
"[
{'background-image':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
20rpx
'}: null]">
<view
class=
"menuItem"
v-for=
"(item, key) in menuArray"
:key=
"key"
:style=
"
{'width': width}" @click="$jump(item.img_href)">
<view
v-if=
"style_setting.rank === 1"
class=
"rank rank1"
:style=
"[
{'background-image':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>
<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
20rpx
'}: null, {'background-image':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':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}" @click="$jump(val.img_href)">
<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>
<text
v-if=
"style_setting.font_show"
class=
"title"
:style=
"
{'color': style_setting.font_color}">
{{
val
.
title
}}
</text>
</view>
...
...
@@ -71,13 +71,12 @@
}
.menuItem {
text-align: center;
padding: 22rpx 0;
}
.icon_img {
display: block;
width: 96rpx;
height: 96rpx;
margin: 0 auto;
margin: 0 auto
8rpx
;
}
.title {
font-size: 24rpx;
...
...
pages/home/components/goodslist.vue
View file @
bbb84f05
...
...
@@ -32,7 +32,7 @@
</view>
<view
v-else
class=
"unshow_price"
>
登录显示价
</view>
</view>
<view
v-if=
"spaceArray.length
"
v-for=
"(item
, key) in spaceArray"
:key=
"key+65535"
:style=
"width ?
{'width':width+'rpx'} : ''">
</view>
<view
v-if=
"spaceArray.length
&& val.length
< style
_setting
.
listType
"
v-for=
"(v
, key) in spaceArray"
:key=
"key+65535"
:style=
"width ?
{'width':width+'rpx'} : ''">
</view>
</swiper-item>
</swiper>
</uni-swiper-dot>
...
...
@@ -111,7 +111,6 @@
}
.goods_content, .swiper_content {
border-radius: 0 0 16rpx 16rpx;
margin-bottom: 20rpx;
}
.goods_box, .goods_box2 {
display: flex;
...
...
pages/home/components/hotrecommd.vue
View file @
bbb84f05
<
template
>
<view
class=
"hot_main_content"
>
<view
class=
"clearfix"
>
<view
class=
"clearfix"
style=
"padding: 28rpx 0 20rpx"
>
<view
class=
"hot_head_left"
>
<view>
<text
class=
"hot_title"
>
...
...
@@ -11,7 +11,10 @@
</view>
</view>
<view
class=
"hot_cate_list"
>
<text
class=
"hot_cate_item"
v-for=
"(item, key) in cate_list"
:key=
"key"
@
click=
"changeCate(key)"
:class=
"key === hotIndex ? 'act' : ''"
v-if=
"item.goods_list.length"
>
{{
item
.
cate_name
}}
</text>
<text
class=
"hot_cate_item"
v-for=
"(item, key) in cate_list"
:key=
"key"
@
click=
"changeCate(key)"
:class=
"key === hotIndex ? 'act' : ''"
v-if=
"item.goods_list.length"
>
<text>
{{
item
.
cate_name
}}
</text>
<text>
{{
item
.
sub_title
}}
</text>
</text>
</view>
</view>
<view
v-for=
"(val, key) in cate_list"
:key=
"key"
v-if=
"key === hotIndex"
>
...
...
@@ -82,7 +85,6 @@
.hot_main_content {
width: 702rpx;
margin: 0 auto;
margin-bottom: 20rpx;
}
.hot_head_left {
display: inline-block;
...
...
@@ -94,6 +96,7 @@
height: 28rpx;
background-repeat: no-repeat;
background-size: 100% 100%;
margin-right: 8rpx;
}
.hot_title {
font-size: 32rpx;
...
...
@@ -113,23 +116,30 @@
white-space: nowrap;
overflow: scroll;
position: relative;
top: -22rpx;
left: 20rpx;
height: 88rpx;
}
.hot_cate_list::-webkit-scrollbar {
display: none;
}
.hot_cate_item {
width: 164rpx;
height: 88rpx;
line-height: 88rpx;
display: inline-block;
font-family: PingFangSC-Medium,PingFang SC;
font-weight: 500;
color: #464646;
font-size: 32rpx;
text-align: center;
position: relative;
margin-left: 10rpx;
text:nth-of-type(1) {
display: block;
font-family: PingFangSC-Medium,PingFang SC;
font-weight: 500;
color: #464646;
font-size: 32rpx;
}
text:nth-of-type(2) {
display: block;
font-size: 22rpx;
color: #7C7C7C;
}
}
.hot_cate_item.act::after {
content: '';
...
...
@@ -140,7 +150,7 @@
position: absolute;
left: 50%;
margin-left: -20rpx;
bottom:
0
;
bottom:
-8rpx
;
}
.nogoods {
padding: 40rpx;
...
...
@@ -154,9 +164,9 @@
position: relative;
width: 346rpx;
text-align: center;
margin-
top
: 20rpx;
margin-
bottom
: 20rpx;
background: #fff;
padding
-bottom: 12
rpx;
padding
: 32rpx 0 24
rpx;
border-radius: 16rpx;
.hot_goods_icon {
position: absolute;
...
...
pages/home/components/maintitle.vue
View file @
bbb84f05
...
...
@@ -39,12 +39,14 @@
<
style
lang=
"less"
scoped
>
.maintitle_content1 {
width:
650
rpx;
width:
702
rpx;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 16rpx 16rpx 0 0;
border-radius: 16rpx 16rpx 0 0;
padding: 0 24rpx;
box-sizing: border-box;
text {
vertical-align: middle;
margin-left: 10rpx;
...
...
@@ -58,6 +60,7 @@
border-radius: 16rpx 16rpx 0 0;
width: 702rpx;
margin: 0 auto;
box-sizing: border-box;
view {
line-height: initial;
height: 50%;
...
...
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