a
This commit is contained in:
parent
0d4530e162
commit
dbe16b4dee
@ -19,8 +19,8 @@ switch (env) {
|
|||||||
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
httpApiTwo = 'https://preview-logistics.lihaink.cn' //预上线
|
||||||
break;
|
break;
|
||||||
case 'local':
|
case 'local':
|
||||||
httpApi = 'http://192.168.1.25:8083' //预上线
|
httpApi = 'http://192.168.1.23:8083' //预上线
|
||||||
httpApiThree = 'http://192.168.1.25:8083' //预上线
|
httpApiThree = 'http://192.168.1.23:8083' //预上线
|
||||||
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
httpApiTwo = 'https://ceshi-logistics.lihaink.cn' //测试环境
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "首笔消费金额",
|
"navigationBarTitleText": "首笔消费金额",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#0122C7",
|
"navigationBarBackgroundColor": "#2B63E3",
|
||||||
"navigationBarTextStyle": "white"
|
"navigationBarTextStyle": "white"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="card">
|
<!-- <view class="card">
|
||||||
|
|
||||||
<view class="li" v-for="item,index in orderList.lists" :key='index'>
|
<view class="li" v-for="item,index in orderList.lists" :key='index'>
|
||||||
<view class="">
|
<view class="">
|
||||||
订单编号: {{item.order_no}}
|
订单编号: {{item.order_no}}
|
||||||
@ -9,6 +8,66 @@
|
|||||||
订单金额: <text style="color: #FF4141;">{{item.order_money}}</text>
|
订单金额: <text style="color: #FF4141;">{{item.order_money}}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view> -->
|
||||||
|
<view class="">
|
||||||
|
<view class="head">
|
||||||
|
|
||||||
|
<view class="money">
|
||||||
|
总资产(元)
|
||||||
|
<view class="" style="margin-top: 35rpx;font-size: 35rpx;">
|
||||||
|
¥ {{money.toLocaleString('zh-CN')}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="cont" v-if='show'>
|
||||||
|
<view class="tit">
|
||||||
|
订单明细
|
||||||
|
</view>
|
||||||
|
<view class="card" v-for="(item,index) in orderList" :key='index'>
|
||||||
|
<view class="card-top">
|
||||||
|
<view class="">
|
||||||
|
{{item.create_time}}
|
||||||
|
</view>
|
||||||
|
<view class="" style="color: #6A92EB;">
|
||||||
|
交易成功
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="card-bottom" style="margin-top: 30rpx;">
|
||||||
|
<view class="order_detail">
|
||||||
|
<view class="content" style="display: flex;justify-content: space-between;">
|
||||||
|
<view class="" v-if="item.order_info" style="display: flex;align-items: center;">
|
||||||
|
<u--image :showLoading="true" width="70rpx" height="70rpx"
|
||||||
|
:src="item.order_info.image"></u--image>
|
||||||
|
<view class="" style="margin-left: 20rpx;">
|
||||||
|
{{item.order_info.store_name}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="">
|
||||||
|
¥{{item.order_money}}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
<view class="">
|
||||||
|
订单编号:{{item.order_no}}
|
||||||
|
</view>
|
||||||
|
<!-- <view class="tit" style="font-size: 28rpx;">
|
||||||
|
{{item.order_no}}
|
||||||
|
</view>
|
||||||
|
<view class="">
|
||||||
|
¥{{item.order_money}}
|
||||||
|
</view> -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -23,20 +82,33 @@
|
|||||||
flag: false,
|
flag: false,
|
||||||
status: "",
|
status: "",
|
||||||
page_no: 0,
|
page_no: 0,
|
||||||
page_size: 20
|
page_size: 20,
|
||||||
|
money: "",
|
||||||
|
show: true,
|
||||||
|
list: [],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getFirstOrderLogList() {
|
async getFirstOrderLogList() {
|
||||||
let res = await getFirstOrderLog()
|
let res = await getFirstOrderLog()
|
||||||
console.log(res)
|
// for (let key in res.data.lists) {
|
||||||
this.orderList = res.data
|
// this.orderList.push(res.data.lists[key])
|
||||||
|
// }
|
||||||
|
this.orderList = res.data.lists
|
||||||
|
console.log(this.orderList)
|
||||||
|
// res.data.lists.forEach(item => {
|
||||||
|
// console.log(item)
|
||||||
|
// })
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
onLoad(option) {
|
||||||
this.getFirstOrderLogList()
|
this.getFirstOrderLogList()
|
||||||
},
|
this.money = Number(option.money)
|
||||||
|
// setTimeout(() => {
|
||||||
|
// this.show = true
|
||||||
|
// }, 3000)
|
||||||
|
}
|
||||||
// onReachBottom() {
|
// onReachBottom() {
|
||||||
// if (this.flag) return
|
// if (this.flag) return
|
||||||
// let {
|
// let {
|
||||||
@ -63,17 +135,81 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.card {
|
page {
|
||||||
width: 690rpx;
|
background-color: #F9FBFF;
|
||||||
margin: 30rpx auto;
|
}
|
||||||
background-color: #fff;
|
|
||||||
padding: 20rpx;
|
|
||||||
border-radius: 29rpx;
|
|
||||||
|
|
||||||
.li {
|
.head {
|
||||||
margin: 20rpx;
|
width: 750rpx;
|
||||||
font-size: 28rpx;
|
background-color: #2B63E3;
|
||||||
|
height: 200rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
.money {
|
||||||
|
width: 670rpx;
|
||||||
|
background-color: rgba(255, 255, 255, .2);
|
||||||
|
box-shadow: 0.5rpx 0.5rpx 200rpx 0.5rpx rgba(0, 0, 0, 0.1);
|
||||||
|
height: 220rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
position: absolute;
|
||||||
|
left: 50%;
|
||||||
|
top: 100%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
backdrop-filter: blur(50rpx);
|
||||||
|
color: white;
|
||||||
|
padding: 20rpx;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cont {
|
||||||
|
// width: 690rpx;
|
||||||
|
margin: 120rpx auto;
|
||||||
|
padding: 20rpx;
|
||||||
|
|
||||||
|
.tit {
|
||||||
|
position: relative;
|
||||||
|
padding-left: 20rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #1A1A1A;
|
||||||
|
font-weight: bold;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.tit::before {
|
||||||
|
content: "";
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
left: 0;
|
||||||
|
width: 6rpx;
|
||||||
|
/* 左边框的宽度 */
|
||||||
|
height: 25rpx;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
background-color: #2B63E3;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card {
|
||||||
|
background-color: #fff;
|
||||||
|
padding: 20rpx;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
box-shadow: 0.5rpx 0.5rpx 200rpx 0.5rpx rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
|
.card-top {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.content {
|
||||||
|
width: 100%;
|
||||||
|
padding: 20rpx;
|
||||||
|
background-color: #F5F5F5;
|
||||||
|
height: 80rpx;
|
||||||
|
align-items: center;
|
||||||
|
margin: 10rpx 0;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
@ -102,6 +102,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
page {
|
||||||
|
background-color: #F9FBFF;
|
||||||
|
}
|
||||||
|
|
||||||
.head {
|
.head {
|
||||||
width: 750rpx;
|
width: 750rpx;
|
||||||
background-color: #2B63E3;
|
background-color: #2B63E3;
|
||||||
|
@ -106,7 +106,7 @@
|
|||||||
<view class="code-img">
|
<view class="code-img">
|
||||||
<view class="" style="margin: 0 auto;width: 440rpx;">
|
<view class="" style="margin: 0 auto;width: 440rpx;">
|
||||||
<uqrcode ref="uqrcode" canvas-id="qrcode"
|
<uqrcode ref="uqrcode" canvas-id="qrcode"
|
||||||
:value="`https://shop.lihaink.cn/download/index.html?code=${myOaInfo.invite_code}`"
|
:value="`https://crmeb-test.shop.lihaink.cn/download/index.html?code=${myOaInfo.invite_code}`"
|
||||||
:size=440 sizeUnit='rpx'>
|
:size=440 sizeUnit='rpx'>
|
||||||
</uqrcode>
|
</uqrcode>
|
||||||
</view>
|
</view>
|
||||||
@ -308,7 +308,7 @@
|
|||||||
unit: "¥",
|
unit: "¥",
|
||||||
event: () => {
|
event: () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/oaHome/FirstOrderLog'
|
url: `/pages/oaHome/FirstOrderLog?money=${this.myOaInfo.trade_amount}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -371,7 +371,7 @@
|
|||||||
id: "",
|
id: "",
|
||||||
is_captain: 0,
|
is_captain: 0,
|
||||||
notArr: [],
|
notArr: [],
|
||||||
orderList: [1],
|
orderList: [],
|
||||||
oaHomeData: [],
|
oaHomeData: [],
|
||||||
taskList: [],
|
taskList: [],
|
||||||
// src: "https://cdn.uviewui.com/uview/album/1.jpg",
|
// src: "https://cdn.uviewui.com/uview/album/1.jpg",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user