Browse Source

个人中心新增订单中心页入口

萤火科技 3 years ago
parent
commit
30f8afc412
2 changed files with 9 additions and 4 deletions
  1. 1 0
      pages/user/index.vue
  2. 8 4
      utils/iconfont.scss

+ 1 - 0
pages/user/index.vue

@@ -158,6 +158,7 @@
     { id: 'contact', name: '在线客服', icon: 'kefu', type: 'button', openType: 'contact' },
     { id: 'points', name: '我的积分', icon: 'jifen', type: 'link', url: 'pages/points/log' },
     { id: 'refund', name: '退换/售后', icon: 'shouhou', type: 'link', url: 'pages/refund/index', count: 0 },
+    { id: 'orderCenter', name: '订单中心', icon: 'order-c', type: 'link', url: 'pages/order/center' },
   ]
 
   export default {

+ 8 - 4
utils/iconfont.scss

@@ -1,9 +1,9 @@
 @font-face {
   font-family: "iconfont"; /* Project id 2282770 */
-  src: url('https://at.alicdn.com/t/c/font_2282770_ppelmhipjad.woff2?t=1673233477801') format('woff2'),
-       url('https://at.alicdn.com/t/c/font_2282770_ppelmhipjad.woff?t=1673233477801') format('woff'),
-       url('https://at.alicdn.com/t/c/font_2282770_ppelmhipjad.ttf?t=1673233477801') format('truetype'),
-       url('https://at.alicdn.com/t/c/font_2282770_ppelmhipjad.svg?t=1673233477801#iconfont') format('svg');
+  src: url('https://at.alicdn.com/t/c/font_2282770_14425t4oa60f.woff2?t=1673327595201') format('woff2'),
+       url('https://at.alicdn.com/t/c/font_2282770_14425t4oa60f.woff?t=1673327595201') format('woff'),
+       url('https://at.alicdn.com/t/c/font_2282770_14425t4oa60f.ttf?t=1673327595201') format('truetype'),
+       url('https://at.alicdn.com/t/c/font_2282770_14425t4oa60f.svg?t=1673327595201#iconfont') format('svg');
 }
 
 .iconfont {
@@ -13,6 +13,10 @@
   -moz-osx-font-smoothing: grayscale;
 }
 
+.icon-order-c:before {
+  content: "\e653";
+}
+
 .icon-shouye2:before {
   content: "\e60d";
 }