• 四则运算计算器的微信小程序_1 界面


    主界面wxml文件:
    page{
    height:100%;
    }
    .content{
    min-height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    box-sizing:border-box;
    position:relative;
    }
    .main-bg{
    height:100%;
    100%;
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    }
    .screen-container{
    padding-top:30rpx;
    padding-left:5rpx;
    padding-right:5rpx;
    }
    .screen{
    ">#fff;
    border-radius:3px;
    text-align:right;
    720rpx;
    height:100rpx;
    line-height:100rpx;
    padding-left:10rpx;
    padding-right:10rpx;
    margin-bottom:30rpx;
     
    }
    .btnGroup{
    display:flex;
    flex-direction:row;
    }
    .item{
    160rpx;
    min-height:10rpx;
    margin:10rpx;
    text-shadow:0 1px 1px rgba(0,0,0,.3);
    border-radius:5px;
    text-align:center;
    line-height:150rpx;
    display:inline-block;
    }
    .green{
    color:#d9eef7;
    border:solid 0px #da7c0c;
    background:#99cc66;
    }
    .blue{
    color:#d9eef7;
    border:solid 0px #0076a3;
    background:#0095cd;
    }
     
    主界面wxss文件:
    page{
    height:100%;
    }
    .content{
    min-height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    box-sizing:border-box;
    position:relative;
    }
    .main-bg{
    height:100%;
    100%;
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    }
    .screen-container{
    padding-top:30rpx;
    padding-left:5rpx;
    padding-right:5rpx;
    }
    .screen{
    ">#fff;
    border-radius:3px;
    text-align:right;
    720rpx;
    height:100rpx;
    line-height:100rpx;
    padding-left:10rpx;
    padding-right:10rpx;
    margin-bottom:30rpx;
     
    }
    .btnGroup{
    display:flex;
    flex-direction:row;
    }
    .item{
    160rpx;
    min-height:10rpx;
    margin:10rpx;
    text-shadow:0 1px 1px rgba(0,0,0,.3);
    border-radius:5px;
    text-align:center;
    line-height:150rpx;
    display:inline-block;
    }
    .green{
    color:#d9eef7;
    border:solid 0px #da7c0c;
    background:#99cc66;
    }
    .blue{
    color:#d9eef7;
    border:solid 0px #0076a3;
    background:#0095cd;
    }

    (原项目作者:忽如寄 (简书)

    原文链接:https://www.jianshu.com/p/47c1a65009a7)

  • 相关阅读:
    mongodbwindows安装过程附带安装包百度云
    PostgreSQL数据库中跨库访问解决方案
    PostgreSQL 同步复制(1master+2standby)
    PostgreSQL数据导出导入COPY
    CentOS 6.5安装PostgreSQL9.3.5时报错: jade: Command not found
    postgresql常用命令
    EasyUI Messager 消息框
    js验证如何限制文本框只能输入数字
    推荐几个在线PDF转化成Word网站
    程序员高效编程的14点建议
  • 原文地址:https://www.cnblogs.com/liushiqiang123/p/8516420.html
Copyright © 2020-2023  润新知