dev
parent
82a926c899
commit
38903e8a45
|
|
@ -1,5 +1,28 @@
|
|||
<!-- 订单商品信息 -->
|
||||
{{if !empty($module_data) and !empty($module_data['items'])}}
|
||||
<!-- 订单列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_order_list_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_order_list_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单列表基础顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
{{if $module_data['pay_status'] eq 1 and $module_data['pay_price'] lt $module_data['total_price']}}
|
||||
<p class="am-text-danger am-animation-shake am-animation-delay-1">
|
||||
<i class="am-icon-warning am-text-lg"></i>
|
||||
|
|
@ -11,9 +34,33 @@
|
|||
<strong class="am-icon-bookmark-o"> {{$module_data.order_no}}</strong>
|
||||
<strong class="am-icon-circle-thin am-margin-left-lg"> {{$module_data.id}}</strong>
|
||||
{{if !empty($module_data['warehouse_name'])}}
|
||||
<span class="am-icon-map-marker am-fr"> {{$module_data.warehouse_name}}</span>
|
||||
<span class="am-fr"> {{$module_data.warehouse_name}}</span>
|
||||
{{/if}}
|
||||
</p>
|
||||
|
||||
<!-- 订单列表基础商品顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_order_list_base_goods_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_order_list_base_goods_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单列表基础商品顶部-结束 -->
|
||||
|
||||
<!-- 商品信息 -->
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
{{foreach $module_data.items as $item}}
|
||||
<div class="am-nbfc am-padding-vertical-xs">
|
||||
|
|
@ -39,5 +86,51 @@
|
|||
</div>
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-vertical-0" />
|
||||
{{/foreach}}
|
||||
|
||||
<!-- 订单列表基础商品底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_order_list_base_goods_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_order_list_base_goods_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单列表基础商品底部-结束 -->
|
||||
|
||||
<!-- 商品描述信息 -->
|
||||
<div class="am-margin-top-sm">{{$module_data.describe}}</div>
|
||||
|
||||
<!-- 订单列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_order_list_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_order_list_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单列表基础顶部-结束 -->
|
||||
{{/if}}
|
||||
|
|
@ -1,8 +1,55 @@
|
|||
<!-- 订单基础信息 -->
|
||||
{{if !empty($module_data) and !empty($module_data['order_data'])}}
|
||||
<!-- 订单售后列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_orderaftersale_list_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_orderaftersale_list_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单售后列表基础顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
<p class="am-nbfc am-margin-bottom-sm">
|
||||
<strong class="am-icon-bookmark-o"> {{$module_data.order_no}}</strong>
|
||||
</p>
|
||||
|
||||
<!-- 订单售后列表基础商品顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_orderaftersale_list_base_goods_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_orderaftersale_list_base_goods_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单售后列表基础商品顶部-结束 -->
|
||||
|
||||
<!-- 商品信息 -->
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
<div class="am-nbfc">
|
||||
<a href="{{$module_data.order_data.items.goods_url}}" target="_blank">
|
||||
|
|
@ -25,4 +72,26 @@
|
|||
{{/if}}
|
||||
<span>{{$module_data.order_data.currency_data.currency_symbol}}{{$module_data.order_data.items.price}}x{{$module_data.order_data.items.buy_number}}</span>
|
||||
</div>
|
||||
|
||||
<!-- 订单售后列表基础底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_admin_orderaftersale_list_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_admin_orderaftersale_list_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 订单售后列表基础商品顶部-结束 -->
|
||||
{{/if}}
|
||||
|
|
@ -271,12 +271,79 @@
|
|||
{{foreach $buy_goods as $v}}
|
||||
<div class="am-panel am-panel-default am-margin-top-sm am-margin-bottom-0">
|
||||
<div class="am-panel-hd">
|
||||
<!-- 分组导航内部开始钩子-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_buy_group_nav_inside_begin</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_buy_group_nav_inside_begin';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$v]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 分组导航内部开始钩子-结束 -->
|
||||
|
||||
<strong>{{$v.name}}{{if !empty($v['alias'])}}<span class="am-badge am-badge-secondary-plain am-radius am-margin-left-xs">{{$v.alias}}</span>{{/if}}</strong>
|
||||
{{if isset($v['lng']) and isset($v['lat'])}}
|
||||
|
||||
<!-- 分组导航内部中间钩子-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_buy_group_nav_inside_middle</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_buy_group_nav_inside_middle';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$v]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 分组导航内部中间钩子-结束 -->
|
||||
|
||||
{{if isset($v['lng']) and isset($v['lat']) and $v['lng'] neq 0 and $v['lat'] neq 0}}
|
||||
<div class="am-fr">
|
||||
<a href="javascript:;" class="am-badge am-badge-default am-radius am-icon-map-marker submit-map-popup" data-lng="{{$v.lng}}" data-lat="{{$v.lat}}"> 查看地图</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- 分组导航内部结束钩子-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_buy_group_nav_inside_end</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_buy_group_nav_inside_end';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$v]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 分组导航内部结束钩子-结束 -->
|
||||
</div>
|
||||
<div class="am-panel-bd">
|
||||
<!-- 分组商品顶部钩子-开始 -->
|
||||
|
|
|
|||
|
|
@ -22,6 +22,28 @@
|
|||
<!-- content start -->
|
||||
<div class="user-content">
|
||||
<div class="user-content-body">
|
||||
<!-- 用户订单详情状态环节顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_progress_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_progress_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情状态环节顶部-结束 -->
|
||||
|
||||
<!-- 进度环节 -->
|
||||
{{if !in_array($data['status'], [5,6])}}
|
||||
<ul class="progress">
|
||||
|
|
@ -87,6 +109,28 @@
|
|||
</ul>
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单详情基础信息顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情基础信息顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
<div class="order-base">
|
||||
<div class="base-left">
|
||||
|
|
@ -95,7 +139,7 @@
|
|||
<div class="am-panel-bd">
|
||||
{{if !empty($data['warehouse_name'])}}
|
||||
<div class="items am-cf">
|
||||
<div class="items-title am-fl">出货仓库:</div>
|
||||
<div class="items-title am-fl">出货服务:</div>
|
||||
<div class="items-detail am-fl">{{$data.warehouse_name}}</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
|
@ -311,6 +355,28 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 用户订单详情基础信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情基础信息底部-结束 -->
|
||||
|
||||
<!-- 地址 -->
|
||||
{{if in_array($data['order_model'], [0, 2])}}
|
||||
<div class="am-panel am-panel-default business-panel">
|
||||
|
|
@ -333,6 +399,28 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单详情地址信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_address_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_address_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情地址信息底部-结束 -->
|
||||
|
||||
<!-- 虚拟销售信息 -->
|
||||
{{if $data['order_model'] eq 3 and $data['pay_status'] eq 1 and in_array($data['status'], [3,4])}}
|
||||
<div class="am-panel am-panel-secondary business-panel fictitious-panel-container">
|
||||
|
|
@ -367,6 +455,28 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单详情虚拟信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_fictitious_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_fictitious_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情虚拟信息底部-结束 -->
|
||||
|
||||
<!-- 商品列表 -->
|
||||
{{if !empty($data.items)}}
|
||||
<div class="order-goods">
|
||||
|
|
@ -435,6 +545,28 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<!-- 用户订单详情商品信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_goods_inside_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_goods_inside_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情商品信息底部-结束 -->
|
||||
|
||||
{{if !empty($data['extension_data'])}}
|
||||
<div class="am-alert am-alert-warning">
|
||||
{{foreach $data.extension_data as $ertk=>$ext}}
|
||||
|
|
@ -489,6 +621,28 @@
|
|||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单详情商品信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_detail_goods_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_detail_goods_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单详情商品信息底部-结束 -->
|
||||
</div>
|
||||
|
||||
<!-- 支付弹窗 -->
|
||||
|
|
|
|||
|
|
@ -1,11 +1,58 @@
|
|||
<!-- 订单商品信息 -->
|
||||
{{if !empty($module_data) and !empty($module_data['items'])}}
|
||||
<!-- 用户订单列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_list_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_list_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单列表基础顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
<p class="am-margin-bottom-sm">
|
||||
<strong class="am-icon-bookmark-o"> {{$module_data.order_no}}</strong>
|
||||
{{if !empty($module_data['warehouse_name'])}}
|
||||
<span class="am-icon-map-marker am-fr"> {{$module_data.warehouse_name}}</span>
|
||||
<span class="am-fr"> {{$module_data.warehouse_name}}</span>
|
||||
{{/if}}
|
||||
</p>
|
||||
|
||||
<!-- 用户订单列表基础商品顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_list_base_goods_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_list_base_goods_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单列表基础商品顶部-结束 -->
|
||||
|
||||
<!-- 商品信息 -->
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
{{foreach $module_data.items as $item}}
|
||||
<div class="am-nbfc">
|
||||
|
|
@ -46,5 +93,51 @@
|
|||
</div>
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed" />
|
||||
{{/foreach}}
|
||||
|
||||
<!-- 用户订单列表基础商品底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_list_base_goods_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_list_base_goods_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单列表基础商品底部-结束 -->
|
||||
|
||||
<!-- 商品描述信息 -->
|
||||
<div class="am-margin-top-sm">{{$module_data.describe}}</div>
|
||||
|
||||
<!-- 用户订单列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_order_list_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_order_list_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单列表基础顶部-结束 -->
|
||||
{{/if}}
|
||||
|
|
@ -22,10 +22,55 @@
|
|||
<!-- content start -->
|
||||
<div class="user-content">
|
||||
<div class="user-content-body">
|
||||
<!-- 用户订单售后详情顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情顶部-结束 -->
|
||||
|
||||
<!-- 商品列表 -->
|
||||
{{if !empty($goods)}}
|
||||
<div class="am-panel am-panel-default order-base-panel">
|
||||
<div class="am-panel-bd">
|
||||
<!-- 用户订单售后详情顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_goods_inside_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_goods_inside_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情顶部-结束 -->
|
||||
|
||||
<!-- 商品信息 -->
|
||||
<table class="am-table">
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -62,6 +107,29 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 用户订单售后详情商品底部顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_goods_inside_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_goods_inside_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情商品底部顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
<div class="am-alert am-alert-secondary">
|
||||
{{if !empty($order.price)}}
|
||||
<div class="items am-cf">
|
||||
|
|
@ -104,9 +172,53 @@
|
|||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<!-- 用户订单售后详情商品基础信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_goods_inside_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_goods_inside_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情商品基础信息底部-结束 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 用户订单售后详情商品信息底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_goods_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_goods_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情商品信息底部-结束 -->
|
||||
|
||||
<!-- 是否存在进行中的数据 -->
|
||||
{{if empty($new_aftersale_data) or (isset($new_aftersale_data['status']) and $new_aftersale_data['status'] eq 5)}}
|
||||
<!-- 拒绝/关闭 -->
|
||||
|
|
@ -172,9 +284,31 @@
|
|||
{{/switch}}
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单售后详情基础信息顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情基础信息顶部-结束 -->
|
||||
|
||||
<!-- 详情 -->
|
||||
{{if !empty($new_aftersale_data) and $new_aftersale_data['status'] neq 5}}
|
||||
<div class="detail">
|
||||
<div class="detail am-nbfc">
|
||||
<div class="am-u-md-6 apply-container">
|
||||
<div class="am-panel am-panel-default">
|
||||
<div class="am-panel-hd">申请信息</div>
|
||||
|
|
@ -283,6 +417,28 @@
|
|||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<!-- 用户订单售后详情底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_detail_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_detail_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'goods'=>$goods, 'order'=>$order, 'new_aftersale_data'=>$new_aftersale_data, 'step_data'=>$step_data, 'returned_data'=>$returned_data, 'params'=>$params]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后详情底部-结束 -->
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,55 @@
|
|||
<!-- 订单基础信息 -->
|
||||
{{if !empty($module_data) and !empty($module_data['order_data'])}}
|
||||
<!-- 用户订单售后列表基础顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_list_base_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_list_base_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后列表基础顶部-结束 -->
|
||||
|
||||
<!-- 基础信息 -->
|
||||
<p class="am-nbfc am-margin-bottom-sm">
|
||||
<strong class="am-icon-bookmark-o"> {{$module_data.order_no}}</strong>
|
||||
</p>
|
||||
|
||||
<!-- 用户订单售后列表基础商品顶部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_list_base_goods_top</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_list_base_goods_top';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后列表基础商品顶部-结束 -->
|
||||
|
||||
<!-- 商品信息 -->
|
||||
<hr data-am-widget="divider" class="am-divider am-divider-dashed am-margin-top-0" />
|
||||
<div class="am-nbfc">
|
||||
<a href="{{$module_data.order_data.items.goods_url}}" target="_blank">
|
||||
|
|
@ -25,4 +72,26 @@
|
|||
{{/if}}
|
||||
<span>{{$module_data.order_data.currency_data.currency_symbol}}{{$module_data.order_data.items.price}} x {{$module_data.order_data.items.buy_number}}</span>
|
||||
</div>
|
||||
|
||||
<!-- 用户订单售后列表基础底部-开始 -->
|
||||
{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_footer) or $is_footer eq 1)}}
|
||||
<div class="plugins-tag">
|
||||
<span>plugins_view_user_orderaftersale_list_base_bottom</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{php}}
|
||||
$hook_name = 'plugins_view_user_orderaftersale_list_base_bottom';
|
||||
$hook_data = Hook::listen($hook_name, ['hook_name'=>$hook_name, 'is_backend'=>false, 'data'=>$module_data]);
|
||||
if(!empty($hook_data) && is_array($hook_data))
|
||||
{
|
||||
foreach($hook_data as $hook)
|
||||
{
|
||||
if(is_string($hook) || is_int($hook))
|
||||
{
|
||||
echo htmlspecialchars_decode($hook);
|
||||
}
|
||||
}
|
||||
}
|
||||
{{/php}}
|
||||
<!-- 用户订单售后列表基础商品顶部-结束 -->
|
||||
{{/if}}
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
<script type="text/javascript" src="../internal.js"></script>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak={{common_baidu_map_ak}}"></script>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=XSdiGjfg3wOHiKjpYEMG6CYA"></script>
|
||||
<style type="text/css">
|
||||
.content{width:530px; height: 350px;margin: 10px auto;}
|
||||
.content table{width: 100%}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak={{common_baidu_map_ak}}"></script>
|
||||
<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=XSdiGjfg3wOHiKjpYEMG6CYA"></script>
|
||||
</head>
|
||||
|
||||
<body onload="initMap();">
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ Page({
|
|||
self.setData({
|
||||
detail: data.data,
|
||||
detail_list:[
|
||||
{name: "出货仓库", value: data.data.warehouse_name || ''},
|
||||
{name: "出货服务", value: data.data.warehouse_name || ''},
|
||||
{name: "订单模式", value: data.data.order_model_name || '' },
|
||||
{name: "订单编号", value: data.data.order_no || ''},
|
||||
{name: "订单状态", value: data.data.status_name || ''},
|
||||
|
|
|
|||
|
|
@ -37,9 +37,14 @@
|
|||
<text class="cr-666">{{item.type_text}}</text>
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-666">{{item.reason}}</text>
|
||||
<text a:if="{{item.price > 0}}" class="cr-ccc ds">/</text>
|
||||
<text a:if="{{item.price > 0}}" class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text a:if="{{item.number > 0}}" class="cr-main"> x{{item.number}}</text>
|
||||
<block a:if="{{item.price > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
</block>
|
||||
<block a:if="{{item.number > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-main">{{item.number}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view a:if="{{item.status <= 2 || item.status == 4}}" class="item-operation tr br-t">
|
||||
<button a:if="{{item.status != 3 && item.status != 5}}" class="submit-cancel" type="default" size="mini" onTap="cancel_event" data-value="{{item.id}}" data-index="{{index}}" hover-class="none">取消
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ Page({
|
|||
self.setData({
|
||||
detail: data.data,
|
||||
detail_list:[
|
||||
{name: "出货仓库", value: data.data.warehouse_name || ''},
|
||||
{name: "出货服务", value: data.data.warehouse_name || ''},
|
||||
{name: "订单模式", value: data.data.order_model_name || '' },
|
||||
{name: "订单编号", value: data.data.order_no || ''},
|
||||
{name: "订单状态", value: data.data.status_name || ''},
|
||||
|
|
|
|||
|
|
@ -37,9 +37,14 @@
|
|||
<text class="cr-666">{{item.type_text}}</text>
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-666">{{item.reason}}</text>
|
||||
<text s-if="item.price > 0" class="cr-ccc ds">/</text>
|
||||
<text s-if="item.price > 0" class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text s-if="item.number > 0" class="cr-main"> x{{item.number}}</text>
|
||||
<block s-if="item.price > 0">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
</block>
|
||||
<block s-if="item.number > 0">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-main">{{item.number}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view s-if="item.status <= 2 || item.status == 4" class="item-operation tr br-t">
|
||||
<button s-if="item.status != 3 && item.status != 5" class="submit-cancel" type="default" size="mini" bindtap="cancel_event" data-value="{{item.id}}" data-index="{{index}}" hover-class="none">取消
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ Page({
|
|||
self.setData({
|
||||
detail: data.data,
|
||||
detail_list:[
|
||||
{name: "出货仓库", value: data.data.warehouse_name || ''},
|
||||
{name: "出货服务", value: data.data.warehouse_name || ''},
|
||||
{name: "订单模式", value: data.data.order_model_name || '' },
|
||||
{name: "订单编号", value: data.data.order_no || ''},
|
||||
{name: "订单状态", value: data.data.status_name || ''},
|
||||
|
|
|
|||
|
|
@ -37,9 +37,14 @@
|
|||
<text class="cr-666">{{item.type_text}}</text>
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-666">{{item.reason}}</text>
|
||||
<text qq:if="{{item.price > 0}}" class="cr-ccc ds">/</text>
|
||||
<text qq:if="{{item.price > 0}}" class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text qq:if="{{item.number > 0}}" class="cr-main"> x{{item.number}}</text>
|
||||
<block qq:if="{{item.price > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
</block>
|
||||
<block qq:if="{{item.number > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-main">{{item.number}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view qq:if="{{item.status <= 2 || item.status == 4}}" class="item-operation tr br-t">
|
||||
<button qq:if="{{item.status != 3 && item.status != 5}}" class="submit-cancel" type="default" size="mini" bindtap="cancel_event" data-value="{{item.id}}" data-index="{{index}}" hover-class="none">取消
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ Page({
|
|||
self.setData({
|
||||
detail: data.data,
|
||||
detail_list:[
|
||||
{name: "出货仓库", value: data.data.warehouse_name || ''},
|
||||
{name: "出货服务", value: data.data.warehouse_name || ''},
|
||||
{name: "订单模式", value: data.data.order_model_name || '' },
|
||||
{name: "订单编号", value: data.data.order_no || ''},
|
||||
{name: "订单状态", value: data.data.status_name || ''},
|
||||
|
|
|
|||
|
|
@ -37,9 +37,14 @@
|
|||
<text class="cr-666">{{item.type_text}}</text>
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-666">{{item.reason}}</text>
|
||||
<text tt:if="{{item.price > 0}}" class="cr-ccc ds">/</text>
|
||||
<text tt:if="{{item.price > 0}}" class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text tt:if="{{item.number > 0}}" class="cr-main"> x{{item.number}}</text>
|
||||
<block tt:if="{{item.price > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
</block>
|
||||
<block tt:if="{{item.number > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-main">{{item.number}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view tt:if="{{item.status <= 2 || item.status == 4}}" class="item-operation tr br-t">
|
||||
<button tt:if="{{item.status != 3 && item.status != 5}}" class="submit-cancel" type="default" size="mini" bindtap="cancel_event" data-value="{{item.id}}" data-index="{{index}}" hover-class="none">取消
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ Page({
|
|||
self.setData({
|
||||
detail: data.data,
|
||||
detail_list:[
|
||||
{name: "出货仓库", value: data.data.warehouse_name || ''},
|
||||
{name: "出货服务", value: data.data.warehouse_name || ''},
|
||||
{name: "订单模式", value: data.data.order_model_name || '' },
|
||||
{name: "订单编号", value: data.data.order_no || ''},
|
||||
{name: "订单状态", value: data.data.status_name || ''},
|
||||
|
|
|
|||
|
|
@ -37,9 +37,14 @@
|
|||
<text class="cr-666">{{item.type_text}}</text>
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-666">{{item.reason}}</text>
|
||||
<text wx:if="{{item.price > 0}}" class="cr-ccc ds">/</text>
|
||||
<text wx:if="{{item.price > 0}}" class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
<text wx:if="{{item.number > 0}}" class="cr-main"> x{{item.number}}</text>
|
||||
<block wx:if="{{item.price > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="sales-price">{{item.order_data.currency_data.currency_symbol}}{{item.price}}</text>
|
||||
</block>
|
||||
<block wx:if="{{item.number > 0}}">
|
||||
<text class="cr-ccc ds">/</text>
|
||||
<text class="cr-main">{{item.number}}</text>
|
||||
</block>
|
||||
</view>
|
||||
<view wx:if="{{item.status <= 2 || item.status == 4}}" class="item-operation tr br-t">
|
||||
<button wx:if="{{item.status != 3 && item.status != 5}}" class="submit-cancel" type="default" size="mini" bindtap="cancel_event" data-value="{{item.id}}" data-index="{{index}}" hover-class="none">取消
|
||||
|
|
|
|||
Loading…
Reference in New Issue