mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化代码
This commit is contained in:
parent
ce82bb7074
commit
f5c4b5c2cc
29
public/components/admin/devIndex/devIndex.html
Normal file
29
public/components/admin/devIndex/devIndex.html
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
<div>
|
||||||
|
<div class="vc-index-nav">
|
||||||
|
<span><i class="fa fa-home margin-right-sm"></i>首页</span><span
|
||||||
|
class="margin-left-sm margin-right-sm">/</span><span>开发控制</span>
|
||||||
|
</div>
|
||||||
|
<div class="row padding ">
|
||||||
|
欢迎登录开发者账号,请谨慎操作,操作不挡可能会系统瘫痪
|
||||||
|
</div>
|
||||||
|
<!-- <div class="row">
|
||||||
|
<div class="col-lg-2 margin-bottom" v-for="(item,index) in adminIndexInfo.datas" :key="index">
|
||||||
|
<div class="white-bg text-center padding-top-sm" style="height:140px;border: 1px solid #e0e5eb;">
|
||||||
|
<div style="font-size: 38px;font-weight: 600;" :style="{'color':item.color}">{{item.value}}</div>
|
||||||
|
<div class="margin-top-lg" style="font-size: 20px;font-weight: 100;">{{item.name}}</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row ">
|
||||||
|
<div class="col-lg-6 ">
|
||||||
|
<div id="communityFeeCharts" style="height:400px;width: 100%;" class="bg-white padding">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col-lg-6">
|
||||||
|
<div id="communityRepairCharts" style="height:400px;width: 100%;" class="bg-white padding">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
27
public/components/admin/devIndex/devIndex.js
Normal file
27
public/components/admin/devIndex/devIndex.js
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
/**
|
||||||
|
入驻小区
|
||||||
|
**/
|
||||||
|
(function (vc) {
|
||||||
|
vc.extends({
|
||||||
|
data: {
|
||||||
|
devIndexInfo: {
|
||||||
|
hostCount: 0,
|
||||||
|
datas: [],
|
||||||
|
action: '',
|
||||||
|
}
|
||||||
|
},
|
||||||
|
_initMethod: function () {
|
||||||
|
},
|
||||||
|
_initEvent: function () {
|
||||||
|
vc.on('devIndex', 'initData', function (_param) {
|
||||||
|
// $that._loadViewAdminData();
|
||||||
|
// $that._loadCommunityFee();
|
||||||
|
// $that._loadCommunityRepair();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
})(window.vc);
|
||||||
@ -26,4 +26,8 @@
|
|||||||
<div v-if="propertyIndexInfo.storeTypeCd == '800900000001'">
|
<div v-if="propertyIndexInfo.storeTypeCd == '800900000001'">
|
||||||
<vc:create path="admin/adminIndex"></vc:create>
|
<vc:create path="admin/adminIndex"></vc:create>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div v-if="propertyIndexInfo.storeTypeCd == '800900000000'">
|
||||||
|
<vc:create path="admin/devIndex"></vc:create>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -31,6 +31,11 @@
|
|||||||
if($that.propertyIndexInfo.storeTypeCd == '800900000001'){
|
if($that.propertyIndexInfo.storeTypeCd == '800900000001'){
|
||||||
vc.emit('adminIndex', 'initData',{})
|
vc.emit('adminIndex', 'initData',{})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if($that.propertyIndexInfo.storeTypeCd == '800900000000'){
|
||||||
|
vc.emit('devIndex', 'initData',{})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user