Browse Source

版本调整

master
xiangshunpu 4 years ago
parent
commit
d838d55e05
  1. 8
      app.json
  2. 22
      app.wxss
  3. BIN
      assets/images/add.png
  4. BIN
      assets/images/myback.png
  5. BIN
      assets/images/promotion.png
  6. BIN
      assets/images/reduce.png
  7. BIN
      assets/images/report.png
  8. BIN
      assets/images/research.png
  9. BIN
      assets/images/search-mini.png
  10. BIN
      assets/images/study.png
  11. BIN
      assets/images/tab-tag.png
  12. BIN
      assets/images/tabIcon/air.png
  13. BIN
      assets/images/tabIcon/calculation-a.png
  14. BIN
      assets/images/tabIcon/calendar-a.png
  15. BIN
      assets/images/tabIcon/look-a.png
  16. BIN
      assets/images/tabIcon/ucenter-a.png
  17. 66
      pages/about/about.js
  18. 3
      pages/about/about.json
  19. 7
      pages/about/about.wxml
  20. 4
      pages/about/about.wxss
  21. 131
      pages/feasibility-study/feasibility-study.js
  22. 3
      pages/feasibility-study/feasibility-study.json
  23. 31
      pages/feasibility-study/feasibility-study.wxml
  24. 121
      pages/feasibility-study/feasibility-study.wxss
  25. 121
      pages/index/index.js
  26. 85
      pages/index/index.wxml
  27. 154
      pages/index/index.wxss
  28. 131
      pages/land-promotion/land-promotion.js
  29. 3
      pages/land-promotion/land-promotion.json
  30. 24
      pages/land-promotion/land-promotion.wxml
  31. 88
      pages/land-promotion/land-promotion.wxss
  32. 58
      pages/look/look.js
  33. 99
      pages/look/look.wxml
  34. 121
      pages/look/look.wxss
  35. 128
      pages/periodic-report/periodic-report.js
  36. 3
      pages/periodic-report/periodic-report.json
  37. 27
      pages/periodic-report/periodic-report.wxml
  38. 93
      pages/periodic-report/periodic-report.wxss
  39. 131
      pages/special-research/special-research.js
  40. 3
      pages/special-research/special-research.json
  41. 24
      pages/special-research/special-research.wxml
  42. 88
      pages/special-research/special-research.wxss
  43. 66
      pages/suggestion/suggestion.js
  44. 3
      pages/suggestion/suggestion.json
  45. 2
      pages/suggestion/suggestion.wxml
  46. 1
      pages/suggestion/suggestion.wxss
  47. 8
      pages/ucenter/ucenter.js
  48. 10
      pages/ucenter/ucenter.wxml
  49. 7
      pages/ucenter/ucenter.wxss
  50. 2
      project.config.json
  51. 6
      project.private.config.json
  52. 2
      utils/gisApi.js

8
app.json

