This commit is contained in:
Gdpao 2020-09-18 14:22:31 +08:00
parent a1d9339948
commit 2d7922ff96
4 changed files with 31 additions and 17 deletions

View File

@ -16,19 +16,19 @@
</view> </view>
</view> </view>
<u-radio-group class="box" v-model="value" v-if="type>3"> <u-radio-group class="box" v-model="value" v-if="type>3">
<view class="goods-info" v-for="list in info.refund_list"> <view class="goods-info" v-for="list in info.goods_list">
<image :src="list.goods_image"></image> <image :src="list.image_480_url"></image>
<view class="info-right"> <view class="info-right">
<view class="name u-line-1">{{ list.goods_name }}</view> <view class="name u-line-1">{{ list.goods_name }}</view>
<view class="info"> <view class="info">
<view class="num">{{ list.goods_num }}件商品</view> <view class="num">{{ list.goods_num }}件商品</view>
<view class="price"> <view class="price">
实付 实付
<span>{{ list.refund_amount }}</span> <span>{{ list.goods_pay_price }}</span>
</view> </view>
</view> </view>
</view> </view>
<u-radio :name="list.refund_id" v-if="type==4" shape="circle" @change="radioGroupChange"> <!-- <u-radio :name="list.refund_id" v-if="type==4" shape="circle" @change="radioGroupChange"> -->
</u-radio > </u-radio >
</view> </view>
</u-radio-group> </u-radio-group>
@ -408,14 +408,15 @@ export default {
// //
confirm() { confirm() {
this.showRefunds = false; this.showRefunds = false;
if (!this.refundid) { // if (!this.refundid) {
this.$refs.uToast.show({ // this.$refs.uToast.show({
title: "请选择商品", // title: "",
type: "warning" // type: "warning"
}); // });
return; // return;
} // }
if (this.cur == 0) { if (this.cur == 0) {
console.log(this.refundid);
// 退 // 退
this.$u.api.refund({ this.$u.api.refund({
refund_id: this.refundid, refund_id: this.refundid,
@ -593,6 +594,8 @@ export default {
// //
this.mineBy_img = res.data.extend_order_common.sendimg; // this.mineBy_img = res.data.extend_order_common.sendimg; //
this.mineBy_text = res.data.extend_order_common.deliver_explain; // this.mineBy_text = res.data.extend_order_common.deliver_explain; //
// 退id
this.refundid = res.data.refund_list[0].refund_id;
// console.log(this.invoiceList,this.is_invoice,this.invoice_type); // console.log(this.invoiceList,this.is_invoice,this.invoice_type);
} }
}); });

View File

@ -20,7 +20,7 @@
<view class="" v-if="state==0"> <view class="" v-if="state==0">
<view class="labales"> <view class="labales">
<image src="../../static/image/login/login(3).png"></image> <image src="../../static/image/login/login(3).png"></image>
<input v-model="zhanghao" type="text" placeholder="请输入账号" /> <input v-model="zhanghao" type="text" @blur="getBlurVal" placeholder="请输入账号" />
</view> </view>
<view class="labales"> <view class="labales">
<image src="../../static/image/login/login(1).png"></image> <image src="../../static/image/login/login(1).png"></image>
@ -30,7 +30,7 @@
<view class="" v-else-if="state==1"> <view class="" v-else-if="state==1">
<view class="labales"> <view class="labales">
<image src="../../static/image/login/login(3).png"></image> <image src="../../static/image/login/login(3).png"></image>
<input v-model="zhanghaoA" type="text" placeholder="请输入账号" /> <input v-model="zhanghaoA" type="text" @blur="getBlurVal1" placeholder="请输入账号" />
</view> </view>
<view class="labales"> <view class="labales">
<image src="../../static/image/login/login(1).png"></image> <image src="../../static/image/login/login(1).png"></image>
@ -128,6 +128,15 @@ export default {
} }
}) })
}, },
//
getBlurVal(e) {
// console.log(e.detail.value);
this.zhanghao = this.$u.trim(e.detail.value,"all");
},
getBlurVal1(e) {
this.zhanghaoA = this.$u.trim(e.detail.value,"all");
// console.log(this.$u.trim(this.zhanghaoA));
},
logins() { logins() {
// //
// console.log(this.zhanghao); // console.log(this.zhanghao);

View File

@ -6,7 +6,7 @@
<view class="name"> <view class="name">
<text>{{info.member_nickname==null?"新用户":info.member_nickname}}</text> <text>{{info.member_nickname==null?"新用户":info.member_nickname}}</text>
<text>账号{{info.member_name}}</text> <text>账号{{info.member_name}}</text>
<text>个性签名{{info.signature==""?"该用户很懒没有签名!":info.signature}}</text> <text class="u-line-2">个性签名{{info.signature==""?"该用户很懒没有签名!":info.signature}}</text>
</view> </view>
</view> </view>
<image src="/static/image/user/1.png"></image> <image src="/static/image/user/1.png"></image>
@ -160,6 +160,7 @@ export default {
align-items: center; align-items: center;
>image{ >image{
flex-shrink: 0;
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
border-radius: 50%; border-radius: 50%;

View File

@ -6,7 +6,7 @@
<view class="name"> <view class="name">
<text>{{info.member_nickname==null?"新用户":info.member_nickname}}</text> <text>{{info.member_nickname==null?"新用户":info.member_nickname}}</text>
<text>账号{{info.member_name}}</text> <text>账号{{info.member_name}}</text>
<text>个性签名{{info.signature==""?"该用户很懒没有签名!":info.signature}}</text> <text class="u-line-2">个性签名{{info.signature==""?"该用户很懒没有签名!":info.signature}}</text>
</view> </view>
</view> </view>
<image src="/static/image/user/1.png"></image> <image src="/static/image/user/1.png"></image>
@ -278,6 +278,7 @@ export default {
align-items: center; align-items: center;
>image{ >image{
flex-shrink: 0;
width: 110rpx; width: 110rpx;
height: 110rpx; height: 110rpx;
border-radius: 50%; border-radius: 50%;