mr-zhou-zhou 3 anni fa
parent
commit
fd93fa3409
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 2 1
      uni-shop/config/config.js
  2. 1 1
      uni-shop/pages/index/index.vue

+ 2 - 1
uni-shop/config/config.js

@@ -2,7 +2,8 @@
 Object.defineProperty(exports, "__esModule", { value: true });
 var index_1 = require("./plugins/index");
 exports.default = {
-    baseURL: 'https://fengsheng.huxiukeji.com/',
+    // baseURL: 'https://fengsheng.huxiukeji.com/',
+    baseURL: 'https://admin.fengshengnongmao.com/',
     page: undefined,
     system: undefined,
     headerHeight: 49,

+ 1 - 1
uni-shop/pages/index/index.vue

@@ -58,7 +58,7 @@
               <text class="shop-item-price-group" v-if="item.id">
                 <text class="shop-item-price-em">¥</text>
                 <text class="shop-item-price">{{item.price}}</text>
-                <text>/1</text>
+                <text>/1{{item.unit}}</text>
               </text>
               <view class="shop-item-buy-button relative center" @click="goShopDetail(item)" v-if="item.id">立即购买</view>
             </view>