绿满眶商城微信小程序-uniapp
zxl
2025-07-17 b303b6945a139153688e86635346a621fe0c29b3
pages/goods-manager/goodsList/goodsList.vue
@@ -28,8 +28,7 @@
                        <text>.00</text>
                     </view>
                     <view class="uni-flex-row">
                        <view class="uni-note">{{ item.commentNum || 0 }}条评论 月销量 {{
                           item.buyCount || 0 }}
                        <view class="uni-note">{{ item.commentNum || 0 }}条评论
                        </view>
                        <view class="uni-note ellipsis">
                           <text :class="item.marketEnable == 'DOWN' ? 'market-down' : 'market-up'">{{
@@ -71,12 +70,11 @@
<script>
import UIcon from '@/uview-components/uview-ui/components/u-icon/u-icon.vue';
import '@/components/uview-components/uview-ui';
import * as API_GOODS from "@/api/goods.js";
export default {
   components: { UIcon },
   data() {
      return {
         formData: {
@@ -142,8 +140,8 @@
         });
      },
      toggle(item) {
         this.$refs.popup.open('bottom')
         this.selectGoods = item;
         // this.$refs.popup.open('bottom')
         // this.selectGoods = item;
      },
      getGoodsList() {
@@ -159,7 +157,7 @@
      },
      addGoods(id) {
         uni.navigateTo({
            url: `/pages/goods-manager/addGoods/addGoods${id ? "?id=" + id : ""}`,
            url: `/pages/supplier/publish-goods/publishGoods`,
         });
      }