orderButton.wxss 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 字体大小变量 */
  16. /* 行为相关颜色 */
  17. /* 文字基本颜色 */
  18. /* 背景颜色 */
  19. /* 边框颜色 */
  20. /* 尺寸变量 */
  21. /* 文字尺寸 */
  22. /* 图片尺寸 */
  23. /* Border Radius */
  24. /* 水平间距 */
  25. /* 垂直间距 */
  26. /* 透明度 */
  27. /* 文章场景相关 */
  28. .button-template {
  29. width: 100%;
  30. height: auto;
  31. position: fixed;
  32. bottom: 0;
  33. left: 0;
  34. background: #FFFFFF;
  35. }
  36. .button-template .button-content {
  37. padding: 0 24rpx;
  38. height: auto;
  39. float: right;
  40. position: relative;
  41. }
  42. .button-template .button-content .share-code {
  43. width: 200rpx;
  44. height: 64rpx;
  45. line-height: 64rpx;
  46. color: #2A45FF;
  47. text-align: left;
  48. position: absolute;
  49. font-size: 28rpx;
  50. font-weight: bold;
  51. left: 24rpx;
  52. top: 24rpx;
  53. }
  54. .button-template .button-content .btn {
  55. width: 160rpx;
  56. height: 64rpx;
  57. margin: 22rpx 22rpx 22rpx 0;
  58. line-height: 64rpx;
  59. font-size: 26rpx;
  60. color: #333333;
  61. text-align: center;
  62. float: right;
  63. border: 2rpx solid #333333;
  64. border-radius: 34rpx;
  65. }
  66. .button-template .button-content .btn.btn-pay {
  67. border-color: #FF457B;
  68. color: #FF457B;
  69. }
  70. .button-template .button-content .btn.btn-cancel {
  71. text-align: center;
  72. }