修改
This commit is contained in:
parent
9b5f913489
commit
ba005bc892
@ -134,7 +134,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="set-phone" wx:if="{{randomName && showPhone}}">
|
<view class="set-phone" wx:if="{{randomName && showPhone}}">
|
||||||
<view class="set-phone-box">
|
<view class="set-phone-box">
|
||||||
<view class="tips">您还没有绑定手机号,请先绑定手机号</view>
|
<view class="tips">您还没有绑定手机号,请先绑定手机号</view>
|
||||||
<view class="phone-input">
|
<view class="phone-input">
|
||||||
@ -149,4 +149,4 @@
|
|||||||
<view class="set-phone-btn" bindtap="submitPhone" wx:if="{{!isConfirm}}">确认</view>
|
<view class="set-phone-btn" bindtap="submitPhone" wx:if="{{!isConfirm}}">确认</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view>
|
@ -57,7 +57,6 @@ Page({
|
|||||||
lv = 'area' + lv
|
lv = 'area' + lv
|
||||||
info[lv] = self.data.areaId
|
info[lv] = self.data.areaId
|
||||||
}
|
}
|
||||||
console.log(info)
|
|
||||||
app.restAjax.get(app.restAjax.path('{newsUrl}/app/newscontent/listpagenewscontentrelease', [self.data.news.newsUrl]), info, null, function(code, data) {
|
app.restAjax.get(app.restAjax.path('{newsUrl}/app/newscontent/listpagenewscontentrelease', [self.data.news.newsUrl]), info, null, function(code, data) {
|
||||||
var newsArray;
|
var newsArray;
|
||||||
if(page <= 1) {
|
if(page <= 1) {
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
<image src="../../images/selected-r.png" class="selected-r"></image>
|
<image src="../../images/selected-r.png" class="selected-r"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="area">
|
</view>
|
||||||
|
<view class="area">
|
||||||
<view class="area-box {{'' == areaId?'active': ''}}" bindtap="loadAll">
|
<view class="area-box {{'' == areaId?'active': ''}}" bindtap="loadAll">
|
||||||
<image src="../../images/selected-l.png" class="selected-l"></image>
|
<image src="../../images/selected-l.png" class="selected-l"></image>
|
||||||
全部
|
全部
|
||||||
@ -23,7 +24,6 @@
|
|||||||
<image src="../../images/selected-r.png" class="selected-r"></image>
|
<image src="../../images/selected-r.png" class="selected-r"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
<view class="news">
|
<view class="news">
|
||||||
<view wx:for="{{news.newsList}}" wx:for-index="idx" wx:for-item="item" wx:key="newsList">
|
<view wx:for="{{news.newsList}}" wx:for-index="idx" wx:for-item="item" wx:key="newsList">
|
||||||
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_1'}}">
|
<view class="news-box" bindtap="goNewsDetail" data-template-record-url="{{item.templateRecordUrl}}" wx:if="{{item.typesettingCode == 'key_1'}}">
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
box-shadow:0 0 17rpx 0 rgba(0,0,0,0.1);
|
|
||||||
border-radius:0 0 31rpx 31rpx;
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
@ -45,19 +43,28 @@
|
|||||||
.area{
|
.area{
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
position: fixed;
|
||||||
|
top: 90rpx;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
border-bottom: 1px solid #DDD;
|
||||||
|
background: #fff;
|
||||||
}
|
}
|
||||||
.area-box{
|
.area-box{
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
height: 90rpx;
|
height: 90rpx;
|
||||||
line-height: 90rpx;
|
/* line-height: 90rpx;
|
||||||
text-align: center;
|
text-align: center; */
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: relative;
|
position: relative;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
|
font-size: 30rpx;
|
||||||
}
|
}
|
||||||
.area-box.active{
|
.area-box.active{
|
||||||
color: #9F1512;
|
color: #9F1512;
|
||||||
|
Loading…
Reference in New Issue
Block a user