瀏覽代碼

更新

master
yujk 3 年之前
父節點
當前提交
ecd31b8496
共有 7 個檔案被更改,包括 123 行新增78 行删除
  1. +2
    -1
      app.json
  2. +1
    -1
      env/env.js
  3. +15
    -0
      pages/apply/index.js
  4. +1
    -1
      pages/apply/index.wxml
  5. +30
    -0
      pages/index/index.js
  6. +2
    -2
      pages/index/index.wxml
  7. +72
    -73
      project.config.json

+ 2
- 1
app.json 查看文件

@@ -5,7 +5,8 @@
"pages/handle/liist",
"pages/handle/expenditureAudit/expenditureAudit",
"pages/apply/index",
"pages/apply/paymentTemplate/paymentTemplate"
"pages/apply/paymentTemplate/paymentTemplate",
"pages/inCome/inCome"
],
"window": {
"backgroundTextStyle": "light",


+ 1
- 1
env/env.js 查看文件

@@ -1,6 +1,6 @@
module.exports = {
DEV: {
URL_PREFIX: 'http://116.255.223.226:8081/nsgk_test',
URL_PREFIX: 'http://http://192.168.31.228:8080',
},
PRE: {
URL_PREFIX: 'http://116.255.223.226:8081/nsgk_test',


+ 15
- 0
pages/apply/index.js 查看文件

@@ -15,6 +15,21 @@ Page({
*/
onLoad: function (options) {

},
//跳转支出申请
swichPaymentApply:function(e){
console.log(e.currentTarget.dataset.current);
// let cur = e.currentTarget.dataset.current;
// if (this.data.currentTaB == cur) {
// return false;
// }else{
// wx.navigateTo({
// url: '../inCome/index?id=' + id,
// })
// }
wx.navigateTo({
url: '../handle/expenditureAudit/expenditureAudit?',
})
},
openBox:function(){
var that = this ;


+ 1
- 1
pages/apply/index.wxml 查看文件

@@ -58,7 +58,7 @@

<view class="bottom">
<view class="btn1" bindtap="openBox">支付模板</view>
<view class="btn2">下一步</view>
<view class="btn2" bindtap="swichPaymentApply">下一步</view>
</view>

<van-action-sheet show="{{show}}" title="支付模板" bind:close="closeBox">


+ 30
- 0
pages/index/index.js 查看文件

@@ -16,6 +16,36 @@ Page({
//获取滚动条高度
this.computeBarLocation();
},
//跳转收入登记
swichInCome:function(e){
console.log(e.currentTarget.dataset.current);
// let cur = e.currentTarget.dataset.current;
// if (this.data.currentTaB == cur) {
// return false;
// }else{
// wx.navigateTo({
// url: '../inCome/index?id=' + id,
// })
// }
wx.navigateTo({
url: '../inCome/inCome?',
})
},
//跳转支出申请
swichPayment:function(e){
console.log(e.currentTarget.dataset.current);
// let cur = e.currentTarget.dataset.current;
// if (this.data.currentTaB == cur) {
// return false;
// }else{
// wx.navigateTo({
// url: '../inCome/index?id=' + id,
// })
// }
wx.navigateTo({
url: '../apply/index?',
})
},
/* 计算bar 高度*/
computeBarLocation() {
var that = this;


+ 2
- 2
pages/index/index.wxml 查看文件

@@ -32,13 +32,13 @@
</view>
<!--主导航-->
<view class="navList_main">
<view class="tab_item">
<view class="tab_item" bindtap='swichPayment'>
<view class="icon">
<image class="icon_img" src="../../image/index/nav_01.png" mode="aspectFit"></image>
</view>
<text class="desc">支出申请</text>
</view>
<view class="tab_item">
<view class="tab_item" bindtap='swichInCome'>
<view class="icon">
<image class="icon_img" src="../../image/index/nav_02.png" mode="aspectFit"></image>
</view>


+ 72
- 73
project.config.json 查看文件

@@ -1,79 +1,78 @@
{
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": {
"ignore": [
{
"value": ".eslintrc.js",
"type": "file"
}
],
"include": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": false,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
"description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": {
"ignore": [
{
"value": ".eslintrc.js",
"type": "file"
}
],
"include": []
},
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true,
"useStaticServer": true
},
"compileType": "miniprogram",
"libVersion": "2.23.2",
"appid": "wxaace54cc2cf8924b",
"projectname": "WXMB",
"condition": {
"search": {
"list": []
"setting": {
"urlCheck": false,
"es6": true,
"enhance": true,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": false,
"coverView": true,
"nodeModules": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": false,
"uploadWithSourceMap": true,
"compileHotReLoad": true,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": true,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
},
"conversation": {
"list": []
"compileType": "miniprogram",
"libVersion": "2.23.2",
"appid": "wxaace54cc2cf8924b",
"projectname": "nsgk_wechat",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
}
},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}

Loading…
取消
儲存