| @@ -0,0 +1,74 @@ | |||||
| // pages/apply/index.js | |||||
| const app = getApp(); | |||||
| Page({ | |||||
| /** | |||||
| * 页面的初始数据 | |||||
| */ | |||||
| data: { | |||||
| isIPX: app.globalData.isIPX, | |||||
| show:false | |||||
| }, | |||||
| /** | |||||
| * 生命周期函数--监听页面加载 | |||||
| */ | |||||
| onLoad: function (options) { | |||||
| }, | |||||
| back:function(){ | |||||
| wx.navigateBack({ | |||||
| delta: 1 | |||||
| }) | |||||
| }, | |||||
| /** | |||||
| * 生命周期函数--监听页面初次渲染完成 | |||||
| */ | |||||
| onReady: function () { | |||||
| }, | |||||
| /** | |||||
| * 生命周期函数--监听页面显示 | |||||
| */ | |||||
| onShow: function () { | |||||
| }, | |||||
| /** | |||||
| * 生命周期函数--监听页面隐藏 | |||||
| */ | |||||
| onHide: function () { | |||||
| }, | |||||
| /** | |||||
| * 生命周期函数--监听页面卸载 | |||||
| */ | |||||
| onUnload: function () { | |||||
| }, | |||||
| /** | |||||
| * 页面相关事件处理函数--监听用户下拉动作 | |||||
| */ | |||||
| onPullDownRefresh: function () { | |||||
| }, | |||||
| /** | |||||
| * 页面上拉触底事件的处理函数 | |||||
| */ | |||||
| onReachBottom: function () { | |||||
| }, | |||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | |||||
| @@ -0,0 +1,12 @@ | |||||
| { | |||||
| "usingComponents": { | |||||
| "van-tab": "@vant/weapp/tab/index", | |||||
| "van-tabs": "@vant/weapp/tabs/index", | |||||
| "van-action-sheet": "@vant/weapp/action-sheet/index", | |||||
| "van-swipe-cell": "@vant/weapp/swipe-cell/index", | |||||
| "van-cell": "@vant/weapp/cell/index", | |||||
| "van-cell-group": "@vant/weapp/cell-group/index", | |||||
| "van-icon": "@vant/weapp/icon/index", | |||||
| "van-tag": "@vant/weapp/tag/index" | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,11 @@ | |||||
| <!--pages/apply/index.wxml--> | |||||
| <view class="ns" style="height:{{isIPX?'88px':'64px'}};"> | |||||
| <image src="../../image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};" mode="widthFix" bindtap="back"></image> | |||||
| <text style="top:{{isIPX?'54px':'30px'}};">支出申请</text> | |||||
| </view> | |||||
| <!-- 付款单位开始 --> | |||||
| <view class="top"> | |||||
| <image src="../../image/apply/dress_icon.png" mode="widthFix"></image> | |||||
| <view class="top-tit">收入单位</view> | |||||
| <view class="top-title">龙水镇龙洞村股份经济联合社</view> | |||||
| </view> | |||||
| @@ -0,0 +1,33 @@ | |||||
| /* pages/apply/index.wxss */ | |||||
| .inComeUnit{ | |||||
| border:1px solid #ddd; | |||||
| width:90%; | |||||
| margin:0 auto; | |||||
| } | |||||
| .top{ | |||||
| display: flex; | |||||
| width: 94%; | |||||
| margin: 0 auto; | |||||
| background-color: #ffffff; | |||||
| border-radius: 10px; | |||||
| margin-top: 3vw; | |||||
| overflow: hidden; | |||||
| } | |||||
| .top view{ | |||||
| padding: 18px 15px; | |||||
| align-items: center; | |||||
| justify-content: center; | |||||
| position: relative; | |||||
| } | |||||
| .top image{ | |||||
| position: absolute; | |||||
| width: 94%; | |||||
| } | |||||
| .top-title{ | |||||
| flex: 1; | |||||
| text-align: center; | |||||
| } | |||||
| .top-tit{ | |||||
| color: #fff; | |||||
| } | |||||