Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
account-book
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
刘文虎
account-book
Commits
73944e45
Commit
73944e45
authored
Jul 13, 2022
by
Facius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 首页
parent
6df40576
Pipeline
#2765
canceled with stages
Changes
6
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
583 additions
and
36 deletions
+583
-36
.env.dev.js
.env.dev.js
+1
-1
.env.prod.js
.env.prod.js
+1
-1
.env.test.js
.env.test.js
+1
-1
index.vue
components/cell-bill-list/index.vue
+92
-0
pages.json
pages.json
+2
-1
index.vue
pages/index/index.vue
+486
-32
No files found.
.env.dev.js
View file @
73944e45
// 废弃
// 废弃
const
UNI_APP
=
{
const
UNI_APP
=
{
apiUrl
:
'https://api.weixin.qq.com'
,
apiUrl
:
'https://api.weixin.qq.com'
,
qn_base_url
:
'http
s
://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_base_url
:
'http://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
argoDebugMode
:
1
,
argoDebugMode
:
1
,
version
:
'v1.0.0'
,
version
:
'v1.0.0'
,
...
...
.env.prod.js
View file @
73944e45
const
UNI_APP
=
{
const
UNI_APP
=
{
apiUrl
:
'https://api2-fans.kaying.cc/'
,
apiUrl
:
'https://api2-fans.kaying.cc/'
,
qn_base_url
:
'http
s
://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_base_url
:
'http://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
argoDebugMode
:
0
,
argoDebugMode
:
0
,
version
:
'v1.0.0'
,
version
:
'v1.0.0'
,
...
...
.env.test.js
View file @
73944e45
const
UNI_APP
=
{
const
UNI_APP
=
{
apiUrl
:
'https://api-fans-test.banshouhui.com'
,
apiUrl
:
'https://api-fans-test.banshouhui.com'
,
qn_base_url
:
'http
s
://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_base_url
:
'http://reu2asz23.hn-bkt.clouddn.com/icon/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
qn_asset_url
:
'https://reu2asz23.hn-bkt.clouddn.com/upload-image/'
,
argoDebugMode
:
1
,
argoDebugMode
:
1
,
version
:
'v1.0.0'
,
version
:
'v1.0.0'
,
...
...
components/cell-bill-list/index.vue
0 → 100644
View file @
73944e45
<
template
>
<view
class=
"cell-bill-list"
>
<view
class=
"content-view"
hover-class=
"u-hover-class"
@
click
.
stop=
"$u.throttle(handleSelect, 500)"
>
<view
class=
"left-view"
>
<view
class=
"image-view"
>
<image
:src=
"info.image"
></image>
</view>
<view
class=
"info-view"
>
<view
class=
"name-view"
>
{{
info
.
name
}}
</view>
<view
class=
"detail-view"
>
{{
info
.
detail
}}
</view>
</view>
</view>
<view
class=
"right-view"
>
<view
class=
"count-view"
>
{{
info
.
count
}}
</view>
<view
class=
"time-view"
>
{{
info
.
time
}}
</view>
</view>
</view>
</view>
</
template
>
<
script
>
export
default
{
props
:
{
info
:
{
type
:
Object
,
default
()
{
return
{}
},
},
},
data
()
{
return
{}
},
computed
:
{},
methods
:
{
handleSelect
()
{
this
.
$emit
(
'select'
,
this
.
info
.
id
)
},
},
}
</
script
>
<
style
scoped
lang=
"scss"
>
.cell-bill-list
{
padding
:
32rpx
24rpx
;
.content-view
{
display
:
flex
;
justify-content
:
space-between
;
align-items
:
flex-start
;
.left-view
{
flex
:
1
;
display
:
flex
;
align-items
:
flex-start
;
margin-right
:
24rpx
;
.image-view
{
width
:
72rpx
;
height
:
72rpx
;
flex-shrink
:
0
;
}
.info-view
{
margin-left
:
24rpx
;
.name-view
{
color
:
#333333
;
font-weight
:
bold
;
font-size
:
28rpx
;
}
.detail-view
{
font-size
:
24rpx
;
color
:
#8d8d8d
;
}
}
}
.right-view
{
flex-shrink
:
0
;
text-align
:
right
;
.count-view
{
color
:
#333333
;
font-weight
:
bold
;
font-size
:
28rpx
;
}
.time-view
{
font-size
:
24rpx
;
color
:
#8d8d8d
;
}
}
}
}
</
style
>
pages.json
View file @
73944e45
...
@@ -7,7 +7,8 @@
...
@@ -7,7 +7,8 @@
"path"
:
"pages/index/index"
,
"path"
:
"pages/index/index"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"首页"
,
"navigationBarTitleText"
:
"首页"
,
"navigationStyle"
:
"custom"
"navigationStyle"
:
"custom"
,
"disableScroll"
:
true
}
}
},
{
},
{
"path"
:
"pages/index/schedule/schedule"
,
"path"
:
"pages/index/schedule/schedule"
,
...
...
pages/index/index.vue
View file @
73944e45
This diff is collapsed.
Click to expand it.
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