Ver código fonte

bug修改 提交

743180155@qq.com 1 ano atrás
pai
commit
f2789ca383

+ 3 - 3
src/components/service/goodsItem.vue

@@ -10,15 +10,15 @@
 
           <view class="list-main">
             <view class="item-text">{{ itm.name }}</view>
-            <view class="item-flex">
+            <!-- <view class="item-flex">
               <view class="star">
                 <u-rate :count="itm.score" disabled v-model="itm.score" :size="14" />
                 <text class="line">|</text>
                 <text class="points">{{ itm.score }}分</text>
               </view>
-              <!-- <view>{{ itm.specialPrice }}单</view> -->
+              <view>{{ itm.specialPrice }}单</view>
               <view></view>
-            </view>
+            </view> -->
             <view class="list-item">
               <view class="item-l">{{ itm.description }}</view>
               <view class="item-r"></view>

+ 5 - 5
src/components/service/index.vue

@@ -12,18 +12,18 @@
             </view>
 
             <view class="list-main">
-              <view class="item-text">{{ itm.address }}</view>
-              <view class="item-flex">
+              <view class="item-text">{{  itm.name }}</view>
+              <!-- <view class="item-flex">
                 <view class="star">
                   <u-rate :count="itm.score" disabled :size="14" />
                   <text class="line">|</text>
                   <text class="points">{{ itm.score }}分</text>
                 </view>
-                <!-- <view>{{ itm.sale }}单</view> -->
+                <view>{{ itm.sale }}单</view>
                 <view></view>
-              </view>
+              </view> -->
               <view class="list-item">
-                <view class="item-l">{{ itm.name }}</view>
+                <view class="item-l">{{ itm.address }}</view>
                 <view class="item-r">{{ (itm.distance / 1000).toFixed(2) }}KM</view>
               </view>
             </view>

+ 7 - 5
src/pages/client/clientUser/cart/index.vue

@@ -42,9 +42,10 @@
 
     <!-- 底部1 -->
     <view class="bottom fl-flex-item">
-      <u-checkbox-group shape="circle" v-model="isAllSecect" @change="isAllChange">
+      <!-- <u-checkbox-group shape="circle" v-model="isAllSecect" @change="isAllChange">
         <u-checkbox label="全部" name="0"> </u-checkbox>
-      </u-checkbox-group>
+      </u-checkbox-group> -->
+	  <view class=""> </view>
       <view class="bottom-price" v-show="!manageShow">
         <view>
           <text style="font-size: 22rpx; color: #333">合计:</text>
@@ -56,7 +57,8 @@
             已优惠
             <text style="font-weight: 800">¥255</text>
           </text>
-          <view class="fl-flex" @click="instructionShow = true">
+          <!-- <view class="fl-flex" @click="instructionShow = true"> -->
+          <view class="fl-flex">
             <text style="margin-right: 5rpx">优惠明细</text>
             <u-icon name="arrow-up" color="#fe7b21" size="12" />
           </view>
@@ -67,11 +69,11 @@
       </view>
     </view>
 
-    <u-popup :show="instructionShow" mode="bottom" @close="instructionShow = false" round="20">
+    <!-- <u-popup :show="instructionShow" mode="bottom" @close="instructionShow = false" round="20">
       <view class="pop-box">
         <text>出淤泥而不染,濯清涟而不妖</text>
       </view>
-    </u-popup>
+    </u-popup> -->
   </view>
 </template>
 

+ 2 - 2
src/utils/request.js

@@ -13,9 +13,9 @@ import {
 
 // 每次请求都创建一个新的实例
 const instance = axios.create({
-	// baseURL: "https://test.api.chelvc.com",
+	baseURL: "https://test.api.chelvc.com",
 	// baseURL: "http://192.168.68.77:11000",
-	baseURL: "https://358175z5l5.yicp.fun",
+	// baseURL: "https://358175z5l5.yicp.fun",
 	timeout: 10000,
 	adapter: UniAdapter
 });