diff --git a/pages/home-page/home-page.wxml b/pages/home-page/home-page.wxml index feb0840..cbf026b 100644 --- a/pages/home-page/home-page.wxml +++ b/pages/home-page/home-page.wxml @@ -7,17 +7,20 @@ - - - - 394.00 - - - 预计到账收益 - - + + + + + 394.00 + + + 预计到账收益 + + - + + + diff --git a/pages/home-page/home-page.wxss b/pages/home-page/home-page.wxss index ec8ef7b..219fad0 100644 --- a/pages/home-page/home-page.wxss +++ b/pages/home-page/home-page.wxss @@ -187,7 +187,7 @@ button.refunded-button-style{ line-height: 48rpx; font-family: "Microsoft YaHei"; font-size: 24rpx; - color: #454545; + color: #999 !important; border-color: #E5E5E5; background: #fff; border-radius: 100rpx; diff --git a/pages/user-orders/user-orders.js b/pages/user-orders/user-orders.js new file mode 100644 index 0000000..a38581c --- /dev/null +++ b/pages/user-orders/user-orders.js @@ -0,0 +1,127 @@ +// pages/pregnant-mother/pregnant-mother.js + + +Page({ + + /** + * 页面的初始数据 + */ + data: { + background: ['demo-text-1', 'demo-text-2', 'demo-text-3'], + indicatorDots: true, + vertical: false, + autoplay: true, + interval: 2000, + duration: 500, + nvabarData: { + title: '', //导航栏 中间的标题 + keyWord: '', + search: true + }, + height: '' + }, + + + changeIndicatorDots() { + this.setData({ + indicatorDots: !this.data.indicatorDots + }) + }, + + changeAutoplay() { + this.setData({ + autoplay: !this.data.autoplay + }) + }, + + intervalChange(e) { + this.setData({ + interval: e.detail.value + }) + }, + + durationChange(e) { + this.setData({ + duration: e.detail.value + }) + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad(options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady() { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow() { + + // 清除搜索框 调用子组件的清空函数 + this.selectComponent('#bar').clearInput(); + // 每个机型的尺寸不一致 + // 在app.js中获取到的 statusBarHeight 用于控制头部的高度 + + this.setData({ + // height: app.globalData.height, + }) + this.setData({ + 'nvabarData.inputValue': '' + }) + + if (typeof this.getTabBar === 'function' && + this.getTabBar()) { + this.getTabBar().setData({ + selected: 1 + }) + } + }, + + search: function(e) { + this.getTask(e.detail); +}, + + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide() { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload() { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh() { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom() { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage() { + + } +}) \ No newline at end of file diff --git a/pages/user-orders/user-orders.json b/pages/user-orders/user-orders.json new file mode 100644 index 0000000..ae23ce6 --- /dev/null +++ b/pages/user-orders/user-orders.json @@ -0,0 +1,6 @@ +{ + "navigationBarTitleText": "商户登录", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#F52F3E", + "navigationBarTextStyle": "white" +} \ No newline at end of file diff --git a/pages/user-orders/user-orders.wxml b/pages/user-orders/user-orders.wxml new file mode 100644 index 0000000..9cb1300 --- /dev/null +++ b/pages/user-orders/user-orders.wxml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + 我同意 + 《排队支付用户服务协议》 + 《隐私保护协议》 + + diff --git a/pages/user-orders/user-orders.wxss b/pages/user-orders/user-orders.wxss new file mode 100644 index 0000000..01d8c7c --- /dev/null +++ b/pages/user-orders/user-orders.wxss @@ -0,0 +1,88 @@ +page{ + background: #fff; +} +.page-bg{ + width: 750rpx; + height: 1492rpx; + background: url("https://common-1257637852.cos.ap-guangzhou.myqcloud.com/paidui-pay/Login-bg.png") no-repeat center center; + background-size:cover; + padding: 0 30rpx; +} +image.login-copy-style{ + width: 364rpx; + height: 200rpx; + background-size:cover; + margin: 90rpx 0; +} +.input-mobile-phone{ + display: flex; + justify-content: left; + align-items: center; + width: 690rpx; + height: 88rpx; + background: #fff; + border-radius: 100rpx; + padding: 0 40rpx; + margin-bottom: 40rpx; +} +input.phone-input{ + width: 690rpx; + font-family: "Microsoft YaHei"; + font-size: 24rpx; + color: #999; +} +.input-validation{ + display: flex; + justify-content: space-between; + align-items: center; + width: 690rpx; + height: 88rpx; + background: #fff; + border-radius: 100rpx; + padding: 0 40rpx; + margin-bottom: 40rpx; +} +input.mobile-verification{ + width: 400rpx; + font-family: "Microsoft YaHei"; + font-size: 24rpx; + color: #999; +} +button.verification-button{ + font-family: "Microsoft YaHei"; + font-size: 24rpx; + color: #454545; + background: none; + border-radius: 100rpx; + border: 1rpx solid #fff; + margin: 0; +} +button{ + border: none; +} +button.login-button{ + width: 690rpx; + height: 88rpx; + line-height: 88rpx; + font-family: "Microsoft YaHei"; + font-size: 30rpx; + color: #fff; + font-weight: bold; + background: #F52F3E; + border-radius: 100rpx; + margin-top: 90rpx; + border: none; +} +.consent-agreement{ + display: flex; + justify-content: center; + align-items: center; + margin-top: 36rpx; +} +.agree-style{ + font-family: "Microsoft YaHei"; + font-size: 24rpx; + color: #999; + margin-left: 10rpx; +} +