Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
1111a41a
You need to sign in or sign up before continuing.
Commit
1111a41a
authored
May 13, 2020
by
谢中龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改退单
parent
a3325348
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
93 additions
and
29 deletions
+93
-29
applyRefund.wxss
src/component/applyRefund/applyRefund.wxss
+7
-5
refundDetail.wxml
src/pages/refundDetail/refundDetail.wxml
+22
-22
refundDetail.wxss
src/pages/refundDetail/refundDetail.wxss
+63
-1
project.config.json
src/project.config.json
+1
-1
No files found.
src/component/applyRefund/applyRefund.wxss
View file @
1111a41a
...
...
@@ -50,11 +50,13 @@
margin-top: 79rpx;
}
.modal-confirm-btn button{
width: 4
16
rpx;
border-radius: 1
5
rpx;
background-color:
rgba(255, 51, 51, 1
);
box-shadow: 0px 2rpx 9rpx 0px rgba(255, 51, 51, 0.6);
width: 4
20
rpx;
border-radius: 1
0
rpx;
background-color:
var(--themecolor
);
/* box-shadow: 0px 2rpx 9rpx 0px rgba(255, 51, 51, 0.6); */
border: none;
margin: 0 auto;
font-size: 36rpx;
font-size: 32rpx;
height: 80rpx;
line-height: 80rpx;
}
src/pages/refundDetail/refundDetail.wxml
View file @
1111a41a
...
...
@@ -72,10 +72,25 @@
</view>
</block>
</view>
<!-- 寄回提示 -->
<view class="warn-tips" wx:if="{{openRefundTips}}">
<view class="header">请将退货商品,邮寄到以下地址:</view>
<view class="tips-content gray-bg">
<view class="tips-content-item flex-item">
<label>收货人:{{refundDetail.refundLogistic.receiverName}}</label>
<label>{{refundDetail.refundLogistic.receiverPhone}}</label>
</view>
<view class="tips-content-item">
<!-- <label>地址:{{refundDetail.refundLogistic.receiverAddress}}</label> -->
<label>地址:{{refundDetail.refundLogistic.receiverAddress}}
<view class="copy" wx:if="{{refundDetail.refundLogistic.receiverAddress}}" bindtap="copy" data-content="{{refundDetail.refundLogistic.receiverAddress}}">复制</view>
</label>
</view>
</view>
</view>
<!-- 温馨提示 -->
<view class="warn-tips" wx:if="{{openRefundTips}}">
<view class="header">退货须知</view>
<view class="header">退货须知
:
</view>
<view class="tips-content">
{{refundTips}}
</view>
...
...
@@ -99,7 +114,7 @@
<text class="refund-desc">{{refundDetail.tradeId}}</text>
</view>
<view class="refund-item">
<
!-- <
view class="refund-item">
<text class="refund-label">寄回收件人</text>
<text class="refund-desc" selectable="true">{{refundDetail.refundLogistic.receiverName}}</text>
</view>
...
...
@@ -111,38 +126,23 @@
<text class="refund-label">寄回地址</text>
<text class="refund-desc" selectable="true">{{refundDetail.refundLogistic.receiverAddress}}</text>
<view class="copy" wx:if="{{refundDetail.refundLogistic.receiverAddress}}" bindtap="copy" data-content="{{refundDetail.refundLogistic.receiverAddress}}">复制</view>
</view>
</view>
-->
<view class="refund-item">
<text class="refund-label">退货凭证</text>
<view class="refund-certificate">
<view class="refund-img" wx:for="{{refundDetail.proofImgUrls}}" wx:key="{{index}}">
<image src="{{utils.formateUrl(item,baseImgUrl)}}" />
</view>
<!-- <view class="refund-img">
<image src="/assets/imgs/7_1_0/address-line.png" />
</view>
<view class="refund-img">
<image src="/assets/imgs/7_1_0/address-line.png" />
</view>
<view class="refund-img">
<image src="/assets/imgs/7_1_0/address-line.png" />
</view>
<view class="refund-img">
<image src="/assets/imgs/7_1_0/address-line.png" />
</view> -->
</view>
</view>
</view>
<view class="cancel" wx-if="{{refundDetail.status == 'A'}}">
<button class="btn btn-primary btn-lg" bindtap="handelRevokeRefund">取消退款</button>
<view class="cancel box" wx-if="{{refundDetail.status == 'A' || refundDetail.status == 'N'}}">
<button class="btn btn-primary return-goods" wx:if="{{refundDetail.status == 'A'}}" bindtap="tapWriteLogis">退货寄回</button>
<button class="btn btn-primary btn-lg" bindtap="handelRevokeRefund">撤销退款</button>
</view>
</view>
<apply-refund show="{{showApplyRefundModal}}" refundId="{{refundId}}" bind:ok="onDeliveryOk"/>
<!--goHome-->
<go-home/>
<floatNav bind:getAuth="_getUserInfo" bind:updatePage="updatePage"/>
...
...
src/pages/refundDetail/refundDetail.wxss
View file @
1111a41a
...
...
@@ -172,11 +172,45 @@ page{
height: 129rpx;
border-radius: 5rpx;
}
.box{
box-sizing: border-box;
-webkit-box-sizing: border-box;
}
.cancel{
position: fixed;
bottom: 0;
left: 0;
width: 750rpx;
width: 100vw;
display: flex;
justify-content: flex-end;
padding: 10rpx 20rpx;
align-items: center;
background: #ffffff;
z-index: 1;
border-top: solid 1rpx #dddddd;
}
.cancel button{
width: 140rpx;
height: 60rpx;
display: flex;
align-items: center;
justify-content: center;
border-radius: 5rpx;
}
.cancel button:active{
opacity: 0.8;
}
.cancel button.return-goods{
background: #f2f2f2;
color: #333333;
margin-right: 30rpx;
border: solid 2rpx #dddddd;
}
.warn-tips{
...
...
@@ -199,3 +233,30 @@ page{
letter-spacing: 2rpx;
line-height: 30rpx;
}
.tips-content .tips-content-item{
display: flex;
align-items: center;
margin-bottom: 20rpx;
font-size: 24rpx;
color: #999999;
border-radius: 4rpx;
letter-spacing: 0;
line-height: 36rpx;
}
.tips-content .tips-content-item:last-child{
margin-bottom: 0;
}
.tips-content .tips-content-item.flex-item{
display: flex;
align-items: center;
justify-content: space-between;
}
.tips-content.gray-bg{
background: #eeeeee;
padding: 20rpx;
margin-top: 10rpx;
}
\ No newline at end of file
src/project.config.json
View file @
1111a41a
...
...
@@ -192,7 +192,7 @@
"id"
:
22
,
"name"
:
"退单详情"
,
"pathName"
:
"pages/refundDetail/refundDetail"
,
"query"
:
"id=
626842713396088832
"
,
"query"
:
"id=
710106668792418304
"
,
"scene"
:
null
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment