feat: 个人主页订单栏添加点击事件

merge-requests/19/head
xiaoguang 3 years ago
parent 8d75c38eca
commit cfa2c4d6d8

8
package-lock.json generated

@ -15002,6 +15002,14 @@
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==",
"dev": true "dev": true
}, },
"v-distpicker": {
"version": "1.2.13",
"resolved": "https://registry.npmmirror.com/v-distpicker/-/v-distpicker-1.2.13.tgz",
"integrity": "sha512-dQN7cR7BhHPrmZ0dBngFm69Fgc3u22uOwJDM4vc4n3mdGDI6PvKa/0lCjPkDrU8G1pv9TO+Fb68wmX2ItyI1mQ==",
"requires": {
"vue": "^2.6.10"
}
},
"v8-compile-cache": { "v8-compile-cache": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmmirror.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", "resolved": "https://registry.npmmirror.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",

@ -23,6 +23,7 @@
<div <div
v-for="(item, index) in orderTypes" v-for="(item, index) in orderTypes"
:key="index" :key="index"
@click="$router.push(item.path)"
class="account-home-content__item flex flex-column flex-middle" class="account-home-content__item flex flex-column flex-middle"
> >
<img :src="item.icon" /> <img :src="item.icon" />
@ -84,7 +85,7 @@ export default {
key: "progressCount", key: "progressCount",
label: "退款/售后", label: "退款/售后",
icon: getOrderTypeIcon("icon-order4"), icon: getOrderTypeIcon("icon-order4"),
path: "/account/order/saleAfter", path: "/account/order/saleAfter/list",
count: 0, count: 0,
}, },
{ {
@ -155,6 +156,7 @@ export default {
background: #ffffff; background: #ffffff;
border-radius: 4px; border-radius: 4px;
box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1); box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.1);
cursor: pointer;
.account-home-content__item { .account-home-content__item {
position: relative; position: relative;
font-size: 14px; font-size: 14px;

Loading…
Cancel
Save