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({ App({
APPID: 'wxd9f93ef41a607dd5', APPID: 'wxd9f93ef41a607dd5',
// 本地测试时不用加/api // 本地测试时不用加/api
DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名 // DOMAIN_NAME: 'http://192.168.0.11:9227', //接口域名
IMG_NAME: 'http://192.168.0.11:9227', // IMG_NAME: 'http://192.168.0.11:9227',
// DOMAIN_NAME: 'http://222.184.49.22:80', //接口域名 DOMAIN_NAME: 'http://222.184.49.22:9227', //接口域名
// IMG_NAME: 'http://222.184.49.22:80', IMG_NAME: 'http://222.184.49.22:9227',
globals: { globals: {
refreshMyPages: false, refreshMyPages: false,
homedata: {}, homedata: {},

View File

@ -5,6 +5,7 @@
<text style="color: #939393;font-size: 36rpx;"> > </text> <text style="color: #939393;font-size: 36rpx;"> > </text>
</view> </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 class='swiper-box' indicator-dots autoplay interval="3000" duration="1000" circular='true'>
<swiper-item wx:for="{{bannerList}}" wx:key="index"> <swiper-item wx:for="{{bannerList}}" wx:key="index">

View File

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