@ -10,7 +10,13 @@
"pages/look-detail/look-detail",
"pages/history/history",
"pages/air-report/air-report",
"pages/auth/auth"
"pages/auth/auth",
"pages/feasibility-study/feasibility-study",
"pages/periodic-report/periodic-report",
"pages/special-research/special-research",
"pages/land-promotion/land-promotion",
"pages/suggestion/suggestion",
"pages/about/about"
],
"permission": {
"scope.userLocation": {

22
app.wxss

@ -46,7 +46,7 @@
}
.o-item {
height: 104rpx;
height: 120rpx;
border-bottom: 2rpx solid #E3E3E3;
font-size: 30rpx;
color: #262936;
@ -57,13 +57,14 @@
width: 24rpx;
height: 24rpx;
transform: rotate(-90deg);
margin-right: 30rpx;
}
.sign-out {
width: 514rpx !important;
height: 86rpx;
line-height: 50rpx;
background: linear-gradient(171deg, #262936, #48494E);
background: linear-gradient(171deg, #3d7dfc 0%, #0e63df 100%);
border-radius: 44rpx;
margin-top: 110rpx;
font-size: 32rpx;
@ -124,6 +125,15 @@
text-overflow: ellipsis;
}
.two-title {
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.table-title {
font-size: 30rpx;
font-weight: bold;
@ -137,11 +147,11 @@
margin-top: 20rpx;
}
.table{
.table {
border: 1px solid #E1E1E1;
}
.table-item{
.table-item {
border-bottom: 1px solid #E1E1E1;
font-size: 26rpx;
display: flex;
@ -151,7 +161,7 @@
border: none;
}
.table-lable{
.table-lable {
padding-left: 30rpx;
display: flex;
align-items: center;
@ -161,7 +171,7 @@
background: rgba(225, 225, 225, 0.2);
}
.table-info{
.table-info {
padding: 20rpx 30rpx;
line-height: 50rpx;
color: #262936;

BIN
assets/images/add.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
assets/images/myback.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
assets/images/promotion.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
assets/images/reduce.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

BIN
assets/images/report.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/images/research.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

BIN
assets/images/search-mini.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 792 B

BIN
assets/images/study.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
assets/images/tab-tag.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 615 B

After

Width:  |  Height:  |  Size: 461 B

BIN
assets/images/tabIcon/air.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

BIN
assets/images/tabIcon/calculation-a.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
assets/images/tabIcon/calendar-a.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 684 B

After

Width:  |  Height:  |  Size: 691 B

BIN
assets/images/tabIcon/look-a.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
assets/images/tabIcon/ucenter-a.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

66
pages/about/about.js

@ -0,0 +1,66 @@
// pages/about/about.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/about/about.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

7
pages/about/about.wxml

@ -0,0 +1,7 @@
<!--pages/about/about.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="关于我们"></mp-navigation-bar>
<view class="main">
</view>
</view>

4
pages/about/about.wxss

@ -0,0 +1,4 @@
/* pages/about/about.wxss */
.main{
background-color: #fff;
}

131
pages/feasibility-study/feasibility-study.js

@ -0,0 +1,131 @@
// pages/feasibility-study/feasibility-study.js
const app = getApp()
Page({
data: {
active: 1,
refresher: false,
tabList: [{
id: 1,
name: '拟挂牌'
}, {
id: 2,
name: '挂牌中'
}, {
id: 3,
name: '已成交'
}],
list: [],
},
onReady() {
this.refresh()
},
comeDetail(e) {
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: `../air-report/air-report?id=${id}`,
})
},
onShow() {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 2
})
}
},
tabDowm(e) {
let active = e.currentTarget.dataset.id
if (active !== this.data.active) {
this.setData({
active,
list: []
})
this.refresh()
}
},
getList() {
let list = this.data.list.concat(this.data.list);
this.setData({
list
})
},
refresh() {
let list = [{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
}, {
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
]
setTimeout(() => {
this.setData({
list,
refresher: false
})
}, 200)
}
})

3
pages/feasibility-study/feasibility-study.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

31
pages/feasibility-study/feasibility-study.wxml

@ -0,0 +1,31 @@
<!--pages/feasibility-study/feasibility-study.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="地块可研"></mp-navigation-bar>
<view class="tab">
<view class="tab-item {{item.id===active?'active':''}}" wx:for="{{tabList}}" wx:for-index="i" wx:for-item="item"
wx:key="id" bindtap="tabDowm" data-id="{{item.id}}">
<text class="tab-title">{{item.name}}</text>
<image class="tab-tag" src="../../assets/images/tab-tag.png"></image>
</view>
</view>
<view class="search-box">
<image src="../../assets/images/search-mini.png"></image>
<input type="text" placeholder="请搜索" placeholder-class="placeholder" />
</view>
<view class="main">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}"
bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item">
<image class="list-img"
src="https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg">
</image>
<view class="list-info">
<view class="list-title one-title">
{{item.title}}
</view>
<view class="list-timer">挂牌日期:{{item.timer}}</view>
</view>
</view>
</scroll-view>
</view>
</view>

121
pages/feasibility-study/feasibility-study.wxss

@ -0,0 +1,121 @@
/* pages/feasibility-study/feasibility-study.wxss */
.main {
padding-bottom: 0;
}
.search-box {
width: 688rpx;
height: 70rpx;
margin-left: 30rpx;
background: #fff;
border-radius: 35rpx;
box-shadow: -2rpx 0rpx 0rpx NaNrpx rgba(191, 191, 191, 0.15);
display: flex;
align-items: center;
padding: 0 30rpx;
box-sizing: border-box;
}
.search-box input {
flex: 1;
margin-left: 10rpx;
font-size: 24rpx;
}
.placeholder {
color: #babdc8;
}
.search-box image {
width: 25rpx;
height: 25rpx;
}
.tab {
display: flex;
padding: 30rpx;
}
.tab-item {
padding-right: 50rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.tab-title {
font-size: 30rpx;
font-weight: bold;
color: #262936;
}
.tab-tag {
width: 44rpx;
height: 10rpx;
display: none;
}
.active .tab-title {
font-size: 34rpx;
font-weight: bold;
color: #146ae7;
}
.active .tab-tag {
display: block;
}
.list {
height: 100%;
background-color: #fff;
margin-top: 30rpx;
}
.list-item {
padding: 24rpx 0 0 30rpx;
display: flex;
}
.list-img {
width: 114rpx;
height: 114rpx;
border-radius: 16rpx;
}
.list-info {
flex: 1;
height: 132rpx;
display: flex;
flex-direction: column;
margin-left: 42rpx;
border-bottom: 2rpx solid #e3e3e3;
}
.list-title {
max-width: 488rpx;
font-size: 33rpx;
line-height: 70rpx;
color: #262936;
font-weight: bold;
}
.list-tag {
width: 89rpx;
height: 34rpx;
line-height: 34rpx;
border-radius: 4rpx;
font-size: 22rpx;
font-weight: bold;
color: #FFFFFF;
margin-top: 10rpx;
}
.list-timer {
font-size: 26rpx;
color: #838B99;
}
.bottom {
width: 688rpx;
height: 208rpx;
}

121
pages/index/index.js

@ -4,48 +4,95 @@ const app = getApp()
Page({
data: {
active: 1,
indicatorDots: false,
autoplay: true,
banner: [{
url: 'https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg',
id: 1
},
{
url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fcdn.duitang.com%2Fuploads%2Fitem%2F201303%2F29%2F20130329205806_kTTnv.thumb.700_0.jpeg&refer=http%3A%2F%2Fcdn.duitang.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1628591572&t=361f72adbc156de6bfe6af5256ec471b',
id: 1
},
{
url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic14.nipic.com%2F20110507%2F4858670_180729227101_2.jpg&refer=http%3A%2F%2Fpic14.nipic.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1628591572&t=26eeea41b45a2dea54bf852f073bdaa7',
id: 1
},
{
url: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fblog.sina.com.cn%2Fpic%2F44f59d727e4f484157caa&refer=http%3A%2F%2Fblog.sina.com.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1628591572&t=73f048b7ee8d700bef3603516ff2f463',
id: 1
}
],
tabs: [{
text: '地块可研',
url: '/assets/images/study.png',
page: '/pages/feasibility-study/feasibility-study'
},
{
text: '定期报告',
url: '/assets/images/report.png',
page: '/pages/periodic-report/periodic-report'
},
{
text: '专题研究',
url: '/assets/images/research.png',
page: '/pages/special-research/special-research'
},
{
text: '土地推介',
url: '/assets/images/promotion.png',
page: '/pages/land-promotion/land-promotion'
}
],
refresher: false,
tabList:[{id:1,name:'已挂牌'},{id:2,name:'拟挂牌'},{id:3,name:'土地推介'},{id:4,name:'报告'},{id:5,name:'研究'}],
list:[],
list: [],
},
onReady(){
onReady() {
this.refresh()
},
comeDetail(e){
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: `../air-report/air-report?id=${id}`,
getList() {
let list = this.data.list.concat(this.data.list);
this.setData({
list
})
},
onShow(){
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 2
})
}
},
tabDowm(e){
let active = e.currentTarget.dataset.id
if(active!==this.data.active){
this.setData({active,list:[]})
this.refresh()
}
},
getList(){
let list = this.data.list.concat(this.data.list);
this.setData({list})
refresh() {
let list = [{
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 1
}, {
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 2
}, {
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 3
}, {
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 4
}, {
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 1
}, {
title: '巴南区大杨石组团大桥石区大桥大桥大桥S分区4-25',
timer: '2021/01/01',
state: 2
}]
setTimeout(() => {
this.setData({
list,
refresher: false
})
}, 200)
},
refresh(){
let list = [
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:1},
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:2},
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:3},
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:2},
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:3},
{title:'CQ210003-九龙坡区大桥石S区十组245-2',timer:'2021/01/01',state:1},
]
setTimeout(()=>{this.setData({list,refresher:false})},200)
pageComing(e) {
let url = e.currentTarget.dataset.page
wx.navigateTo({
url
})
}
})
})

