谢杰标 2 роки тому
батько
коміт
bab414d346
1 змінених файлів з 0 додано та 10 видалено
  1. 0 10
      src/components/goodsItem/index.vue

+ 0 - 10
src/components/goodsItem/index.vue

@@ -48,16 +48,6 @@ export default {
   },
   computed: {
     ...mapGetters(["userInfo"]),
-    price() {
-      let { standPrice, maxPrice, minPrice, specTemplateId } = this.item
-      if (!specTemplateId || (!maxPrice && !minPrice)) {
-        return standPrice === 0 ? '免费' : `¥${standPrice}`
-      }
-      if (maxPrice == minPrice) {
-        return minPrice === 0 ? '免费' : `¥${minPrice}`
-      }
-      return `¥${minPrice}-¥${maxPrice}`
-    }
   },
   props: ["item"],
   data() {