Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
______--______
ShopXO
提交
b0b94e16
ShopXO
项目概览
______--______
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b0b94e16
编写于
5月 29, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
用户订单售后
上级
68cff17e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
149 addition
and
16 deletion
+149
-16
application/index/view/default/order/index.html
application/index/view/default/order/index.html
+13
-14
application/index/view/default/orderaftersale/aftersale.html
application/index/view/default/orderaftersale/aftersale.html
+108
-0
application/index/view/default/orderaftersale/index.html
application/index/view/default/orderaftersale/index.html
+1
-1
application/index/view/default/orderaftersale/step.html
application/index/view/default/orderaftersale/step.html
+1
-1
public/static/index/default/css/orderaftersale.aftersale.css
public/static/index/default/css/orderaftersale.aftersale.css
+26
-0
未找到文件。
application/index/view/default/order/index.html
浏览文件 @
b0b94e16
...
...
@@ -186,20 +186,19 @@
x{{$goods.buy_number}}
</td>
<td
class=
"row-number"
>
{{if in_array($order['status'], [2,3,4])}}
<a
href=
"{{:MyUrl('index/orderaftersale/aftersale', ['oid'=>$order['id'], 'did'=>$goods['id']])}}"
target=
"_blank"
>
{{switch $order.status}}
{{case 2|3}}
退款/退货
{{/case}}
{{case 4}}
申请售后
{{/case}}
{{/switch}}
</a>
{{elseif $order['status'] eq 6 /}}
<a
href=
"{{:MyUrl('index/orderaftersale/index', ['keywords'=>$order['order_no']])}}"
>
查看退款
</a>
{{/if}}
<a
href=
"{{:MyUrl('index/orderaftersale/aftersale', ['oid'=>$order['id'], 'did'=>$goods['id']])}}"
target=
"_blank"
>
{{switch $order.status}}
{{case 2|3}}
退款/退货
{{/case}}
{{case 4}}
申请售后
{{/case}}
{{case 6}}
查看退款
{{/case}}
{{/switch}}
</a>
</td>
{{if $keys eq 0}}
<td
class=
"row-total-price am-hide-sm-only"
rowspan=
"{{$order.items_count}}"
>
...
...
application/index/view/default/orderaftersale/aftersale.html
浏览文件 @
b0b94e16
...
...
@@ -181,6 +181,114 @@
{{/case}}
{{/switch}}
{{/if}}
<!-- 详情 -->
{{if !empty($new_aftersale_data)}}
<div
class=
"detail"
>
<div
class=
"am-u-md-6 apply-container"
>
<div
class=
"am-panel am-panel-default"
>
<div
class=
"am-panel-hd"
>
申请信息
</div>
<div
class=
"am-panel-bd"
>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
退款类型:
</span>
<span>
{{$new_aftersale_data.type_text}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
当前状态:
</span>
<span>
{{$new_aftersale_data.status_text}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
申请原因:
</span>
<span>
{{$new_aftersale_data.reason}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
退货数量:
</span>
<span>
{{$new_aftersale_data.number}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
退款金额:
</span>
<span
class=
"am-text-warning"
>
¥{{$new_aftersale_data.price}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
退款说明:
</span>
<span>
{{$new_aftersale_data.msg}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
拒绝原因:
</span>
<span>
{{$new_aftersale_data.refuse_reason}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
申请时间:
</span>
<span>
{{$new_aftersale_data.apply_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
确认时间:
</span>
<span>
{{$new_aftersale_data.confirm_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
退货时间:
</span>
<span>
{{$new_aftersale_data.delivery_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
审核时间:
</span>
<span>
{{$new_aftersale_data.audit_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
取消时间:
</span>
<span>
{{$new_aftersale_data.cancel_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
添加时间:
</span>
<span>
{{$new_aftersale_data.add_time_time}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
更新时间:
</span>
<span>
{{$new_aftersale_data.upd_time_time}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"am-u-md-6 express-container"
>
<div
class=
"am-panel am-panel-default"
>
<div
class=
"am-panel-hd"
>
快递信息
</div>
<div
class=
"am-panel-bd"
>
{{if $new_aftersale_data['type'] eq 1 and in_array($new_aftersale_data['status'], [2,3])}}
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
快递:
</span>
<span>
{{$new_aftersale_data.express_name}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
单号:
</span>
<span>
{{$new_aftersale_data.express_number}}
</span>
</div>
<div
class=
"am-cf am-padding-vertical-xs"
>
<span>
时间:
</span>
<span>
{{$new_aftersale_data.delivery_time_time}}
</span>
</div>
{{else /}}
<span>
无数据
</span>
{{/if}}
</div>
</div>
</div>
<div
class=
"am-u-md-6 voucher-container"
>
<div
class=
"am-panel am-panel-default"
>
<div
class=
"am-panel-hd"
>
凭证
</div>
<div
class=
"am-panel-bd"
>
{{if !empty($new_aftersale_data['images'])}}
{{foreach $new_aftersale_data.images as $img}}
<a
href=
"{{$img}}"
target=
"_blank"
>
<img
src=
"{{$img}}"
class=
"am-img-thumbnail am-block"
width=
"80"
height=
"80"
/>
</a>
{{/foreach}}
{{else /}}
<span>
无数据
</span>
{{/if}}
</div>
</div>
</div>
</div>
{{/if}}
{{/if}}
</div>
</div>
...
...
application/index/view/default/orderaftersale/index.html
浏览文件 @
b0b94e16
...
...
@@ -172,7 +172,7 @@
{{if !in_array($v['status'], [3,4,5])}}
<button
type=
"button"
class=
"am-btn am-btn-warning am-btn-xs am-radius am-icon-paint-brush am-btn-block submit-ajax submit-cancel"
data-url=
"{{:MyUrl('index/orderaftersale/cancel')}}"
data-id=
"{{$v.id}}"
data-view=
"reload"
>
取消
</button>
{{/if}}
<a
href=
"{{:MyUrl('index/orderaftersale/
detail', ['id'=>$v['
id']])}}"
target=
"_blank"
class=
"am-btn am-btn-default am-btn-xs am-radius am-icon-cubes am-btn-block"
>
详情
</a>
<a
href=
"{{:MyUrl('index/orderaftersale/
aftersale', ['oid'=>$v['order_id'], 'did'=>$v['order_detail_
id']])}}"
target=
"_blank"
class=
"am-btn am-btn-default am-btn-xs am-radius am-icon-cubes am-btn-block"
>
详情
</a>
</td>
</tr>
{{/foreach}}
...
...
application/index/view/default/orderaftersale/step.html
浏览文件 @
b0b94e16
...
...
@@ -26,7 +26,7 @@
<i
class=
"am-icon-caret-right"
></i>
<i
class=
"am-icon-angle-right"
></i>
</li>
<li
class=
"am-text-truncate {{if isset($new_aftersale_data['status']) and $new_aftersale_data['status'] elt
2
and $new_aftersale_data['status'] egt 0}} selected{{/if}} {{if isset($new_aftersale_data['status']) and $new_aftersale_data['status'] eq 0}} selected-end{{/if}}"
>
<li
class=
"am-text-truncate {{if isset($new_aftersale_data['status']) and $new_aftersale_data['status'] elt
3
and $new_aftersale_data['status'] egt 0}} selected{{/if}} {{if isset($new_aftersale_data['status']) and $new_aftersale_data['status'] eq 0}} selected-end{{/if}}"
>
<span
class=
"number"
>
2
</span>
<span
class=
"text"
>
管理员确认
</span>
{{if isset($new_aftersale_data['status']) and $new_aftersale_data['status'] elt 2 and $new_aftersale_data['status'] egt 0}}
...
...
public/static/index/default/css/orderaftersale.aftersale.css
浏览文件 @
b0b94e16
...
...
@@ -164,4 +164,30 @@
*/
form
.form-validation
.number-container
.am-input-group-label
{
cursor
:
pointer
;
}
/**
* 详情信息
*/
@media
only
screen
and
(
min-width
:
460px
)
{
.user-content-body
.apply-container
{
padding-left
:
0
;
padding-right
:
10px
;
}
.user-content-body
.express-container
,
.user-content-body
.voucher-container
{
padding-left
:
10px
;
padding-right
:
0
;
}
}
@media
only
screen
and
(
max-width
:
460px
)
{
.user-content-body
.detail
.am-u-md-6
{
padding
:
0
;
}
}
.user-content-body
.detail
.am-u-md-6
.am-panel
{
box-shadow
:
none
;
-webkit-box-shadow
:
none
;
}
.user-content-body
.detail
.am-u-md-6
.am-panel-bd
{
padding
:
10px
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录