This commit is contained in:
SelfRidicule 2024-03-04 15:08:41 +08:00
parent f07aea5c64
commit cba08d6f3f
3 changed files with 14 additions and 4 deletions

View File

@ -1,10 +1,10 @@
App({
APPID: 'wxd9f93ef41a607dd5',
// 本地测试时不用加/api
DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
IMG_NAME: 'http://192.168.0.11:9227',
// DOMAIN_NAME: 'http://222.184.49.22:80', //接口域名
// IMG_NAME: 'http://222.184.49.22:80',
// DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
// IMG_NAME: 'http://192.168.0.11:9227',
DOMAIN_NAME: 'http://222.184.49.22:9227', //接口域名
IMG_NAME: 'http://222.184.49.22:9227',
globals: {
refreshMyPages: false,
homedata: {},

View File

@ -5,6 +5,7 @@
<text style="color: #939393;font-size: 36rpx;"> > </text>
</view>
<image class="logoImg" src="{{IMG_NAME + '/profile/static/index/logo.png'}}" mode="aspectFill"></image>
<!-- 轮播图 -->
<swiper class='swiper-box' indicator-dots autoplay interval="3000" duration="1000" circular='true'>
<swiper-item wx:for="{{bannerList}}" wx:key="index">

View File

@ -111,6 +111,15 @@
overflow: hidden;
}
.logoImg {
position: fixed;
left: 40rpx;
top: 40rpx;
width: 163rpx;
height: 42rpx;
z-index: 999;
}
.swiper-box .img {
width: 100%;
height: 100%;