Browse Source

一些显示优化

master
xuxu 5 years ago
parent
commit
cd6997b3a8
  1. 4
      pages/resource/detail/index.wxml
  2. 2
      pages/resource/detail/index.wxss
  3. 8
      pages/resource/index.wxml
  4. 5
      pages/resource/index.wxss
  5. 4
      pages/resource/list/index.wxml
  6. 2
      pages/resource/list/index.wxss
  7. 12
      pages/topics/index.wxml
  8. 13
      pages/topics/rent/index.wxml
  9. 14
      pages/topics/rent/index.wxss
  10. 14
      pages/topics/talents/index.wxml
  11. 5
      pages/topics/talents/index.wxss
  12. 12
      pages/user/myWhistle/whistleDetail/index.wxml
  13. 8
      pages/user/myWhistle/whistleDetail/index.wxss

4
pages/resource/detail/index.wxml

@ -21,6 +21,6 @@
<view class="publish" bindtap="onTap">
<!-- <image src="/images/topic/publish.png"></image> -->
<view><view>我</view><view>赋</view></view>
<view><view>要</view><view>能</view></view>
<text>我要</text>
<text>赋能</text>
</view>

2
pages/resource/detail/index.wxss

@ -71,6 +71,8 @@ page{
color:white;
display:flex;
align-items: center;
flex-direction: column;
justify-content: center;
font-size: 15px;
line-height:18px;
}

8
pages/resource/index.wxml

@ -9,9 +9,11 @@
>
<view class="tips">
<view class="title">赋能政策</view>
<view class="tips-con">
<rich-text nodes="{{con}}"></rich-text>
</view>
<!-- <view class="tips-con"> -->
<scroll-view class="tips-con" scroll-y>
<rich-text nodes="{{con}}"></rich-text>
</scroll-view>
<!-- </view> -->
<view class="button">
<!-- <van-button type="danger" size="large" bind:click="ok" style="width:100%">我知道了</van-button> -->
<view class="btnView">

5
pages/resource/index.wxss

@ -25,6 +25,11 @@ page{
width: 90%;
overflow: scroll;
}
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}
.button{
width: 80%;

4
pages/resource/list/index.wxml

@ -30,7 +30,7 @@
<block wx:if="{{tp == '2'}}">
<view class="publish" bindtap="onTap">
<view><view>我</view><view>租</view></view>
<view><view>要</view><view>房</view></view>
<text>我要</text>
<text>租房</text>
</view>
</block>

2
pages/resource/list/index.wxss

@ -94,7 +94,9 @@
border-radius: 50%;
color:white;
display:flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 15px;
line-height:18px;
}

12
pages/topics/index.wxml

@ -4,17 +4,17 @@
<van-tabs bind:click="changeTabs" active="{{active}}" swipe-threshold="5">
<van-tab title="寻资源" name="1" >
<block wx:if="{{tab == '1'}}">
<view style="height:{{height}}px">
<scroll-view scroll-y style="height:{{height}}px" bindscrolltolower="onReachBottom">
<center list="{{centerList}}" typeList="{{typeList}}" nodes="{{nodes}}"/>
</view>
</scroll-view>
<!-- <center list="{{centerList}}" typeList="{{typeList}}" nodes="{{nodes}}"/> -->
</block>
</van-tab>
<van-tab title="租房子" name="5">
<block wx:if="{{tab == '5'}}">
<view style="height:{{height}}px">
<scroll-view scroll-y style="height:{{height}}px" bindscrolltolower="onReachBottom">
<rent list="{{apartment}}" nodes="{{rentNode}}"/>
</view>
</scroll-view>
</block>
</van-tab>
<van-tab title="找贷款" name="4">
@ -26,9 +26,9 @@
<talents />
</van-tab>
<van-tab title="交朋友" name="3">
<view style="height:{{height}}px">
<scroll-view scroll-y style="height:{{height}}px" bindscrolltolower="onReachBottom">
<interactive list="{{topicList}}" bind:deleteTopic="deleteTopic"/>
</view>
</scroll-view>
</van-tab>

13
pages/topics/rent/index.wxml

@ -4,7 +4,10 @@
<view class="box">
<view class="image" style="background: url({{item.pic}}) center no-repeat;background-size: cover;background-position: center 0;">
<!-- <image src="{{img}}" mode="aspectFill"></image> -->
<view class="title">{{item.title}}</view>
<view class="overlay">
<view class="title">{{item.title}}</view>
</view>
</view>
<view class="content">
<view><text class="fa fa-map-marker fa-lg"></text> <text class="address">{{item.address}}</text></view>
@ -22,9 +25,11 @@
>
<view class="tips">
<view class="tips-title">住房平台使用须知</view>
<view class="tips-con">
<rich-text nodes="{{nodes}}"></rich-text>
</view>
<!-- <view class="tips-con"> -->
<scroll-view class="tips-con" scroll-y>
<rich-text nodes="{{nodes}}"></rich-text>
</scroll-view>
<!-- </view> -->
<view class="button">
<!-- <van-button type="danger" size="large" bind:click="ok" style="width:100%">我知道了</van-button> -->
<view class="btnView">

