Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
35484f29
Commit
35484f29
authored
May 24, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同缺省页
parent
3918983e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
12 deletions
+38
-12
index.vue
src/pages/mine/contract/index.vue
+38
-12
No files found.
src/pages/mine/contract/index.vue
View file @
35484f29
...
...
@@ -7,17 +7,23 @@
:border-bottom=
"false"
></u-navbar>
<view
class=
"content"
>
<text
class=
"title"
>
合同清单
</text>
<view
class=
"jf-currency-class"
v-for=
"item in res"
:key=
"item.id"
@
click=
"goBaidu(item.url)"
>
<view
class=
"left"
>
{{
item
.
name
}}
</view>
<view
class=
"text1"
>
《
{{
item
.
name
}}
》
</view>
<view
class=
"text2"
>
下载时间:
{{
item
.
create_at
}}
</view>
</view>
<view
v-if=
"res.length > 0"
>
<text
class=
"title"
>
合同清单
</text>
<view
class=
"jf-currency-class"
v-for=
"item in res"
:key=
"item.id"
@
click=
"goBaidu(item.url)"
>
<view
class=
"left"
>
{{
item
.
name
}}
</view>
<view
class=
"text1"
>
《
{{
item
.
name
}}
》
</view>
<view
class=
"text2"
>
下载时间:
{{
item
.
create_at
}}
</view>
</view>
</view>
<view
v-else
class=
"no-contract"
>
<image
:src=
"zanwuhetonImage"
class=
"no-contract-image"
></image>
<text>
当前暂无合同
</text>
</view>
</view>
</view>
</
template
>
...
...
@@ -37,7 +43,11 @@ export default {
getApp
().
trackPage
(
'我的合同列表页'
)
this
.
getContract
(
this
.
type
);
},
computed
:
{},
computed
:
{
zanwuhetonImage
()
{
return
process
.
uniEnv
.
qn_base_url
+
'zanwuheton.png'
},
},
methods
:
{
getContract
(
params
)
{
this
.
$u
.
api
.
Mycontract
(
params
).
then
((
res
)
=>
{
...
...
@@ -141,4 +151,20 @@ export default {
height
:
100%
;
position
:
absolute
;
}
.no-contract
{
color
:
#999999
;
text-align
:
center
;
margin-top
:
240rpx
;
font-weight
:
20rpx
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
.no-contract-image
{
width
:
374rpx
;
height
:
254rpx
;
margin-bottom
:
50rpx
;
}
}
</
style
>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment