zoukankan      html  css  js  c++  java
  • 微信小程序button组件样式

    点击微信按键组件才能出授权,所以自定义样式就是必须的了,来自网友的帮助,如下图

    <button class='btn1' open-type='contact'>
        <image class='btnImg' src='../../images/客服.png'></image>
        <view>联系客服</view>
     </button>
    
    
    .btn1{
       200rpx;
      height: 200rpx;
      margin-top: 20rpx;
      background-color: white;
      color: #999999;
      border-radius: 0rpx;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-size: 30rpx;
    }
    
    .btnImg {
       50rpx;
      height: 50rpx;
    }
    
    .btn1::after {
      border: 0; 
    }

    https://www.jianshu.com/p/93d7104be420

    .

  • 相关阅读:
    清单
    1
    s
    模块系统的演进
    改radio样式
    前端css库
    疑惑
    收藏
    事件
    社保档案
  • 原文地址:https://www.cnblogs.com/xiangsj/p/10679790.html
Copyright © 2011-2022 走看看