Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-shop-show-pc
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-shop-show-pc
Commits
4deca78f
提交
4deca78f
authored
6月 08, 2021
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
bug fixes
上级
c5fb7055
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
24 行删除
+20
-24
shop.vue
src/pages/shop.vue
+20
-24
没有找到文件。
src/pages/shop.vue
浏览文件 @
4deca78f
...
...
@@ -21,9 +21,6 @@
</
template
>
<div
class=
"swiper-scrollbar"
slot=
"scrollbar"
></div>
</swiper>
<!-- <ul>
<li v-for="(item, index) in swiperBtnItem" :key="index" @click="tabSwiper(item)"></li>
</ul> -->
</div>
</div>
<div
class=
"order-detail"
>
...
...
@@ -31,15 +28,18 @@
<div
class=
"price"
>
<div
class=
"name"
>
价格
</div>
<div
class=
"num"
><span>
¥
</span>
{{ commodityData.price_zone }}
</div>
<div
class=
"stock"
>
库存
<br
/><span>
{{ commodityData.stock }}
</span
>
件
</div>
</div>
<div
class=
"freight"
>
<div
class=
"name"
>
运费
</div>
<div
class=
"val"
>
无需配送
</div>
</div>
<div
class=
"freight"
>
<div
class=
"name"
>
库存
</div>
<div
class=
"stock"
>
<span>
{{ commodityData.stock }}
</span
>
件
</div>
</div>
<div
class=
"buy-btn"
@
click=
"dialogVisible = true"
v-if=
"commodityData.status === '2'"
>
{{ buttonText }}
</div>
...
...
@@ -237,29 +237,17 @@ export default {
font-weight
:
bold
;
font-size
:
32px
;
color
:
#c01540
;
// text-align: right;
padding-left
:
10px
;
padding-left
:
20px
;
white-space
:
nowrap
;
span
{
font-size
:
24px
;
}
}
.stock
{
margin-left
:
10px
;
padding
:
0
20px
;
border-left
:
1px
solid
#dedede
;
height
:
42px
;
font-size
:
14px
;
color
:
#a0a0a0
;
span
{
color
:
rgba
(
192
,
21
,
64
,
1
);
font-size
:
18px
;
}
}
}
.freight
{
display
:
flex
;
padding
:
22px
0
;
align-items
:
center
;
margin
:
22px
0
;
.name
{
font-size
:
14px
;
line-height
:
100%
;
...
...
@@ -267,12 +255,20 @@ export default {
margin-left
:
16px
;
}
.val
{
margin-left
:
39
px
;
margin-left
:
20
px
;
font-size
:
14px
;
font-family
:
Source
Han
Sans
CN
;
line-height
:
100%
;
color
:
#434343
;
}
.stock
{
margin-left
:
20px
;
font-size
:
14px
;
color
:
#a0a0a0
;
span
{
color
:
rgba
(
192
,
21
,
64
,
1
);
font-size
:
18px
;
}
}
}
.buy-btn
{
width
:
198px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论