Commit 2b44e888 by Sweet Zhang

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

parent 9a222984
const env = 'dev';
const dev = { const dev = {
base_url:'https://mdev.zuihuibi.cn', base_url:'https://mdev.zuihuibi.cn',
api_url:'https://mdev.zuihuibi.cn/api', api_url:'https://mdev.zuihuibi.cn/api',
...@@ -20,6 +19,14 @@ const config = { ...@@ -20,6 +19,14 @@ const config = {
stage, stage,
prod 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 baseURL = config[env].base_url;
let apiURL = config[env].api_url; let apiURL = config[env].api_url;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "金融工具" "navigationBarTitleText": "CFFP财策师联盟"
} }
}, },
{ {
......
...@@ -147,8 +147,9 @@ ...@@ -147,8 +147,9 @@
}, },
// 粘贴并识别 // 粘贴并识别
pasteDataDistinguish(){ pasteDataDistinguish(){
const pasteDataLists = this.pasteData.trim().split('\n'); let pasteDataListsOrigin = this.pasteData.trim().split('\n');
console.log(pasteDataLists) let pasteDataLists;
pasteDataLists = pasteDataListsOrigin.map(item=>item.trim());
if(pasteDataLists.length<=0 || pasteDataLists.every((item)=>item=='')){ if(pasteDataLists.length<=0 || pasteDataLists.every((item)=>item=='')){
uni.showModal({ uni.showModal({
title: '数据识别结果', title: '数据识别结果',
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
width: 100%; width: 100%;
position: relative; position: relative;
} }
.banner text{ .banner > text{
position: absolute; position: absolute;
bottom: 40px; bottom: 40px;
left: 0; left: 0;
...@@ -38,6 +38,25 @@ ...@@ -38,6 +38,25 @@
border-top-right-radius: 20px; border-top-right-radius: 20px;
border-bottom-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{ .banner img{
width: 100%; width: 100%;
} }
...@@ -270,3 +289,14 @@ ...@@ -270,3 +289,14 @@
text-align: left; text-align: left;
color: red; 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 @@ ...@@ -12,6 +12,11 @@
<img src="/static/images/policyIrrBanner.png" alt="" srcset=""> <img src="/static/images/policyIrrBanner.png" alt="" srcset="">
<!-- 使用说明 --> <!-- 使用说明 -->
<text>使用说明</text> <text>使用说明</text>
<view class="supportTips">
<img src="/static/images/cffpLogo.png" alt="" srcset="">
<text>本工具由CFFP财策师联盟提供技术支持</text>
</view>
</view> </view>
<scroll-view scroll-y="true" class="formInfoContainer" id="formInfoContainer"> <scroll-view scroll-y="true" class="formInfoContainer" id="formInfoContainer">
<view class="tabTitle"> <view class="tabTitle">
...@@ -175,6 +180,10 @@ ...@@ -175,6 +180,10 @@
</scroll-view> </scroll-view>
</view> </view>
</view> </view>
<view class="supportDeclarationContainer">
<img src="/static/images/cffpLogo.png" alt="" srcset="">
<text>本工具由CFFP财策师联盟提供技术支持</text>
</view>
<!-- 操作 --> <!-- 操作 -->
<view class="optionContent"> <view class="optionContent">
<button type="default" plain="true" form-type="reset" <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