Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d112cf4b
authored
Apr 09, 2024
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
b394797c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
106 additions
and
13 deletions
api/module/common.js
pages.json
pages/detail/components/History.vue
pages/detail/detail.vue
pages/home/home.vue
api/module/common.js
View file @
d112cf4
...
@@ -50,4 +50,12 @@ module.exports = {
...
@@ -50,4 +50,12 @@ module.exports = {
...
data
...
data
});
});
},
},
// 历史订单列表
getQuotationList
(
data
)
{
return
http
.
post
({
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.quotation.page'
,
projectName
:
'boutique'
,
...
data
})
}
};
};
pages.json
View file @
d112cf4
...
@@ -4,26 +4,24 @@
...
@@ -4,26 +4,24 @@
},
},
"pages"
:
[
"pages"
:
[
{
{
"path"
:
"pages/
informationEntry/informationEntry
"
,
"path"
:
"pages/
common/login
"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"信息录入"
,
"navigationStyle"
:
"custom"
"enablePullDownRefresh"
:
false
}
}
},
},
{
{
"path"
:
"pages/
common/login
"
,
"path"
:
"pages/
home/home
"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
}
}
},
},
{
{
"path"
:
"pages/
home/home
"
,
"path"
:
"pages/
informationEntry/informationEntry
"
,
"style"
:
{
"style"
:
{
"navigationStyle"
:
"custom"
"navigationBarTitleText"
:
"信息录入"
,
"enablePullDownRefresh"
:
false
}
}
},
},
{
{
"path"
:
"pages/detail/detail"
,
"path"
:
"pages/detail/detail"
,
"style"
:
{
"style"
:
{
...
...
pages/detail/components/History.vue
0 → 100644
View file @
d112cf4
<
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
:
272
rpx
;
position
:
relative
;
.bg
{
position
:
absolute
;
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
864
rpx
;
background-color
:
#096
;
}
.content
{
border-radius
:
40
rpx
40
rpx
0
0
;
background
:
linear-gradient
(
180deg
,
#f7f9fc
0%
,
#f7f9fc
100%
);
overflow
:
hidden
;
position
:
relative
;
z-index
:
1
;
.title
{
font-weight
:
500
;
font-size
:
48
rpx
;
color
:
#1a1a1a
;
padding
:
32
rpx
0
;
text-align
:
center
;
}
.form
{
display
:
flex
;
flex-wrap
:
wrap
;
gap
:
28
rpx
0
;
&-item{
flex
:
50%
;
display
:
flex
;
align-items
:
center
;
.value{
}
}
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
pages/detail/detail.vue
View file @
d112cf4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-08 11:30:30
* @Date: 2024-04-08 11:30:30
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-04-0
8 20:43:15
* @LastEditTime: 2024-04-0
9 14:15:11
-->
-->
<
template
>
<
template
>
<view
class=
"detail-box"
>
<view
class=
"detail-box"
>
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
@
choose=
"choose"
@
choose=
"choose"
@
finish=
"open"
@
finish=
"open"
/>
/>
<media
_1
:views=
"mediaList"
/>
<!--
<media
_1
:views=
"mediaList"
/>
-->
<History></History>
<pay-pop
ref=
"pay"
></pay-pop>
<pay-pop
ref=
"pay"
></pay-pop>
</view>
</view>
</
template
>
</
template
>
...
@@ -24,9 +25,10 @@
...
@@ -24,9 +25,10 @@
import
payPop
from
'./components/payPop.vue'
;
import
payPop
from
'./components/payPop.vue'
;
import
ToolBox
from
'./components/ToolBox.vue'
import
ToolBox
from
'./components/ToolBox.vue'
import
myClick
from
"@/mixin/click"
;
import
myClick
from
"@/mixin/click"
;
import
History
from
'./components/History.vue'
;
import
Media_1
from
'./components/Media_1.vue'
import
Media_1
from
'./components/Media_1.vue'
export
default
{
export
default
{
components
:
{
ToolBox
,
payPop
,
Media_1
},
components
:
{
ToolBox
,
payPop
,
Media_1
,
History
},
mixins
:
[
myClick
],
mixins
:
[
myClick
],
data
()
{
data
()
{
return
{
return
{
...
...
pages/home/home.vue
View file @
d112cf4
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2024-04-07 14:39:40
* @Date: 2024-04-07 14:39:40
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2024-04-0
8 19:37:1
6
* @LastEditTime: 2024-04-0
9 14:28:5
6
-->
-->
<
template
>
<
template
>
<view
class=
"container"
>
<view
class=
"container"
>
...
@@ -106,7 +106,7 @@ export default {
...
@@ -106,7 +106,7 @@ export default {
id
:
''
id
:
''
};
};
},
},
onLoad
(
options
)
{
mounted
(
)
{
this
.
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
);
this
.
userInfo
=
uni
.
$storage
.
get
(
"userInfo"
);
this
.
getSoure
();
this
.
getSoure
();
},
},
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment