Browse Source

Merge branch 'feature/index-and-welcome' of http://121.42.41.42:7070/r/epdc-resident-mp-js into feature/index-and-welcome

master
lihenian 6 years ago
parent
commit
70f5d16f23
  1. 8
      .vscode/settings.json
  2. 2
      README.md
  3. 7
      app.js
  4. 54
      app.json
  5. 2
      components/navbar/index.js
  6. 6
      jsconfig.json
  7. 28
      pages/accept/accept.wxml
  8. 4
      pages/complete/complete.js
  9. 2
      pages/formid/formid.js
  10. 2
      pages/gridLeaderRegister/gridLeaderRegister.js
  11. 2
      pages/index/index.js
  12. 2
      pages/index/index.json
  13. 398
      pages/indexNew/indexNew.js
  14. 9
      pages/indexNew/indexNew.json
  15. 115
      pages/indexNew/indexNew.wxml
  16. 458
      pages/indexNew/indexNew.wxss
  17. 46
      pages/start/start.js
  18. 2
      pages/start/start.json
  19. 26
      pages/start/start.wxml
  20. 88
      pages/start/start.wxss
  21. 2
      pages/toRegister/toRegister.js
  22. 8
      project.config.json
  23. 2
      subpages/association/components/inviteFriendDialog/inviteFriendDialog.wxml
  24. 2
      subpages/changegrid/pages/changeGrid/changeGrid.js
  25. 2
      subpages/changegrid/pages/changeGrid/changeGrid.json
  26. 24
      subpages/home/pages/agreement/agreement.wxml
  27. 2
      subpages/home/pages/newsDetail/newsDetail.json
  28. 2705
      typings/wx.d.ts

8
.vscode/settings.json

@ -0,0 +1,8 @@
{
"files.associations": {
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript",
"*.wxml": "html"
}
}

2
README.md

@ -1,4 +1,4 @@
## epdc-resident-mp-js
精致锦水居民端小程序锦水街道
e锦水居民端小程序锦水街道

7
app.js

@ -12,9 +12,12 @@ App({
//这个最初我是在组件中获取,但是出现了一个问题,当第一次进入小程序时导航栏会把
//页面内容盖住一部分,当打开调试重新进入时就没有问题,这个问题弄得我是莫名其妙
//虽然最后解决了,但是花费了不少时间
const menuButtonInfo = wx.getMenuButtonBoundingClientRect()
wx.getSystemInfo({
success: (res) => {
this.globalData.height = res.statusBarHeight
this.globalData.deviceInfo.statusHeight = res.statusBarHeight
this.globalData.deviceInfo.navigationHeight = menuButtonInfo.height + (menuButtonInfo.top - res.statusBarHeight) * 2
}
})
// 检查版本更新
@ -43,5 +46,9 @@ App({
lordFlag: ''
},
previewImage: false, // 预览图片后会触发onShow,加个状态区分一下
deviceInfo: {
statusHeight: 20,
navigationHeight: 40
}
}
})

54
app.json

@ -1,6 +1,7 @@
{
"pages": [
"pages/start/start",
"pages/indexNew/indexNew",
"pages/index/index",
"pages/mine/mine",
"pages/association/association",
@ -75,55 +76,30 @@
}
],
"preloadRule": {
"pages/index/index": {
"pages/indexNew/indexNew": {
"network": "all",
"packages": ["subpages/changegrid"]
"packages": [
"subpages/changegrid"
]
},
"pages/discussion/discussion": {
"network": "all",
"packages": ["discussion"]
"packages": [
"discussion"
]
},
"pages/association/association": {
"network": "all",
"packages": ["subpages/association"]
"packages": [
"subpages/association"
]
},
"pages/mine/mine": {
"network": "all",
"packages": ["mine"]
"packages": [
"mine"
]
}
},
"tabBar": {
"color": "#666666",
"selectedColor": "#FF0000",
"backgroundColor": "#FFFFFF",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "images/home.png",
"selectedIconPath": "images/homeSelected.png"
},
{
"pagePath": "pages/discussion/discussion",
"text": "我有事说",
"iconPath": "images/discuss.png",
"selectedIconPath": "images/discussSelected.png"
},
{
"pagePath": "pages/association/association",
"text": "党群互动",
"iconPath": "images/association.png",
"selectedIconPath": "images/association-select.png"
},
{
"pagePath": "pages/mine/mine",
"text": "我的",
"iconPath": "images/mine.png",
"selectedIconPath": "images/mineSelected.png"
}
]
},
"window": {
"backgroundTextStyle": "light",
@ -136,7 +112,7 @@
},
"permission": {
"scope.userLocation": {
"desc": "精致锦水将获取您的位置信息"
"desc": "e锦水将获取您的位置信息"
}
},
"sitemapLocation": "sitemap84.json"

2
components/navbar/index.js

@ -32,7 +32,7 @@ Component({
//返回到首页
_backhome() {
wx.switchTab({
url: '/pages/index/index',
url: '/pages/indexNew/indexNew',
})
}
}

6
jsconfig.json

@ -0,0 +1,6 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs"
}
}

28
pages/accept/accept.wxml

