Commit 2b44e888 by Sweet Zhang

批量数据空格优化,公众号修改

parent 9a222984
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;
......
......@@ -4,7 +4,7 @@
"path": "pages/index/index",
"style": {
"topWindow": false,
"navigationBarTitleText": "金融工具"
"navigationBarTitleText": "CFFP财策师联盟"
}
},
{
......
......@@ -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: '检测到您并没有导入数据,请重新操作',
......
......@@ -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: 26rpx;
width: 100%;
padding: 0rpx 12rpx;
background: rgba(255,255,255,.5);
color: #000;
}
.banner .supportTips text{
white-space: nowrap;
}
.banner .supportTips img{
width: 60rpx;
}
.banner img{
width: 100%;
}
......@@ -269,4 +288,15 @@
font-size: 24rpx;
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: 60rpx;
}
\ No newline at end of file
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment