Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ae34b9ef
authored
May 25, 2023
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
detail
parent
418d49cc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
37 additions
and
6 deletions
assets/css/brand/brand.scss
assets/css/classp/list.scss
assets/css/common/addcar.scss
assets/css/detail/detail.scss
assets/css/search/searchlist.scss
components/addcar.vue
pages/detail/detail.vue
assets/css/brand/brand.scss
View file @
ae34b9ef
...
...
@@ -189,6 +189,8 @@
position
:
relative
;
margin-left
:
10rpx
;
top
:
10rpx
;
font-size
:
22rpx
;
font-weight
:
normal
;
}
}
...
...
assets/css/classp/list.scss
View file @
ae34b9ef
...
...
@@ -63,6 +63,8 @@
position
:
relative
;
margin-left
:
10rpx
;
top
:
10rpx
;
font-size
:
22rpx
;
font-weight
:
normal
;
}
}
...
...
assets/css/common/addcar.scss
View file @
ae34b9ef
...
...
@@ -32,6 +32,8 @@
position
:
relative
;
margin-left
:
10rpx
;
top
:
10rpx
;
font-size
:
22rpx
;
font-weight
:
normal
;
}
}
.iconfont
{
...
...
assets/css/detail/detail.scss
View file @
ae34b9ef
...
...
@@ -46,6 +46,8 @@
color
:
#fff
;
font-size
:
20rpx
;
margin-left
:
16rpx
;
font-size
:
22rpx
;
font-weight
:
normal
;
}
.tdbox
{
width
:
120rpx
;
...
...
@@ -175,7 +177,6 @@
}
.cons
{
border
:
1rpx
solid
#C6C7CC
;
.groups
{
font-size
:
24rpx
;
color
:
$uni-color999
;
...
...
@@ -318,6 +319,26 @@
}
}
&
.act
{
.headprice
{
background
:
#FFF8F2
!
important
;
}
.detailfoot
.foo1
.checkbox
.icon
,
.detailfoot
.foo2
.pr
uni-text
{
color
:
#F98119
;
}
.detailfoot
.foo2
.pr
input
{
border-left
:
1rpx
solid
#F98119
;
border-right
:
1rpx
solid
#F98119
;
}
.detailfoot
.foo2
.pr
{
border
:
1px
solid
#F98119
;
}
.detailfoot
.btnbox
.totalpricebox
.addcarbtn
{
background
:
#F98119
;
}
}
}
...
...
assets/css/search/searchlist.scss
View file @
ae34b9ef
...
...
@@ -159,6 +159,7 @@
position
:
relative
;
margin-left
:
10rpx
;
top
:
10rpx
;
font-size
:
22rpx
;
}
}
...
...
components/addcar.vue
View file @
ae34b9ef
...
...
@@ -13,7 +13,7 @@
<text
class=
"icon iconfont icon-xxx"
@
click=
"close()"
></text>
</view>
<view
class=
"popcons"
>
<view
class=
"infobox"
>
<view
class=
"infobox"
@
click
.
stop=
"clickbug"
>
<view
class=
"itemone row bothSide"
>
<view
class=
"il elep"
>
<text
class=
"label"
>
品牌:
</text>
...
...
@@ -77,9 +77,9 @@
</view>
</view>
<view
class=
"pr row "
>
<text
@
click=
"stepgo('small')"
>
-
</text>
<text
@
click
.
stop
=
"stepgo('small')"
>
-
</text>
<input
type=
"number"
v-model=
"num"
@
input=
"onInput"
/>
<text
@
click=
"stepgo('big')"
>
+
</text>
<text
@
click
.
stop
=
"stepgo('big')"
>
+
</text>
</view>
</view>
<view
class=
"priceb"
>
...
...
@@ -104,7 +104,7 @@
<view
class=
"btnbox"
>
<view
class=
"totalpricebox row bothSide"
v-if=
"obj.is_buy==1"
>
<view
class=
"hej"
>
合计:
<text
class=
"tje"
>
{{
isdl
==
1
?
'¥'
:
'$'
}}{{
totalmoney
}}
</text></view>
<view
class=
"addcarbtn"
@
click=
"addCar"
>
加入购物车
</view>
<view
class=
"addcarbtn"
@
click
.
stop
=
"addCar"
>
加入购物车
</view>
</view>
<a
class=
"kfbtn row verCenter rowCenter"
v-else
:href=
"kfqqurl"
target=
"_blank"
>
<text
class=
"icon iconfont icon-qq"
></text>
...
...
@@ -152,6 +152,9 @@
},
500
);
},
methods
:
{
clickbug
(){
return
false
;
},
onInput
(
e
){
clearTimeout
(
this
.
timeout
);
this
.
timeout
=
setTimeout
(()
=>
{
...
...
@@ -308,7 +311,7 @@
this
.
obj
=
res
.
data
;
this
.
num
=
this
.
obj
.
min_buy
this
.
pticearr
=
res
.
data
.
tiered
||
[]
if
((
!
this
.
obj
.
delivery_cn
)
&&
this
.
delivery_hk
){
if
((
!
this
.
obj
.
delivery_cn
)
&&
this
.
obj
.
delivery_hk
){
this
.
isdl
=
2
}
this
.
open
()
...
...
pages/detail/detail.vue
View file @
ae34b9ef
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