Browse Source

为预防疫情,每日一提,正在开发工单列表

seimin 3 years ago
parent
commit
fa0b455d20

+ 1 - 1
components/seiminFooterNav/seiminFooterNav.vue

@@ -38,7 +38,7 @@
38
           },
38
           },
39
           {
39
           {
40
             name: "工单",
40
             name: "工单",
41
-            link: "/pages/orders/orders",
41
+            link: "/pages/orderList/orderList",
42
             icon: "pda-gongdan",
42
             icon: "pda-gongdan",
43
             otherStyle: false,
43
             otherStyle: false,
44
             active: false,
44
             active: false,

+ 6 - 0
pages.json

@@ -26,6 +26,12 @@
26
         "navigationBarBackgroundColor": "#2C2D31"
26
         "navigationBarBackgroundColor": "#2C2D31"
27
       }
27
       }
28
 
28
 
29
+    }, {
30
+      "path": "pages/orderList/orderList",
31
+      "style": {
32
+        "navigationBarTitleText": "工单列表",
33
+        "navigationBarBackgroundColor": "#2C2D31"
34
+      }
29
     }
35
     }
30
   ],
36
   ],
31
   "globalStyle": {
37
   "globalStyle": {

+ 34 - 0
pages/orderList/orderList.vue

@@ -0,0 +1,34 @@
1
+<template>
2
+  <view class="orderList">
3
+    <!-- 头部筛选 -->
4
+    <view class="orderList_header">
5
+      <view class="orderList_header_item">
6
+        
7
+      </view>
8
+      <view class="orderList_header_item">
9
+        
10
+      </view>
11
+    </view>
12
+    <seiminFooterNav></seiminFooterNav>
13
+  </view>
14
+</template>
15
+
16
+<script>
17
+  export default {
18
+    name: 'orderList',
19
+    data() {
20
+      return {
21
+
22
+      };
23
+    }
24
+  }
25
+</script>
26
+
27
+<style lang="scss" scoped>
28
+  .orderList {
29
+    .orderList_header {
30
+      height: 88rpx;
31
+      @include flex(center, center);
32
+    }
33
+  }
34
+</style>

+ 26 - 3
static/fonts/demo_index.html

@@ -55,6 +55,12 @@
55
           <ul class="icon_lists dib-box">
55
           <ul class="icon_lists dib-box">
56
           
56
           
57
             <li class="dib">
57
             <li class="dib">
58
+              <span class="icon pda">&#xe68f;</span>
59
+                <div class="name">下拉</div>
60
+                <div class="code-name">&amp;#xe68f;</div>
61
+              </li>
62
+          
63
+            <li class="dib">
58
               <span class="icon pda">&#xe626;</span>
64
               <span class="icon pda">&#xe626;</span>
59
                 <div class="name">失败</div>
65
                 <div class="name">失败</div>
60
                 <div class="code-name">&amp;#xe626;</div>
66
                 <div class="code-name">&amp;#xe626;</div>
@@ -126,9 +132,9 @@
126
 <pre><code class="language-css"
132
 <pre><code class="language-css"
127
 >@font-face {
133
 >@font-face {
128
   font-family: 'pda';
134
   font-family: 'pda';
129
-  src: url('iconfont.woff2?t=1650009457376') format('woff2'),
130
-       url('iconfont.woff?t=1650009457376') format('woff'),
131
-       url('iconfont.ttf?t=1650009457376') format('truetype');
135
+  src: url('iconfont.woff2?t=1650447797513') format('woff2'),
136
+       url('iconfont.woff?t=1650447797513') format('woff'),
137
+       url('iconfont.ttf?t=1650447797513') format('truetype');
132
 }
138
 }
133
 </code></pre>
139
 </code></pre>
134
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
140
           <h3 id="-iconfont-">第二步:定义使用 iconfont 的样式</h3>
@@ -155,6 +161,15 @@
155
         <ul class="icon_lists dib-box">
161
         <ul class="icon_lists dib-box">
156
           
162
           
157
           <li class="dib">
163
           <li class="dib">
164
+            <span class="icon pda pda-xiala"></span>
165
+            <div class="name">
166
+              下拉
167
+            </div>
168
+            <div class="code-name">.pda-xiala
169
+            </div>
170
+          </li>
171
+          
172
+          <li class="dib">
158
             <span class="icon pda pda-shibai"></span>
173
             <span class="icon pda pda-shibai"></span>
159
             <div class="name">
174
             <div class="name">
160
               失败
175
               失败
@@ -264,6 +279,14 @@
264
           
279
           
265
             <li class="dib">
280
             <li class="dib">
266
                 <svg class="icon svg-icon" aria-hidden="true">
281
                 <svg class="icon svg-icon" aria-hidden="true">
282
+                  <use xlink:href="#pda-xiala"></use>
283
+                </svg>
284
+                <div class="name">下拉</div>
285
+                <div class="code-name">#pda-xiala</div>
286
+            </li>
287
+          
288
+            <li class="dib">
289
+                <svg class="icon svg-icon" aria-hidden="true">
267
                   <use xlink:href="#pda-shibai"></use>
290
                   <use xlink:href="#pda-shibai"></use>
268
                 </svg>
291
                 </svg>
269
                 <div class="name">失败</div>
292
                 <div class="name">失败</div>

+ 7 - 3
static/fonts/iconfont.css

@@ -1,8 +1,8 @@
1
 @font-face {
1
 @font-face {
2
   font-family: "pda"; /* Project id 3307922 */
2
   font-family: "pda"; /* Project id 3307922 */
3
-  src: url('/static/fonts/iconfont.woff2?t=1650009457376') format('woff2'),
4
-       url('/static/fonts/iconfont.woff?t=1650009457376') format('woff'),
5
-       url('/static/fonts/iconfont.ttf?t=1650009457376') format('truetype');
3
+  src: url('/static/fonts/iconfont.woff2?t=1650447797513') format('woff2'),
4
+       url('/static/fonts/iconfont.woff?t=1650447797513') format('woff'),
5
+       url('/static/fonts/iconfont.ttf?t=1650447797513') format('truetype');
6
 }
6
 }
7
 
7
 
8
 .pda {
8
 .pda {
@@ -13,6 +13,10 @@
13
   -moz-osx-font-smoothing: grayscale;
13
   -moz-osx-font-smoothing: grayscale;
14
 }
14
 }
15
 
15
 
16
+.pda-xiala:before {
17
+  content: "\e68f";
18
+}
19
+
16
 .pda-shibai:before {
20
 .pda-shibai:before {
17
   content: "\e626";
21
   content: "\e626";
18
 }
22
 }

File diff suppressed because it is too large
+ 1 - 1
static/fonts/iconfont.js


+ 7 - 0
static/fonts/iconfont.json

@@ -6,6 +6,13 @@
6
   "description": "转运PDA",
6
   "description": "转运PDA",
7
   "glyphs": [
7
   "glyphs": [
8
     {
8
     {
9
+      "icon_id": "704337",
10
+      "name": "下拉",
11
+      "font_class": "xiala",
12
+      "unicode": "e68f",
13
+      "unicode_decimal": 59023
14
+    },
15
+    {
9
       "icon_id": "100733",
16
       "icon_id": "100733",
10
       "name": "失败",
17
       "name": "失败",
11
       "font_class": "shibai",
18
       "font_class": "shibai",

BIN
static/fonts/iconfont.ttf


BIN
static/fonts/iconfont.woff


BIN
static/fonts/iconfont.woff2