11
This commit is contained in:
parent
79386c7a37
commit
3841324307
|
@ -20,8 +20,8 @@ const install = (Vue, vm) => {
|
|||
// },
|
||||
// });
|
||||
Vue.prototype.$u.http.setConfig({
|
||||
// baseUrl: 'http://61.174.243.28:15861',
|
||||
baseUrl: 'http://192.168.2.6:8080',
|
||||
baseUrl: 'http://61.174.243.28:15861',
|
||||
// baseUrl: 'http://192.168.2.6:8080',
|
||||
// baseUrl: 'https://dianche.chuantewulian.cn/prod-api',
|
||||
loadingText: '努力加载中~',
|
||||
loadingTime: 800,
|
||||
|
|
|
@ -6,41 +6,48 @@
|
|||
|
||||
<view class="userinfo_li">
|
||||
|
||||
<span>13360338978</span>
|
||||
<view class="stause">
|
||||
<span>{{info.phonenumber}}</span>
|
||||
<view class="stause" v-if="info.status==0">
|
||||
正常
|
||||
</view>
|
||||
<view class="stause" v-if="info.status==1" style="background: rgba(247,109,109,0.502);border: 2rpx solid #FF4444;color: #FF4444;">
|
||||
停用
|
||||
</view>
|
||||
</view>
|
||||
<view class="userinfo_li">
|
||||
注册日期:
|
||||
<span>2024-04-22 15:22:58</span>
|
||||
<span>{{info.createTime}}</span>
|
||||
|
||||
</view>
|
||||
<view class="userinfo_li">
|
||||
最后一笔订单:
|
||||
<span style="color: #4C97E7;">1123596(已完成)</span>
|
||||
|
||||
<view class="txt">最近一笔订单:{{info.latestOrder.orderNo}}</view>
|
||||
<span style="color:green;" v-if="info.latestOrder.status==0||info.latestOrder.status==2">(进行中)</span>
|
||||
<span style="color:#ccc ;" v-if="info.latestOrder.status==1||info.latestOrder.status==3">(待支付)</span>
|
||||
<span style="color:#4C97E7 ;" v-if="info.latestOrder.status==4">(已完成)</span>
|
||||
</view>
|
||||
</view>
|
||||
<view class="yj_info">
|
||||
<view class="yjleft">
|
||||
<image src="" mode=""></image>
|
||||
<image src="https://lxnapi.ccttiot.com/bike/img/static/ursesIB2IWmud9SPHEXU" mode=""></image>
|
||||
押金
|
||||
</view>
|
||||
<view class="yjright">
|
||||
<view class="stause">
|
||||
<view class="stause" v-if="info.balance==0">
|
||||
未充值
|
||||
</view>
|
||||
¥0.00
|
||||
<view class="stause" v-if="info.balance!=0" style="border: 2rpx solid #12D2AC;background: #E9F6F3;color: #12D2AC;">
|
||||
已充值
|
||||
</view>
|
||||
¥{{info.balance}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="tit">
|
||||
押金明细
|
||||
</view>
|
||||
|
||||
<view class="info_card" style="margin-top: 20rpx;">
|
||||
<view class="info_card" style="margin-top: 20rpx;" v-for="(item,index) in orderList" :key="index">
|
||||
<view class="info_tit">
|
||||
退款
|
||||
|
||||
<view class="tit_right">
|
||||
<!-- <view class="yuan"></view> -->
|
||||
-¥1.00
|
||||
|
@ -49,12 +56,12 @@
|
|||
<view class="lines"></view>
|
||||
<view class="cont">
|
||||
<view class="info_li">
|
||||
支付时间:<span >2024-04-29 13:45:06</span>
|
||||
支付时间:<span >>{{item.createTime}}</span>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="info_li">
|
||||
订单编号:<span>12687498651287123854</span>
|
||||
订单编号:<span>{{item.orderNo}}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -70,13 +77,44 @@
|
|||
bgc: {
|
||||
backgroundColor: "#fff",
|
||||
},
|
||||
|
||||
id:'',
|
||||
info:{},
|
||||
orderList:[]
|
||||
}
|
||||
},
|
||||
onLoad(e) {
|
||||
|
||||
this.id=e.id
|
||||
this.getSearch()
|
||||
this.getlist()
|
||||
},
|
||||
methods: {
|
||||
getlist() {
|
||||
this.$u.get("/appVerify/order/list?type=2&userId="+this.id).then((res) => {
|
||||
|
||||
if (res.code == 200) {
|
||||
this.orderList=res.rows
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
getSearch(){
|
||||
let data={
|
||||
userId:this.id,
|
||||
|
||||
}
|
||||
this.$u.get(`/getAppInfo?`, data).then((res) => {
|
||||
if (res.code == 200) {
|
||||
this.info=res.user
|
||||
|
||||
} else {
|
||||
// 处理接口返回错误的情况
|
||||
}
|
||||
}).catch(error => {
|
||||
// 处理接口请求失败的情况
|
||||
});
|
||||
},
|
||||
confirm1(e) {
|
||||
console.log(e, 'eeeeeeee');
|
||||
this.firsTime = e.year + '-' + e.month + '-' + e.day
|
||||
|
@ -164,6 +202,14 @@
|
|||
span{
|
||||
color: #3D3D3D;
|
||||
}
|
||||
.txt{
|
||||
width: 70%;
|
||||
white-space: nowrap;
|
||||
/* 禁止换行 */
|
||||
overflow: hidden;
|
||||
/* 超出部分隐藏 */
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.stause{
|
||||
margin-left: 18rpx;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in New Issue
Block a user