Parcourir la source

增加font-awesome

tags/AL.0.8.0_20240113_base
yuan il y a 1 an
Parent
révision
f0680e5b57
5 fichiers modifiés avec 2356 ajouts et 0 suppressions
  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 Voir le fichier

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

+ 3
- 0
src/components/fa/index.json Voir le fichier

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

+ 12
- 0
src/components/fa/index.scss Voir le fichier

@@ -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 Voir le fichier

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

+ 2331
- 0
src/components/font-awesome/index.wxss
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer