소스 검색

增加font-awesome

tags/AL.0.8.0_20240113_base
yuan 1 년 전
부모
커밋
f0680e5b57
5개의 변경된 파일2356개의 추가작업 그리고 0개의 파일을 삭제
  1. +7
    -0
      src/components/fa/index.js
  2. +3
    -0
      src/components/fa/index.json
  3. +12
    -0
      src/components/fa/index.scss
  4. +3
    -0
      src/components/fa/index.wxml
  5. +2331
    -0
      src/components/font-awesome/index.wxss

+ 7
- 0
src/components/fa/index.js 파일 보기

@@ -0,0 +1,7 @@
import './index.scss'
Component({
properties: {
icon: null,
type: String
},
});

+ 3
- 0
src/components/fa/index.json 파일 보기

@@ -0,0 +1,3 @@
{
"component": true
}

+ 12
- 0
src/components/fa/index.scss 파일 보기

@@ -0,0 +1,12 @@
@import "../font-awesome/index.wxss";
.text-primary { color: #007bff !important; }
.text-secondary { color: #6c757d !important; }
.text-success { color: #28a745 !important; }
.text-danger { color: #dc3545 !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #17a2b8 !important; }
.text-light { color: #f8f9fa !important; }
.text-dark { color: #343a40 !important; }
.text-muted { color: rgb(138,147,155) !important; }
.text-white { color: #fff !important; }
.text-grey { color: #ddd !important; }

+ 3
- 0
src/components/fa/index.wxml 파일 보기

@@ -0,0 +1,3 @@
<i class="{{icon}}">
<slot></slot>
</i>

+ 2331
- 0
src/components/font-awesome/index.wxss
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


불러오는 중...
취소
저장