修改本地连接

This commit is contained in:
2024-04-10 15:36:38 +08:00
parent 7249c430b8
commit cae7b2767f
15 changed files with 283 additions and 19 deletions

71
pages/invoicing/index.js Normal file
View File

@@ -0,0 +1,71 @@
// pages/invoicing/index.js
Page({
/**
* 页面的初始数据
*/
data: {
money: 0,
tenement: "",
ids: [],
count: 0,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
const { money = 10, tenement, ids = 'q', count = 10 } = options;
console.log('option', options)
this.setData({ money, tenement, ids: ids.split(","), count })
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@@ -0,0 +1,7 @@
{
"usingComponents": {
"navigator": "/components/navigator/index",
"van-button": "@vant/weapp/button/index"
},
"navigationStyle": "custom"
}

View File

@@ -0,0 +1,14 @@
<!--pages/invoicing/index.wxml-->
<navigator title="1111" canBack="{{true}}" />
<view class="info">
<view class="money"> 发票金额:<text class="moneyNumber"> {{money}} </text> </view>
<view class="content">发票内容:<text class="contentText">电费</text> </view>
</view>
<view class="type"></view>
<view class="content">
</view>
<view class="submit">
<van-button type="info" block> 提交 </van-button>
</view>

View File

@@ -0,0 +1,31 @@
/* pages/invoicing/index.wxss */
.submit {
margin-top: 40rpx;
margin-left: 32rpx;
margin-right: 32rpx;
margin-bottom: 40rpx;
}
.info {
margin: 30rpx;
border-radius: 20rpx;
padding: 26rpx;
background-color: #fff;
}
.info .moneyNumber {
color: var(--money-color)
}
.info .content {
margin-top: 20rpx;
}
.info .content .contentText {
margin-left: 10rpx;
font-weight: 600;
}
page {
background-color: var(--transparent-green);
}