diff --git a/app.json b/app.json index f9d9bcf..fb2c0aa 100644 --- a/app.json +++ b/app.json @@ -9,8 +9,6 @@ "pages/bankDraft/add/add", "pages/project/project", "pages/project/add/add", - "pages/finance/finance", - "pages/finance/voucher/voucher", "pages/pay/detail", "pages/pay/payee/payee", "pages/contractAssets/fixedAssets", @@ -23,10 +21,6 @@ "pages/bill/bill", "pages/statistics/statistics", "pages/user/region/region", - "pages/finance/index", - "pages/resources/resources", - "pages/resources/detail/detail", - "pages/resources/edit/edit", "pages/phoneLogin" ], "subPackages": [ @@ -144,6 +138,40 @@ "list/edit", "list/detail" ] + }, + { + "root": "pages/finance/", + "pages": [ + "index", + "finance", + "voucher/voucher", + "list_balance_ranking/list_balance_ranking", + "detailed_liabilities/detailed_liabilities", + "detailed_incomeAndExpenditurePublic/detailed_incomeAndExpenditurePublic" + ] + }, + { + "root": "pages/mainBody/", + "pages": [ + "list/list", + "detail/detail" + ] + }, + { + "root": "pages/resources/", + "pages": [ + "resources", + "edit/edit", + "detail/detail" + ] + }, + { + "root": "pages/discussions/", + "pages": [ + "list", + "form/form", + "detail/detail" + ] } ], "window": { @@ -151,7 +179,7 @@ "navigationStyle": "custom", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#fff", - "navigationBarTitleText": "农燊高科", + "navigationBarTitleText": "中农融信", "navigationBarTextStyle": "black" }, "sitemapLocation": "sitemap.json", diff --git a/app.wxss b/app.wxss index 2c56560..776d6f6 100644 --- a/app.wxss +++ b/app.wxss @@ -67,7 +67,7 @@ contact-button { top: 30px; margin-right: 30px; display: block; - color: #eee; + color: #000000; text-align: center; width: 100%; font-size: 16px; diff --git a/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.js b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.js new file mode 100644 index 0000000..eaec388 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.js @@ -0,0 +1,32 @@ +// component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.js +import * as UTIL from '../../utils/util.js'; +import * as API from '../../utils/API.js'; +const app = getApp() +Component({ + properties: { + type: Object, + popupVisible:false, + subjects: {}, + observer: function (newVal, oldVal) {} + }, + observers: { + 'subjects': function(val) { + // this.selectComponent('#tabs').resize(); + }, + 'popupVisible': function(val) { + } + }, + /** + * 页面的初始数据 + */ + data: { + }, + /** + * 组件的方法列表 + */ + methods: { + open(e){ + console.log(e); + }, + } +}) \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.json b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.json new file mode 100644 index 0000000..acc5399 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.json @@ -0,0 +1,14 @@ +{ + "component": true, + "usingComponents": { + "childrenPage":"/component/SubjectTreeChooserNodeItem/childrenPage", + "van-popup": "@vant/weapp/popup/index", + "van-datetime-picker": "@vant/weapp/datetime-picker/index", + "van-checkbox": "@vant/weapp/checkbox/index", + "van-tab": "@vant/weapp/tab/index", + "van-tabs": "@vant/weapp/tabs/index", + "van-collapse": "@vant/weapp/collapse/index", + "van-collapse-item": "@vant/weapp/collapse-item/index", + "van-checkbox-group": "@vant/weapp/checkbox-group/index" + } +} \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxml b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxml new file mode 100644 index 0000000..846bc25 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxml @@ -0,0 +1,15 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxss b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxss new file mode 100644 index 0000000..cda0f15 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxss @@ -0,0 +1 @@ +/* component/SubjectTreeChooserNodeItem/SubjectTreeChooserNodeItem.wxss */ \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/childrenPage.js b/component/SubjectTreeChooserNodeItem/childrenPage.js new file mode 100644 index 0000000..2fa77e7 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/childrenPage.js @@ -0,0 +1,43 @@ +// component/SubjectTreeChooserNodeItem/childrenPage.js +Component({ + + /** + * 组件的属性列表 + */ + properties: { + type: Object, + subjects: {}, + }, + observers: { + 'subjects': function(val) { + // console.log(val); // 打印innerText的当前值 + // this.selectComponent('#tabs').resize(); + } + }, + + /** + * 组件的初始数据 + */ + data: { + activeNames:'' + }, + + /** + * 组件的方法列表 + */ + methods: { + open(e){ + console.log(e); + }, + onChange(event) { + this.setData({ + activeNames: event.detail, + }); + }, + onItemClicked(e){ + console.log(e); + // this.triggerEvent('cancel',e) + this.triggerEvent('cancel', e, { bubbles: true, composed: true }) + } + } +}) \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/childrenPage.json b/component/SubjectTreeChooserNodeItem/childrenPage.json new file mode 100644 index 0000000..657e01c --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/childrenPage.json @@ -0,0 +1,8 @@ +{ + "component": true, + "usingComponents": { + "childrenPage":"/component/SubjectTreeChooserNodeItem/childrenPage", + "van-collapse": "@vant/weapp/collapse/index", + "van-collapse-item": "@vant/weapp/collapse-item/index" + } +} \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/childrenPage.wxml b/component/SubjectTreeChooserNodeItem/childrenPage.wxml new file mode 100644 index 0000000..6e07229 --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/childrenPage.wxml @@ -0,0 +1,19 @@ + + + + + {{ item.subjectId }} {{ item.subjectName }} + + + + + + + + \ No newline at end of file diff --git a/component/SubjectTreeChooserNodeItem/childrenPage.wxss b/component/SubjectTreeChooserNodeItem/childrenPage.wxss new file mode 100644 index 0000000..accc09e --- /dev/null +++ b/component/SubjectTreeChooserNodeItem/childrenPage.wxss @@ -0,0 +1 @@ +/* component/SubjectTreeChooserNodeItem/childrenPage.wxss */ \ No newline at end of file diff --git a/component/editor/editor.js b/component/editor/editor.js index c3db795..1cf3543 100644 --- a/component/editor/editor.js +++ b/component/editor/editor.js @@ -24,6 +24,7 @@ Component({ }, ready() { const platform = wx.getSystemInfoSync().platform + console.log(platform); const isIOS = platform === 'ios' this.setData({ isIOS diff --git a/component/editor/editor.wxml b/component/editor/editor.wxml index 64395ba..53d9c35 100644 --- a/component/editor/editor.wxml +++ b/component/editor/editor.wxml @@ -1,7 +1,4 @@ - - - - + + \ No newline at end of file diff --git a/component/editor/editor.wxss b/component/editor/editor.wxss index 0dff491..86b26cc 100644 --- a/component/editor/editor.wxss +++ b/component/editor/editor.wxss @@ -20,9 +20,7 @@ .toolbar { padding: 0 16rpx; - height: 200rpx; width: 100%; - position: fixed; left: 0; right: 100%; bottom: 0; diff --git a/image/index/icon_index_15.png b/image/index/icon_index_15.png new file mode 100644 index 0000000..3d90dae Binary files /dev/null and b/image/index/icon_index_15.png differ diff --git a/image/index/icon_index_16.png b/image/index/icon_index_16.png new file mode 100644 index 0000000..6e35341 Binary files /dev/null and b/image/index/icon_index_16.png differ diff --git a/image/index/icon_index_17.png b/image/index/icon_index_17.png new file mode 100644 index 0000000..0d1df05 Binary files /dev/null and b/image/index/icon_index_17.png differ diff --git a/image/index/icon_index_18.png b/image/index/icon_index_18.png new file mode 100644 index 0000000..05a8a68 Binary files /dev/null and b/image/index/icon_index_18.png differ diff --git a/image/index/index_block_04.png b/image/index/index_block_04.png new file mode 100644 index 0000000..45b8a4e Binary files /dev/null and b/image/index/index_block_04.png differ diff --git a/image/index/index_block_23.png b/image/index/index_block_23.png new file mode 100644 index 0000000..611f4e3 Binary files /dev/null and b/image/index/index_block_23.png differ diff --git a/image/index/index_block_26.png b/image/index/index_block_26.png new file mode 100644 index 0000000..d8bd41b Binary files /dev/null and b/image/index/index_block_26.png differ diff --git a/image/index/nav_dlzh.png b/image/index/nav_dlzh.png deleted file mode 100644 index ab6b29d..0000000 Binary files a/image/index/nav_dlzh.png and /dev/null differ diff --git a/image/index/nav_jymx.png b/image/index/nav_jymx.png deleted file mode 100644 index cae1d0d..0000000 Binary files a/image/index/nav_jymx.png and /dev/null differ diff --git a/image/index/nav_pjqs.png b/image/index/nav_pjqs.png deleted file mode 100644 index abcf534..0000000 Binary files a/image/index/nav_pjqs.png and /dev/null differ diff --git a/image/index/nav_pjsy.png b/image/index/nav_pjsy.png deleted file mode 100644 index 1a1cd95..0000000 Binary files a/image/index/nav_pjsy.png and /dev/null differ diff --git a/image/index/nav_sztj.png b/image/index/nav_sztj.png deleted file mode 100644 index e8310d6..0000000 Binary files a/image/index/nav_sztj.png and /dev/null differ diff --git a/image/index/nav_zzdz.png b/image/index/nav_zzdz.png deleted file mode 100644 index f811916..0000000 Binary files a/image/index/nav_zzdz.png and /dev/null differ diff --git a/pages/index/index.js b/pages/index/index.js index 2beed4d..37b6806 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -91,12 +91,17 @@ Page({ // }) // }, onShow(){ + //获取滚动条高度 + // this.computeBarLocation(); + UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'payment_state', {method:'GET'}, { + success: (res) => { + this.setData({ + paymentStateOption:res.data + }) + } + }) //获取用户信息 this.getUserInfo() - //查询待办 - this.getTaskList(); - //查询已办 - this.getTaskDoneList(); //查询dept this.getTreeDept(); }, @@ -132,36 +137,28 @@ Page({ let data = { pageNum:1, pageSize:999, - orderByColumn:"A.ID_", - isAsc:"desc", + // orderByColumn:"A.ID_", + // isAsc:"desc", systemType:4, method:"GET", + deptId:JSON.parse(wx.getStorageSync('user')).deptId, // taskName:'相关人员审批' } UTIL.httpRequest(API.URL_GET_GETDICTTYPE + 'activity_business_type', {method:'GET'}, { success: (res) => { } }) - UTIL.httpRequest(API.URL_GET_TASKLIST,data, { + UTIL.httpRequest(API.A_myTodoList,data, { success: (res) => { if (res.code == API.SUCCESS_CODE) { let list = []; - for(let i = 0;i < res.total;i++){ - if(res.rows[i].formData){ - if (res.rows[i].formData.activityBusinessType == '16' || res.rows[i].formData.activityBusinessType=='36') { - res.rows[i].formData.expenditureAmount = Number(res.rows[i].formData.expenditureAmount).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, ($0, $1) => { - return $1 + ","; }).replace(/\.$/, "") - list.push(res.rows[i]) - } - } - } - this.setData({todoList:list,todoNum:list.length}) - + for(let i = 0;i < res.total;i++){ + res.rows[i].createTime = res.rows[i].createTime.substr(0,10) + console.log(res.rows[i].createTime); + list.push(res.rows[i]) + } + this.setData({todoList:list,todoNum:res.rows.length}) } - }, fail: (res) => { - console.log(res); - }, - complete: (res) => { } }) }, @@ -169,27 +166,36 @@ Page({ let data = { pageNum:1, pageSize:999, - orderByColumn:"A.ID_", - isAsc:"desc", + // orderByColumn:"A.ID_", + // isAsc:"desc", systemType:4, method:"GET", + deptId:JSON.parse(wx.getStorageSync('user')).deptId, // taskName:'相关人员审批' } - UTIL.httpRequest(API.URL_GET_TASKDONELIST,data, { + UTIL.httpRequest(API.A_myDoneList,data, { success: (res) => { if (res.code == API.SUCCESS_CODE) { let list = []; - for(let i = 0;i { - return $1 + ","; }).replace(/\.$/, "") - list.push(res.rows[i]) - } - } - } + // for(let i = 0;i { + // return $1 + ","; }).replace(/\.$/, "") + // list.push(res.rows[i]) + // } + // } + // } + + for(let i = 0;i < res.total;i++){ + res.rows[i].data.expenditureAmount = Number(res.rows[i].data.expenditureAmount).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, ($0, $1) => { + return $1 + ","; }).replace(/\.$/, "") + res.rows[i].auditTime = res.rows[i].auditTime.substr(0,10) + console.log(res.rows[i].createTime); + list.push(res.rows[i]) + } this.setData({doneList:list,doneNum:list.length}) } }, fail: (res) => { @@ -199,7 +205,7 @@ Page({ } }) }, - getTransferList:function(e){ + getTransferList:function(e){//已废弃 let data = { // pageNum:1, // pageSize:10, @@ -216,7 +222,8 @@ Page({ this.setData({yfqNum:a}) for(let i = 0;i { - return $1 + ","; }).replace(/\.$/, "") + return $1 + ","; }).replace(/\.$/, ""); + } this.setData({yfqList:res.rows}) } @@ -245,6 +252,7 @@ Page({ for(let i = 0;i< c.length;i++){ c[i].totalAmount = Number(c[i].totalAmount).toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g, ($0, $1) => { return $1 + ","; }).replace(/\.$/, "") + c[i].paymentStateText = UTIL.getTransform(res.rows[i].paymentState,this.data.paymentStateOption); } this.setData({yfqList:c}) } @@ -315,6 +323,7 @@ Page({ }, /* 计算bar 高度*/ computeBarLocation() { + console.log('aaaaaaaaaaaaa'); var that = this; let CustomMenuButton = wx.getMenuButtonBoundingClientRect(); let CustomWidows = wx.getSystemInfoSync(); @@ -325,11 +334,12 @@ Page({ query.select('.navList_main').boundingClientRect(); query.select('.child_function').boundingClientRect(); query.select('.work_plan').boundingClientRect(); - + query.exec((res) => { let wrokScrollHeight = CustomWidows.windowHeight; res.forEach((v)=>{ wrokScrollHeight = wrokScrollHeight - v.height; + console.log(v.height); }) wrokScrollHeight = wrokScrollHeight-CustomMenuButton.top-CustomMenuButton.bottom -15; that.setData({ @@ -348,13 +358,16 @@ Page({ this.setData({userInfoObj:res.user}) this.setData({region:res.user.deptName}) this.setData({item:JSON.stringify(res.user)}) + wx.setStorageSync('user', JSON.stringify(res.user)) this.getBookList() //查询已制单 this.getTransferList2(); - //查询已发起 - // this.getTransferList(); this.getTransferList1(); + //查询待办 + this.getTaskList(); + //查询已办 + this.getTaskDoneList(); } } }) @@ -367,7 +380,9 @@ Page({ this.setData({provinces:res.data}) if(res.data[0].children){ this.setData({citys:res.data[0].children}) - if(res.data[0].children[this.data.value[1]].children){this.setData({areas:res.data[0].children[this.data.value[1]].children})} + if(res.data[0].children[this.data.value[1]].children){ + this.setData({areas:res.data[0].children[this.data.value[1]].children}) + } } } @@ -471,9 +486,9 @@ Page({ cityCancel(e) { var id = this.data.provinces[0].id this.setData({ - citys: this.data.lastCitys || this.data.userInfoObj.parentDeptName, //默认北京市辖区, - areas: this.data.lastAreas || this.data.userInfoObj.deptName, - value: [...this.data.regionValue], + // citys: this.data.lastCitys || this.data.userInfoObj.parentDeptName, //默认北京市辖区, + // areas: this.data.lastAreas || this.data.userInfoObj.deptName, + // value: [...this.data.regionValue], visible: false }) }, diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 9b0a065..1f2a81d 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -1,322 +1,333 @@ - - - - - - - - - - - - {{userInfoObj.nickName}} - - - {{userInfoObj.roles.length>0?userInfoObj.roles[0].roleName:""}} - - - - - - - - - {{ region || "请选择" }} - - - - - - - - - - - {{array[index]|| bookName}} - - - - - + + + + + + + + + + + + {{userInfoObj.nickName}} + + + {{userInfoObj.roles.length>0?userInfoObj.roles[0].roleName:""}} + + + + + + + + + {{ region || "请选择" }} + + + + + + + + + + + {{array[index]|| bookName}} + + + + + - - - - - - - - - - 支出申请 - - - - - - 收入登记 - - - - - - 记账申请 - - - - - - 支付管理 - - - - - - - - 合同信息 - - - - 固定资产 - - - - 资源资产 - - - - 工程项目 - - - + + + + + + + + + + 支出申请 + + + + + + 收入登记 + + + + + + 记账申请 + + + + + + 支付管理 + + + + + + + + 合同信息 + + + + 固定资产 + + + + 资源资产 + + + + 工程项目 + + + - - - 财务公开 - + - - - 开户行 - - - - 收款方 - - - - 村账户 - - - - 银行汇票 - - - - 重大事项 - + + + 四议表决 + - - - 交易明细 - - - - 转账对账 - - - - 收支统计 - - - - 票据签收 - - - - - - - {{showListText}} - - - - - 待办{{todoNum}} - 已办{{doneNum}} - 已提交{{yfqNum}} - 草稿箱{{yzdNum}} - - + + + 开户行 + + + + 收款方 + + + + 村账户 + + + + 银行汇票 + + + + 重大事项 + - - - - - - - {{item.formData.remark}} - - - {{item.formData.applyTime}} - - - - - {{item.formData.transferType=='2'?'信用卡转账':item.formData.transferType=='1'?'银行转账':'其他'}} - - {{item.formData.expenditureAmount}} - - - - - - - - - {{item.formData.remark}} - - - {{item.formData.applyTime}} - - - - - {{item.formData.transferType=='2'?'信用卡转账':item.formData.transferType=='1'?'银行转账':'其他'}} - - {{item.formData.expenditureAmount}} - - - - - - - - - - {{item.remark}} - {{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}} - - - - {{item.applyDate}} - - - - - {{item.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}} - - {{item.expenditureAmount}} - - - - - - - 撤回 - - - - - - - - - - {{item.remark}} - {{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':'草稿'}} - - - {{item.applyDate}} - - - - - {{item.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}} - - {{item.expenditureAmount}} - - - - - - - 删除 - - - - - + + + 交易明细 + + + + 转账对账 + + + + 收支统计 + + + + 票据签收 + + + + + 主体名录 + + + + + + {{showListText}} + + + + + 待办{{todoNum}} + 已办{{doneNum}} + 已提交{{yfqNum}} + 草稿箱{{yzdNum}} + + - + + + + + + + {{item.auditName}} + + + {{item.createTime}} + + + + + {{item.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}} + + {{item.data.expenditureAmount}} + + + + + + + + + {{item.auditName}} + + + {{item.auditTime}} + + + + + {{item.data.transferType=='2'?'信用卡转账':item.data.transferType=='1'?'银行转账':'其他'}} + + {{item.data.expenditureAmount}} + + + + + + + + + + + {{item.remark}} + {{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':''}} + + + + {{item.applyDate}} + + + + + {{item.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}} + + {{item.paymentStateText}} + {{item.expenditureAmount}} + + + + + + + 撤回 + + + + + + + + + + {{item.remark}} + {{item.auditStatus == '1'?'审核中':item.auditStatus == '2'?'已拒绝':item.auditStatus == '3'?'已通过':'草稿'}} + + + {{item.applyDate}} + + + + + {{item.transferType=='2'?'信用卡转账':item.transferType=='1'?'银行转账':'其他'}} + + {{item.expenditureAmount}} + + + + + + + 删除 + + + + + - + - + - - - - - - - 取消 - 确定 - - - - {{item.label}} - - - {{item.label}} - - - {{item.label}} - - - - - + + + + + + + + + 取消 + 确定 + + + + {{item.label}} + + + {{item.label}} + + + {{item.label}} + + + + + - var float = function(money){ - return parseFloat(money).toFixed(2) - } - module.exports.float = float; + var float = function(money){ + return parseFloat(money).toFixed(2) + } + module.exports.float = float; \ No newline at end of file diff --git a/pages/index/index.wxss b/pages/index/index.wxss index 8fe4ee3..aa49885 100644 --- a/pages/index/index.wxss +++ b/pages/index/index.wxss @@ -40,11 +40,10 @@ .information_header .name_wrap .jobs{ margin-left: 18rpx; /* width: 155rpx; */ - height: 40rpx; - background: #5bae75; - border:2rpx solid #2c8e68; + height: 50rpx; + background: linear-gradient( 97deg, #73DE7E 0%, #0EAF63 100%); color: #fff; - border-radius: 40rpx; + border-radius: 10rpx; display: flex; font-size: 28rpx; justify-content: center; @@ -154,11 +153,30 @@ font-size: 26rpx; } -.child_function{ +.title{ + display: flex; + justify-content: space-between; margin: 35rpx 20rpx 0; +} +.title text{ + flex: 1; + background-color: #ffffff; + display: flex; + align-items: flex-end; + border-radius: 24rpx 0 0 0; + font-size: 2vh; + font-weight: bold; + padding-left: 5%; +} +.title image{ + width: 45%; +} +.child_function{ + margin: 0 20rpx 0; display: flex; flex-wrap: wrap; align-content:space-between; + padding: 20px 0; } .child_function .flex_block{ display: flex; @@ -185,7 +203,7 @@ } .work_plan{ - padding: 40rpx 32.5rpx 30rpx; + padding: 0rpx 32.5rpx 30rpx; display: flex; justify-content: space-between; } @@ -288,7 +306,7 @@ .workflow .workflow_list .process_pay .describe{ font-size: 30rpx; - width: 330rpx; + width: 320rpx; color: #3c9370; display: flex; align-items: center; diff --git a/pages/noLoginIndex.wxml b/pages/noLoginIndex.wxml index e0446a6..52488a1 100644 --- a/pages/noLoginIndex.wxml +++ b/pages/noLoginIndex.wxml @@ -1,2 +1,2 @@ - + diff --git a/pages/noLoginIndex.wxss b/pages/noLoginIndex.wxss index bfe7486..cd154ab 100644 --- a/pages/noLoginIndex.wxss +++ b/pages/noLoginIndex.wxss @@ -1,6 +1,6 @@ /* pages/noLoginIndex.wxss */ page{ - background-color: #ffffff!important; + background-color: #F6F6F6!important; height: 100vh; } .navList_main{ diff --git a/pages/user/login/login.wxml b/pages/user/login/login.wxml index 712e408..c4379b4 100644 --- a/pages/user/login/login.wxml +++ b/pages/user/login/login.wxml @@ -1,39 +1,34 @@ - - - + - - - {{nowDress == '' ? '暂未选择':nowDress}} + + + {{nowDress == '' ? '暂未选择':nowDress}} - - 您好, - 欢迎登录e报账 - + + - 关于”融信云e三资+“的小程序服务(以下简称“本服务”)的说明: - 1.本服务是已线下签约客户的内部办公移动端工具,不统一对外开放! - 2.本服务不设用户注册功能,不采集用户信息! - 3.”微信一键登录“是通过该微信手机号验证系统后台用户中心是否存在此用户,存在则授权登录令牌! + 为使用融信云微信小程序服务(以下简称“本服务”或“小程序服务”),您应当阅读并遵守《融信云微信小程序用户协议》,请务必审慎阅读、充分理解各条款内容,特别是免除或限制责任的相应条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。 + 除非您已阅读并接受本条款所有条款,否则您无权使用融信云微信小程序服务。您对本服务的登录、查看、发布信息等行为即视为已阅读并同意本条款的约束。 + 如果您未满18周岁,请在法定监护人的陪同下阅读本您协议,并特别注意未成年人使用条款。 + 一、协议的范围 + 1.1本条款是用户(以下简称“您”)与融信云之间关于用户使用小程序服务所订立的协议。“用户”是指注册、登录、使用微信小程序的个人或组织;“其他用户”是指包括其他微信小程序用户、微信公众账号用户和微信用户等除您本人外与小程序服务相关的用户。 + 1.2本服务是指融信云根据本协议向您提供的服务,包括协助您交接和管理租赁车辆等。我们会不断丰富您使用本服务的终端、形式等,如您已注册使用一种形式的服务,则可以以同一账号使用其他服务,本协议自动适用于您对所有版本的软件和服务的使用。 + 1.3提供本服务的微信小程序的所有权和全部的使用权均归融信云所有,您开通后仅授权使用部分功能,具体以产品展示的为准。 + 1.4小程序属于微信公众账号,在不与本协议冲突的情况下,您应遵守《微信公众平台服务协议》、《腾讯微信软件许可及服务协议》等关于微信公众账号的其他相关规定。 + 1.5本协议内容包括本协议正文及所有我们已经发布或将来可能发布的隐私权政策、各项政策、规则、声明、通知、警示、提示、说明(以下统称为“用户规则”)。前述用户规则为本协议不可分割的补充部分,与本协议具有同等法律效力。如您使用融信云产品及服务,视为您同意上述补充部分。 + + 二、小程序注册与审核 + + 2.1账号注册 + 2.1.1您在使用本服务前需要先进行注册和认证。您确认,在您开始注册使用融信云产品及服务前,您应当是具备完全民事权利能力和与所从事的民事行为相适应的行为能力的自然人、法人或其他组织。若您不具备前述主体资格,请勿使用服务,否则您及您的监护人应承担因此而导致的一切后果,且我们有权注销(永久冻结)您的账户,并向您及您的监护人索偿。 + 2.1.2当您按照注册页面提示填写信息、阅读并同意本协议且完成全部注册程序后,您可获得融信云平台账户并成为产品用户,即有权使用融信云平台并获得相应服务。融信云平台只允许每位用户使用一个主账户,但您可以在授权范围内获得多个子账号。 + 2.1.3该账户是您通过融信云平台寻求并获得服务的唯一有效身份证明,请您妥善保管账号和密码。为使您更好地使用融信云平台的各项服务,保障您的账户安全,本小程序主体可要求您按本协议、用户规则及我国法律规定完成实名认证。 + 2.1.4为维护小程序的健康运营,您应当准确完整地提供您的最新信息(包括您的名称及电子邮件地址、联系电话、联系地址等)。并且您承诺,在使用本服务的过程中提交和发布的信息均是真实、合法的,因不实信息导致融信云或者第三方合法权益受损的,由您独立承担全部责任。 + 2.2账号安全 + 2.2.1在您成功注册后,我们将根据您的身份要素识别您的身份和授权登录。“身份要素”包括但不限于您的账户名称、密码、短信校验码、手机号码、身份证件号码及人脸信息、眼纹信息。您同意基于不同的终端以及您的使用习惯,我们可能采取不同的验证措施识别您的身份。 + 2.2.2如您发现账号遭他人非法使用,应立即通知本小程序主体。因黑客行为或您自身保管疏忽导致账号、密码遭他人非法使用所发生的一切责任,均应由您本人承担,本小程序主体不承担任何责任。 + 2.2.3您注册成功后,融信云将给予您一个帐号,并由您自行设置相应密码,任何该账户项下的预订及支付等行为均视为您本人的操作。您应对您账户项下的所有行为结果(包括但不限于授权、绑定、结算)负责。 + + 三、服务及规范 + + 3.1服务内容 + 3.1.1本服务内容包含【支持通讯录、车辆调度、车辆管理、账单管理、业务信息推荐及】等技术功能,这些功能服务可能根据用户需求的变化,随着因服务版本不同、或服务提供方的单方判断而被优化或修改,或因定期、不定期的维护而暂缓提供。 + 3.1.2融信云有权自行决定对服务或服务任何部分及其相关功能、应用软件进行变更、升级、修改、转移,并有权决定以适当的方式进行公示或通知。 + 3.2服务费用 + 3.2.1融信云平台向您提供的服务目前是免费的。我们保留日后就程序及/或服务向您收费的权利。如果我们决定收取此类费用,我们会采取合理途径并以足够合理的期限提前通过法定程序并以本协议约定的方式通知您,确保您有充分选择的权利。 + 3.2.2您在使用小程序的过程中与第三方发生的费用结算,融信云仅为您使用微信小程序服务提供技术支持,本协议的签署不代表融信云成为您在汽车租赁过程中的参与者。融信云不对基于服务而产生的任何行为担保、许可或向任何第三人承担共同责任。 + 3.3服务使用规则 + 3.3.1您在本服务中或通过本服务所传送、发布的任何内容并不反映或代表,也不得被视为反映或代表融信云的观点、立场或政策,融信云对此不承担任何责任。 + 3.3.2您不得利用融信云账号或本服务进行如下行为:\n(1)提交、发布虚假信息,或盗用他人头像或资料,冒充、利用他人名义的;\n(2)强制、诱导其他您关注、点击链接页面或分享信息的;\n(3)虚构事实、隐瞒真相以误导、欺骗他人的;\n(4)利用技术手段批量建立虚假账号的;\n(5)利用平台账号或本服务从事任何违法犯罪活动的;\n(6)制作、发布与以上行为相关的方法、工具,或对此类方法、工具进行运营或传播,无论这些行为是否为商业目的;\n(7)其他违反法律法规规定、侵犯其他您合法权益、干扰融信云正常运营或融信云未明示授权的行为。 + 3.3.3融信云有权查阅您的注册、交易数据及交易行为,如发现可能存在违反法律法规、本协议或相关规则的情形或其他任何问题,融信云有权直接做出其认为合理的处理,包括但不限于通知修改、删除相关信息,停止被协议项下的服务内容等。前述约定不代表融信云应对您的行为承担任何连带责任,您应对此产生的法律责任独立负责。 + + 四、法律责任 + + 4.1用户责任 + 4.1.1您应遵守《微信公众平台服务协议》中关于“法律责任”的约定,除非该等约定与本协议存在冲突。 + 4.1.2如果我们发现或收到他人举报或投诉您违反本协议约定的,我们有权不经通知随时对相关内容,包括但不限于对您的资料、聊天记录进行审查、删除,并视情节轻重对违规账号处以包括但不限于警告、账号封禁、设备封禁、功能封禁的处罚,且通知您处理结果。 + 4.1.3您理解并同意,因您违反相关法律法规或本协议约定引发的任何后果,均由您独立承担责任、赔偿损失,与我们无关。如侵害到融信云或他人权益的,您须自行承担全部责任和赔偿一切损失。 + 4.2平台责任本小程序主体保证并承诺,本小程序主体系合法成立的法人,依据本协议约定向您提供相关网络服务,并会参考您提出的建议不断改善我们的服务,努力提高您的使用满意度。 + 4.3责任限制 + 4.3.1本服务仅为您与第三方之间的汽车租赁行为而提供协助,融信云并非其中的参与者,对汽车租赁过程中产生的一切纠纷不承担任何责任。 + 4.3.2您理解并确认,我们需要定期或不定期地对融信云平台或相关的设备进行检修或者维护,且互联网连接能力受到全球网路稳定性、技术状态、使用者所在地与使用的网路、电力供应、政府管制、计算机病毒、黑客攻击等既存不确定性的限制,如因此类情况而造成服务在合理时间内的中断,我们无需为此承担任何责任,但会事先进行通告。 + 4.3.3您理解并同意,在使用本服务的过程中,可能会遇到不可抗力等风险因素,使本服务发生中断。不可抗力是指不能预见、不能克服并不能避免且对一方或双方造成重大影响的客观事件,包括但不限于自然灾害如洪水、地震、瘟疫流行和风暴等以及社会事件如战争、动乱、政府行为等。出现上述情况时,融信云将努力在第一时间与相关单位配合,及时进行修复,但是由此给您造成的损失融信云在法律允许的范围内免责。 + 4.3.4融信云不保证为向您提供便利而设置的外部链接的准确性和完整性。同时,对于该等外部链接指向的不由融信云实际控制的任何网页上的内容,融信云不承担任何责任。 + 4.4知识产权声明 + 4.4.1融信云在本服务中提供的内容(包括但不限于网页、文字、图片、音频、视频、图表等)的知识产权归融信云所有,您在使用本服务中所产生的内容的知识产权归您或相关权利人所有。 + 4.4.2除另有特别声明外,融信云提供本服务时所依托软件的著作权、专利权、代码技术及其他知识产权均归融信云所有。 + + 五、隐私政策 + + 5.1保护用户隐私是的融信云一项基本政策,融信云保证不对外公开或向第三方提供您的注册资料及您在使用网络服务时存储在融信云的非公开内容,但下列情况除外:\n(1)事先获得用户的明确授权;\n(2)根据有关的法律法规要求;\n(3)按照相关政府主管部门的要求;\n(4)为维护社会公众的利益;\n(5)为维护融信云的合法权益。 + 5.2当融信云与第三方合作向用户提供相关的网络服务,在此情况下,如该第三方允诺严格承担与融信云同等的保护用户隐私的责任,则视为您授权融信云将包含个人注册资料在内的相关信息仅提供给该等第三方。 + + 六、协议解除和终止 + + 6.1如有下列情形的,我们有权单方面解除本协议,终止向您提供服务:\n(1)您为了非法目的而使用本服务的;\n(2)您使用本服务损害融信云或其他第三方合法权益的;\n(3)您违反法律法规或本协议约定或违反与腾讯的其他约定的;\n(4)根据法律规定平台用户应提交真实信息,而您提供的资料不真实、或未能提供合理证明以证明其真实性的; + 6.2您同意,除上述所述情形外,融信云有权根据风险及自身业务运营情况需要,随时终止向您提供本服务及接口的部分及全部,因此导致您无法使用服务或服务受到限制的,融信云不构成违约,亦不承担任何法律责任。 + 6.3您停用该服务,或融信云终止向您提供本协议项下的服务后,融信云不再为您保留原账户中与之相关的任何信息。 + 6.4您使用本服务即视为您已阅读并同意受本协议的约束。融信云小程序主体有权在必要时修改本协议。您可以在相关服务页面查阅最新版本的协议。本协议变更后,如果您继续使用微信小程序服务,即视为您已接受修改后的协议。如果您不接受修改后的协议,应当停止使用小程序服务。 + + 七、违约责任如 + + 如您因为使用本服务给融信云造成损失的或者给第三方造成损失的,该损失(包括为维权而产生的合理支出)由您来承担。 + + 八、法律管辖 + + 8.1如双方就本协议内容或其执行发生任何争议,双方应友好协商解决;协商不成时,任何一方均可向融信云所在地的人民法院提起诉讼。 + 8.2本协议的成立、生效、履行、解释及纠纷解决,适用中华人民共和国大陆地区法律(不包括冲突法)8.3本协议条款无论因何种原因部分无效或不可执行,其余条款仍有效,对双方都具有约束力。 \ No newline at end of file diff --git a/pages/user/login/login.wxss b/pages/user/login/login.wxss index ab4109d..59c4a2c 100644 --- a/pages/user/login/login.wxss +++ b/pages/user/login/login.wxss @@ -1,73 +1,46 @@ -page{ - background-color: #ffffff; -} .container{ width: 100vw; height: 100vh; } .container .header{ - /* height: 36.94vh; */ - padding: 12.24vh 40px 0; + padding-top: 25.24vh; + height: 36.94vh; } .container .header .principal{ height: 6.15vh; line-height: 6.15vh; margin-bottom: 0.61vh; - text-align: left; + text-align: center; font-size: 4.92vh; - color: #000000; - font-weight: bold; + color: #2c7339; } .container .header .instructions{ - font-size: 3.92vh; + font-size: 2.46vh; height: 4.92vh; line-height: 4.92vh; - text-align: left; - font-weight: bold; - color: #000000; -} - -.container .header .instructions text{ - font-weight: bold; - color: #1DCA84; + text-align: center; + color: #2c7339; } .container .quick-login{ - /* position: fixed; */ + position: fixed; /* bottom: 8vh; */ width: 100%; } .container .quick-login .key-login{ - width: 80vw; - height: 6.17vh; - background: linear-gradient( 90deg, #2FE398 0%, #1BCF84 39%, #0ABD73 77%, #00B268 100%); - margin:1vh auto 0; - border-radius: 6.17vh; - text-align: center; - line-height: 6.17vh; - font-size: 2.21vh; - color: #ffffff; - padding: 0; -} - -.container .quick-login .key-login2{ - width: 80vw; - height: 6.17vh; - background: #E5F5EE; - margin:1vh auto 0; - border-radius: 6.17vh; + width: 89vw; + height: 5.17vh; + background:#ffffff; + margin:0 auto; + border-radius: 5.17vh; text-align: center; - line-height: 6.17vh; + line-height: 5.17vh; font-size: 2.21vh; - color: #00B268; + color: #2c7339; + box-shadow: 8rpx 6rpx 20rpx rgba(0,0,0,.3); padding: 0; - border: none; -} - -.container .quick-login .key-login2::after{ - border: none; } .container .quick-login .authorization{ @@ -75,7 +48,7 @@ page{ display: flex; justify-content: center; /* 相对父元素水平居中 */ align-items: center; /* 子元素相对父元素垂直居中 */ - color: #999999; + color: #fff; } .container .quick-login .authorization .changeSize{ diff --git a/pages/user/region/region.js b/pages/user/region/region.js index e0e28bd..1e3a5ca 100644 --- a/pages/user/region/region.js +++ b/pages/user/region/region.js @@ -10,8 +10,7 @@ Page({ data: { isIPX: app.globalData.isIPX, activeNames: ['1'], - nowDress:'', - identity:'bzy' + nowDress:'' }, /** @@ -46,13 +45,6 @@ Page({ url: '../login/login', }) }, - identityChange(e){ - const type = e.currentTarget.dataset.type; - wx.setStorageSync('identity', type); - this.setData({ - identity: type, - }); - }, /** * 生命周期函数--监听页面初次渲染完成 */ diff --git a/pages/user/region/region.wxml b/pages/user/region/region.wxml index e3a0aa4..7cdb503 100644 --- a/pages/user/region/region.wxml +++ b/pages/user/region/region.wxml @@ -5,18 +5,6 @@ - - 您的身份 - - - 报账员 - - - 审批员 - - - - 您的位置