85
pages/index/index.wxml

@ -1,48 +1,75 @@
<!--index.wxml-->
<wxs module="filter">
var setTag = function(state) {
var setTag = function (state) {
var obj = {}
if(state===1){
if (state === 1) {
obj = {
sname:'ycj',
text:'已成交'
sname: 'tag-study',
text: '地块可研'
}
}else if(state===2){
} else if (state === 2) {
obj = {
sname:'wcj',
text:'未成交'
sname: 'tag-report',
text: '定期报告'
}
}else{
} else if (state === 3) {
obj = {
sname:'gsz',
text:'公示中'
sname: 'tag-research',
text: '专题研究'
}
}
return obj
} else {
obj = {
sname: 'tag-promotion',
text: '土地推介'
}
}
return obj
};
module.exports = {setTag:setTag};
module.exports = { setTag: setTag };
</wxs>
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="AIR" back="{{false}}"></mp-navigation-bar>
<view class="tab">
<view class="tab-item {{item.id===active?'active':''}}" wx:for="{{tabList}}" wx:for-index="i" wx:for-item="item" wx:key="id" bindtap="tabDowm" data-id="{{item.id}}">
<text class="tab-title">{{item.name}}</text>
<image class="tab-tag" src="../../assets/images/tab-tag.png"></image>
<view class="top">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" class="banner">
<block wx:for="{{banner}}" wx:key="*this">
<swiper-item>
<view class="swiper-item">
<image class="b-img" src="{{item.url}}"></image>
</view>
</swiper-item>
</block>
</swiper>
<view class="tabs">
<view class="t-item" wx:for="{{tabs}}" wx:key="*this" data-page="{{item.page}}" bindtap="pageComing">
<image src="{{item.url}}"></image>
<text>{{item.text}}</text>
</view>
</view>
</view>
<view class="main">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}" bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item" bindtap="comeDetail" data-id="1">
<view class="list-info">
<view class="list-title">
{{item.title}}
</view>
<view class="list-tag center {{filter.setTag(item.state).sname}}">
{{filter.setTag(item.state).text}}
</view>
<view class="main-head">
<text class="title">推荐文章</text>
<view class="search">
<input type="text" />
<image src="../../assets/images/search-mini.png"></image>
</view>
<view class="list-timer">挂牌日期:{{item.timer}}</view>
</view>
</scroll-view>
</view>
<view class="list-box">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}"
bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item" bindtap="comeDetail" data-id="1">
<image class="item-img"
src="https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg">
</image>
<view class="list-info">
<view class="list-title two-title">
<text class="item-tag {{filter.setTag(item.state).sname}}">{{filter.setTag(item.state).text}}</text>
{{item.title}}
</view>
<view class="list-timer">{{item.timer}}</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>

154
pages/index/index.wxss

