优化首页显示功能

This commit is contained in:
wuxw 2020-05-03 23:36:16 +08:00
parent 7b1205aad3
commit cc4ffcb259
2 changed files with 21 additions and 6 deletions

View File

@ -38,7 +38,7 @@
</form> </form>
<view class="padding flex flex-direction"> <view class="padding flex flex-direction">
<button class="cu-btn bg-green margin-tb-sm lg" @tap="_submitRepair()">提交</button> <button class="cu-btn bg-green margin-tb-sm lg" @tap="_submitExcuteInspection()">提交</button>
</view> </view>
</view> </view>
@ -121,7 +121,7 @@
let imageArr = this.$data.photoList; let imageArr = this.$data.photoList;
imageArr.splice(e, 1); imageArr.splice(e, 1);
}, },
submitExcuteInspection: function() { _submitExcuteInspection: function() {
/** /**
* taskId:'', * taskId:'',
taskDetailId:'', taskDetailId:'',
@ -173,9 +173,9 @@
duration: 2000 duration: 2000
}); });
} else { } else {
context.request({ this.java110Context.request({
url: constant.url.saveOwnerRepair, // http://hc.demo.winqi.cn:8012/appApi/ownerRepair.saveOwnerRepair url: this.java110Constant.url.saveOwnerRepair, // http://hc.demo.winqi.cn:8012/appApi/ownerRepair.saveOwnerRepair
header: context.getHeaders(), header: this.java110Context.getHeaders(),
method: "POST", method: "POST",
data: obj, // data: obj, //
success: function(res) { success: function(res) {

View File

@ -27,7 +27,8 @@
<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>
<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>
@ -54,6 +55,9 @@
</block> </block>
</view> </view>
</scroll-view> </scroll-view>
<view class="flex justify-center tec-height align-center">
<text class="text-gray">java110团队提供技术支持,交流群827669685</text>
</view>
</view> </view>
</template> </template>
@ -347,4 +351,15 @@
.notice-startTime { .notice-startTime {
margin-left: 16upx; margin-left: 16upx;
} }
.bock-icon{
height: 34upx;
width: 14upx;
line-height: 100upx;
background-color: #00AA00;
}
.tec-height{
height: 120upx;
}
</style> </style>