14
pages/topics/rent/index.wxss

@ -24,6 +24,7 @@
.image{
position:relative;
height:350rpx;
width: 100%;
border-top-left-radius: 5px;
@ -76,6 +77,12 @@
overflow: scroll;
}
::-webkit-scrollbar{
width: 0;
height: 0;
color: transparent;
}
.button{
width: 80%;
height: 18%;
@ -94,3 +101,10 @@
.btnView{
width:100%
}
.overlay{
position:absolute;
height: 100%;
width: 100%;
background-color: rgba(0,0,0,.3);
}

14
pages/topics/talents/index.wxml

@ -34,12 +34,13 @@
<!-- 选项 -->
<view class="select-picker">
<picker bindchange="bindPickerTypeChange" value="{{typeListIndex}}" range="{{typeList}}" >
<view>
<view class="con">
<text>需求类型</text>
<block wx:if="{{typeListIndex == 0}}">
需求类型
<text style="color:#ACACAE;">请选择</text>
</block>
<block wx:else>
{{typeList[typeListIndex]}}
<text>{{typeList[typeListIndex]}}</text>
</block>
</view>
</picker>
@ -61,12 +62,13 @@
<!-- 选项 -->
<view class="select-picker">
<picker bindchange="bindPickerStreetsChange" value="{{streetsIndex}}" range="{{streets}}" >
<view>
<view class="con">
<text>选择街道</text>
<block wx:if="{{streetsIndex == 0}}">
选择街道
<text style="color:#ACACAE;">请选择</text>
</block>
<block wx:else>
{{streets[streetsIndex]}}
<text>{{streets[streetsIndex]}}</text>
</block>
</view>
</picker>

5
pages/topics/talents/index.wxss

@ -104,3 +104,8 @@ input{
margin-left:20px;
margin-top: 3px;
}
.con{
display:flex;
justify-content: space-between;
}

12
pages/user/myWhistle/whistleDetail/index.wxml

@ -26,15 +26,15 @@
</block>
<view class="info">
<view>
<block wx:if="{{detail.questionType == 0}}">资源类型:{{detail.typeName}}</block>
<block wx:if="{{detail.questionType == 1}}">租房类型:{{detail.typeName}}</block>
<block wx:if="{{detail.questionType == 2}}">需求类型:{{detail.typeName}}</block>
<block wx:if="{{detail.questionType == 0}}"><text style="color:#737373;">资源类型:</text>{{detail.typeName}}</block>
<block wx:if="{{detail.questionType == 1}}"><text style="color:#737373;">租房类型:</text>{{detail.typeName}}</block>
<block wx:if="{{detail.questionType == 2}}"><text style="color:#737373;">需求类型:</text>{{detail.typeName}}</block>
</view>
<block wx:if="{{detail.departName}}">
<view>所在街道:{{detail.departName}}</view>
<view><text style="color:#737373;">所在街道:</text>{{detail.departName}}</view>
</block>
<block wx:if="{{detail.company}}">
<view>工作单位:{{detail.company}}</view>
<view><text style="color:#737373;">工作单位:</text>{{detail.company}}</view>
</block>
</view>
@ -57,7 +57,7 @@
<view class="line"></view>
</view>
<view class="content-1">
<view class="process-tit"><text style="font-size:16px">{{item.handleType}}</text><text style="font-size:13px">{{item.handleDate}}</text></view>
<view class="process-tit"><text style="font-size:16px">{{item.handleType}}</text><text style="font-size:13px;color:#737373;">{{item.handleDate}}</text></view>
<text style="font-size:13px;color:#737373;">{{item.handleSuggestions}}</text>
<block wx:if="{{item.handleDepartName}}">
<text style="font-size:13px">处理部门:{{item.handleDepartName}}</text>

8
pages/user/myWhistle/whistleDetail/index.wxss

@ -14,6 +14,7 @@ page{
display: flex;
align-items: center;
justify-content: space-between;
font-size: 13px;
}
.content{
@ -31,19 +32,20 @@ page{
width:95%;
margin-top:20rpx;
margin-bottom: 20rpx;
font-size: 26rpx;
font-size: 15px;
display: flex;
align-items: center;
}
.date{
width:95%;
font-size: 26rpx;
font-size: 13px;
color:#737373;
}
.info{
width:95%;
font-size: 26rpx;
font-size: 13px;
margin-bottom: 5px;
}

Loading…
Cancel
Save