Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sfp-program
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sweet Zhang
sfp-program
Commits
2b44e888
Commit
2b44e888
authored
Sep 16, 2022
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量数据空格优化,公众号修改
parent
9a222984
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
54 additions
and
6 deletions
+54
-6
environments/environment.ts
+8
-1
pages.json
+1
-1
pages/dataImport/data-import.vue
+4
-3
pages/index/index.css
+32
-1
pages/index/index.vue
+9
-0
static/images/cffpLogo.png
+0
-0
static/images/qrcodeBg.png
+0
-0
No files found.
environments/environment.ts
View file @
2b44e888
const
env
=
'dev'
;
const
dev
=
{
base_url
:
'https://mdev.zuihuibi.cn'
,
api_url
:
'https://mdev.zuihuibi.cn/api'
,
...
...
@@ -20,6 +19,14 @@ const config = {
stage
,
prod
}
let
env
=
'dev'
;
// if (process.env.NODE_ENV === 'development') {
// env = 'dev';
// }else if (process.env.NODE_ENV === 'production') {
// env = 'prod';
// }else if (process.env.NODE_ENV === 'uat'){
// env = 'stage';
// }
let
baseURL
=
config
[
env
].
base_url
;
let
apiURL
=
config
[
env
].
api_url
;
...
...
pages.json
View file @
2b44e888
...
...
@@ -4,7 +4,7 @@
"path"
:
"pages/index/index"
,
"style"
:
{
"topWindow"
:
false
,
"navigationBarTitleText"
:
"
金融工具
"
"navigationBarTitleText"
:
"
CFFP财策师联盟
"
}
},
{
...
...
pages/dataImport/data-import.vue
View file @
2b44e888
...
...
@@ -147,9 +147,10 @@
},
// 粘贴并识别
pasteDataDistinguish
(){
const
pasteDataLists
=
this
.
pasteData
.
trim
().
split
(
'
\
n'
);
console
.
log
(
pasteDataLists
)
if
(
pasteDataLists
.
length
<=
0
||
pasteDataLists
.
every
((
item
)
=>
item
==
''
)){
let
pasteDataListsOrigin
=
this
.
pasteData
.
trim
().
split
(
'
\
n'
);
let
pasteDataLists
;
pasteDataLists
=
pasteDataListsOrigin
.
map
(
item
=>
item
.
trim
());
if
(
pasteDataLists
.
length
<=
0
||
pasteDataLists
.
every
((
item
)
=>
item
==
''
)){
uni
.
showModal
({
title
:
'数据识别结果'
,
content
:
'检测到您并没有导入数据,请重新操作'
,
...
...
pages/index/index.css
View file @
2b44e888
...
...
@@ -28,7 +28,7 @@
width
:
100%
;
position
:
relative
;
}
.banner
text
{
.banner
>
text
{
position
:
absolute
;
bottom
:
40px
;
left
:
0
;
...
...
@@ -38,6 +38,25 @@
border-top-right-radius
:
20px
;
border-bottom-right-radius
:
20px
;
}
.banner
.supportTips
{
position
:
absolute
;
top
:
0
;
right
:
0
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
26
rpx
;
width
:
100%
;
padding
:
0
rpx
12
rpx
;
background
:
rgba
(
255
,
255
,
255
,
.5
);
color
:
#000
;
}
.banner
.supportTips
text
{
white-space
:
nowrap
;
}
.banner
.supportTips
img
{
width
:
60
rpx
;
}
.banner
img
{
width
:
100%
;
}
...
...
@@ -269,4 +288,15 @@
font-size
:
24
rpx
;
text-align
:
left
;
color
:
red
;
}
.supportDeclarationContainer
{
padding-bottom
:
60px
;
text-align
:
center
;
color
:
#ccc
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
.supportDeclarationContainer
img
{
width
:
60
rpx
;
}
\ No newline at end of file
pages/index/index.vue
View file @
2b44e888
...
...
@@ -12,6 +12,11 @@
<img
src=
"/static/images/policyIrrBanner.png"
alt=
""
srcset=
""
>
<!-- 使用说明 -->
<text>
使用说明
</text>
<view
class=
"supportTips"
>
<img
src=
"/static/images/cffpLogo.png"
alt=
""
srcset=
""
>
<text>
本工具由CFFP财策师联盟提供技术支持
</text>
</view>
</view>
<scroll-view
scroll-y=
"true"
class=
"formInfoContainer"
id=
"formInfoContainer"
>
<view
class=
"tabTitle"
>
...
...
@@ -175,6 +180,10 @@
</scroll-view>
</view>
</view>
<view
class=
"supportDeclarationContainer"
>
<img
src=
"/static/images/cffpLogo.png"
alt=
""
srcset=
""
>
<text>
本工具由CFFP财策师联盟提供技术支持
</text>
</view>
<!-- 操作 -->
<view
class=
"optionContent"
>
<button
type=
"default"
plain=
"true"
form-type=
"reset"
...
...
static/images/cffpLogo.png
0 → 100644
View file @
2b44e888
3.48 KB
static/images/qrcodeBg.png
View file @
2b44e888
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