@ -1,88 +1,158 @@
/**index.wxss**/
.main{
padding-bottom: 0;
.top {
padding: 30rpx;
}
.banner {
border-radius: 16rpx;
height: 408rpx;
overflow: hidden;
}
.swiper-item {
width: 100%;
height: 100%;
border-radius: 16rpx;
}
.tab{
.b-img {
width: 100%;
height: 100%;
border-radius: 16rpx;
}
.tabs {
display: flex;
justify-content: space-between;
padding: 30rpx;
padding-top: 30rpx;
}
.tab-item{
.t-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.tab-title{
.t-item image {
width: 110rpx;
height: 110rpx;
}
.t-item text {
font-size: 30rpx;
color: #262936;
font-weight: bold;
color: #565A6B;
}
.tab-tag{
width: 44rpx;
height: 10rpx;
display: none;
.main {
background-color: #fff;
display: flex;
flex-direction: column;
padding-bottom: 100rpx;
}
.active .tab-title{
.main-head {
padding: 30rpx 30rpx 0 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.main-head .title {
font-size: 34rpx;
font-weight: bold;
font-weight: 700;
color: #262936;
}
.active .tab-tag{
display: block;
.search {
width: 309rpx;
height: 63rpx;
background: #f7f7f7;
border: 1rpx solid #f0f0f0;
border-radius: 30rpx;
display: flex;
align-items: center;
padding: 0 40rpx;
box-sizing: border-box;
}
.list{
.search>input {
flex: 1;
}
.search>image {
margin-left: 10rpx;
width: 31rpx;
height: 31rpx;
}
.list-box {
flex: 1;
overflow: hidden;
}
.list {
height: 100%;
}
.list-item{
width: 688rpx;
height: 208rpx;
background: #FFFFFF;
box-shadow: 0 2rpx 23rpx 0 rgba(191, 191, 191, 0.15);
.list-item {
border-radius: 18rpx;
margin: 0 auto;
margin-bottom: 24rpx;
padding: 30rpx;
padding: 34rpx 30rpx 0 30rpx;
box-sizing: border-box;
display: flex;
}
.list-info{
.item-img {
width: 166rpx;
height: 151rpx;
border-radius: 16rpx;
}
.list-info {
flex: 1;
padding-left: 20rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.list-title{
max-width: 488rpx;
font-size: 33rpx;
.list-title {
width: 484rpx;
font-size: 32rpx;
font-weight: bold;
color: #262936;
line-height: 47rpx;
line-height: 42rpx;
}
.list-tag{
width: 89rpx;
height: 34rpx;
line-height: 34rpx;
border-radius: 4rpx;
.item-tag {
font-size: 22rpx;
font-weight: bold;
color: #FFFFFF;
margin-top: 10rpx;
display: inline-block;
color: #fff;
border-radius: 6rpx;
padding: 0 10rpx;
line-height: 42rpx;
}
.list-timer {
font-size: 22rpx;
color: #c3c3c3;
}
.tag-study{
background-color: #146ae7;
}
.tag-report{
background-color: #f7a40f;
}
.list-timer{
margin-top: 10rpx;
font-size: 26rpx;
color: #838B99;
.tag-research{
background-color: #10c769;
}
.bottom{
width: 688rpx;
height: 208rpx;
.tag-promotion{
background-color: #fe573e;
}

131
pages/land-promotion/land-promotion.js

@ -0,0 +1,131 @@
// pages/land-promotion/land-promotion.js
const app = getApp()
Page({
data: {
active: 1,
refresher: false,
tabList: [{
id: 1,
name: '拟挂牌'
}, {
id: 2,
name: '挂牌中'
}, {
id: 3,
name: '已成交'
}],
list: [],
},
onReady() {
this.refresh()
},
comeDetail(e) {
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: `../air-report/air-report?id=${id}`,
})
},
onShow() {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 2
})
}
},
tabDowm(e) {
let active = e.currentTarget.dataset.id
if (active !== this.data.active) {
this.setData({
active,
list: []
})
this.refresh()
}
},
getList() {
let list = this.data.list.concat(this.data.list);
this.setData({
list
})
},
refresh() {
let list = [{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
}, {
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
]
setTimeout(() => {
this.setData({
list,
refresher: false
})
}, 200)
}
})

3
pages/land-promotion/land-promotion.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

24
pages/land-promotion/land-promotion.wxml

@ -0,0 +1,24 @@
<!--pages/land-promotion/land-promotion.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="土地推介"></mp-navigation-bar>
<view class="search-box">
<image src="../../assets/images/search-mini.png"></image>
<input type="text" placeholder="请搜索" placeholder-class="placeholder" />
</view>
<view class="main">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}"
bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item">
<image class="list-img"
src="https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg">
</image>
<view class="list-info">
<view class="list-title one-title">
{{item.title}}
</view>
<view class="list-timer">挂牌日期:{{item.timer}}</view>
</view>
</view>
</scroll-view>
</view>
</view>

88
pages/land-promotion/land-promotion.wxss

@ -0,0 +1,88 @@
/* pages/land-promotion/land-promotion.wxss */
.main {
padding-bottom: 0;
}
.search-box {
width: 688rpx;
height: 70rpx;
margin-left: 30rpx;
margin-top: 10rpx;
background: #fff;
border-radius: 35rpx;
box-shadow: -2rpx 0rpx 0rpx NaNrpx rgba(191, 191, 191, 0.15);
display: flex;
align-items: center;
padding: 0 30rpx;
box-sizing: border-box;
}
.search-box input {
flex: 1;
margin-left: 10rpx;
font-size: 24rpx;
}
.placeholder {
color: #babdc8;
}
.search-box image {
width: 25rpx;
height: 25rpx;
}
.list {
height: 100%;
background-color: #fff;
margin-top: 30rpx;
}
.list-item {
padding: 24rpx 0 0 30rpx;
display: flex;
}
.list-img {
width: 114rpx;
height: 114rpx;
border-radius: 16rpx;
}
.list-info {
flex: 1;
height: 132rpx;
display: flex;
flex-direction: column;
margin-left: 42rpx;
border-bottom: 2rpx solid #e3e3e3;
}
.list-title {
max-width: 488rpx;
font-size: 33rpx;
line-height: 70rpx;
color: #262936;
font-weight: bold;
}
.list-tag {
width: 89rpx;
height: 34rpx;
line-height: 34rpx;
border-radius: 4rpx;
font-size: 22rpx;
font-weight: bold;
color: #FFFFFF;
margin-top: 10rpx;
}
.list-timer {
font-size: 26rpx;
color: #838B99;
}
.bottom {
width: 688rpx;
height: 208rpx;
}

58
pages/look/look.js

@ -15,11 +15,7 @@ Page({
polygons: [],
start: '2015',
end: '2020',
once: {
id: 1,
name: '已出让',
state: false
},
actives: [],
tabs: [{
id: 2,
name: '挂牌中',
@ -61,45 +57,43 @@ Page({
})
},
bindstartChange(e){
this.setData({start:e.detail.value})
bindstartChange(e) {
this.setData({
start: e.detail.value
})
},
bindendChange(e){
this.setData({end:e.detail.value})
bindendChange(e) {
this.setData({
end: e.detail.value
})
},
// 功能切换
checkBtn(e) {
let id = e.currentTarget.dataset.id
console.log(id)
let {
latitude,
longitude
longitude,
actives
} = this.data;
let state = false;
if (id === 1) {
let {
once
} = this.data
state = once.state;
once.state = !once.state
this.setData({
once
})
} else {
let {
tabs
} = this.data
tabs.forEach(item => {
if (item.id === id) {
state = item.state;
item.state = !item.state
let hasAc = actives.some(item => item === id);
if (hasAc) {
for (let index = 0; index < actives.length; index++) {
const element = actives[index];
if (element === id) {
actives.splice(index, 1)
}
})
this.setData({
tabs
})
}
state = true;
} else {
actives.push(id);
}
this.setData({
actives
})
switch (id) {
case 1:
// 已出让

99
pages/look/look.wxml

@ -1,26 +1,16 @@
<!--pages/look/look.wxml-->
<wxs module="filter">
var setTag = function (state) {
var obj = {}
if (state === 1) {
obj = {
sname: 'ycj',
text: '已成交'
}
} else if (state === 2) {
obj = {
sname: 'wcj',
text: '未成交'
}
} else {
obj = {
sname: 'gsz',
text: '公示中'
}
var setActive = function (arr, id) {
var str = '';
var has = arr.some(function (item) {
return item === id;
});
if (has) {
str = 'check-active'
}
return obj
return str;
};
module.exports = { setTag: setTag };
module.exports = { setActive: setActive };
</wxs>
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="看地" back="{{false}}"></mp-navigation-bar>
@ -43,32 +33,65 @@
</cover-view>
<cover-image data-type="add" bindtap="scaleDown" class="map-scale map-scale-add"
src="../../assets/images/add.png"></cover-image>
<cover-image data-type="reduce" bindtap="scaleDown" class="map-scale map-scale-reduce"
src="../../assets/images/reduce.png"></cover-image>
<cover-image bindtap="scaleBack" class="map-back" src="../../assets/images/myback.png"></cover-image>
<cover-view class="list-head">
<cover-view class="list-top">
<cover-view class="list-item" data-id="{{once.id}}" bindtap="checkBtn">
<cover-view class="check-box {{once.state?'check-active':''}}">
<cover-image class="check-icon" src="../../assets/images/check.png"></cover-image>
<cover-image data-type="reduce" bindtap="scaleBack" class="map-scale map-scale-reduce"
src="../../assets/images/myback.png"></cover-image>
<cover-view class="tab-list">
<cover-view class="list-box">
<cover-view class="list-title">看地块</cover-view>
<cover-view class="list-info">
<cover-view class="list-item {{filter.setActive(actives,1)}}" data-id="{{1}}" bindtap="checkBtn">
已出让
</cover-view>
<cover-view class="timer">
{{start}}年 - {{end}}年
</cover-view>
<cover-view class="list-item cross {{filter.setActive(actives,2)}}" data-id="{{2}}" bindtap="checkBtn">
挂牌中
</cover-view>
<cover-view class="list-item cross {{filter.setActive(actives,3)}}" data-id="{{3}}" bindtap="checkBtn">
拟挂牌
</cover-view>
</cover-view>
</cover-view>
<cover-view class="list-box">
<cover-view class="list-title">看区位</cover-view>
<cover-view class="list-info">
<cover-view class="list-item {{filter.setActive(actives,4)}}" data-id="{{4}}" bindtap="checkBtn">
行政区
</cover-view>
<cover-view class="list-item {{filter.setActive(actives,5)}}" data-id="{{5}}" bindtap="checkBtn">
大组团
</cover-view>
<cover-view class="list-item {{filter.setActive(actives,6)}}" data-id="{{6}}" bindtap="checkBtn">
小组团
</cover-view>
<cover-view class="item-name">{{once.name}}</cover-view>
</cover-view>
<cover-view class="timer">
{{start}}年 - {{end}}年
</cover-view>
<cover-view class="list-box">
<cover-view class="list-title">看配套</cover-view>
<cover-view class="list-info">
<cover-view class="list-item {{filter.setActive(actives,7)}}" data-id="{{7}}" bindtap="checkBtn">
配套
</cover-view>
<cover-view class="list-item {{filter.setActive(actives,8)}}" data-id="{{8}}" bindtap="checkBtn">
环线
</cover-view>
<cover-view class="list-item {{filter.setActive(actives,9)}}" data-id="{{9}}" bindtap="checkBtn">
3KM圈
</cover-view>
</cover-view>
</cover-view>
</cover-view>
<cover-view class="hidden"></cover-view>
</map>
<view class="list-foot">
<view class="list-item" wx:for="{{tabs}}" wx:key="id" data-id="{{item.id}}" bindtap="checkBtn">
<view class="check-box {{item.state?'check-active':''}}">
<image class="check-icon" src="../../assets/images/check.png"></image>
</view>
<view class="item-name">{{item.name}}</view>
<!-- <view class="list-foot">
<view class="list-item {{item.state?'check-active':''}}" wx:for="{{tabs}}" wx:key="id" data-id="{{item.id}}"
bindtap="checkBtn">
{{item.name}}
</view>
</view>
</view> -->
</view>
</view>

121
pages/look/look.wxss

@ -1,7 +1,8 @@
/* pages/look/look.wxss */
.main{
.main {
padding-bottom: 0;
}
.map {
width: 750rpx;
height: 1042rpx;
@ -10,42 +11,42 @@
.map-tab {
width: 168rpx;
height: 54rpx;
box-sizing: border-box;
background: #FFFFFF;
box-shadow: 0 2rpx 23rpx 0 rgba(191, 191, 191, 0.15);
border-radius: 4rpx;
display: flex;
justify-content: space-between;
align-items: center;
position: absolute;
right: 46rpx;
top: 28rpx;
position: fixed;
right: 58rpx;
top: 300rpx;
padding: 0 20rpx;
}
.map-tab-item {
font-size: 20rpx;
font-weight: bold;
font-weight: 700;
color: #262936;
}
.map-tab .active {
color: #F08E20;
color: #146ae7;
}
.map-scale {
width: 100rpx;
height: 100rpx;
position: absolute;
right: 20rpx;
width: 110rpx;
height: 110rpx;
position: fixed;
right: 55rpx;
}
.map-scale-add {
bottom: 234rpx;
top: 400rpx;
}
.map-scale-reduce {
bottom: 146rpx;
top: 500rpx;
}
.map-back {
@ -56,73 +57,72 @@
bottom: 146rpx;
}
.list-head {
position: absolute;
.tab-list {
position: fixed;
left: 33rpx;
bottom: 0rpx;
bottom: 98rpx;
width: 687rpx;
height: 90rpx;
height: 452rpx;
background: #FFFFFF;
box-shadow: 0 2rpx 23rpx 0 rgba(191, 191, 191, 0.15);
border-radius: 18rpx 18rpx 0 0;
padding: 0 30rpx;
border-radius: 18rpx;
padding: 10rpx 30rpx;
box-sizing: border-box;
display: flex;
align-items: center;
}
.list-top {
.list-title {
font-size: 32rpx;
line-height: 80rpx;
font-weight: bold;
color: #141414;
padding: 10rpx;
}
.list-box {
display: flex;
width: 100%;
}
.list-item {
width: 25%;
.list-info{
flex: 1;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.timer {
height: 42rpx;
line-height: 42rpx;
background: #BBBCC8;
border: 1px solid #BBBCC8;
opacity: 0.4;
.list-item {
width: 116rpx;
height: 50rpx;
border: 2rpx solid #565a6b;
border-radius: 4rpx;
display: flex;
line-height: 50rpx;
text-align: center;
color: #565a6b;
font-size: 28rpx;
color: #262936;
padding: 0 30rpx;
margin: 24rpx;
}
.check-box {
width: 24rpx;
height: 24rpx;
background: #FFFFFF;
border: 2rpx solid #009CFF;
border-radius: 4rpx;
box-sizing: border-box;
.cross{
margin-top: 0;
}
.check-active {
background: #009CFF;
}
.check-icon {
display: none;
width: 100%;
height: 100%;
color: #ffffff;
background: #3a97ff;
border: 2rpx solid #3a97ff;
}
.check-active .check-icon {
display: block;
}
.item-name {
padding-left: 16rpx;
font-weight: bold;
.timer {
height: 50rpx;
line-height: 50rpx;
padding-left: 18rpx;
padding-right: 18rpx;
background: rgba(187,188,200,.3);
border-radius: 4rpx;
display: flex;
font-size: 28rpx;
color: #262936;
color: rgba(38,41,54,.6);
margin-left: 24rpx;
}
.list-foot {
@ -140,15 +140,6 @@
padding-bottom: 10rpx;
}
.hidden{
position: absolute;
left: 33rpx;
bottom: 0rpx;
width: 687rpx;
height: 20rpx;
background: #FFFFFF;
}
.text-pan{
.text-pan {
padding: 0 10rpx;
}

128
pages/periodic-report/periodic-report.js

@ -0,0 +1,128 @@
// pages/periodic-report/periodic-report.js
const app = getApp()
Page({
data: {
active: 1,
refresher: false,
tabList: [{
id: 1,
name: '住宅市场'
}, {
id: 2,
name: '土地市场'
}],
list: [],
},
onReady() {
this.refresh()
},
comeDetail(e) {
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: `../air-report/air-report?id=${id}`,
})
},
onShow() {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 2
})
}
},
tabDowm(e) {
let active = e.currentTarget.dataset.id
if (active !== this.data.active) {
this.setData({
active,
list: []
})
this.refresh()
}
},
getList() {
let list = this.data.list.concat(this.data.list);
this.setData({
list
})
},
refresh() {
let list = [{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
}, {
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
]
setTimeout(() => {
this.setData({
list,
refresher: false
})
}, 200)
}
})

3
pages/periodic-report/periodic-report.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

27
pages/periodic-report/periodic-report.wxml

@ -0,0 +1,27 @@
<!--pages/periodic-report/periodic-report.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="定期报告"></mp-navigation-bar>
<view class="tab">
<view class="tab-item {{item.id===active?'active':''}}" wx:for="{{tabList}}" wx:for-index="i" wx:for-item="item"
wx:key="id" bindtap="tabDowm" data-id="{{item.id}}">
<text class="tab-title">{{item.name}}</text>
<image class="tab-tag" src="../../assets/images/tab-tag.png"></image>
</view>
</view>
<view class="main">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}"
bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item">
<image class="list-img"
src="https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg">
</image>
<view class="list-info">
<view class="list-title one-title">
{{item.title}}
</view>
<view class="list-timer">发布日期:{{item.timer}}</view>
</view>
</view>
</scroll-view>
</view>
</view>

93
pages/periodic-report/periodic-report.wxss

@ -0,0 +1,93 @@
/* pages/periodic-report/periodic-report.wxss */
.main {
padding-bottom: 0;
}
.tab {
display: flex;
padding: 30rpx;
}
.tab-item {
padding-right: 50rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.tab-title {
font-size: 30rpx;
font-weight: bold;
color: #262936;
}
.tab-tag {
width: 44rpx;
height: 10rpx;
display: none;
}
.active .tab-title {
font-size: 34rpx;
font-weight: bold;
color: #146ae7;
}
.active .tab-tag {
display: block;
}
.list {
height: 100%;
background-color: #fff;
margin-top: 30rpx;
}
.list-item {
padding: 24rpx 0 0 30rpx;
display: flex;
}
.list-img {
width: 114rpx;
height: 114rpx;
border-radius: 16rpx;
}
.list-info {
flex: 1;
height: 132rpx;
display: flex;
flex-direction: column;
margin-left: 42rpx;
border-bottom: 2rpx solid #e3e3e3;
}
.list-title {
max-width: 488rpx;
font-size: 33rpx;
line-height: 70rpx;
color: #262936;
font-weight: bold;
}
.list-tag {
width: 89rpx;
height: 34rpx;
line-height: 34rpx;
border-radius: 4rpx;
font-size: 22rpx;
font-weight: bold;
color: #FFFFFF;
margin-top: 10rpx;
}
.list-timer {
font-size: 26rpx;
color: #838B99;
}
.bottom {
width: 688rpx;
height: 208rpx;
}

131
pages/special-research/special-research.js

@ -0,0 +1,131 @@
// pages/special-research/special-research.js
const app = getApp()
Page({
data: {
active: 1,
refresher: false,
tabList: [{
id: 1,
name: '拟挂牌'
}, {
id: 2,
name: '挂牌中'
}, {
id: 3,
name: '已成交'
}],
list: [],
},
onReady() {
this.refresh()
},
comeDetail(e) {
let id = e.currentTarget.dataset.id
wx.navigateTo({
url: `../air-report/air-report?id=${id}`,
})
},
onShow() {
if (typeof this.getTabBar === 'function' &&
this.getTabBar()) {
this.getTabBar().setData({
selected: 2
})
}
},
tabDowm(e) {
let active = e.currentTarget.dataset.id
if (active !== this.data.active) {
this.setData({
active,
list: []
})
this.refresh()
}
},
getList() {
let list = this.data.list.concat(this.data.list);
this.setData({
list
})
},
refresh() {
let list = [{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
}, {
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 2
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 3
},
{
title: 'CQ210003-九龙坡区大桥石S区十组245-2',
timer: '2021/01/01',
state: 1
},
]
setTimeout(() => {
this.setData({
list,
refresher: false
})
}, 200)
}
})

3
pages/special-research/special-research.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

24
pages/special-research/special-research.wxml

@ -0,0 +1,24 @@
<!--pages/special-research/special-research.wxml-->
<view class="pages">
<mp-navigation-bar ext-class="set-bar" title="专题研究"></mp-navigation-bar>
<view class="search-box">
<image src="../../assets/images/search-mini.png"></image>
<input type="text" placeholder="请搜索" placeholder-class="placeholder" />
</view>
<view class="main">
<scroll-view class="list" scroll-y="true" refresher-enabled refresher-triggered="{{refresher}}"
bindscrolltolower="getList" bindrefresherrefresh="refresh">
<view class="list-item" wx:for="{{list}}" wx:for-index="i" wx:for-item="item">
<image class="list-img"
src="https://ss0.baidu.com/94o3dSag_xI4khGko9WTAnF6hhy/zhidao/pic/item/cb8065380cd791230f4870a5ac345982b3b780b3.jpg">
</image>
<view class="list-info">
<view class="list-title one-title">
{{item.title}}
</view>
<view class="list-timer">挂牌日期:{{item.timer}}</view>
</view>
</view>
</scroll-view>
</view>
</view>

88
pages/special-research/special-research.wxss

@ -0,0 +1,88 @@
/* pages/special-research/special-research.wxss */
.main {
padding-bottom: 0;
}
.search-box {
width: 688rpx;
height: 70rpx;
margin-left: 30rpx;
margin-top: 10rpx;
background: #fff;
border-radius: 35rpx;
box-shadow: -2rpx 0rpx 0rpx NaNrpx rgba(191, 191, 191, 0.15);
display: flex;
align-items: center;
padding: 0 30rpx;
box-sizing: border-box;
}
.search-box input {
flex: 1;
margin-left: 10rpx;
font-size: 24rpx;
}
.placeholder {
color: #babdc8;
}
.search-box image {
width: 25rpx;
height: 25rpx;
}
.list {
height: 100%;
background-color: #fff;
margin-top: 30rpx;
}
.list-item {
padding: 24rpx 0 0 30rpx;
display: flex;
}
.list-img {
width: 114rpx;
height: 114rpx;
border-radius: 16rpx;
}
.list-info {
flex: 1;
height: 132rpx;
display: flex;
flex-direction: column;
margin-left: 42rpx;
border-bottom: 2rpx solid #e3e3e3;
}
.list-title {
max-width: 488rpx;
font-size: 33rpx;
line-height: 70rpx;
color: #262936;
font-weight: bold;
}
.list-tag {
width: 89rpx;
height: 34rpx;
line-height: 34rpx;
border-radius: 4rpx;
font-size: 22rpx;
font-weight: bold;
color: #FFFFFF;
margin-top: 10rpx;
}
.list-timer {
font-size: 26rpx;
color: #838B99;
}
.bottom {
width: 688rpx;
height: 208rpx;
}

66
pages/suggestion/suggestion.js

@ -0,0 +1,66 @@
// pages/suggestion/suggestion.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

3
pages/suggestion/suggestion.json

@ -0,0 +1,3 @@
{
"usingComponents": {}
}

2
pages/suggestion/suggestion.wxml

@ -0,0 +1,2 @@
<!--pages/suggestion/suggestion.wxml-->
<text>pages/suggestion/suggestion.wxml</text>

1
pages/suggestion/suggestion.wxss

@ -0,0 +1 @@
/* pages/suggestion/suggestion.wxss */

8
pages/ucenter/ucenter.js

@ -15,6 +15,14 @@ Page({
wx.navigateTo({
url: '/pages/message/message',
})
}else if(type==3){
wx.navigateTo({
url: '/pages/suggestion/suggestion',
})
}else if(type==4){
wx.navigateTo({
url: '/pages/about/about',
})
}
},

10
pages/ucenter/ucenter.wxml

@ -9,27 +9,27 @@
<view class="user-info">
<view class="info-box">
<text class="text">无敌周大花</text>
<image class="tag" src="../../assets/images/zhuan_1.png"></image>
<!-- <image class="tag" src="../../assets/images/zhuan_1.png"></image> -->
</view>
<text class="code">ID: AIR456789</text>
</view>
</view>
<view class="member-box">
<!-- <view class="member-box">
<image class="member-back my-pos" src="../../assets/images/member.png" mode="aspectFit"></image>
<view class="member my-pos flex-center">
<text>VIP会员</text>
<view class="member-btn center">会员权益</view>
</view>
</view>
</view> -->
<view class="option-box">
<view class="o-item flex-center" bindtap="comePage" data-type="1">
<text>消息通知</text>
<image class="icon" src="../../assets/images/arrow-down.png"></image>
</view>
<view class="o-item flex-center" bindtap="comePage" data-type="2">
<!-- <view class="o-item flex-center" bindtap="comePage" data-type="2">
<text>修改密码</text>
<image class="icon" src="../../assets/images/arrow-down.png"></image>
</view>
</view> -->
<view class="o-item flex-center" bindtap="comePage" data-type="3">
<text>建议反馈</text>
<image class="icon" src="../../assets/images/arrow-down.png"></image>

7
pages/ucenter/ucenter.wxss

@ -2,6 +2,11 @@
position: relative;
}
.option-box{
margin-top: 50rpx;
padding-left: 30rpx;
}
.main{
position: absolute;
left: 0;
@ -22,12 +27,12 @@
.user{
box-sizing: border-box;
padding: 0 30rpx;
}
.user-box{
display: flex;
align-items: center;
padding: 0 30rpx;
}
.log{

2
project.config.json

@ -40,7 +40,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.17.0",
"appid": "wx1be3eff14fa81352",
"appid": "wxfc99b7a73f6efa4e",
"projectname": "airApp",
"debugOptions": {
"hidedInDevtools": []

6
project.private.config.json

@ -71,6 +71,12 @@
"pathName": "pages/auth/auth",
"query": "",
"scene": null
},
{
"name": "地块可研",
"pathName": "pages/feasibility-study/feasibility-study",
"query": "",
"scene": null
}
]
}

2
utils/gisApi.js

@ -1,4 +1,4 @@
const baseURL = 'http://47.108.164.110:8090/'
const baseURL = 'http://47.108.164.110:8080/'
const GET = 'GET';
const POST = 'POST';
const PUT = 'PUT';

Loading…
Cancel
Save