首页 > 小程序教程 > 微信小程序申请提现金额输入设计制作开发教程下载

微信小程序申请提现金额输入设计制作开发教程下载

上一篇 下一篇
本文给大家带来的是微信小程序申请提现金额输入设计制作开发教程,制作好以后效果图如下:
一、wxml页面代码如下:
<!--pages/salesCommission/withdraw.wxml-->

<view class="container">
   <view class="view-list font-color-999" style=" background-color:transparent;">可提现金额:¥{{amount}}</view>
   <view class="withdraw">
       <view class="withdraw-hd font-color-c24e4e">输入提现金额:</view>
       <view class="withdraw-bd">
           <view class="input-box">  
              <input type="number" class="input" auto-focus/>
        </view>
           <view class="bg-color-c24e4e but" bindtap="openWin">提现</view>
       </view>
       <view class="withdraw-ft">
          <text class="font-color-999">申请提现后,系统将在工作日的48小时内打款.</text>
          <text class="font-color-999">请确保您的<text class="font-color-c24e4e">个人资料</text>中已经绑定收款银行卡</text>
       </view>
   </view>
 <navigator url="withdrawHistory" class="view-list arrow-right margin-top-20"  hover-class="weui-cell_active">
      <view class="list-text font-color-333">提现记录</view>
 </navigator>
</view>
 
二、wxss样式文件代码如下:
/* pages/salesCommission/withdraw.wxss */
.view-list{
    display: flex;
    flex-direction: row;
    height: 120rpx;
    padding: 0 30rpx;
    align-items: center;
    background-color: #fff;
    color: #333333;
}
.view-list  .list-text{
    display: flex;
    justify-content: space-between;
    flex: 1;
    padding-right: 36rpx;
    align-items: center;
    
}
.withdraw{
    background-color: #ffffff;
    padding: 40rpx;

}
.withdraw-bd{
    display:flex;
    margin: 40rpx 0 30rpx; 
    flex-direction: row;
    justify-content: space-between;
}
.withdraw-bd .input-box{
    border:2rpx solid #999999;
    display: flex;
    align-items: center;
    padding:0 30rpx;
    width: 450rpx;
    height: 100rpx;
    box-sizing: border-box;
}
.withdraw-bd{
    display: flex;
    flex: 1;
}
.withdraw-bd .but{
    width:200rpx;
    height: 100rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    color:#fefefe;

    
}
三、js页面代码如下:
// pages/salesCommission/withdraw.js
Page({
  data:{
    amount:null,
  },
  onLoad:function(options){
    // 页面初始化 options为页面跳转所带来的参数
    this.setData({
      amount:350
    })
  },
  openWin(){
     wx.navigateTo({
       url: 'withdrawResult'
     })
  },
  onReady:function(){
    // 页面渲染完成
  },
  onShow:function(){
    // 页面显示
  },
  onHide:function(){
    // 页面隐藏
  },
  onUnload:function(){
    // 页面关闭
  }
})

模板简介:该模板名称为【微信小程序申请提现金额输入设计制作开发教程下载】,大小是,文档格式为.,推荐使用打开,作品中的图片,文字等数据均可修改,图片请在作品中选中图片替换即可,文字修改直接点击文字修改即可,您也可以新增或修改作品中的内容,该模板来自用户分享,如有侵权行为请联系网站客服处理。欢迎来懒人模板【小程序教程】栏目查找您需要的精美模板。

相关搜索
  • 下载密码 lanrenmb
  • 下载次数 20,325次
  • 使用软件
  • 文件格式
  • 文件大小
  • 上传时间 07-17
  • 作者 网友投稿
  • 肖像权 人物画像及字体仅供参考
栏目分类 更多 >
热门推荐 更多 >
微信素材 微信公众平台 自适应 微信图片 企业网站 单页式简历模板 响应式 html5 微信文章 微信模板
您可能会喜欢的其他模板