mirror of
https://gitee.com/java110/PropertyApp.git
synced 2026-02-24 05:46:09 +08:00
优化加入一些工鞥呢
This commit is contained in:
parent
d82a6cd54f
commit
f4bdb30cca
@ -43,5 +43,6 @@ export default{
|
|||||||
appPayKey:appPayKey,
|
appPayKey:appPayKey,
|
||||||
commonBaseUrl: commonBaseUrl,
|
commonBaseUrl: commonBaseUrl,
|
||||||
QQMapKey: QQMapKey,
|
QQMapKey: QQMapKey,
|
||||||
|
imgUrl:commonBaseUrl,
|
||||||
systemName:systemName
|
systemName:systemName
|
||||||
}
|
}
|
||||||
2
main.js
2
main.js
@ -1,5 +1,6 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import App from './App'
|
import App from './App'
|
||||||
|
import conf from './conf/config.js';
|
||||||
import Java110Context from './lib/java110/Java110Context.js'
|
import Java110Context from './lib/java110/Java110Context.js'
|
||||||
import context from './lib/java110/context.js'
|
import context from './lib/java110/context.js'
|
||||||
import url from './constant/url.js'
|
import url from './constant/url.js'
|
||||||
@ -25,6 +26,7 @@ Vue.prototype.url = url;
|
|||||||
Vue.prototype.factory = factory;
|
Vue.prototype.factory = factory;
|
||||||
Vue.prototype.util = util;
|
Vue.prototype.util = util;
|
||||||
Vue.prototype.date = date;
|
Vue.prototype.date = date;
|
||||||
|
Vue.prototype.imgUrl = conf.imgUrl;
|
||||||
|
|
||||||
App.mpType = 'app'
|
App.mpType = 'app'
|
||||||
|
|
||||||
|
|||||||
@ -542,6 +542,15 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
,{
|
||||||
|
"path" : "pages/inspection/inspectionTodayReport",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "white",
|
"navigationBarTextStyle": "white",
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<view class="margin-bottom-xs">
|
<view class="margin-bottom-xs">
|
||||||
<uni-notice-bar :showIcon="true" :scrollable="true" :single="true" :speed="30"
|
<uni-notice-bar :showIcon="true" :scrollable="true" :single="true" :speed="30" :text="welcomeTitle">
|
||||||
:text="welcomeTitle"></uni-notice-bar>
|
</uni-notice-bar>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view class="scroll-restaurants-list" scroll-y="true" style="height:100%">
|
<scroll-view class="scroll-restaurants-list" scroll-y="true" style="height:100%">
|
||||||
<swiper class="categoryList padding-top-xs bg-white" indicator-dots="true"
|
<swiper class="categoryList padding-top-xs bg-white" indicator-dots="true"
|
||||||
@ -35,13 +35,13 @@
|
|||||||
<view class="cu-bar bg-white solid-bottom margin-top">
|
<view class="cu-bar bg-white solid-bottom margin-top">
|
||||||
<view class="action">
|
<view class="action">
|
||||||
<view class="bock-icon "></view>
|
<view class="bock-icon "></view>
|
||||||
<text class="margin-left-xs">小区文化</text>
|
<text class="margin-left-xs">小区活动</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="action" @tap="_moreActivity()">
|
<view class="action" @tap="_moreActivity()">
|
||||||
<text class="lg text-gray cuIcon-more"></text>
|
<text class="lg text-gray cuIcon-more"></text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="noticesList">
|
<view class="noticesList" v-if="activitys && activitys.length>0">
|
||||||
<block v-for="(item,index) in activitys" :key="index" wx:key="index">
|
<block v-for="(item,index) in activitys" :key="index" wx:key="index">
|
||||||
|
|
||||||
<view class="noticesList-list" @tap="_toDetail(item)">
|
<view class="noticesList-list" @tap="_toDetail(item)">
|
||||||
@ -61,6 +61,10 @@
|
|||||||
</view>
|
</view>
|
||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="active_empty" v-else>
|
||||||
|
<image :src="noImg" />
|
||||||
|
<text class="text">暂无活动哦~</text>
|
||||||
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -83,9 +87,13 @@
|
|||||||
|
|
||||||
import mapping from '../../constant/mapping.js'
|
import mapping from '../../constant/mapping.js'
|
||||||
|
|
||||||
import {isNull} from '../../lib/java110/utils/StringUtil.js'
|
import {
|
||||||
|
isNull
|
||||||
|
} from '../../lib/java110/utils/StringUtil.js'
|
||||||
|
|
||||||
import {getUserInfo} from '../../lib/java110/api/Java110SessionApi.js'
|
import {
|
||||||
|
getUserInfo
|
||||||
|
} from '../../lib/java110/api/Java110SessionApi.js'
|
||||||
import url from '../../constant/url.js';
|
import url from '../../constant/url.js';
|
||||||
import conf from '@/conf/config.js'
|
import conf from '@/conf/config.js'
|
||||||
export default {
|
export default {
|
||||||
@ -95,7 +103,14 @@
|
|||||||
currentCommunityId: '',
|
currentCommunityId: '',
|
||||||
currentCommunityName: '',
|
currentCommunityName: '',
|
||||||
categoryList: [],
|
categoryList: [],
|
||||||
swiperList: [],
|
swiperList: [{
|
||||||
|
url: this.imgUrl + '/h5/images/serve/banner1.jpg'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
url: this.imgUrl + '/h5/images/serve/banner2.jpg'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
noImg:this.imgUrl+'/h5/images/serve/empty.png',
|
||||||
activitys: [],
|
activitys: [],
|
||||||
welcomeTitle: ''
|
welcomeTitle: ''
|
||||||
}
|
}
|
||||||
@ -144,7 +159,9 @@
|
|||||||
.then(function(res) {
|
.then(function(res) {
|
||||||
if (res.statusCode == 200) {
|
if (res.statusCode == 200) {
|
||||||
let _advertPhotos = res.data;
|
let _advertPhotos = res.data;
|
||||||
|
if (_advertPhotos && _advertPhotos.length > 0) {
|
||||||
_that.swiperList = _advertPhotos;
|
_that.swiperList = _advertPhotos;
|
||||||
|
}
|
||||||
_that._loadActivitys();
|
_that._loadActivitys();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -259,9 +276,10 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style lang="scss">
|
||||||
@import "./index.css";
|
@import "./index.css";
|
||||||
|
|
||||||
|
|
||||||
.swiper-height-index {
|
.swiper-height-index {
|
||||||
height: 240upx;
|
height: 240upx;
|
||||||
min-height: 240upx;
|
min-height: 240upx;
|
||||||
@ -348,4 +366,25 @@
|
|||||||
.tec-height {
|
.tec-height {
|
||||||
height: 120upx;
|
height: 120upx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.active_empty {
|
||||||
|
background: #fff;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 100rpx 0;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
image {
|
||||||
|
width: 50%;
|
||||||
|
height: 200upx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
font-size: 28rpx;
|
||||||
|
color: #333;
|
||||||
|
margin-top: 20rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
22
pages/inspection/inspectionTodayReport.vue
Normal file
22
pages/inspection/inspectionTodayReport.vue
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user