Commit 62c0300e by 赵雅纹

退货物流信息

parent ab0ab7b3
<!--component/applyRefund/applyRefund.wxml--> <!--component/applyRefund/applyRefund.wxml-->
<view class="modal-container{{show ? ' active' : ''}}" bindtap="hidePopup"></view> <view class="modal-container" bindtap="hidePopup" wx:if="{{show}}"></view>
<view class="modal-content{{show ? ' active' : ''}}"> <view class="modal-content" wx:if="{{show}}">
<view class="modal-header"> <view class="modal-header">
<image class="modal-close" mode="widthFix" src="/assets/imgs/7_1_0/close.png" bindtap="hidePopup"></image> <image class="modal-close" mode="widthFix" src="/assets/imgs/7_1_0/close.png" bindtap="hidePopup"></image>
</view> </view>
...@@ -9,13 +8,17 @@ ...@@ -9,13 +8,17 @@
<view class="modal-info"> <view class="modal-info">
<view class="modal-logistics"> <view class="modal-logistics">
<view> <view>
<picker></picker> <picker bindchange="bindSelectRefundReason" value="{{reasonIndex}}" range="{{reasonList}}" range-key="name" class="modal-picker">
<view class="picker">
当前选择:{{reasonList[reasonIndex].name}}
</view>
</picker>
</view> </view>
<view> <view class="modal-logis-number">
<input placeholder-class="modal-placeholder" class="modal-input" placeholder="填写物流单号"></input> <input placeholder-class="modal-placeholder" class="modal-input" placeholder="填写物流单号"></input>
</view> </view>
</view> </view>
<view> <view class="modal-confirm-btn">
<button class="btn btn-primary btn-lg">确认</button> <button class="btn btn-primary btn-lg">确认</button>
</view> </view>
</view> </view>
......
...@@ -7,33 +7,18 @@ ...@@ -7,33 +7,18 @@
top: 0; top: 0;
left: 0; left: 0;
background: rgba(0, 0, 0, 0.5); background: rgba(0, 0, 0, 0.5);
/* transform: translateZ(100%); */
opacity: 0;
transition: opacity 200ms;
z-index: 98; z-index: 98;
} }
.modal-container.active {
opacity: 1;
/* transform: translateZ(0); */
}
.modal-content.active {
opacity: 1;
/* transform: translateZ(0); */
}
.modal-content { .modal-content {
position: fixed; position: fixed;
z-index: 99; z-index: 99;
bottom: 30%; bottom: 30%;
left: 65rpx; left: 65rpx;
background: #ffffff; background: #ffffff;
transition: transform 300ms;
/* transform: translateZ(100%); */
height: 620rpx; height: 620rpx;
width: 620rpx; width: 620rpx;
opacity: 0;
border-radius: 15rpx; border-radius: 15rpx;
} }
...@@ -45,15 +30,31 @@ ...@@ -45,15 +30,31 @@
} }
.modal-info{ .modal-info{
padding: 0 40rpx; padding: 60rpx 40rpx;
margin-top: 95rpx; margin-top: 95rpx;
} }
.modal-input{ .modal-input,.modal-picker{
border-radius: 5rpx; border-radius: 5rpx;
border: 1px solid rgba(170, 170, 170, 1); border: 1px solid rgba(170, 170, 170, 1);
height: 78rpx; height: 78rpx;
line-height: 78rpx;
padding: 0 20rpx; padding: 0 20rpx;
} }
.modal-placeholder{ .modal-placeholder,.picker{
color: #999999; color: #999999;
} }
\ No newline at end of file .modal-logis-number{
margin-top: 43rpx;
}
.modal-confirm-btn{
margin-top: 79rpx;
}
.modal-confirm-btn button{
width: 416rpx;
border-radius: 15rpx;
background-color: rgba(255, 51, 51, 1);
box-shadow: 0px 2rpx 9rpx 0px rgba(255, 51, 51, 0.6);
border: none;
margin: 0 auto;
font-size: 36rpx;
}
...@@ -5,8 +5,7 @@ Page({ ...@@ -5,8 +5,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
showApplyRefundModal:true showApplyRefundModal:false
}, },
/** /**
...@@ -24,8 +23,6 @@ Page({ ...@@ -24,8 +23,6 @@ Page({
}, },
copy(e){ copy(e){
console.log(e)
console.log('1111')
wx.setClipboardData({ wx.setClipboardData({
//准备复制的数据 //准备复制的数据
data: e.currentTarget.dataset.content, data: e.currentTarget.dataset.content,
...@@ -40,6 +37,9 @@ Page({ ...@@ -40,6 +37,9 @@ Page({
//填写物流信息 //填写物流信息
tapWriteLogis(){ tapWriteLogis(){
console.log('222')
this.setData({
showApplyRefundModal: true
})
} }
}) })
\ No newline at end of file
...@@ -20,7 +20,6 @@ ...@@ -20,7 +20,6 @@
</view> </view>
<view class="write-logistics" bindtap="tapWriteLogis"> <view class="write-logistics" bindtap="tapWriteLogis">
<button class="btn btn-primary btn-outline write-btn">填写物流信息</button> <button class="btn btn-primary btn-outline write-btn">填写物流信息</button>
</view> </view>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment