Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
纵之格
shopxo-uniapp
提交
31d50452
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 搜索 >>
提交
31d50452
编写于
4月 15, 2024
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
批发价格细节优化
上级
d15d29d9
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
17 addition
and
15 deletion
+17
-15
components/goods-batch-buy/goods-batch-buy.vue
components/goods-batch-buy/goods-batch-buy.vue
+0
-1
components/wholesale-rules/wholesale-rules.vue
components/wholesale-rules/wholesale-rules.vue
+6
-2
pages/goods-detail/goods-detail.vue
pages/goods-detail/goods-detail.vue
+11
-8
pages/plugins/coin/cash/cash.vue
pages/plugins/coin/cash/cash.vue
+0
-1
pages/plugins/coin/recharge-pay/recharge-pay.vue
pages/plugins/coin/recharge-pay/recharge-pay.vue
+0
-1
pages/plugins/coin/transfer/transfer.vue
pages/plugins/coin/transfer/transfer.vue
+0
-1
pages/plugins/scanpay/index/index.vue
pages/plugins/scanpay/index/index.vue
+0
-1
未找到文件。
components/goods-batch-buy/goods-batch-buy.vue
浏览文件 @
31d50452
...
...
@@ -150,7 +150,6 @@ export default {
this
.
setData
({
plugins_wholesale_data
:
this
.
propPluginsWholesaleData
,
});
console
.
log
(
this
.
plugins_wholesale_data
)
},
methods
:
{
...
...
components/wholesale-rules/wholesale-rules.vue
浏览文件 @
31d50452
...
...
@@ -10,7 +10,7 @@
<text
class=
"sales-price text-size-lg"
>
{{
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-base margin-top-xs
"
>
{{
item
.
range_msg
}}
</view>
<view
:class=
"'msg text-size-sm cr-base margin-top-xs '+(propIsSeckill ? 'cr-white' : 'cr-black')
"
>
{{
item
.
range_msg
}}
</view>
</view>
</view>
</scroll-view>
...
...
@@ -64,6 +64,11 @@ export default {
componentPopup
},
props
:
{
// 是否秒杀状态
propIsSeckill
:
{
type
:
Boolean
,
default
:
false
,
},
// 是否展示弹窗
propIsPopup
:
{
type
:
Boolean
,
...
...
@@ -87,7 +92,6 @@ export default {
this
.
setData
({
data
:
value
,
});
console
.
log
(
value
)
}
},
...
...
pages/goods-detail/goods-detail.vue
浏览文件 @
31d50452
...
...
@@ -79,23 +79,23 @@
</view>
<!-- 价格信息 -->
<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=
"goods-base-price bg-white oh spacing-mb"
:class=
"
plugins_seckill_is_valid
? 'goods-base-price-countdown' : ''"
>
<!-- 批发规则、未隐藏商品售价的时候独立行展示 -->
<view
v-if=
"(plugins_wholesale_data || null) != null && (plugins_wholesale_data.is_hide_goods_price || 0) != 1"
class=
"padding-horizontal-main padding-top-main
"
>
<component-wholesale-rules
:propIsPopup=
"true"
:propCurrencySymbol=
"currency_symbol"
:propData=
"plugins_wholesale_data"
></component-wholesale-rules>
<view
v-if=
"(plugins_wholesale_data || null) != null && (plugins_wholesale_data.is_hide_goods_price || 0) != 1"
:class=
"'padding-horizontal-main padding-top-main '+((plugins_seckill_is_valid) ? 'padding-bottom-main' : '')
"
>
<component-wholesale-rules
:propIsPopup=
"true"
:propCurrencySymbol=
"currency_symbol"
:propData=
"plugins_wholesale_data"
:propIsSeckill=
"plugins_seckill_is_valid"
></component-wholesale-rules>
</view>
<!-- 价格 -->
<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 + ')' : ''"
>
<view
class=
"price-content padding-vertical-main padding-left-main bs-bb fl"
:style=
"
plugins_seckill_is_valid
? 'background-image: url(' + plugins_seckill_data.goods_detail_header + ')' : ''"
>
<!-- 批发规则、隐藏商品售价的时候在这里展示 -->
<view
v-if=
"(plugins_wholesale_data || null) != null && (plugins_wholesale_data.is_hide_goods_price || 0) == 1"
class=
"item"
>
<component-wholesale-rules
:propIsPopup=
"true"
:propCurrencySymbol=
"currency_symbol"
:propData=
"plugins_wholesale_data"
></component-wholesale-rules>
<component-wholesale-rules
:propIsPopup=
"true"
:propCurrencySymbol=
"currency_symbol"
:propData=
"plugins_wholesale_data"
:propIsSeckill=
"plugins_seckill_is_valid"
></component-wholesale-rules>
</view>
<!-- 批发插件是否开启隐藏价格信息 -->
<block
v-if=
"(plugins_wholesale_data || null) == null || (plugins_wholesale_data.is_hide_goods_price || 0) != 1"
>
<!-- 售价 -->
<view
v-if=
"(goods.show_field_price_status || 0) == 1"
class=
"item single-text"
>
<!-- 图标 -->
<text
v-if=
"(show_field_price_text || null) != null"
:class=
"'price-icon round va-m margin-right-xs '+((
(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1
) ? 'seckill' : '')"
>
{{
show_field_price_text
}}
</text>
<text
v-if=
"(show_field_price_text || null) != null"
:class=
"'price-icon round va-m margin-right-xs '+((
plugins_seckill_is_valid
) ? 'seckill' : '')"
>
{{
show_field_price_text
}}
</text>
<!-- 售价 -->
<text
class=
"sales-price va-m"
>
{{
goods
.
show_price_symbol
}}{{
goods_spec_base_price
}}
</text>
<text
class=
"text-size-xs cr-grey va-m"
>
{{
goods
.
show_price_unit
}}
</text>
...
...
@@ -109,7 +109,7 @@
</view>
</block>
</view>
<block
v-if=
"
(plugins_seckill_data || null) != null && plugins_seckill_data.time.status == 1
"
>
<block
v-if=
"
plugins_seckill_is_valid
"
>
<view
class=
"countdown-content padding-top-lg padding-bottom-lg padding-left-xs padding-right-xs fr tc"
>
<view
class=
"time-title cr-white single-text"
>
{{
plugins_seckill_data
.
goods_detail_title
||
$t
(
'
goods-detail.goods-detail.775ppk
'
)
}}
</view>
<component-countdown
...
...
@@ -708,6 +708,7 @@
share_info
:
{},
// 限时秒杀插件
plugins_seckill_data
:
null
,
plugins_seckill_is_valid
:
false
,
// 优惠劵插件
plugins_coupon_data
:
null
,
temp_coupon_receive_index
:
null
,
...
...
@@ -893,13 +894,15 @@
this
.
init_result_data_handle
(
goods
);
// 基础数据
var
plugins_seckill_data
=
data
.
plugins_seckill_data
||
null
;
var
upd_data
=
{
data_loading_status
:
1
,
guess_you_like
:
data
.
guess_you_like
||
[],
nav_more_list
:
data
.
nav_more_list
||
[],
buy_button
:
data
.
buy_button
||
null
,
top_nav_title_data
:
data
.
middle_tabs_nav
||
[],
plugins_seckill_data
:
data
.
plugins_seckill_data
||
null
,
plugins_seckill_data
:
plugins_seckill_data
,
plugins_seckill_is_valid
:
(
plugins_seckill_data
||
null
)
!=
null
&&
(
plugins_seckill_data
.
time
||
null
)
!=
null
&&
plugins_seckill_data
.
time
.
status
==
1
,
plugins_coupon_data
:
data
.
plugins_coupon_data
||
null
,
quick_nav_cart_count
:
data
.
cart_total
.
buy_number
||
0
,
plugins_salerecords_data
:
data
.
plugins_salerecords_data
||
null
,
...
...
pages/plugins/coin/cash/cash.vue
浏览文件 @
31d50452
...
...
@@ -190,7 +190,6 @@
dataType
:
'
json
'
,
success
:
(
res
)
=>
{
uni
.
stopPullDownRefresh
();
console
.
log
(
res
.
data
.
data
);
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
this
.
setData
({
...
...
pages/plugins/coin/recharge-pay/recharge-pay.vue
浏览文件 @
31d50452
...
...
@@ -125,7 +125,6 @@
dataType
:
'
json
'
,
success
:
(
res
)
=>
{
uni
.
stopPullDownRefresh
();
console
.
log
(
res
.
data
.
data
);
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
this
.
setData
({
...
...
pages/plugins/coin/transfer/transfer.vue
浏览文件 @
31d50452
...
...
@@ -119,7 +119,6 @@
dataType
:
'
json
'
,
success
:
(
res
)
=>
{
uni
.
stopPullDownRefresh
();
console
.
log
(
res
.
data
.
data
);
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
this
.
setData
({
...
...
pages/plugins/scanpay/index/index.vue
浏览文件 @
31d50452
...
...
@@ -370,7 +370,6 @@
uni
.
stopPullDownRefresh
();
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
console
.
log
(
data
.
id
,
this
.
form
.
payment_id
,
this
.
data
.
payment_list
);
this
.
setData
({
to_page
:
'
/pages/plugins/scanpay/tips/tips?id=
'
+
data
.
id
,
to_appoint_page
:
'
/pages/plugins/scanpay/tips/tips?id=
'
+
data
.
id
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录