@ -1,20 +1,20 @@
<view class="page" style="background:#ffffff; color:#333333">
<view class="page__bd" style="padding:20rpx;">
<view style="font-size:36rpx;font-weight:bold;text-align:center;">精致锦水小程序用户协议</view>
<view style="font-size:36rpx;font-weight:bold;text-align:center;">e锦水小程序用户协议</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">1、重要提示</view>
青岛亿联信息科技股份有限公司(以下简称“我们”)在此特别提醒用户务必审慎阅读、充分理解《精致锦水小程序许可及服务协议》(下称“本协议”)的条款内容。未成年人应在法定监护人陪同下阅读。除非用户接受本协议所有条款,否则用户无权下载、安装或使用本软件及其相关服务。用户的下载、安装、使用、账号获取和登录等行为将视为对本协议的接受,并同意接受本协议各项条款的约束。
青岛亿联信息科技股份有限公司(以下简称“我们”)在此特别提醒用户务必审慎阅读、充分理解《e锦水小程序许可及服务协议》(下称“本协议”)的条款内容。未成年人应在法定监护人陪同下阅读。除非用户接受本协议所有条款,否则用户无权下载、安装或使用本软件及其相关服务。用户的下载、安装、使用、账号获取和登录等行为将视为对本协议的接受,并同意接受本协议各项条款的约束。
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">2、协议范围</view>
本协议是用户与我们之间关于下载、安装、使用精致锦水(下称“本软件”)功能,以及使用我们相关服务所订立的协议。本协议、本协议附件以及与本软件使用的第三方软件或技术相关的协议或者其他文件等,共同构成本软件及服务的完整协议。
本协议是用户与我们之间关于下载、安装、使用e锦水(下称“本软件”)功能,以及使用我们相关服务所订立的协议。本协议、本协议附件以及与本软件使用的第三方软件或技术相关的协议或者其他文件等,共同构成本软件及服务的完整协议。
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">3、关于本软件</view>
精致锦水”是一个基于互联网、大数据技术、以居民区党组织为核心、以网格党支部为主导、服务社区居民,致力于创新社区治理的公益性社区自治共治平台。平台提供的服务有:新闻公告、党群议事、友邻社群、爱心互助、生活服务等模块,主要目的是利用互联网平台创新社区治理模式,提升居民区党组织和网格党支部的领导带头作用,增强居民的归属感。</view>
e锦水”是一个基于互联网、大数据技术、以居民区党组织为核心、以网格党支部为主导、服务社区居民,致力于创新社区治理的公益性社区自治共治平台。平台提供的服务有:新闻公告、党群议事、友邻社群、爱心互助、生活服务等模块,主要目的是利用互联网平台创新社区治理模式,提升居民区党组织和网格党支部的领导带头作用,增强居民的归属感。</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">4、知识产权保护声明</view>
<view>4.1“精致锦水”所有的一切版权、商标权、专利权、商业秘密等知识产权,以及与本软件相关的所有信息内容,包括但不限于:文字表述及其组合、图标、图饰、图表、色彩、界面设计、版面框架、有关数据、印刷材料或电子文档等均受中华人民共和国著作权法、商标法、专利法、反不正当竞争法和相应的国际条约以及其他知识产权法律法规的保护,除涉及第三方授权的软件或技术外,我们享有上述知识产权。</view>
<view>4.1“e锦水”所有的一切版权、商标权、专利权、商业秘密等知识产权,以及与本软件相关的所有信息内容,包括但不限于:文字表述及其组合、图标、图饰、图表、色彩、界面设计、版面框架、有关数据、印刷材料或电子文档等均受中华人民共和国著作权法、商标法、专利法、反不正当竞争法和相应的国际条约以及其他知识产权法律法规的保护,除涉及第三方授权的软件或技术外,我们享有上述知识产权。</view>
<view>4.2未经我们书面同意,用户不得以任何营利性或者非营利性的目的自行实施、利用、转让或许可任何第三方实施、利用、转让上述知识产权,我们保留追究上述未经许可行为的权利。</view>
</view>
@ -28,20 +28,20 @@
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">6、用户行为规范</view>
<view>6.1 用户行为要求</view>
<view>你应当对你使用本软件及相关服务的行为负责,除非法律允许或者经公司事先书面许可,你使用“精致锦水”软件及相关服务不得具有下列行为:</view>
<view>6.1.1 使用未经公司授权或许可的任何插件、外挂、系统或第三方工具对“精致锦水”软件及相关服务的正常运行进行干扰、破坏、修改或施加其他影响。</view>
<view>你应当对你使用本软件及相关服务的行为负责,除非法律允许或者经公司事先书面许可,你使用“e锦水”软件及相关服务不得具有下列行为:</view>
<view>6.1.1 使用未经公司授权或许可的任何插件、外挂、系统或第三方工具对“e锦水”软件及相关服务的正常运行进行干扰、破坏、修改或施加其他影响。</view>
<view>6.1.2 利用或针对“精致锦水”软件及相关服务进行任何危害计算机网络安全的行为,包括但不限于:</view>
<view>6.1.2 利用或针对“e锦水”软件及相关服务进行任何危害计算机网络安全的行为,包括但不限于:</view>
<view>(1)非法侵入他人网络、干扰他人网络正常功能、窃取网络数据等危害网络安全的活动;</view>
<view>(2)提供专门用于从事侵入网络、干扰网络正常功能及防护措施、窃取网络数据等危害网络安全活动的程序、工具;</view>
<view>(3)未经许可,企图探查、扫描、测试“精致锦水”系统或网络的弱点或其它实施破坏网络安全的行为;</view>
<view>(4)企图干涉、破坏“精致锦水”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;</view>
<view>(5)对“精致锦水”软件及相关服务进行反向工程、反向汇编、编译或者以其他方式尝试发现本软件的源代码;</view>
<view>(6)恶意注册“精致锦水”软件及相关服务的账号,包括但不限于频繁、批量注册账号;</view>
<view>(3)未经许可,企图探查、扫描、测试“e锦水”系统或网络的弱点或其它实施破坏网络安全的行为;</view>
<view>(4)企图干涉、破坏“e锦水”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;</view>
<view>(5)对“e锦水”软件及相关服务进行反向工程、反向汇编、编译或者以其他方式尝试发现本软件的源代码;</view>
<view>(6)恶意注册“e锦水”软件及相关服务的账号,包括但不限于频繁、批量注册账号;</view>
<view>(7)违反法律法规、本协议、公司的相关规则及侵犯他人合法权益的其他行为。</view>
<view>6.1.3 如果公司有理由认为你的行为违反或可能违反上述约定的,公司可独立进行判断并处理,且有权在不事先通知的情况下终止向你提供服务,并追究相关法律责任。</view>
<view>6.2 信息内容规范</view>
<view>6.2.1 你按规定完成实名认证后,可以以注册账号登录“精致锦水”发布内容、跟帖评论等。</view>
<view>6.2.1 你按规定完成实名认证后,可以以注册账号登录“e锦水”发布内容、跟帖评论等。</view>
<view>6.2.2 我们致力使发布信息、跟帖评论成为文明、理性、友善、高质量的意见交流。在推动发布信息、互动交流、跟帖评论业务发展的同时,不断加强相应的信息安全管理能力,完善发布信息、跟帖评论自律,切实履行社会责任,遵守国家法律法规,尊重公民合法权益,尊重社会公序良俗。</view>
<view>6.2.3 你评论、发布、传播的内容应自觉遵守宪法法律、法规、遵守公共秩序,尊重社会公德、社会主义制度、国家利益、公民合法权益、道德风尚和信息真实性等要求。你同意并承诺不制作、复制、发布、传播法律、法规禁止的下列信息内容:</view>
<view>(1)反对宪法确定的基本原则的;</view>
@ -67,7 +67,7 @@
<view>(21)使用本网站常用语言文字以外的其他语言文字评论的;</view>
<view>(22)与所评论的信息毫无关系的;</view>
<view>(23)所发表的信息毫无意义的,或刻意使用字符组合以逃避技术审核的;</view>
<view>(24)其他违反法律法规、政策及公序良俗、干扰“精致锦水”正常运营或侵犯其他用户或第三方合法权益内容的其他信息。</view>
<view>(24)其他违反法律法规、政策及公序良俗、干扰“e锦水”正常运营或侵犯其他用户或第三方合法权益内容的其他信息。</view>
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">7、违约处理</view>

