chenrui 4 سال پیش
والد
کامیت
ce9561ca8c
5فایلهای تغییر یافته به همراه10 افزوده شده و 10 حذف شده
  1. 2 2
      src/api/request.js
  2. 5 5
      src/pages/index/index.vue
  3. 3 3
      src/pages/login/index.vue
  4. BIN
      static/img/logo.png
  5. BIN
      static/img/logos.png

+ 2 - 2
src/api/request.js

@@ -6,9 +6,9 @@ function request(options) {
   //   title: '加载中' // 数据请求前loading,提高用户体验
   // });
   return new Promise((resolve, reject) => {
-    const baseUrl = 'https://zyyc.chelingzhu.com/zyyc-shop/'; // 预发布
+    // const baseUrl = 'https://zyyc.chelingzhu.com/zyyc-shop/'; // 预发布
     // const baseUrl = 'https://shop.zy-yc.cn/zyyc-shop/'; // 生产
-    // const baseUrl = 'http://192.168.16.103:7102/zyyc-shop/';
+    const baseUrl = 'http://192.168.16.103:7101/zyyc-shop/';
     // const baseUrl = process.env.NODE_ENV === 'production' ? proUrl : devUrl;
 
     let _obj = {

+ 5 - 5
src/pages/index/index.vue

@@ -1,10 +1,10 @@
 <template>
   <div class="container index-page">
     <div class="header">
-      <img class="logo" src="/static/img/logo.png" alt="">
-      <div class="header-ads">
+      <img class="logo" src="/static/img/logos.png" alt="">
+      <!-- <div class="header-ads">
         养出色,爱生活
-      </div>
+      </div> -->
     </div>
     <view>
       <Swiper :banners="banner" />
@@ -206,8 +206,8 @@ export default {
   }
 
   .logo {
-    height: 90rpx;
-    width: 90rpx;
+    width: 264rpx;
+    height: 89rpx;
   }
   .meal-title{
     padding: 15rpx 30rpx 15rpx 20rpx;

+ 3 - 3
src/pages/login/index.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="container login-panel">
-    <img class="logo-img" src="/static/img/logo.png">
+    <img class="logo-img" src="/static/img/logos.png">
     <van-button plain hairline type="primary" class="login-btn" round open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
       <div class="login-btn-content">
         <div class="wechat-img"></div>
@@ -114,8 +114,8 @@ export default {
 }
 
 .logo-img {
-  width: 180rpx;
-  height: 180rpx;
+  width: 412rpx;
+  height: 140rpx;
 }
 
 .wechat-img {

BIN
static/img/logo.png


BIN
static/img/logos.png