欢迎来到懒人模板!我们专注移动互联网,所有模板永久免费下载!
  • 首 页
  • 当前位置:主页 > 小程序教程 >

    微信小程序绿色顶部我的e卡黑色卡面样式模板制作设计下载(2)

    2018-06-07 09:52 来源/作者:懒人模板 分类:小程序教程  « »
     
    二、wxss样式文件代码如下:
    page{
        background-color: #f5f4f4;
    }
    .nav-view{
        width: 100%;
        height: 80rpx;
        background-color: white;
        font-size: 26rpx;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .category{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        width: 33%;
        position: relative;
        justify-content: space-between;
    }
    .category text{
        margin-top: 25rpx;
    }
    .select-line{
        width: 80rpx;
        height: 2rpx;
        background-color: #ed4040;
    }
    .addcard-button{
        font-size: 26rpx;
        color: #ed4040;
        /*text-align: center;*/
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: white;
        height: 80rpx;
        border-top: solid #d8d8d8 1rpx;
    }
    .addcard-button text{
        position: absolute;
        top: 25rpx;
        left: 310rpx;
    }
    .toast-view{
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1000;
    }
    .toast-view image{
        width: 40rpx;
        height: 40rpx;
        margin: 300rpx 0  10rpx 670rpx;
    }
    .option-view{
        background-color: white;
        width: 90%;
        height: 360rpx;
        margin-left: 5%;
        /*margin: 350rpx 5% 0;*/
        border-radius: 8rpx;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .option-view input{
        border: solid #d8d8d8 1rpx;
        width: 85%;
        margin-top: 80rpx;
        padding-left:20rpx; 
    }
    .option-view .line{
        width: 100%;
        height: 1rpx;
        background-color: #d8d8d8;
        margin-top: 80rpx;
    }
    .option-view button{
        background-color: #ed4040;
        width: 85%;
        height: 80rpx;
        color: white;
        margin-top: 40rpx;
    }
    .content-view{
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 80rpx;
    }
    .content-view .card-item{
        margin-top: 20rpx;
        width: 95%;
        height: 439rpx;
        color: #ecbe5b;
        position: relative;
    }
    .content-view .card-item image{
        position: absolute;
        width: 100%;
        height: 100%;
    }
    .price{
        font-size: 60rpx;
        position: absolute;
        top: 205rpx;
        left: 310rpx;
    }
    .left{
        font-size: 28rpx;
        position: absolute;
        top: 340rpx;
        left: 590rpx;
    }
    .date_validity{
        font-size: 28rpx;
        position: absolute;
        top: 385rpx;
        left: 560rpx;
    }
    

    点击扫描效果预览免费下载免登陆网盘下载
    标签:
    * 懒人模板承诺:本站所有资源免费下载,无病毒,无弹窗,无干扰链接! 提点建议