4
pages/complete/complete.js

@ -220,7 +220,7 @@ Page({
content: res.data.resultMsg,
success: function (res) {
wx.reLaunch({
url: '/pages/index/index'
url: '/pages/indexNew/indexNew'
})
}
})
@ -232,7 +232,7 @@ Page({
complete: function () {
setTimeout(function () {
wx.reLaunch({
url: '/pages/index/index'
url: '/pages/indexNew/indexNew'
})
}, 3000);
}

2
pages/formid/formid.js

@ -108,7 +108,7 @@ Page({
// // })
// }
wx.reLaunch({
url: '/pages/index/index'
url: '/pages/indexNew/indexNew'
})
}
})

2
pages/gridLeaderRegister/gridLeaderRegister.js

@ -75,7 +75,7 @@ Page({
wx.hideLoading()
wx.setStorageSync('isFirst', 'noFirst')
wx.reLaunch({
url: '/pages/index/index'
url: '/pages/indexNew/indexNew'
})
})
}

2
pages/index/index.js

@ -44,7 +44,7 @@ Page({
gid: '',
nvabarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '精致锦水', //导航栏 中间的标题
title: 'e锦水', //导航栏 中间的标题
},
height: app.globalData.height * 2 + 20,
infoObj: {

2
pages/index/index.json

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "精致锦水",
"navigationBarTitleText": "e锦水",
"usingComponents": {
"nav-bar": "/components/navbar/index"
}

398
pages/indexNew/indexNew.js

@ -0,0 +1,398 @@
const app = getApp()
var api = require('../../utils/api.js')
var global = require('../../utils/config.js')
import {
getTimestamp
} from '../../utils/common'
Page({
data: {
first: true,
nomorenews: true,
departmentName: '',
options: {
autoplay: false,
circular: true,
interval: 3000,
duration: 100,
previousMargin: 50,
nextMargin: 0,
displayMultipleItems: 3,
currentSwiper: '',
},
options2: {
autoplay: false,
circular: true,
interval: 3000,
duration: 100,
previousMargin: 50,
nextMargin: 0,
displayMultipleItems: 3,
currentSwiper: '',
},
swiperBannerList: [],
swiperData: [{
headUrl: '',
linkType: 2,
name: '222'
},
{
headUrl: '',
linkType: 2,
name: '222'
}
],
fromScan: false,
gid: '',
nvabarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: 'e锦水', //导航栏 中间的标题
},
height: app.globalData.height * 2 + 20,
infoObj: {
time: '',
title: '',
amount: ''
},
noticeList: [],
innerHtmlStatus: true,
visibilityStatus: true,
pageNo: 1,
pageSize: 10,
timestamp: getTimestamp(),
newsList: [],
issueList: [],
projectList: [],
colorList: ['#fdf6e3', '#e9ecf5', '#f7eedf', '#efd9cc', '#e1efff'],
statusHeight: 0, // 自定义头部状态栏高度
navigationHeight: 0, // 自定义头部导航栏高度
currentIndex: 0,
loadMoreType: 'none',
loadMoreVisible: false,
},
onShow: function() {
if (wx.getStorageSync('token') != '' && wx.getStorageSync('token') != undefined && wx.getStorageSync('token') != null) {
if (!this.data.first) {
this.getBannerList()
this.getFirstInfo()
this.getNoticeList()
this.getIssueList()
this.getProjectList()
this.setData({
pageNo: 1,
newsList: []
})
this.getNewsList()
}
}
},
onLoad: function(options) {
if (options.scene) {
this.setData({
statusHeight: app.globalData.deviceInfo.statusHeight,
navigationHeight: app.globalData.deviceInfo.navigationHeight,
gridId: options.scene
})
} else {
this.setData({
statusHeight: app.globalData.deviceInfo.statusHeight,
navigationHeight: app.globalData.deviceInfo.navigationHeight,
})
}
console.log('options:', options)
if (options.scene) {
this.setData({
gid: decodeURIComponent(options.scene)
})
}
let that = this
setTimeout(function() {
that.getUserState()
}, 700)
},
getBannerList: function() {
let that = this
api.bannerList('0').then(function(res) {
console.log('res==', res.data)
that.setData({
swiperBannerList: res.data
})
})
},
getProjectList() {
let that = this
let para = {
pageIndex: 1,
pageSize: 10,
searchContent: '',
timestamp: getTimestamp(),
categoryId: ''
}
api.getProjectList(para).then(function(res) {
that.setData({
projectList: res.data
})
console.log('newsList', that.data.newsList)
})
},
getIssueList() {
let that = this
let para = {
pageIndex: 1,
pageSize: 10,
searchContent: '',
orderType: '1',
timestamp: getTimestamp(),
categoryId: ''
}
api.getIssueList(para).then(function(res) {
that.setData({
issueList: res.data
})
console.log('newsList', that.data.newsList)
})
},
getNewsList: function() {
let that = this
let para = {
pageIndex: this.data.pageNo,
pageSize: this.data.pageSize,
timestamp: getTimestamp()
}
api.newsList(para).then(function(res) {
that.setData({
first: false,
newsList: that.data.newsList.concat(res.data),
loadMoreType: res.data.length === that.data.pageSize ? 'loading' : 'none',
})
}).catch(() => {
that.setData({
loadMoreType: 'none',
newsList: []
})
})
},
onReachBottom() {
this.setData({
loadMoreVisible: true
})
if (this.data.loadMoreType === 'loading') {
console.log('加载翻页')
this.setData({
pageNo: this.data.pageNo + 1,
pageSize: this.data.pageSize,
pageIndex: getTimestamp()
})
this.getNewsList()
}
},
toDetail(e) {
wx.navigateTo({
url: '/subpages/home/pages/newsDetail/newsDetail?id=' + e.currentTarget.dataset.id
})
},
getFirstInfo: function() {
let that = this
api.getFirstInfo().then(function(res) {
console.log('infoObj', res.data)
if (res.data !== null) {
that.setData({
infoObj: res.data
})
}
console.log('zheli', that.data.infoObj)
})
},
getNoticeList: function() {
let para = {
pageIndex: 1,
pageSize: 10,
timestamp: getTimestamp()
}
let that = this
api.noticelist(para).then(function(res) {
console.log('infoObj', res.data)
if (res.data !== null) {
that.setData({
noticeList: res.data
})
}
console.log('zheli', that.data.infoObj)
})
},
// 根据微信code查询用户当前状态
getUserState: function() {
let that = this
wx.login({
success(res) {
if (res.code) {
let code = res.code
api.getToken(code).then(function(res) {
let state = res.data.userState
console.log(state)
console.log('date', Date.parse(new Date()))
let date = Date.parse(new Date())
app.globalData.infoCompleted = state
wx.removeStorageSync('topGridName')
wx.setStorageSync('topGridName', res.data.grid)
wx.removeStorageSync('token')
wx.setStorageSync('token', res.data.token)
that.setData({
departmentName: res.data.grid
})
if (state == '0') {
if (that.data.gid !== '') { //扫码进来的
// 是否是网格长的情况
if (that.data.gid == 'gridLeader') { // 是网格长,进网格长注册
wx.redirectTo({
url: '/pages/gridLeaderRegister/gridLeaderRegister'
})
} else { // 不是网格长,进网格提示页
wx.redirectTo({
url: '/pages/formid/formid?gid=' + that.data.gid
})
}
} else { // 直接进首页
that.getBannerList()
that.getFirstInfo()
that.getNoticeList()
that.getNewsList()
that.getIssueList()
that.getProjectList()
}
} else if (state == '4') { //未注册,跳到我要注册页面
if (that.data.gid !== '') { //扫码进来的
// 扫码进来未注册的情况,先进到前置页面获取formid
// 是否是网格长的情况
if (that.data.gid == 'gridLeader') { // 是网格长
wx.redirectTo({
url: '/pages/gridLeaderRegister/gridLeaderRegister'
})
} else {
wx.redirectTo({
url: '/pages/formid/formid?gid=' + that.data.gid
})
}
} else {
// 非扫码进入,通过搜索小程序直接进入的情况
wx.redirectTo({
url: '/pages/toRegister/toRegister'
})
// if (app.globalData.tempGridId == '') {
// wx.redirectTo({ // todo:
// url: '/pages/toRegister/toRegister?code=' + code + '&t=' + date
// })
// } else {
// wx.redirectTo({
// url: '/pages/formid/formid?gid=' + app.globalData.tempGridId
// })
// }
}
} else {
if (that.data.gid !== '') { //扫码进来的
// 是否是网格长的情况
if (that.data.gid == 'gridLeader') { // 是网格长,进网格长注册
wx.redirectTo({
url: '/pages/gridLeaderRegister/gridLeaderRegister'
})
} else { // 不是网格长,进网格提示页
wx.redirectTo({
url: '/pages/formid/formid?gid=' + that.data.gid
})
}
} else { // 直接进首页
that.getBannerList()
that.getFirstInfo()
that.getNoticeList()
that.getNewsList()
that.getIssueList()
that.getProjectList()
}
}
})
} else {
console.log('登录失败' + res.errMsg)
}
}
})
},
changeGrid() {
wx.navigateTo({
url: '/subpages/changegrid/pages/changeGrid/changeGrid'
})
},
swiperChange: function(e) {
if (e.detail.source === 'touch') {
this.setData({
currentIndex: e.detail.current
})
}
},
swiperChange2: function(e) {
this.setData({
'options2.currentSwiper': e.detail.current,
currentIndex: e.detail.current
})
},
// 点击-更多,跳转通知列表
moreNotice() {
wx.navigateTo({
url: '/subpages/home/pages/notice/notice'
})
// wx.miniProgram.navigateTo({ url: '/pages/detail/detail?weburl=' + encodeURIComponent(global.baseURL + 'notice?departmentName=' + sessionStorage.getItem('departmentName')) })
},
// 跳转我的消息
toInfoList() {
wx.navigateTo({
url: '/subpages/home/pages/info/info'
})
// wx.miniProgram.navigateTo({ url: '/pages/detail/detail?weburl=' + encodeURIComponent(global.baseURL + 'info') })
},
// 跳转到banner详情
navigatetoBannerDetail(e) {
const {
id,
url,
newsflag
} = e.currentTarget.dataset
console.log(id, url, newsflag)
if (newsflag == '0') {
wx.navigateTo({
url: `/subpages/home/pages/webview/webview?url=${url}`
})
} else if (newsflag == '1') {
wx.navigateTo({
url: `/subpages/home/pages/newsDetail/newsDetail?id=${id}`
})
}
},
// 我有事说
wyss() {
wx.navigateTo({
url: `../discussion/discussion`
})
},
dqhd() {
wx.navigateTo({
url: `../association/association`
})
},
// 跳转我的
toMine() {
wx.navigateTo({
url: '../mine/mine'
})
},
// 暂未开通模块显示敬请期待
noMore() {
wx.showToast({
title: '暂无更多消息~',
icon: 'none',
duration: 1000
})
},
})

9
pages/indexNew/indexNew.json

@ -0,0 +1,9 @@
{
"navigationBarTitleText": "e锦水",
"navigationStyle": "custom",
"navigationBarTextStyle": "white",
"usingComponents": {
"nav-bar": "/components/navbar/index",
"load-more": "../../components/loadMore/loadMore"
}
}

115
pages/indexNew/indexNew.wxml

@ -0,0 +1,115 @@
<wxs module="filter" src="../../utils/filter.wxs"></wxs>
<view class="header" style="height: {{statusHeight + navigationHeight}}px;">
<image class="header-bg" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk-eAbEAxAAANn46uZ0I895.png" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">e锦水</view>
</view>
<view class="home" style="margin-top: {{statusHeight + navigationHeight}}px">
<!--所属网格-->
<view class="belong-grid">
<image class="belong-grid-bg" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk_uAaDAaAAA2_zNBm_Y236.png" />
<view class="grid" bindtap="changeGrid">
<image class="party-logo" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk1aAGwwcAAAFdGPP-1s507.png" />
<view class="grid-name">{{departmentName}}</view>
<image class="more-grid" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk3uAAMMcAAADckZSIh0279.png" />
</view>
<view class="my-and-news">
<image wx:if="{{infoObj.title == ''}}" bindtap="noMore" class="news" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk4yASWCrAAAKA-kIkt0142.png" />
<image wx:else bindtap="toInfoList" class="news" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk4yASWCrAAAKA-kIkt0142.png" />
<image bindtap="toMine" class="my" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/06/rBAB716n_HiAZ9BOAAAIkMWBOnA191.png" />
</view>
</view>
<!-- banner swiperBannerList -->
<view class="banner">
<swiper circular="{{true}}" autoplay="{{true}}" interval="{{3000}}" current="{{currentIndex}}" bindchange="swiperChange">
<swiper-item wx:for="{{swiperBannerList}}" wx:key="index" wx:for-index="index" wx:for-item="item">
<view class="banner-item" data-id="{{item.id}}" data-url="{{item.url}}" data-newsflag="{{item.newsFlag}}" bindtap="navigatetoBannerDetail">
<image mode="aspectFill" class="banner-img" src="{{item.imgUrl}}" />
<view class="banner-content">
<view class="title">
<view class="title-text">{{item.title}}</view>
</view>
<view class="indication">
<block wx:for="{{swiperBannerList}}" wx:key="index">
<view class="spot{{index == currentIndex? ' active' : ''}}"></view>
</block>
</view>
</view>
</view>
</swiper-item>
</swiper>
</view>
<!-- 通知 -->
<view class="notice">
<view class="left">
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk6iAMXkjAAAJcTi5eUU272.png"></image>
<view class="circle"></view>
<view class="havenotice" wx:if="{{noticeList.length > 0}}">
<view class="notice-broadcast-content" class="scrollNotice">
<view class="ul list swiper-wrapper" class="notice_list">
<view class="swiperview swiper-position">
<swiper class="swiperitem" indicator-dots="true" autoplay="true" vertical="true" circular="true">
<block wx:for="{{noticeList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
<swiper-item>
<navigator url="/subpages/home/pages/noticeDetail/noticeDetail?id={{item.id}}">
<text class="swiper-txt">{{item.noticeTitle}}</text>
</navigator>
</swiper-item>
</block>
</swiper>
</view>
</view>
</view>
</view>
<!-- <view class="notice-info" wx:if="{{noticeList.length > 0}}">疫情防控社区、医疗机构防控网格图联系方···</view> -->
</view>
<!-- <view class="right">
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nk7iAHRq-AAAFYLGulzU493.png"></image>
<view class="name" wx:if="{{noticeList.length > 0}}">{{noticeList.length}}</view>
<view class="name" wx:else>0</view>
</view> -->
</view>
<!-- 我有话说 -->
<view class="grid-all">
<button bindtap="wyss" class="weui-btn" form-type='submit' plain='true' hover-class="hover-btn">
<image src='https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nki6AIOnKAAEFtEe51uE843.png'></image>
</button>
<button bindtap="dqhd" class="weui-btn" form-type='submit' plain='true' hover-class="hover-btn">
<image src='https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nkqeAFhyBAAEedWqz2eE440.png'></image>
</button>
<button class="weui-btn" form-type='submit' plain='true' hover-class="hover-btn">
<image src='https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nkrqAB9DJAAEx8Bq_7R8226.png'></image>
</button>
<button class="weui-btn" form-type='submit' plain='true' hover-class="hover-btn">
<image src='https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nks6ALQtRAAExnBUFGQs281.png'></image>
</button>
<!-- <image bindtap="wyss" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nki6AIOnKAAEFtEe51uE843.png"></image>
<image bindtap="dqhd" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nkqeAFhyBAAEedWqz2eE440.png"></image>
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nkrqAB9DJAAEx8Bq_7R8226.png"></image>
<image src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716nks6ALQtRAAExnBUFGQs281.png"></image> -->
</view>
<!-- 列表 -->
<view class="list-all">
<view class="list-item" wx:for-index="index" wx:for-item="item" wx:key="index" wx:for="{{newsList}}" data-id="{{item.id}}" bindtap="toDetail">
<view class="item-info">
<view class="item-info-name">{{item.newsTitle}}
</view>
<view class="item-info-time">
<text>{{item.deptName}}-{{item.newsCategoryName}}</text>
<text>{{filter.formatTime(item.newsStartTime, 'yyyy-MM-dd')}}</text>
</view>
</view>
<image src="{{item.newsImageUrl}}"></image>
</view>
</view>
<!-- <view hidden="{{nomorenews}}" class="nomorenews">没有更多了~</view> -->
<!--加载更多提示-->
<load-more loadMoreType="{{loadMoreType}}" loadMoreVisible="{{loadMoreVisible}}"></load-more>
</view>

458
pages/indexNew/indexNew.wxss

@ -0,0 +1,458 @@
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #fff;
}
.header {
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 1000;
}
.header .header-bg {
width: 100%;
height: 100%;
position: absolute;
z-index: 10;
left: 0;
top: 0;
}
.header .navigation {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
color: rgba(255, 255, 255, 0.9);
font-size: 32rpx;
position: relative;
z-index: 100;
letter-spacing: 2rpx;
}
.home {
width: 100%;
}
.belong-grid {
width: 100%;
height: 100rpx;
position: relative;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.belong-grid .belong-grid-bg {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 10;
}
.belong-grid .grid {
/* width: 90%; */
width: calc(100% - 129rpx);
height: 100%;
position: relative;
z-index: 100;
display: flex;
align-items: center;
}
.belong-grid .grid .party-logo {
width: 24rpx;
height: 30rpx;
margin: 0 14rpx 0 22rpx;
}
.belong-grid .grid .grid-name {
font-size: 32rpx;
color: #fff;
}
.belong-grid .grid .more-grid {
width: 16rpx;
height: 22rpx;
margin-left: 10rpx;
margin-top: 5rpx;
}
.belong-grid .my-and-news {
width: 129rpx;
height: 100%;
position: relative;
z-index: 100;
display: flex;
align-items: center;
}
.belong-grid .my-and-news .news {
width: 34rpx;
height: 34rpx;
}
.belong-grid .my-and-news .my {
width: 34rpx;
height: 34rpx;
margin-left: 30rpx;
}
/* .belong-grid .news {
width: 34rpx;
height: 34rpx;
margin-right: 22rpx;
position: relative;
z-index: 100;
} */
/* bannner *********** start */
.banner {
width: 100%;
height: 340rpx;
}
.banner swiper {
width: 100%;
height: 340rpx;
}
.banner-item {
width: 100%;
height: 340rpx;
position: relative;
}
.banner-item .banner-img {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.banner-item .banner-content {
position: relative;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 100;
display: flex;
align-items: flex-end;
}
.banner-item .banner-content .title {
width: 100%;
height: 91rpx;
background: rgba(0, 0, 0, 0.4);
box-sizing: border-box;
padding: 0 20rpx;
display: flex;
/* align-items: center; */
justify-content: space-between;
}
.banner-item .banner-content .title .title-text {
width: 75%;
/* height: 50rpx; */
color: #fff;
font-size: 26rpx;
/* line-height: 50rpx; */
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 10rpx;
}
/* 自定义轮播指示点样式 */
.indication {
height: 70rpx;
display: flex;
position: absolute;
/* bottom: -2rpx; */
right: 20rpx;
flex-direction: row;
/* align-items: center; */
justify-content: center;
}
/* 未选中指示点样式 */
.spot {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
margin-right: 10rpx;
background-color: #c6c6c8;
}
/*选中指示样式 */
.spot.active {
width: 10rpx;
height: 10rpx;
border-radius: 50%;
background-color: #fff;
}
/* bannner *********** end */
/* 通知 start*/
.notice {
width: calc(100% - 88rpx);
height: 90rpx;
margin-left: 24rpx;
position: relative;
z-index: 888;
margin-top: -31rpx;
border-radius: 10rpx;
background: rgba(253, 253, 253, 1);
box-shadow: 0px 4px 29px 0px rgba(63, 63, 63, 0.1);
padding: 0 20rpx;
display: flex;
align-items: center;
}
.notice .left {
height: 28rpx;
width: calc(100% - 44rpx);
display: flex;
align-items: center;
}
.notice .left image {
height: 28rpx;
width: 62rpx;
}
.notice .left .circle {
width: 8rpx;
height: 8rpx;
background: #666;
border-radius: 50%;
margin-left: 21rpx;
}
.notice .left .notice-info {
height: 24rpx;
width: calc(100%-148rpx);
font-size: 24rpx;
font-weight: 500;
color: rgba(153, 153, 153, 1);
line-height: 24rpx;
margin-left: 22rpx;
}
/* 滚动start */
.havenotice {
overflow: hidden;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
width: calc(100%-148rpx);
}
.notice-broadcast-content {
margin-left: 12rpx;
width: 85%;
height: 20px;
position: relative;
top: 1px;
overflow: hidden;
}
.notice_list {
width: 100%;
}
.li {
color: #333;
font-size: 28rpx;
width: 100%;
height: 40rpx;
line-height: 40rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.notice-broadcast-more {
font-size: 28rpx;
font-weight: normal;
color: #ffa650;
margin-top: 16rpx;
}
.nomorenotice {
color: #666;
margin-left: 14rpx;
}
.swiperitem {
height: 100%;
line-height: 30rpx;
}
.swiper-txt {
font-size: 28rpx;
color: #333;
line-height: 40rpx;
}
.swiper-position {
position: absolute;
margin: -20rpx 0 0 20rpx;
width: calc(100% - 200rpx);
z-index: 2;
height: 46rpx;
overflow: hidden;
}
.swiperview .wx-swiper-dots {
display: none;
}
/* 滚动end */
.notice .right {
height: 32rpx;
width: 44rpx;
position: relative;
}
.notice .right image {
position: absolute;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
}
.notice .right .name {
position: absolute;
text-align: center;
width: 100%;
height: 100%;
left: 0px;
top: 0px;
font-size: 22rpx;
font-weight: 500;
color: rgba(255, 255, 255, 1);
line-height: 32rpx;
}
/* 通知 end*/
/* 我有事说 */
.grid-all {
height: 356rpx;
width: calc(100% - 54rpx);
margin-top: 29rpx;
margin-left: 27rpx;
}
.grid-all .weui-btn {
height: 50%;
width: 50%;
padding: 0;
border: none;
float: left;
}
.hover-btn {
box-shadow: 0 0 10rpx rgba(63, 63, 63, 0.1);
border: 1px solid #666;
}
.weui-btn+.weui-btn {
margin-top: 0 !important;
}
.grid-all .weui-btn image {
height: 100%;
width: 100%;
}
/* 我有事说 end*/
/* 列表样式 */
.list-all {
width: calc(100% - 48rpx);
margin-left: 21rpx;
}
.list-all .list-item {
border-bottom: 1rpx solid #eaeaea;
padding: 41rpx 18rpx 31rpx 15rpx;
display: flex;
align-items: center;
}
.list-all .list-item:last-child {
border: none;
}
.list-all .list-item .item-info {
width: calc(100% - 220rpx);
height: 146rpx;
position: relative;
}
.list-all .list-item .item-info .item-info-name {
width: calc(100% - 47rpx);
font-size: 32rpx;
font-weight: 500;
color: rgba(63, 63, 63, 1);
line-height: 50rpx;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
}
.list-all .list-item .item-info .item-info-time {
width: calc(100% - 23rpx);
height: 22rpx;
position: absolute;
bottom: 5rpx;
display: flex;
flex-direction: row;
justify-content: space-between;
}
.list-all .list-item .item-info .item-info-time text {
font-size: 22rpx;
font-weight: 500;
color: rgba(170, 170, 170, 1);
line-height: 22rpx;
}
.list-all .list-item image {
width: 220rpx;
height: 146rpx;
border-radius: 10rpx;
}
.nomorenews {
display: flex;
justify-content: center;
align-items: center;
font-size: 28rpx;
color: #999;
padding: 20rpx;
}

46
pages/start/start.js

@ -5,23 +5,24 @@ Page({
* 页面的初始数据
*/
data: {
countDownNum: 5
countDownNum: 5,
close: false
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
onLoad: function(options) {
this.settime()
this.countDown()
},
countDown: function () {
countDown: function() {
let that = this;
let countDownNum = that.data.countDownNum;//获取倒计时初始值
let countDownNum = that.data.countDownNum; //获取倒计时初始值
//如果将定时器设置在外面,那么用户就看不到countDownNum的数值动态变化,所以要把定时器存进data里面
that.setData({
timer: setInterval(function () {//这里把setInterval赋值给变量名为timer的变量
timer: setInterval(function() { //这里把setInterval赋值给变量名为timer的变量
//每隔一秒countDownNum就减一,实现同步
countDownNum--;
//然后把countDownNum存进data,好让用户知道时间在倒计着
@ -39,65 +40,70 @@ Page({
})
},
settime: function () {
settime: function() {
let that = this
setTimeout(function () {
wx.switchTab({
url: `../index/index`
})
setTimeout(function() {
if (!that.data.close) {
wx.redirectTo({
url: `../indexNew/indexNew`
})
}
}, 5000)
},
bindGetUserInfo: function (e) {
wx.switchTab({
url: `../index/index`
bindGetUserInfo: function(e) {
this.setData({
close: true
})
wx.redirectTo({
url: `../indexNew/indexNew`
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
onReady: function() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
onShow: function() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
onHide: function() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
onUnload: function() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
onPullDownRefresh: function() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
onReachBottom: function() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
onShareAppMessage: function() {
}
})

2
pages/start/start.json

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "精致锦水",
"navigationBarTitleText": "e锦水",
"navigationStyle": "custom",
"navigationBarTextStyle": "black",
"usingComponents": {}

26
pages/start/start.wxml

@ -1,17 +1,17 @@
<view class="page">
<image class="image-one" src="../../images/start_bg.png" mode="scaleToFill"></image>
<view class="logo-style">
<image class="image-two" src="../../images/start_logo.png" mode="scaleToFill"></image>
</view>
<image class="image-one" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716njY2ADRNbAAX8Nk6dBkI229.png" mode="scaleToFill"></image>
<view class="logo-style">
<image class="image-two" src="https://epdc-kongcun.elinkit.com.cn/epdcFile/M00/00/05/rBAB716njbGAMRwZAAFzEo6DMTQ932.png" mode="scaleToFill"></image>
</view>
<view class="time">
<view class="time-info" bindtap="bindGetUserInfo">
<view class="left">
{{countDownNum}}s
</view>
<view class="right">
跳过
</view>
</view>
<view class="time">
<view class="time-info" bindtap="bindGetUserInfo">
<view class="left">
{{countDownNum}}s
</view>
<view class="right">
跳过
</view>
</view>
</view>
</view>

88
pages/start/start.wxss

@ -1,67 +1,65 @@
.page {
width: 100%;
height: 100%;
position: relative;
top: 0;
left: 0;
z-index: 1000;
width: 100%;
height: 100%;
position: relative;
top: 0;
left: 0;
z-index: 1000;
}
.image-one {
position: absolute;
width: 100%;
height: 100%
position: absolute;
width: 100%;
height: 100%;
}
.logo-style {
width: 100%;
height: 220rpx;
margin-top: 455rpx;
position: absolute;
display: flex;
justify-content: center;
width: 100%;
height: 220rpx;
margin-top: 455rpx;
position: absolute;
display: flex;
justify-content: center;
}
.logo-style .image-two {
height: 220rpx;
width: 500rpx;
height: 220rpx;
width: 500rpx;
}
.time {
margin-top: 170rpx;
position: absolute;
width: calc(100% - 28rpx);
height: 60rpx;
display: flex;
flex-direction: row-reverse;
align-items: center;
margin-top: 170rpx;
position: absolute;
width: calc(100% - 28rpx);
height: 60rpx;
display: flex;
flex-direction: row-reverse;
align-items: center;
}
.time .time-info {
width: 150rpx;
height: 60rpx;
border-radius: 30rpx;
background: #fff;
opacity: 0.6;
display: flex;
align-items: center;
width: 150rpx;
height: 60rpx;
border-radius: 30rpx;
background: #fff;
opacity: 0.6;
display: flex;
align-items: center;
}
.time .time-info .left {
width: 50%;
height: 40rpx;
line-height: 40rpx;
font-size: 30rpx;
text-align: center;
border-right: 1rpx solid black;
width: 50%;
height: 40rpx;
line-height: 40rpx;
font-size: 30rpx;
text-align: center;
border-right: 1rpx solid black;
}
.time .time-info .right {
width: 50%;
height: 40rpx;
line-height: 40rpx;
font-size: 25rpx;
text-align: center;
}
width: 50%;
height: 40rpx;
line-height: 40rpx;
font-size: 25rpx;
text-align: center;
}

2
pages/toRegister/toRegister.js

@ -44,7 +44,7 @@ Page({
experience() {
app.globalData.tempGridId = '1233592630168813569'
wx.reLaunch({
url: '/pages/index/index?scene=1233592630168813569'
url: '/pages/indexNew/indexNew?scene=1233592630168813569'
})
},
scan() {

8
project.config.json

@ -68,15 +68,15 @@
},
{
"id": 3,
"name": "补全用户信息",
"pathName": "subpages/discussion/pages/addIssue/addIssue",
"name": "pages/index/index",
"pathName": "pages/index/index",
"query": "",
"scene": null
},
{
"id": 4,
"name": "pages/index/index",
"pathName": "pages/index/index",
"name": "pages/indexNew/indexNew",
"pathName": "pages/indexNew/indexNew",
"query": "",
"scene": null
}

2
subpages/association/components/inviteFriendDialog/inviteFriendDialog.wxml

@ -10,7 +10,7 @@
<image src="{{qrCodeImage}}" />
</view>
</view>
<view class="tip">邀请您的好友,好友扫码注册精致锦水,再邀请好友进入社群</view>
<view class="tip">邀请您的好友,好友扫码注册e锦水,再邀请好友进入社群</view>
</view>
</view>
<image bindtap="closeDialog" class="close" src="../../images/close.png" />

2
subpages/changegrid/pages/changeGrid/changeGrid.js

@ -35,7 +35,7 @@ Page({
console.log('切换网格', res)
if (res.code === 0 && res.msg === 'success') {
wx.reLaunch({
url: `/pages/index/index`
url: `/pages/indexNew/indexNew`
})
}
}).catch(err => {

2
subpages/changegrid/pages/changeGrid/changeGrid.json

@ -2,5 +2,5 @@
"usingComponents": {
},
"navigationBarTitleText": "精致锦水"
"navigationBarTitleText": "e锦水"
}

24
subpages/home/pages/agreement/agreement.wxml

@ -1,9 +1,9 @@
<view class="page">
<view class="page__bd" style="padding:20rpx;background:#ffffff;">
<view style="font-size:36rpx;font-weight:bold;text-align:center;">《精致锦水小程序用户协议》</view>
<view style="font-size:36rpx;font-weight:bold;text-align:center;">《e锦水小程序用户协议》</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">1、重要提示</view>
我们在此特别提醒用户务必审慎阅读、充分理解《精致锦水小程序许可及服务协议》(下称“本协议”)的条款内容。未成年人应在法定监护人陪同下阅读。除非用户接受本协议所有条款,否则用户无权下载、安装或使用本软件及其相关服务。用户的下载、安装、使用、账号获取和登录等行为将视为对本协议的接受,并同意接受本协议各项条款的约束。
我们在此特别提醒用户务必审慎阅读、充分理解《e锦水小程序许可及服务协议》(下称“本协议”)的条款内容。未成年人应在法定监护人陪同下阅读。除非用户接受本协议所有条款,否则用户无权下载、安装或使用本软件及其相关服务。用户的下载、安装、使用、账号获取和登录等行为将视为对本协议的接受,并同意接受本协议各项条款的约束。
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">2、协议范围</view>
@ -11,12 +11,12 @@
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">3、关于本软件</view>
精致锦水”是一个基于互联网、大数据技术、以居民区党组织为核心、以网格党支部为主导、服务社区居民,致力于创新社区治理的公益性社区自治共治平台。平台提供的服务有:新闻公告、党群议事、邻里党群、爱心互助、生活服务等模块,主要目的是利用互联网平台创新社区治理模式,提升居民区党组织和网格党支部的领导带头作用,增强居民的归属感。
e锦水”是一个基于互联网、大数据技术、以居民区党组织为核心、以网格党支部为主导、服务社区居民,致力于创新社区治理的公益性社区自治共治平台。平台提供的服务有:新闻公告、党群议事、邻里党群、爱心互助、生活服务等模块,主要目的是利用互联网平台创新社区治理模式,提升居民区党组织和网格党支部的领导带头作用,增强居民的归属感。
</view>
<view>
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">4、知识产权保护声明</view>
<view>
4.1“精致锦水”所有的一切版权、商标权、专利权、商业秘密等知识产权,以及与本软件相关的所有信息内容,包括但不限于:文字表述及其组合、图标、图饰、图表、色彩、界面设计、版面框架、有关数据、印刷材料或电子文档等均受中华人民共和国著作权法、商标法、专利法、反不正当竞争法和相应的国际条约以及其他知识产权法律法规的保护,除涉及第三方授权的软件或技术外,我们享有上述知识产权。
4.1“e锦水”所有的一切版权、商标权、专利权、商业秘密等知识产权,以及与本软件相关的所有信息内容,包括但不限于:文字表述及其组合、图标、图饰、图表、色彩、界面设计、版面框架、有关数据、印刷材料或电子文档等均受中华人民共和国著作权法、商标法、专利法、反不正当竞争法和相应的国际条约以及其他知识产权法律法规的保护,除涉及第三方授权的软件或技术外,我们享有上述知识产权。
</view>
<view>
4.2未经我们书面同意,用户不得以任何营利性或者非营利性的目的自行实施、利用、转让或许可任何第三方实施、利用、转让上述知识产权,我们保留追究上述未经许可行为的权利。
@ -36,20 +36,20 @@
<view style="font-size:32rpx;font-weight:bold; padding-top:30rpx;">6、用户行为规范</view>
<view>6.1 用户行为要求</view>
<view>你应当对你使用本软件及相关服务的行为负责,除非法律允许或者经公司事先书面许可,你使用“党建e家”软件及相关服务不得具有下列行为:</view>
<view>6.1.1 使用未经公司授权或许可的任何插件、外挂、系统或第三方工具对“精致锦水”软件及相关服务的正常运行进行干扰、破坏、修改或施加其他影响。</view>
<view>6.1.1 使用未经公司授权或许可的任何插件、外挂、系统或第三方工具对“e锦水”软件及相关服务的正常运行进行干扰、破坏、修改或施加其他影响。</view>
<view>
6.1.2 利用或针对“精致锦水”软件及相关服务进行任何危害计算机网络安全的行为,包括但不限于:
6.1.2 利用或针对“e锦水”软件及相关服务进行任何危害计算机网络安全的行为,包括但不限于:
(1)非法侵入他人网络、干扰他人网络正常功能、窃取网络数据等危害网络安全的活动;
(2)提供专门用于从事侵入网络、干扰网络正常功能及防护措施、窃取网络数据等危害网络安全活动的程序、工具;
(3)未经许可,企图探查、扫描、测试“精致锦水”系统或网络的弱点或其它实施破坏网络安全的行为;
(4)企图干涉、破坏“精致锦水”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;
(5) 对“精致锦水”软件及相关服务进行反向工程、反向汇编、编译或者以其他方式尝试发现本软件的源代码;
(6) 恶意注册“精致锦水”软件及相关服务的账号,包括但不限于频繁、批量注册账号;
(3)未经许可,企图探查、扫描、测试“e锦水”系统或网络的弱点或其它实施破坏网络安全的行为;
(4)企图干涉、破坏“e锦水”系统或网站的正常运行,故意传播恶意程序或病毒以及其他破坏干扰正常网络信息服务的行为;
(5) 对“e锦水”软件及相关服务进行反向工程、反向汇编、编译或者以其他方式尝试发现本软件的源代码;
(6) 恶意注册“e锦水”软件及相关服务的账号,包括但不限于频繁、批量注册账号;
(7) 违反法律法规、本协议、公司的相关规则及侵犯他人合法权益的其他行为。
</view>
<view>6.1.3 如果公司有理由认为你的行为违反或可能违反上述约定的,公司可独立进行判断并处理,且有权在不事先通知的情况下终止向你提供服务,并追究相关法律责任。</view>
<view>6.2 信息内容规范</view>
<view>6.2.1 你按规定完成实名认证后,可以以注册账号登录“精致锦水”发布内容、跟帖评论等。</view>
<view>6.2.1 你按规定完成实名认证后,可以以注册账号登录“e锦水”发布内容、跟帖评论等。</view>
<view>
6.2.2 我们致力使发布信息、跟帖评论成为文明、理性、友善、高质量的意见交流。在推动发布信息、互动交流、跟帖评论业务发展的同时,不断加强相应的信息安全管理能力,完善发布信息、跟帖评论自律,切实履行社会责任,遵守国家法律法规,尊重公民合法权益,尊重社会公序良俗。
</view>
@ -78,7 +78,7 @@
(21)使用本网站常用语言文字以外的其他语言文字评论的;
(22)与所评论的信息毫无关系的;
(23)所发表的信息毫无意义的,或刻意使用字符组合以逃避技术审核的;
(24)其他违反法律法规、政策及公序良俗、干扰“精致锦水”正常运营或侵犯其他用户或第三方合法权益内容的其他信息。
(24)其他违反法律法规、政策及公序良俗、干扰“e锦水”正常运营或侵犯其他用户或第三方合法权益内容的其他信息。
</view>
</view>
<view>

2
subpages/home/pages/newsDetail/newsDetail.json

@ -2,5 +2,5 @@
"usingComponents": {
"completeInfo-dialog": "../../../../../components/completeInfoDialog/completeInfoDialog"
},
"navigationBarTitleText": "精致锦水"
"navigationBarTitleText": "e锦水"
}

2705
typings/wx.d.ts

File diff suppressed because it is too large
Loading…
Cancel
Save