Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
shopxo-uniapp
提交
8612cffa
S
shopxo-uniapp
项目概览
纵之格
/
shopxo-uniapp
通知
102
Star
3
Fork
4
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
shopxo-uniapp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
8612cffa
编写于
4月 13, 2024
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
批发优化
上级
e8578c2d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
36 addition
and
24 deletion
+36
-24
pages/goods-detail/goods-detail.css
pages/goods-detail/goods-detail.css
+20
-8
pages/goods-detail/goods-detail.vue
pages/goods-detail/goods-detail.vue
+16
-16
未找到文件。
pages/goods-detail/goods-detail.css
浏览文件 @
8612cffa
...
...
@@ -525,17 +525,29 @@
/**
* 批发 - 插件
*/
.plugins-wholesale-container-view
.item-title
{
min-width
:
70
rpx
;
.plugins-wholesale-container-view
{
display
:
flex
;
justify-content
:
space-around
;
}
.plugins-wholesale-container-view
.item
{
padding
:
5
rpx
15
rpx
;
color
:
#ff6633
;
border
:
1px
dashed
#ff9e7e
;
display
:
inline-table
;
margin-bottom
:
0
!important
;
}
.plugins-wholesale-container-view
.item
:not
(
:last-child
)
{
margin-right
:
24
rpx
;
.plugins-wholesale-container-view
.item
.price
>
.unit
{
border
:
0.05rem
solid
#cdcdcd
;
color
:
#969696
;
border-radius
:
50%
;
padding
:
1
rpx
6
rpx
;
vertical-align
:
top
;
margin-left
:
5
rpx
;
}
.plugins-wholesale-container-view
.spec-tips
{
color
:
#ffefc0
;
border
:
1
rpx
solid
#ff9800
;
background
:
#FF9800
;
padding
:
0
16
rpx
;
position
:
absolute
;
top
:
0
;
right
:
0
;
}
.plugins-wholesale-container
{
max-height
:
50vh
;
...
...
pages/goods-detail/goods-detail.vue
浏览文件 @
8612cffa
...
...
@@ -81,7 +81,20 @@
<!-- 价格信息 -->
<view
class=
"goods-base-price bg-white oh spacing-mb"
:class=
"(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1 ? 'goods-base-price-countdown' : ''"
>
<!-- 价格 -->
<view
class=
"price-content padding-main bs-bb fl"
:style=
"(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1 ? 'background-image: url(' + plugins_seckill_data.goods_detail_header + ')' : ''"
>
<view
class=
"price-content padding-vertical-main padding-left-main bs-bb fl"
:style=
"(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1 ? 'background-image: url(' + plugins_seckill_data.goods_detail_header + ')' : ''"
>
<!-- 批发 -->
<block
v-if=
"(plugins_wholesale_data || null) != null"
>
<view
class=
"plugins-wholesale-container-view wh-auto item"
@
tap=
"popup_wholesale_event"
>
<view
v-for=
"(item, index) in plugins_wholesale_data.rules"
:key=
"index"
class=
"item"
>
<view
class=
"price"
>
<text
v-if=
"item.arr.type == 1"
class=
"cr-red text-size-xs"
>
{{
currency_symbol
}}
</text>
<text
class=
"sales-price"
>
{{
item
.
range_val
}}
</text>
<text
v-if=
"item.arr.type == 0"
class=
"unit text-size-xsss"
>
{{
item
.
arr
.
unit
}}
</text>
</view>
<view
class=
"msg cr-black text-size-sm cr-grey"
>
{{
item
.
range_msg
}}
</view>
</view>
</view>
</block>
<!-- 售价 -->
<view
v-if=
"(goods.show_field_price_status || 0) == 1"
class=
"item single-text"
>
<!-- 图标 -->
...
...
@@ -207,19 +220,6 @@
</view>
</view>
<!-- 批发 -->
<view
v-if=
"(plugins_wholesale_data || null) != null"
class=
"plugins-wholesale-container-view pr oh padding-main border-radius-main bg-white text-size-xs spacing-mb flex-row jc-sb align-c"
>
<view
class=
"item-title padding-right-main self-c"
>
{{
plugins_wholesale_data
.
title
}}
</view>
<view
class=
"flex-row align-c flex-1 flex-width"
@
tap=
"popup_wholesale_event"
>
<view
class=
"padding-right-main border-radius-main single-text flex-1 flex-width"
>
<block
v-for=
"(item, index) in plugins_wholesale_data.rules"
:key=
"index"
>
<view
class=
"item round dis-inline-block margin-vertical-xs"
>
{{
item
.
msg
}}
</view>
</block>
</view>
<iconfont
name=
"icon-arrow-right"
color=
"#999"
></iconfont>
</view>
</view>
<!-- 优惠券 -->
<view
v-if=
"(plugins_coupon_data || null) != null && plugins_coupon_data.data.length > 0"
class=
"plugins-coupon-container-view pr oh padding-main border-radius-main bg-white text-size-xs spacing-mb flex-row jc-sb align-c"
>
<view
class=
"item-title padding-right-main self-c"
>
{{
$t
(
'
goods-detail.goods-detail.w3jma9
'
)
}}
</view>
...
...
@@ -514,8 +514,8 @@
<block
v-for=
"(item, index) in plugins_wholesale_data.rules"
:key=
"index"
>
<view
class=
"item flex-width-half margin-bottom"
>
<view
class=
"padding-main bg-base border-radius-main oh tc"
>
<text
class=
"cr-base"
>
{{
item
.
arr
.
msg
}}
</text>
<text
class=
"margin-left-sm cr-main fw-b text-size-lg"
>
{{
item
.
arr
.
val
}}
</text>
<text
class=
"cr-base"
>
{{
item
.
range_
msg
}}
</text>
<text
class=
"margin-left-sm cr-main fw-b text-size-lg"
>
{{
item
.
range_
val
}}
</text>
<text
class=
"cr-grey margin-left-xs"
>
{{
item
.
arr
.
unit
}}
</text>
</view>
</view>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录