|
@@ -52,7 +52,7 @@
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
margin-top: 27px;
|
|
margin-top: 27px;
|
|
// padding: 0 20px;
|
|
// padding: 0 20px;
|
|
- overflow: hidden;
|
|
|
|
|
|
+ // overflow: hidden;
|
|
}
|
|
}
|
|
.scroll-view-item {
|
|
.scroll-view-item {
|
|
position: relative;
|
|
position: relative;
|
|
@@ -117,8 +117,8 @@
|
|
z-index: 2;
|
|
z-index: 2;
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
margin-top: 25px;
|
|
margin-top: 25px;
|
|
- // padding: 0 20px;
|
|
|
|
- overflow: hidden;
|
|
|
|
|
|
+ // padding: 0 20px;
|
|
|
|
+ // overflow: hidden;
|
|
}
|
|
}
|
|
.scroll-view-item2 {
|
|
.scroll-view-item2 {
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -180,7 +180,7 @@
|
|
margin-right: 15rpx;
|
|
margin-right: 15rpx;
|
|
float: left;
|
|
float: left;
|
|
background: #fff;
|
|
background: #fff;
|
|
- margin-bottom: 8px;
|
|
|
|
|
|
+ margin-bottom: 16px;
|
|
padding-top: 12px;
|
|
padding-top: 12px;
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
.menuImg {
|
|
.menuImg {
|
|
@@ -237,7 +237,7 @@
|
|
<div class="projectTitle" @click="showProject"><span class="name">{{nowCompanyName}}</span><van-icon name="arrow-down" size="20"/></div>
|
|
<div class="projectTitle" @click="showProject"><span class="name">{{nowCompanyName}}</span><van-icon name="arrow-down" size="20"/></div>
|
|
<div class="projectInfo">成为一家牛的让员工幸福的企业</div>
|
|
<div class="projectInfo">成为一家牛的让员工幸福的企业</div>
|
|
<div class="weather"><image class="image" :src="h5StaticPath+weather.imgname"/><span class="value">{{weather.temperature}}℃</span><span class="text">{{weather.text}}</span></div>
|
|
<div class="weather"><image class="image" :src="h5StaticPath+weather.imgname"/><span class="value">{{weather.temperature}}℃</span><span class="text">{{weather.text}}</span></div>
|
|
- <scroll-view scroll-x="true" class="scroll-view">
|
|
|
|
|
|
+ <scroll-view scroll-x="{{true}}" show-scrollbar="{{false}}" class="scroll-view" enhanced>
|
|
<view class="scroll-view-item">
|
|
<view class="scroll-view-item">
|
|
<div class="itemCont" v-if="reSpaceId" @click="goEnv('homeShowEnv')">
|
|
<div class="itemCont" v-if="reSpaceId" @click="goEnv('homeShowEnv')">
|
|
<div class="spaceName"><div class="name">{{ reSpaceName }}</div><span class="resident">常驻工区</span></div>
|
|
<div class="spaceName"><div class="name">{{ reSpaceName }}</div><span class="resident">常驻工区</span></div>
|
|
@@ -247,7 +247,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="scroll-view-item"><div class="itemCont envirItem" @click="goToIntroduce('environment')">环境健康小知识<van-icon name="arrow" size="20"/></div></view>
|
|
<view class="scroll-view-item"><div class="itemCont envirItem" @click="goToIntroduce('environment')">环境健康小知识<van-icon name="arrow" size="20"/></div></view>
|
|
</scroll-view>
|
|
</scroll-view>
|
|
- <scroll-view scroll-x="true" class="scroll-view2">
|
|
|
|
|
|
+ <scroll-view scroll-x="{{true}}" class="scroll-view2" show-scrollbar="{{false}}" enhanced>
|
|
<view class="scroll-view-item2" v-if="showCard.openLight" @click="goEnv('openLamp')"><div class="title">开启照明</div><div class="info">快速启动</div><div class="imageDiv">
|
|
<view class="scroll-view-item2" v-if="showCard.openLight" @click="goEnv('openLamp')"><div class="title">开启照明</div><div class="info">快速启动</div><div class="imageDiv">
|
|
<image class="image" :src="h5StaticPath+'lamb.png'"/>
|
|
<image class="image" :src="h5StaticPath+'lamb.png'"/>
|
|
</div></view>
|
|
</div></view>
|