Commit 279a1408 by 李伟康

Merge branch 'v1.0.1' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.1

2 parents 1b6f3861 ef18eef2
......@@ -50,4 +50,12 @@ module.exports = {
...data
});
},
// 历史订单列表
getQuotationList(data) {
return http.post({
method: 'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page',
projectName: 'boutique',
...data
})
}
};
......@@ -4,26 +4,24 @@
},
"pages": [
{
"path": "pages/informationEntry/informationEntry",
"path": "pages/common/login",
"style": {
"navigationBarTitleText": "信息录入",
"enablePullDownRefresh": false
"navigationStyle": "custom"
}
},
{
"path": "pages/common/login",
"path": "pages/home/home",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/home/home",
"path": "pages/informationEntry/informationEntry",
"style": {
"navigationStyle": "custom"
"navigationBarTitleText": "信息录入",
"enablePullDownRefresh": false
}
},
{
"path": "pages/detail/detail",
"style": {
......
<template>
<view class="layout">
<view class="bg">
<glsx-image src="media/bg-6.png" />
</view>
<view class="content">
<view class="title">历史成交记录</view>
<Tabs :list="list" />
</view>
</view>
</template>
<script type='text/ecmascript-6'>
import Tabs from './Tabs.vue';
export default {
name: 'History',
props: {
},
component: {Tabs},
data () {
return {
list: [
]
}
},
mounted () {
const { merchantId } = uni.$storage.get("userInfo");
console.log(this.userInfo, '==========');
this.getQuotationList(merchantId);
},
methods: {
async getQuotationList(merchantId) {
const data = await uni.$api.commonApi.getQuotationList({
currentPage: 1,
pageSize: 10,
merchantId: 421127,
orderStatus: 3
})
console.log(data, '============')
}
}
}
</script>
<style scoped lang='scss'>
.layout {
padding-top: 272rpx;
position: relative;
.bg {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 864rpx;
background-color: #096;
}
.content {
border-radius: 40rpx 40rpx 0 0;
background: linear-gradient(180deg, #f7f9fc 0%, #f7f9fc 100%);
overflow: hidden;
position: relative;
z-index: 1;
.title {
font-weight: 500;
font-size: 48rpx;
color: #1a1a1a;
padding: 32rpx 0;
text-align: center;
}
.form{
display: flex;
flex-wrap: wrap;
gap: 28rpx 0;
&-item{
flex: 50%;
display: flex;
align-items: center;
.value{}
}
}
}
}
</style>
\ No newline at end of file
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @LastEditors: huyue
* @LastEditTime: 2024-04-08 20:43:15
* @LastEditTime: 2024-04-09 14:48:03
-->
<template>
<view class="detail-box">
......
......@@ -2,8 +2,8 @@
* @Description: 首页
* @Author: huyue
* @Date: 2024-04-07 14:39:40
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-04-09 14:37:11
* @LastEditors: huyue
* @LastEditTime: 2024-04-09 14:48:46
-->
<template>
<view class="container">
......@@ -92,7 +92,7 @@ export default {
id: "",
};
},
onLoad(options) {
mounted() {
this.userInfo = uni.$storage.get("userInfo");
this.getSoure();
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!