diff --git a/src/common/imgSvg.ts b/src/common/imgSvg.ts index ea02103c..5608ed43 100644 --- a/src/common/imgSvg.ts +++ b/src/common/imgSvg.ts @@ -116,3 +116,12 @@ export const switchIcon = () : string => { `.trim(); return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svgXml)}`; }; + + +// 左右切换箭头 +export const arrowRightIcon = (color : string = '#F5212D') : string => { + const svgXml = ` + +`.trim(); + return `data:image/svg+xml;charset=utf-8,${encodeURIComponent(svgXml)}`; +}; \ No newline at end of file diff --git a/src/components/points-and-badge/badge.vue b/src/components/points-and-badge/badge.vue index 5e7e6f04..02751ca3 100644 --- a/src/components/points-and-badge/badge.vue +++ b/src/components/points-and-badge/badge.vue @@ -13,31 +13,26 @@ - - - + + + - - - - + + + + - - - - + + - + - - - + + +