描述:配置页面

This commit is contained in:
SelfRidicule 2024-02-22 16:09:08 +08:00
parent 0f7b1982c6
commit aaaac8c7ba
4 changed files with 23 additions and 44 deletions

View File

@ -6,16 +6,13 @@
</view> </view>
<swiper class='swiper-box' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" <swiper class='swiper-box' indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}"
duration="{{duration}}" circular='true' style='height:{{Height}}' wx:if="{{background.length > 0}}"> duration="{{duration}}" circular='true' style='height:{{Height}}' wx:if="{{background.length > 0}}">
<!--<block wx:for="{{background}}" wx:key="*this"> -->
<block wx:for="{{background}}" wx:key="index"> <block wx:for="{{background}}" wx:key="index">
<swiper-item> <swiper-item>
<image src="{{IMG_NAME + item.bg}}" mode="widthFix" style="width:100%" bindload='imgHeight'></image> <image src="{{IMG_NAME + item.bg}}" mode="widthFix" style="width:100%" bindload='imgHeight'></image>
</swiper-item> </swiper-item>
</block> </block>
</swiper> </swiper>
<view class="adContainer">
<ad unit-id="adunit-98d0a96700e15894" bindload="adLoad" binderror="adError" bindclose="adClose" ad-intervals="30"></ad>
</view>
<view style="font-size: 12pt;background: white;padding: 20rpx 30rpx;">我的应用</view> <view style="font-size: 12pt;background: white;padding: 20rpx 30rpx;">我的应用</view>
<view class="fixed"> <view class="fixed">
<view class="fixedbox" wx:for='{{list}}' wx:key='index' data-path="{{item.path}}" data-name="{{item.name}}" <view class="fixedbox" wx:for='{{list}}' wx:key='index' data-path="{{item.path}}" data-name="{{item.name}}"
@ -24,34 +21,7 @@
<view style="font-size:26rpx;margin-top:18rpx;">{{item.name}}</view> <view style="font-size:26rpx;margin-top:18rpx;">{{item.name}}</view>
</view> </view>
</view> </view>
<!-- <view style="background: white;padding: 20rpx 30rpx;">
<view style="font-size: 13pt;margin-bottom: 30rpx" class="fontW">园区资讯</view>
<view class="activityList" wx:for='{{homelist}}' wx:key="index" data-uri="{{item.uri}}" bindtap="navDetail">
<view style="height:360rpx;overflow:hidden;">
<image src="{{IMG_NAME+item.bannerImg}}" mode='widthFix' style="width:100%;"></image>
</view>
<view class="detailbox">
<view class="titleC" style="width:76%">{{item.bannerName}}</view>
<view class="detailTextC" style="width:76%">{{item.bannerDesc? item.bannerDesc:""}}</view>
<view class="btn">查看详情</view>
</view>
</view>
</view> -->
<view style="background: white;padding: 20rpx 30rpx;" wx:if="{{homelist.length>0}}">
<view style="font-size: 13pt;margin-bottom: 30rpx" class="fontW">园区资讯</view>
<view class="activityList" wx:for='{{homelist}}' wx:key="index" data-uri="{{item.uri}}" bindtap="navDetail">
<view>
<view class="detailbox" style="display: inline-block;width: 62%;">
<view class="titleC" style="width:76%">{{item.bannerName}}</view>
<view class="detailTextC" style="width:76%">{{item.bannerDesc? item.bannerDesc:""}}</view>
<!-- <view class="btn">查看详情</view> -->
</view>
<view style="height:150rpx;width: 30%;overflow:hidden;display: inline-block">
<image src="{{IMG_NAME+item.bannerImg}}" mode='widthFix' style="width:100%;"></image>
</view>
</view>
</view>
</view>
<view style="text-align:center;margin:20rpx 0;">已经没有更多数据啦~</view>
</scroll-view> </scroll-view>
</view> </view>

View File

@ -1,10 +1,10 @@
<view class='container' style="background: url('{{IMG_NAME + '/profile/opt/static/login/bg.png'}}') no-repeat;"> <view class='container'>
<image class="titleImg" src="{{IMG_NAME + '/profile/opt/static/login/bg.png'}}" mode="aspectFill"></image> <image class="bgImg" src="{{IMG_NAME + '/profile/static/login/bg.png'}}" mode="aspectFill"></image>
<image class="titleImg" src="{{IMG_NAME + '/profile/static/login/titile.png'}}" mode="aspectFill"></image>
<view class="bottomView"> <view class="bottomView">
<image class="loginBtnImg" src="{{IMG_NAME + '/profile/opt/static/login/loginBtn.png'}}" mode="aspectFill"></image> <image class="loginBtnImg" src="{{IMG_NAME + '/profile/static/login/loginBtn.png'}}" mode="aspectFill"></image>
<button class="loginBtn" open-type="getUserInfo" bindgetuserinfo="authorLogin"></button> <button class="loginBtn" open-type="getUserInfo" bindgetuserinfo="authorLogin"></button>
</view> </view>
</view> </view>

View File

@ -1,19 +1,23 @@
.container{ .container{
width: 100vw;
}
.bgImg{
width: 750rpx;
height: 100vh; height: 100vh;
background-position: center top;
} }
.titleImg{ .titleImg{
border: 1px solid red;
display: block; display: block;
margin: 100rpx auto; position: absolute;
top: 150rpx;
left: 50%;
margin-left: -325rpx;
width: 649rpx; width: 649rpx;
height: 256rpx; height: 256rpx;
} }
.bottomView{ .bottomView{
border: 1px solid red;
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: 120rpx; bottom: 120rpx;
@ -23,7 +27,6 @@
} }
.loginBtnImg{ .loginBtnImg{
background: gray;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
@ -33,7 +36,6 @@
} }
.loginBtn{ .loginBtn{
background:blue;
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;

View File

@ -6,6 +6,13 @@
"condition": { "condition": {
"miniprogram": { "miniprogram": {
"list": [ "list": [
{
"name": "pages/index/index",
"pathName": "pages/index/index",
"query": "",
"launchMode": "default",
"scene": null
},
{ {
"name": "首页", "name": "首页",
"pathName": "pages/index/index", "pathName": "pages/index/index",