Explorar o código

修改部分bug

zxl hai 1 ano
pai
achega
a9e2fd5040

+ 3 - 3
src/components/merchant/HotItem.vue

@@ -6,7 +6,7 @@
           :src="error || !loaded ? 'https://cdn.uviewui.com/uview/album/10.jpg' : item.logo"
           mode="scaleToFill"
         ></image> -->
-        <image  mode="scaleToFill" :src='item.logo'></image>
+        <image class='img' mode="scaleToFill" :src='item.logo'></image>
         <view class="name u-line-1">{{ item.name }}</view>
       </view>
       <view class="pd-10">{{ item.address }}</view>
@@ -40,13 +40,13 @@ export default {
   .content {
     background-color: #ffffff;
     width: 100%;
-    height: 100%;
+    height: 400rpx;
 
     .img-box {
       position: relative;
       height: 240rpx;
 
-      image {
+      .img {
         width: calc(50vw - 30rpx);
         height: 240rpx;
       }

+ 3 - 3
src/components/merchant/RecommendItem.vue

@@ -3,7 +3,7 @@
     <view class="content">
       <view class="img-box">
         <!-- <image :src="error || !loaded ? 'https://cdn.uviewui.com/uview/album/10.jpg' : item.logo" mode="scaleToFill" /> -->
-        <image :src="item.logo " mode="scaleToFill" />
+        <image class='img' :src="item.logo " mode="scaleToFill" />
         <view class="name u-line-1">{{ item.name }}</view>
       </view>
       <view class="pd-10">{{ item.address }}</view>
@@ -36,11 +36,11 @@ export default {
   .content {
     background-color: #ffffff;
     width: 100%;
-    height: 100%;
+    height: 400rpx;
     .img-box {
       position: relative;
       height: 240rpx;
-      image {
+      .img {
         width: calc(50vw - 30rpx);
         height: 240rpx;
         border-radius: 10rpx;

+ 2 - 2
src/pages/client/clientPackage/storeDetail.vue

@@ -121,8 +121,8 @@
         </view>
         <view class="draw-item">
           <view class="item-text">联系方式</view>
-          <u--input placeholder="请输入联系方式" border="surround" type="number" v-model="addParams.mobile"></u--input>
-        </view>      
+          <u--input placeholder="请输入联系方式" border="surround" type="number" maxlength='11' v-model="addParams.mobile"></u--input>
+        </view>
         <button class="draw-btn" @click="handlerDrawConfirmBtn">确定</button>
       </view>
     </u-popup>

+ 2 - 2
src/pages/client/clientUser/mine/appoint/appoint.vue

@@ -2,12 +2,12 @@
   <view class="container">
     <view class="appoint" :key="index" v-for="(item, index) of init_list">
       <view class="appoint-list">
-        <view class="appoint-title">{{ item.goodsName }}</view>
+        <view class="appoint-title">{{ item.simpleMerchantVO.name }}</view>
         <view class="appoint-address"></view>
         <view class="appoint-flex">
           <image class="img" :src=" item.simpleMerchantVO.logo" mode="scaleToFill"></image>
           <view class="appoint-text">
-            <view>{{ item.simpleMerchantVO.name }}</view>
+            <view>{{ item.goodsName }}</view>
             <view>时间:{{ $u.timeFormat(item.appointTime) }}</view>
             <view>联系方式:{{ item.mobile }}</view>
           </view>

+ 3 - 3
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
 });
@@ -162,4 +162,4 @@ instance.interceptors.response.use(async (res) => {
 	uni.hideLoading()
 });
 
-export default instance;
+export default instance;