Просмотр исходного кода

有关注公众号组件时的样式

xuqiaoying 3 лет назад
Родитель
Сommit
4c105b61fb
2 измененных файлов с 6 добавлено и 3 удалено
  1. 2 2
      common/request.js
  2. 4 1
      pages/index/index.vue

+ 2 - 2
common/request.js

@@ -5,8 +5,8 @@ import api from './api.js'
 var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
-// export const BASE_URL = 'https://test.xyyxt.net'   //预发布
-export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
+export const BASE_URL = 'https://test.xyyxt.net'   //预发布
+// export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
 // export const BASE_URL = 'http://42.192.164.187:19005'    //test(后端本地)
 // export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
 // export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地

+ 4 - 1
pages/index/index.vue

@@ -17,7 +17,7 @@
 				<view class="dot" :class="{'active':index == current}" v-for="(swiper,index) in list" :key="index"></view>
 			</view>
 		</view>
-		<view class="content">
+		<view class="content" :class="{'botms': isLogin && (isFollow != 1) && curClose}">
 			<!-- <view class="notice" v-if="infoNums">
 				<view class="notice__content">
 					<image src="/static/icon/msg_icon1.png" class="icon"></image>
@@ -1044,6 +1044,9 @@ page {
 			}
 		}
 	}
+	.botms {
+		padding-bottom: 100rpx;
+	}
 	
 	.my-list {
 		margin:32rpx 0;