bill 2 jaren geleden
bovenliggende
commit
7075596de2

+ 26 - 3
src/components/bill-ui/components/icon/iconfont/demo_index.html

@@ -55,6 +55,12 @@
           <ul class="icon_lists dib-box">
           
             <li class="dib">
+              <span class="icon iconfont">&#xe70e;</span>
+                <div class="name">without</div>
+                <div class="code-name">&amp;#xe70e;</div>
+              </li>
+          
+            <li class="dib">
               <span class="icon iconfont">&#xe70d;</span>
                 <div class="name">keyboard</div>
                 <div class="code-name">&amp;#xe70d;</div>
@@ -468,9 +474,9 @@
 <pre><code class="language-css"
 >@font-face {
   font-family: 'iconfont';
-  src: url('iconfont.woff2?t=1670990245148') format('woff2'),
-       url('iconfont.woff?t=1670990245148') format('woff'),
-       url('iconfont.ttf?t=1670990245148') format('truetype');
+  src: url('iconfont.woff2?t=1673227670116') format('woff2'),
+       url('iconfont.woff?t=1673227670116') format('woff'),
+       url('iconfont.ttf?t=1673227670116') format('truetype');
 }
 </code></pre>
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -497,6 +503,15 @@
         <ul class="icon_lists dib-box">
           
           <li class="dib">
+            <span class="icon iconfont icon-without"></span>
+            <div class="name">
+              without
+            </div>
+            <div class="code-name">.icon-without
+            </div>
+          </li>
+          
+          <li class="dib">
             <span class="icon iconfont icon-keyboard"></span>
             <div class="name">
               keyboard
@@ -1119,6 +1134,14 @@
           
             <li class="dib">
                 <svg class="icon svg-icon" aria-hidden="true">
+                  <use xlink:href="#icon-without"></use>
+                </svg>
+                <div class="name">without</div>
+                <div class="code-name">#icon-without</div>
+            </li>
+          
+            <li class="dib">
+                <svg class="icon svg-icon" aria-hidden="true">
                   <use xlink:href="#icon-keyboard"></use>
                 </svg>
                 <div class="name">keyboard</div>

+ 7 - 3
src/components/bill-ui/components/icon/iconfont/iconfont.css

@@ -1,8 +1,8 @@
 @font-face {
   font-family: "iconfont"; /* Project id 3549513 */
-  src: url('iconfont.woff2?t=1670990245148') format('woff2'),
-       url('iconfont.woff?t=1670990245148') format('woff'),
-       url('iconfont.ttf?t=1670990245148') format('truetype');
+  src: url('iconfont.woff2?t=1673227670116') format('woff2'),
+       url('iconfont.woff?t=1673227670116') format('woff'),
+       url('iconfont.ttf?t=1673227670116') format('truetype');
 }
 
 .iconfont {
@@ -13,6 +13,10 @@
   -moz-osx-font-smoothing: grayscale;
 }
 
+.icon-without:before {
+  content: "\e70e";
+}
+
 .icon-keyboard:before {
   content: "\e70d";
 }

File diff suppressed because it is too large
+ 1 - 1
src/components/bill-ui/components/icon/iconfont/iconfont.js


+ 7 - 0
src/components/bill-ui/components/icon/iconfont/iconfont.json

@@ -6,6 +6,13 @@
   "description": "",
   "glyphs": [
     {
+      "icon_id": "33692561",
+      "name": "without",
+      "font_class": "without",
+      "unicode": "e70e",
+      "unicode_decimal": 59150
+    },
+    {
       "icon_id": "33322597",
       "name": "keyboard",
       "font_class": "keyboard",

BIN
src/components/bill-ui/components/icon/iconfont/iconfont.ttf


BIN
src/components/bill-ui/components/icon/iconfont/iconfont.woff


BIN
src/components/bill-ui/components/icon/iconfont/iconfont.woff2


+ 2 - 1
src/views/setting/index.vue

@@ -47,13 +47,14 @@ import { showRightPanoStack, showRightCtrlPanoStack } from '@/env'
 import { sdk } from '@/sdk'
 
 const backs = reactive([
-  { label: '无', type: 'icon', image: 'icon-left1', value: 'none' },
+  { label: '无', type: 'icon', image: 'icon-without', value: 'none' },
   { label: '蓝天白云', type: 'img', image: ltby, value: ltby360 },
   { label: '灰蒙蒙', type: 'img', image: hmm, value: hmm360 },
   { label: '星空', type: 'img', image: xk, value: xk360 },
   { label: '夜间', type: 'img', image: yk, value: yk360 },
   { label: '灰色', type: 'color', image: '#333333', value: '#333' },
   { label: '黑色', type: 'color', image: '#000000', value: '#000' },
+  { label: '白色', type: 'color', image: '#ffffff', value: '#fff' },
 ])
 
 const enterSetPic = () => {