Browse Source

修改修改

jly/task001
mk 2 years ago
parent
commit
fafaefc822
  1. 18
      miniprogram/app.json
  2. 18
      miniprogram/custom-tab-bar/index.js
  3. BIN
      miniprogram/images/association/ic_chuangjianshequn@3x.png
  4. BIN
      miniprogram/images/main/home01.png
  5. BIN
      miniprogram/images/main/home02.png
  6. BIN
      miniprogram/images/main/home03.png
  7. BIN
      miniprogram/images/main/home04.png
  8. BIN
      miniprogram/images/main/home05.png
  9. BIN
      miniprogram/images/main/home06.png
  10. BIN
      miniprogram/images/main/home1.png
  11. BIN
      miniprogram/images/main/home2.png
  12. BIN
      miniprogram/images/main/home3.png
  13. BIN
      miniprogram/images/main/home4.png
  14. BIN
      miniprogram/images/main/home5.png
  15. BIN
      miniprogram/images/main/home6.png
  16. BIN
      miniprogram/images/main/home_top.png
  17. 11
      miniprogram/pages/home/home.js
  18. 87
      miniprogram/pages/home/home.wxml
  19. 35
      miniprogram/pages/home/home.wxss
  20. 2
      miniprogram/pages/index/index.wxml
  21. 2
      miniprogram/project.config.json
  22. 17
      miniprogram/project.private.config.json
  23. BIN
      miniprogram/subpages/appeal/images/arrow.png
  24. BIN
      miniprogram/subpages/appeal/images/banner_fazhan.png
  25. BIN
      miniprogram/subpages/appeal/images/banner_minsheng.png
  26. BIN
      miniprogram/subpages/appeal/images/ic_zuixinjinzhan.png
  27. BIN
      miniprogram/subpages/appeal/images/xiaobanner.png
  28. BIN
      miniprogram/subpages/appeal/images/xiaobanner@2x.png
  29. 4
      miniprogram/subpages/checkIn/pages/checkIn/checkIn.wxml
  30. 90
      miniprogram/subpages/checkIn/pages/checkIn/register/register.js
  31. 5
      miniprogram/subpages/checkIn/pages/checkIn/register/register.json
  32. 24
      miniprogram/subpages/checkIn/pages/checkIn/register/register.wxml
  33. 54
      miniprogram/subpages/checkIn/pages/checkIn/register/register.wxss
  34. BIN
      miniprogram/subpages/demand/images/demand/add.png
  35. BIN
      miniprogram/subpages/demand/images/demand/arrow-right.png
  36. BIN
      miniprogram/subpages/demand/images/demand/cancle.png
  37. BIN
      miniprogram/subpages/demand/images/demand/check.png
  38. BIN
      miniprogram/subpages/demand/images/demand/edit.png
  39. BIN
      miniprogram/subpages/demand/images/demand/finish.png
  40. BIN
      miniprogram/subpages/demand/images/demand/jiedan.png
  41. BIN
      miniprogram/subpages/demand/images/demand/point.png
  42. BIN
      miniprogram/subpages/demand/images/demand/rate1.png
  43. BIN
      miniprogram/subpages/demand/images/demand/rate2.png
  44. BIN
      miniprogram/subpages/demand/images/demand/rate3.png
  45. BIN
      miniprogram/subpages/demand/images/demand/rate4.png
  46. BIN
      miniprogram/subpages/demand/images/demand/tel.png
  47. BIN
      miniprogram/subpages/demand/images/demand/tel1.png
  48. BIN
      miniprogram/subpages/demand/images/demand/x1.png
  49. BIN
      miniprogram/subpages/demand/images/demand/x2.png
  50. BIN
      miniprogram/subpages/demand/images/demand/x3.png
  51. BIN
      miniprogram/subpages/demand/images/demand/x4.png
  52. BIN
      miniprogram/subpages/discussion/images/dispport.png
  53. BIN
      miniprogram/subpages/discussion/images/dispported.png
  54. BIN
      miniprogram/subpages/discussion/images/feichangmanyihuise@2x.png
  55. BIN
      miniprogram/subpages/discussion/images/ic_bumanyi@2x.png
  56. BIN
      miniprogram/subpages/discussion/images/ic_bumanyihuise@2x.png
  57. BIN
      miniprogram/subpages/discussion/images/ic_feichangmanyi@2x.png
  58. BIN
      miniprogram/subpages/discussion/images/ic_jibenmanyi@2x.png
  59. BIN
      miniprogram/subpages/discussion/images/ic_jibenmanyihuise@2x.png
  60. BIN
      miniprogram/subpages/discussion/images/support.png
  61. BIN
      miniprogram/subpages/discussion/images/supported.png
  62. BIN
      miniprogram/subpages/knight/images/bg.png
  63. 90
      miniprogram/subpages/knight/pages/knight/brief/brief.js
  64. 5
      miniprogram/subpages/knight/pages/knight/brief/brief.json
  65. 28
      miniprogram/subpages/knight/pages/knight/brief/brief.wxml
  66. 64
      miniprogram/subpages/knight/pages/knight/brief/brief.wxss
  67. 2
      miniprogram/subpages/knight/pages/knight/knight.json
  68. 20
      miniprogram/subpages/knight/pages/knight/knight.wxml
  69. 2
      miniprogram/subpages/pioneer/pages/pioneer/pioneer.wxml
  70. 10
      miniprogram/subpages/redGrider/pages/redGrider/redGrider.wxml
  71. BIN
      miniprogram/subpages/redSail/images/marker-icon.png
  72. BIN
      miniprogram/subpages/redSail/images/party-logo.png
  73. 66
      miniprogram/subpages/redSail/pages/event/event.js
  74. 5
      miniprogram/subpages/redSail/pages/event/event.json
  75. 8
      miniprogram/subpages/redSail/pages/event/event.wxml
  76. 33
      miniprogram/subpages/redSail/pages/event/event.wxss
  77. 143
      miniprogram/subpages/redSail/pages/flowParty/flowParty.js
  78. 5
      miniprogram/subpages/redSail/pages/flowParty/flowParty.json
  79. 121
      miniprogram/subpages/redSail/pages/flowParty/flowParty.wxml
  80. 99
      miniprogram/subpages/redSail/pages/flowParty/flowParty.wxss
  81. 19
      miniprogram/subpages/redSail/pages/redSail/redSail.wxml
  82. 143
      miniprogram/subpages/redSail/pages/registerParty/registerParty.js
  83. 5
      miniprogram/subpages/redSail/pages/registerParty/registerParty.json
  84. 110
      miniprogram/subpages/redSail/pages/registerParty/registerParty.wxml
  85. 99
      miniprogram/subpages/redSail/pages/registerParty/registerParty.wxss
  86. 6
      miniprogram/subpages/volunteer/pages/volunteer/volunteer.wxml

18
miniprogram/app.json

@ -1,7 +1,6 @@
{
"pages": [
"pages/home/home",
"pages/message/message",
"pages/my/my",
"pages/index/index",
@ -26,14 +25,18 @@
"root": "subpages/redSail",
"name": "redSail",
"pages": [
"pages/redSail/redSail"
"pages/redSail/redSail",
"pages/registerParty/registerParty",
"pages/flowParty/flowParty",
"pages/event/event"
]
},
{
"root": "subpages/knight",
"name": "knight",
"pages": [
"pages/knight/knight"
"pages/knight/knight",
"pages/knight/brief/brief"
]
},
{
@ -54,7 +57,8 @@
"root": "subpages/checkIn",
"name": "checkIn",
"pages": [
"pages/checkIn/checkIn"
"pages/checkIn/checkIn",
"pages/checkIn/register/register"
]
},
{
@ -64,10 +68,6 @@
"pages/volunteer/volunteer"
]
},
{
"root": "subpages/home",
"name": "home",
@ -269,7 +269,6 @@
"iconPath": "images/main/icon02.png",
"selectedIconPath": "images/main/icon02-a.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
@ -278,7 +277,6 @@
}
]
},
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",

18
miniprogram/custom-tab-bar/index.js

@ -6,17 +6,17 @@ Component({
selectedColor: "#F13A47",
"list": [
{
"pagePath": "/pages/index/index",
"text": "首页",
"pagePath": "/pages/home/home",
"text": "",
"iconPath": "/images/main/icon01.png",
"selectedIconPath": "/images/main/icon01-a.png"
},
{
"pagePath": "/pages/message/message",
"text": "消息",
"iconPath": "/images/main/icon02.png",
"selectedIconPath": "/images/main/icon02-a.png"
},
// {
// "pagePath": "/pages/message/message",
// "text": "消息",
// "iconPath": "/images/main/icon02.png",
// "selectedIconPath": "/images/main/icon02-a.png"
// },
{
"pagePath": "/pages/my/my",
@ -35,7 +35,7 @@ Component({
},
methods: {
switchTab(e) {
// console.log(e);
console.log(e);
const data = e.currentTarget.dataset;
const url = data.path;
app.globalData.selected = data.index;

BIN
miniprogram/images/association/ic_chuangjianshequn@3x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

BIN
miniprogram/images/main/home01.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

BIN
miniprogram/images/main/home02.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

BIN
miniprogram/images/main/home03.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

BIN
miniprogram/images/main/home04.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

BIN
miniprogram/images/main/home05.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

BIN
miniprogram/images/main/home06.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

BIN
miniprogram/images/main/home1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
miniprogram/images/main/home2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
miniprogram/images/main/home3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

BIN
miniprogram/images/main/home4.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

BIN
miniprogram/images/main/home5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

BIN
miniprogram/images/main/home6.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
miniprogram/images/main/home_top.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

After

Width:  |  Height:  |  Size: 30 KiB

11
miniprogram/pages/home/home.js

@ -32,6 +32,7 @@ Page({
street: "",//所在街道
isCarryLoad: false,
userId: "",
userInfo: {
nickname: "",
mobile: "",
@ -41,7 +42,15 @@ Page({
signMsg: "",
signCode: 0,
isSignUp: 0,
communityId: "" // 社区id
communityId: "", // 社区id
tabList:[
{url:'/subpages/redSail/pages/redSail/redSail',src:'../../images/main/home1.png',text:'新锋支部'},
{url:'/subpages/knight/pages/knight/knight',src:'../../images/main/home2.png',text:'新锋驿站'},
{url:'/subpages/checkIn/pages/checkIn/register/register',src:'../../images/main/home3.png',text:'在职党员到居住社区报到'},
{url:'/subpages/volunteer/pages/volunteer/volunteer',src:'../../images/main/home4.png',text:'红色志愿服务队'},
{url:'/subpages/redGrider/pages/redGrider/redGrider',src:'../../images/main/home5.png',text:'网格力量'},
{url:'',src:'../../images/main/home6.png',text:'新新向党'},
],
},
async onLoad(options) {

87
miniprogram/pages/home/home.wxml

@ -4,80 +4,27 @@
首页
</view>
</view>
<view class="bgw topf50">
<view class="gridouter">
<navigator url="/subpages/redSail/pages/redSail/redSail" class="grid">
<image src="../../images/main/home01.png" />
<view>红帆支队</view>
</navigator>
<navigator url="/subpages/knight/pages/knight/knight" class="grid">
<image src=" ../../images/main/home02.png" />
<view>骑士驿站</view>
</navigator>
<navigator url="/subpages/redGrider/pages/redGrider/redGrider" class="grid">
<image src="../../images/main/home03.png" />
<view>红色网格员</view>
</navigator>
<navigator url="/subpages/pioneer/pages/pioneer/pioneer" class="grid">
<image src="../../images/main/home04.png" />
<view>西海岸先锋</view>
</navigator>
<view class="tab">
<!-- <view class="card">
<image src="../../images/main/home1.png" mode=""/>
<view>新锋支部</view>
</view>
<view class="grid2outer">
<navigator url="/subpages/checkIn/pages/checkIn/checkIn" class="grid2 blue">
<image src="../../images/main/home05.png" />
<view>
<view class="h1">在职党员</view>
<view class="h2">到居住社区报到</view>
</view>
</navigator>
<view class="w40"></view>
<navigator url="/subpages/volunteer/pages/volunteer/volunteer" class="grid2 red">
<image src="../../images/main/home06.png" />
<view>
<view class="h1">红色尖兵</view>
<view class="h2">志愿服务队</view>
</view>
</navigator>
<view class="card">
<image src="../../images/main/home1.png" mode=""/>
<view>在职党员到居住社区报到</view>
</view>
<view class="card">
<image src="../../images/main/home1.png" mode=""/>
<view>在职党员到居住社区报到</view>
</view> -->
<navigator class="card" style="{{index==2?'padding:50rpx 30rpx 10rpx 30rpx':''}}" wx:for="{{tabList}}" wx:key="index" url="{{item.url}}">
<image src="{{item.src}}" mode=""/>
<view class="{{index == 2?'small':'text'}}" >{{item.text}}</view>
</navigator>
</view>
<view class="bgw top16">
<view class="title01">推荐</view>
<view class="home_news_list">
<view class="item">
<image src="../../images/main/home_top.png"></image>
<view class="vbetween">
<view class="h1">围绕“经济抓党建,抓好党建促 发展”主题展开活动</view>
<view class="h2">
<view class="time">2023-05-22</view>XXX社区党支部
</view>
</view>
</view>
<view class="item">
<image src="../../images/main/home_top.png"></image>
<view class="vbetween">
<view class="h1">围绕“经济抓党建,抓好党建促 发展”主题展开活动</view>
<view class="h2">
<view class="time">2023-05-22</view>XXX社区党支部
</view>
</view>
</view>
<view class="item">
<image src="../../images/main/home_top.png"></image>
<view class="vbetween">
<view class="h1">围绕“经济抓党建,抓好党建促 发展”主题展开活动</view>
<view class="h2">
<view class="time">2023-05-22</view>XXX社区党支部
</view>
</view>
</view>
</view>
</view>
<!-- <view class="home" style="margin-top: {{statusHeight + navigationHeight}}px"> -->
<!-- <view class="belong-grid">

35
miniprogram/pages/home/home.wxss

@ -38,7 +38,38 @@ page {
position: relative;
z-index: 100;
}
.tab{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 0 60rpx;
position: relative;
top: -190rpx;
}
.tab .card{
display: flex;
width: 38%;
height: 220rpx;
justify-content: center;
align-items: center;
font-size: 32rpx;
font-weight: 600;
padding: 30rpx;
margin: 30rpx 0 0;
text-align: center;
}
.tab .card image{
width: 100rpx;
height: 100rpx;
margin-bottom: 18rpx;
}
/* .tab .card .text{
margin-top: 30rpx;
} */
.tab .card .small{
font-size: 30rpx;
}
.home {
width: 100%;
}
@ -230,9 +261,9 @@ page {
color: #C89C74;
}
.topf50 {
/* .topf50 {
margin-top: -50rpx;
}
} */
.top16 {
margin-top: 16rpx

2
miniprogram/pages/index/index.wxml

@ -12,7 +12,7 @@
</navigator>
<navigator url="/subpages/knight/pages/knight/knight" class="grid">
<image src=" ../../images/main/home02.png" />
<view>骑士驿站</view>
<view>新锋驿站</view>
</navigator>
<navigator url="/subpages/redGrider/pages/redGrider/redGrider" class="grid">
<image src="../../images/main/home03.png" />

2
miniprogram/project.config.json

@ -44,7 +44,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.10.4",
"appid": "wx8d2c0ec0d6d73f6c",
"appid": "wxfa4afaa2b5f9c876",
"projectname": "%E5%85%9A%E7%BE%A4e%E5%AE%B6-%E7%BA%BF%E4%B8%8A%E7%89%88",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},

17
miniprogram/project.private.config.json

@ -77,12 +77,27 @@
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "在职党员",
"pathName": "subpages/checkIn/pages/checkIn/checkIn",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "新锋支部",
"pathName": "subpages/redSail/pages/redSail/redSail",
"query": "",
"launchMode": "default",
"scene": null
}
]
}
},
"libVersion": "2.31.1",
"setting": {
"compileHotReLoad": true
"compileHotReLoad": true,
"bigPackageSizeSupport": false
}
}

BIN
miniprogram/subpages/appeal/images/arrow.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 B

BIN
miniprogram/subpages/appeal/images/banner_fazhan.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

BIN
miniprogram/subpages/appeal/images/banner_minsheng.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 KiB

BIN
miniprogram/subpages/appeal/images/ic_zuixinjinzhan.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

BIN
miniprogram/subpages/appeal/images/xiaobanner.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

BIN
miniprogram/subpages/appeal/images/xiaobanner@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

4
miniprogram/subpages/checkIn/pages/checkIn/checkIn.wxml

@ -7,7 +7,7 @@
</view>
<view class="mtf80">
<view class="list">
<view class="item ">
<navigator class="item " url="/subpages/checkIn/pages/checkIn/register/register">
<image src="../../images/01.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">我来报道</view>
@ -18,7 +18,7 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
</navigator >
<view class="item ">
<image src="../../images/02.png" class="icon"></image>
<view class="vcenter flex1">

90
miniprogram/subpages/checkIn/pages/checkIn/register/register.js

@ -0,0 +1,90 @@
// subpages/checkIn/pages/checkIn/register/register.js
Page({
/**
* 页面的初始数据
*/
data: {
look:true,
informFlag:false
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
},
handleCheckbox(e){
console.log(e);
if(e.detail .value.length!=0){
this.setData({
look:false
})
}else{
this.setData({
look:true
})
}
},
handleBack(){
wx.navigateBack({
delta: 1
})
},
handleNext(){
console.log('11233');
this.setData({
informFlag:true
})
}
})

5
miniprogram/subpages/checkIn/pages/checkIn/register/register.json

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarBackgroundColor": "#e33131",
"navigationBarTitleText": "党员报到"
}

24
miniprogram/subpages/checkIn/pages/checkIn/register/register.wxml

@ -0,0 +1,24 @@
<!--subpages/checkIn/pages/checkIn/register/register.wxml-->
<block wx:if="{{informFlag}}">
<!-- <view>11122</view> -->
</block>
<block wx:else>
<view class="card">
<view class="title">报到要求</view>
<view class="content" style="white-space:pre-wrap"> 凡党组织关系在青岛市北机关事业单位的党员干部职工(包含离退休党员干部),以及其他公职人员,应向长期居住地城市社区党组织报到。</view>
<view class="look">
<checkbox-group bindchange="handleCheckbox" >
<checkbox value="{{look}}" color="#e33131" style="width: 50rpx;height: 50rpx;margin-right: 10rpx;" ></checkbox>
<text>我已阅读并同意</text>
</checkbox-group>
</view>
</view>
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" disabled="{{look}}" bind:tap="handleNext">下一步</button>
</view>
</block>

54
miniprogram/subpages/checkIn/pages/checkIn/register/register.wxss

@ -0,0 +1,54 @@
/* subpages/checkIn/pages/checkIn/register/register.wxss */
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #f5f5f5;
font-family: PingFang SC;
}
.card{
background-color: #fff;
}
.card .title{
height: 100rpx;
line-height: 100rpx;
text-align: center;
border-bottom: 1px solid #e9e9e9;
}
.card .content{
padding: 30rpx;
font-weight: 300;
}
.card .look{
color: #999999;
text-align: center;
margin-bottom: 30rpx;
display: flex;
justify-content: center;
}
.card .look checkbox-group {
display: flex;
align-items: center;
justify-content: center;
}
.buttom_btn{
position: fixed;
bottom: 0;
height: 120rpx;
background-color: #fff;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.buttom_btn .back{
width: 46%;
height: 80rpx;
line-height: 80rpx;
}
.buttom_btn .next{
width: 46%;
height: 80rpx;
line-height: 80rpx;
color: #fff;
}

BIN
miniprogram/subpages/demand/images/demand/add.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

BIN
miniprogram/subpages/demand/images/demand/arrow-right.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

BIN
miniprogram/subpages/demand/images/demand/cancle.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
miniprogram/subpages/demand/images/demand/check.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

BIN
miniprogram/subpages/demand/images/demand/edit.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
miniprogram/subpages/demand/images/demand/finish.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
miniprogram/subpages/demand/images/demand/jiedan.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 538 B

BIN
miniprogram/subpages/demand/images/demand/point.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
miniprogram/subpages/demand/images/demand/rate1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
miniprogram/subpages/demand/images/demand/rate2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
miniprogram/subpages/demand/images/demand/rate3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

BIN
miniprogram/subpages/demand/images/demand/rate4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
miniprogram/subpages/demand/images/demand/tel.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 B

BIN
miniprogram/subpages/demand/images/demand/tel1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 433 B

BIN
miniprogram/subpages/demand/images/demand/x1.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
miniprogram/subpages/demand/images/demand/x2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
miniprogram/subpages/demand/images/demand/x3.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
miniprogram/subpages/demand/images/demand/x4.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
miniprogram/subpages/discussion/images/dispport.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

BIN
miniprogram/subpages/discussion/images/dispported.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

BIN
miniprogram/subpages/discussion/images/feichangmanyihuise@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
miniprogram/subpages/discussion/images/ic_bumanyi@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

BIN
miniprogram/subpages/discussion/images/ic_bumanyihuise@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
miniprogram/subpages/discussion/images/ic_feichangmanyi@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

BIN
miniprogram/subpages/discussion/images/ic_jibenmanyi@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

BIN
miniprogram/subpages/discussion/images/ic_jibenmanyihuise@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

BIN
miniprogram/subpages/discussion/images/support.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

BIN
miniprogram/subpages/discussion/images/supported.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

BIN
miniprogram/subpages/knight/images/bg.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 772 KiB

After

Width:  |  Height:  |  Size: 665 KiB

90
miniprogram/subpages/knight/pages/knight/brief/brief.js

@ -0,0 +1,90 @@
// subpages/knight/pages/knight/brief/brief.js
Page({
/**
* 页面的初始数据
*/
data: {
look:true,
informFlag:false
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
},
handleCheckbox(e){
console.log(e);
if(e.detail .value.length!=0){
this.setData({
look:false
})
}else{
this.setData({
look:true
})
}
},
handleBack(){
wx.navigateBack({
delta: 1
})
},
handleNext(){
console.log('11233');
this.setData({
informFlag:true
})
}
})

5
miniprogram/subpages/knight/pages/knight/brief/brief.json

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarTitleText": "驿站简介",
"navigationBarBackgroundColor": "#e33131"
}

28
miniprogram/subpages/knight/pages/knight/brief/brief.wxml

@ -0,0 +1,28 @@
<!--subpages/knight/pages/knight/brief/brief.wxml-->
<block wx:if="{{informFlag}}">
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" bind:tap="handleNext">骑士导航</button>
</view>
</block>
<block wx:else>
<view class="card">
<!-- <view class="title">入党须知</view> -->
<view class="content" style="white-space:pre-wrap"> “新锋驿站”是面向全区外卖、快递等新就业群体打造的“提供暖心服务、倾听彼此心声、融入基层治理”的公益性共享空间。
“新锋驿站”原则上实行全天候开放,均设在一楼以及临街位置,配备可供休息就餐的桌椅、烧水壶 (饮水机)、微波炉、报刊书籍、无线网络、应急药品充电充气工具等基本设施,有条件的还配备有冰箱沙发、储物柜、维修工具箱、电视机、爱心捐赠柜等设备,可就近解决如厕问题。
“新锋驿站”免费为外卖、快递等新就业群体提供学习休息、纳凉取暖、饮水充电、饭菜加热、政策咨询等基础服务,后期还将探索引入社会力量拓展职业指导、法律援助等专业服务,创新““青年联谊””““联系帮扶“骑手相亲会””等特色服务项目,搭建婚恋、交友平台开展送心理疏导、送技能提升、送权益维护等活动为新就业群体打造一处“累了能歌脚、渴了能喝水、没电能充电、心烦能倾诉”的“临时小家”和和“温馨港湾”。</view>
<!-- <view class="look">
<checkbox-group bindchange="handleCheckbox">
<checkbox value="{{look}}" color="#e33131" style="width: 50rpx;height: 50rpx;margin-right: 10rpx;"></checkbox>
<text>我已阅读并同意</text>
</checkbox-group>
</view> -->
</view>
<view class="buttom_btn">
<button type="warn" class="next1" bind:tap="handleNext">驿站地图</button>
</view>
</block>

64
miniprogram/subpages/knight/pages/knight/brief/brief.wxss

@ -0,0 +1,64 @@
/* subpages/knight/pages/knight/brief/brief.wxss */
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #f5f5f5;
font-family: PingFang SC;
margin: 0 auto;
}
.gray{
background-color: #fafafa;
}
.card{
background-color: #fff;
}
.card .title{
height: 100rpx;
line-height: 100rpx;
text-align: center;
border-bottom: 1px solid #e9e9e9;
}
.card .content{
padding: 30rpx;
font-weight: 300;
}
.card .look{
color: #999999;
text-align: center;
margin-bottom: 30rpx;
display: flex;
justify-content: center;
}
.card .look checkbox-group {
display: flex;
align-items: center;
justify-content: center;
}
.buttom_btn{
position: fixed;
bottom: 0;
height: 120rpx;
background-color: #fff;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.buttom_btn .back{
width: 46%;
height: 80rpx;
line-height: 80rpx;
}
.buttom_btn .next{
width: 46%;
height: 80rpx;
line-height: 80rpx;
color: #fff;
}
.buttom_btn .next1{
width: 98%;
height: 80rpx;
line-height: 80rpx;
color: #fff;
}

2
miniprogram/subpages/knight/pages/knight/knight.json

@ -1,5 +1,5 @@
{
"navigationBarTitleText": "骑士驿站",
"navigationBarTitleText": "新锋驿站",
"navigationStyle": "custom",
"navigationBarTextStyle": "white",
"enablePullDownRefresh": true,

20
miniprogram/subpages/knight/pages/knight/knight.wxml

@ -2,23 +2,23 @@
<image src="../../images/back2.png" class="back" style=" top: {{statusHeight}}px;" bindtap="back"></image>
<image class="header-bg" src="../../images/bg.png" mode="widthFix" />
<view class="navigation" style="height: {{navigationHeight}}px; top: {{statusHeight}}px;">
骑士驿站
新锋驿站
</view>
</view>
<view class="mtf80">
<view class="list">
<view class="item color01">
<navigator class="item color01" url="/subpages/knight/pages/knight/brief/brief">
<image src="../../images/01.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">驿站简介</view>
<view class="h2">
骑士驿站”是面向全区外卖、快递···
新锋驿站”是面向全区外卖、快递···
</view>
</view>
<view class="vcenter w20">
<image src="../../images/01r.png" class="go"></image>
</view>
</view>
</navigator>
<view class="item color02">
<image src="../../images/02.png" class="icon"></image>
<view class="vcenter flex1">
@ -31,7 +31,7 @@
<image src="../../images/02r.png" class="go"></image>
</view>
</view>
<view class="item color03">
<!-- <view class="item color03">
<image src="../../images/03.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">骑士注册</view>
@ -42,7 +42,7 @@
<view class="vcenter w20">
<image src="../../images/03r.png" class="go"></image>
</view>
</view>
</view> -->
<view class="item color04">
<image src="../../images/04.png" class="icon"></image>
<view class="vcenter flex1">
@ -55,7 +55,7 @@
<image src="../../images/04r.png" class="go"></image>
</view>
</view>
<view class="item color05">
<!-- <view class="item color05">
<image src="../../images/05.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">骑士上报</view>
@ -66,8 +66,8 @@
<view class="vcenter w20">
<image src="../../images/05r.png" class="go"></image>
</view>
</view>
<view class="item color06">
</view> -->
<!-- <view class="item color06">
<image src="../../images/06.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">关爱行动</view>
@ -78,6 +78,6 @@
<view class="vcenter w20">
<image src="../../images/06r.png" class="go"></image>
</view>
</view>
</view> -->
</view>
</view>

2
miniprogram/subpages/pioneer/pages/pioneer/pioneer.wxml

@ -15,6 +15,6 @@
<view class="h1">扫码关注“北尚先锋”</view>
<view class="h2">点击上图,长按可进入“北尚先锋”公众号</view>
<button type="primary" class="btn01">返回</button>
<button type="primary" class="btn01" bind:tap="back">返回</button>
</view>

10
miniprogram/subpages/redGrider/pages/redGrider/redGrider.wxml

@ -12,14 +12,14 @@
<view class="vcenter flex1">
<view class="h1">招募令</view>
<view class="h2">
骑士驿站”是面向全区外卖、快递···
新锋驿站”是面向全区外卖、快递···
</view>
</view>
<view class="vcenter w20">
<image src="../../images/01r.png" class="go"></image>
</view>
</view>
<view class="item color02">
<!-- <view class="item color02">
<image src="../../images/02.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">网格工作</view>
@ -30,8 +30,8 @@
<view class="vcenter w20">
<image src="../../images/02r.png" class="go"></image>
</view>
</view>
<view class="item color03">
</view> -->
<!-- <view class="item color03">
<image src="../../images/03.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">网格上报</view>
@ -42,7 +42,7 @@
<view class="vcenter w20">
<image src="../../images/03r.png" class="go"></image>
</view>
</view>
</view> -->
<view class="item color04">
<image src="../../images/04.png" class="icon"></image>
<view class="vcenter flex1">

BIN
miniprogram/subpages/redSail/images/marker-icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
miniprogram/subpages/redSail/images/party-logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

66
miniprogram/subpages/redSail/pages/event/event.js

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

5
miniprogram/subpages/redSail/pages/event/event.json

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarBackgroundColor": "#e33131",
"navigationBarTitleText": "暖心实事"
}

8
miniprogram/subpages/redSail/pages/event/event.wxml

@ -0,0 +1,8 @@
<!--subpages/redSail/pages/event/event.wxml-->
<block >
<view class="card">
<view class="title">暖心实事</view>
</view>
</block>

33
miniprogram/subpages/redSail/pages/event/event.wxss

@ -0,0 +1,33 @@
/* subpages/redSail/pages/event/event.wxss */
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #f5f5f5;
font-family: PingFang SC;
}
.card{
background-color: #fff;
}
.card .title{
height: 100rpx;
line-height: 100rpx;
text-align: center;
border-bottom: 1px solid #e9e9e9;
}
.card .content{
padding: 30rpx;
font-weight: 300;
}
.card .look{
color: #999999;
text-align: center;
margin-bottom: 30rpx;
display: flex;
justify-content: center;
}
.card .look checkbox-group {
display: flex;
align-items: center;
justify-content: center;
}

143
miniprogram/subpages/redSail/pages/flowParty/flowParty.js

@ -0,0 +1,143 @@
// subpages/redSail/pages/flowParty/flowParty.js
var mapCtx = "";
Page({
/**
* 页面的初始数据
*/
data: {
selectedValue:'',
look:true,
informFlag:false,
longitude: 120.372537,
latitude: 36.098056,
scale: 13,
mapCtx: mapCtx,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.data.mapCtx = wx.createMapContext("party-masses-map");
this.partyservicecenterlist();
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
},
addMarkers (markerList) {
var markers = [];
markerList.forEach( (item, index)=> {
markers.push({
id: index + 1,
iconPath: "../../images/marker-icon.png",
longitude: parseFloat(item.longitude),
latitude: parseFloat(item.latitude),
width: 30,
height: 35,
zIndex: 100,
customCallout: {
anchorY: 0,
anchorX: 0,
display: "ALWAYS"
}
});
});
this.data.mapCtx.addMarkers({
markers: markers
});
},
partyservicecenterlist: function () {
var _this = this;
var params = {
orgId: wx.getStorageSync("gridId"),
orgType: "grid"
};
index_1.partyservicecenterlist(params).then(function (res) {
console.log("获取党群服务中心", res);
_this.setData({
partyMassesList: res.data
});
_this.addMarkers(_this.data.partyMassesList);
}).catch(function (err) {
console.error(err);
});
},
onPickerChange (event) {
const selectedIndex = event.detail.value;
const selectedValue = ['是', '否'][selectedIndex];
this.setData({
selectedValue: selectedValue
});
},
handleCheckbox(e){
console.log(e);
if(e.detail .value.length!=0){
this.setData({
look:false
})
}else{
this.setData({
look:true
})
}
},
handleBack(){
wx.navigateBack({
delta: 1
})
},
handleNext(){
this.setData({
informFlag:true
})
}
})

5
miniprogram/subpages/redSail/pages/flowParty/flowParty.json

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarBackgroundColor": "#e33131",
"navigationBarTitleText": "流动党员报到"
}

121
miniprogram/subpages/redSail/pages/flowParty/flowParty.wxml

@ -0,0 +1,121 @@
<!--subpages/redSail/pages/flowParty/flowParty.wxml-->
<block wx:if="{{informFlag}}">
<view class="basic-info">
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">姓名</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray ">
<view class="left">
<text class="must">*</text>
<view class="title">身份证号</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">手机号码</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray">
<view class="left">
<text class="must">*</text>
<view class="title">现属党支部</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">是否为自由职业者</view>
</view>
<view class="right">
<picker mode="selector" range="{{['是', '否']}}" bindchange="onPickerChange">
<view class="picker">
<text>{{selectedValue}}</text>
</view>
</picker>
</view>
</view>
<view class="list-item gray">
<view class="left">
<text class="must">*</text>
<view class="title">工作单位</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">工作单位地址</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray">
<view class="left">
<text class="must">*</text>
<view class="title">所属社区</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="" />
</view>
</view>
<view class="party-masses-map">
<!-- <map id="party-masses-map"
longitude="{{longitude}}"
latitude="{{latitude}}"
scale="{{scale}}"
bindmarkertap="markertap">
<cover-view slot="callout">
<cover-view class="custom-callout" marker-id="{{index + 1}}" wx:for="{{partyMassesList}}" wx:key="index">
<cover-image class="party-logo" src="../../images/party-logo.png"></cover-image>
<cover-view></cover-view>
<cover-view class="tip">{{item.centerName}}</cover-view>
</cover-view>
</cover-view>
</map> -->
</view>
</view>
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" disabled="{{look}}" bind:tap="handleNext">提交</button>
</view>
</block>
<block wx:else>
<view class="card">
<view class="title">流动党员报到须知</view>
<view class="content" style="white-space:pre-wrap"> 外来流动党员,一般是指党员本人在青岛市北工作、生活组织关系仍保留在区外党组织,没有转移正式组织关系,连续6个月不能线下参加正式组织关系所在党支部活动的党员
党员组织关系保留在区内农村党组织,本人常年进城务工经商的党员,也可纳入工作、生活所在地城市社区“红帆支部”管理
流入单位已建立党组织但暂不满足组织关系转接条件的外来流动党员,需持党员证明信或《流动党员活动证》向流入单位党组织报到:对流入单位未建立党组织的外来流动党员持党员证明信或《流动党员活动证》向所在城市社区““红帆支部”报到,接受“红帆支部”教育管理。纳入“红帆支部”管理的流动党员,一般应向所在“红帆支部”交纳党费</view>
<view class="look">
<checkbox-group bindchange="handleCheckbox">
<checkbox value="{{look}}" color="#e33131" style="width: 50rpx;height: 50rpx;margin-right: 10rpx;"></checkbox>
<text>我已阅读并同意</text>
</checkbox-group>
</view>
</view>
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" disabled="{{look}}" bind:tap="handleNext">下一步</button>
</view>
</block>

99
miniprogram/subpages/redSail/pages/flowParty/flowParty.wxss

@ -0,0 +1,99 @@
/* subpages/redSail/pages/flowParty/flowParty.wxss */
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #f5f5f5;
font-family: PingFang SC;
margin: 0 auto;
}
.gray{
background-color: #fafafa;
}
.card{
background-color: #fff;
}
.card .title{
height: 100rpx;
line-height: 100rpx;
text-align: center;
border-bottom: 1px solid #e9e9e9;
}
.card .content{
padding: 30rpx;
font-weight: 300;
}
.card .look{
color: #999999;
text-align: center;
margin-bottom: 30rpx;
display: flex;
justify-content: center;
}
.card .look checkbox-group {
display: flex;
align-items: center;
justify-content: center;
}
.buttom_btn{
position: fixed;
bottom: 0;
height: 120rpx;
background-color: #fff;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.buttom_btn .back{
width: 46%;
height: 80rpx;
line-height: 80rpx;
}
.buttom_btn .next{
width: 46%;
height: 80rpx;
line-height: 80rpx;
color: #fff;
}
.basic-info {
width: 95%;
background: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 20rpx;
margin: 20rpx auto;
}
.basic-info .list-item {
width: 100%;
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.basic-info .list-item .left .must {
color: #F61616;
font-size: 30rpx;
}
.basic-info .list-item .left .title {
color: #333;
font-size: 34rpx;
}
.basic-info .list-item .left {
display: flex;
align-items: center;
height: 100rpx;
}
.basic-info .list-item .right {
height: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.basic-info .list-item .right picker{
width: 100rpx;
}
.basic-info .list-item .right input{
text-align: right;
}

19
miniprogram/subpages/redSail/pages/redSail/redSail.wxml

@ -7,10 +7,10 @@
</view>
<view class="mtf80">
<view class="list">
<view class="item ">
<navigator class="item " url="/subpages/redSail/pages/event/event">
<image src="../../images/01.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">新锋领航</view>
<view class="h1">暖心实事</view>
<view class="h2">
在认真完成《中国共产党章···
</view>
@ -18,8 +18,8 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
<view class="item ">
</navigator>
<navigator class="item " url="/subpages/redSail/pages/registerParty/registerParty">
<image src="../../images/02.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">我要入党</view>
@ -30,8 +30,9 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
<view class="item ">
</navigator>
<navigator class="item " url="/subpages/redSail/pages/flowParty/flowParty">
<image src="../../images/03.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">流动党员报到</view>
@ -42,8 +43,8 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
<view class="item ">
</navigator>
<!-- <view class="item ">
<image src="../../images/04.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">我要转出</view>
@ -66,7 +67,7 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
</view> -->
</view>
</view>

143
miniprogram/subpages/redSail/pages/registerParty/registerParty.js

@ -0,0 +1,143 @@
// subpages/redSail/pages/registerParty/registerParty.js
var mapCtx = "";
Page({
/**
* 页面的初始数据
*/
data: {
selectedValue:'',
look:true,
informFlag:false,
longitude: 120.372537,
latitude: 36.098056,
scale: 13,
mapCtx: mapCtx,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.data.mapCtx = wx.createMapContext("party-masses-map");
this.partyservicecenterlist();
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
},
addMarkers (markerList) {
var markers = [];
markerList.forEach( (item, index)=> {
markers.push({
id: index + 1,
iconPath: "../../images/marker-icon.png",
longitude: parseFloat(item.longitude),
latitude: parseFloat(item.latitude),
width: 30,
height: 35,
zIndex: 100,
customCallout: {
anchorY: 0,
anchorX: 0,
display: "ALWAYS"
}
});
});
this.data.mapCtx.addMarkers({
markers: markers
});
},
partyservicecenterlist: function () {
var _this = this;
var params = {
orgId: wx.getStorageSync("gridId"),
orgType: "grid"
};
index_1.partyservicecenterlist(params).then(function (res) {
console.log("获取党群服务中心", res);
_this.setData({
partyMassesList: res.data
});
_this.addMarkers(_this.data.partyMassesList);
}).catch(function (err) {
console.error(err);
});
},
onPickerChange (event) {
const selectedIndex = event.detail.value;
const selectedValue = ['是', '否'][selectedIndex];
this.setData({
selectedValue: selectedValue
});
},
handleCheckbox(e){
console.log(e);
if(e.detail .value.length!=0){
this.setData({
look:false
})
}else{
this.setData({
look:true
})
}
},
handleBack(){
wx.navigateBack({
delta: 1
})
},
handleNext(){
this.setData({
informFlag:true
})
}
})

5
miniprogram/subpages/redSail/pages/registerParty/registerParty.json

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarBackgroundColor": "#e33131",
"navigationBarTitleText": "我要入党"
}

110
miniprogram/subpages/redSail/pages/registerParty/registerParty.wxml

@ -0,0 +1,110 @@
<!--subpages/redSail/pages/registerParty/registerParty.wxml-->
<block wx:if="{{informFlag}}">
<view class="basic-info">
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">姓名</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray ">
<view class="left">
<text class="must">*</text>
<view class="title">身份证号</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">手机号码</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray">
<view class="left">
<text class="must">*</text>
<view class="title">是否为自由职业者</view>
</view>
<view class="right">
<picker mode="selector" range="{{['是', '否']}}" bindchange="onPickerChange">
<view class="picker">
<text>{{selectedValue}}</text>
</view>
</picker>
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">工作单位</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item gray">
<view class="left">
<text class="must">*</text>
<view class="title">工作单位地址</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="请输入" />
</view>
</view>
<view class="list-item ">
<view class="left">
<text class="must">*</text>
<view class="title">所属社区</view>
</view>
<view class="right">
<input confirm-type="next" bindblur="bindRealNameInput" bindinput="bindRealNameInput" value="{{personalInfo.realName}}" placeholder-class="placeholder-style" placeholder="" />
</view>
</view>
<view class="party-masses-map">
<!-- <map id="party-masses-map"
longitude="{{longitude}}"
latitude="{{latitude}}"
scale="{{scale}}"
bindmarkertap="markertap">
<cover-view slot="callout">
<cover-view class="custom-callout" marker-id="{{index + 1}}" wx:for="{{partyMassesList}}" wx:key="index">
<cover-image class="party-logo" src="../../images/party-logo.png"></cover-image>
<cover-view></cover-view>
<cover-view class="tip">{{item.centerName}}</cover-view>
</cover-view>
</cover-view>
</map> -->
</view>
</view>
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" disabled="{{look}}" bind:tap="handleNext">提交</button>
</view>
</block>
<block wx:else>
<view class="card">
<view class="title">入党须知</view>
<view class="content" style="white-space:pre-wrap"> “ 红帆支部”主要接收城市社区、产业园区范围内直播电商、快递、物流、外卖、网约客运、网络货运等新业态新就业群体以及常年进城务工经商创业人员、不具备单独成立党支部条件的非公有制经济组织和社会组织中的优秀分了递交的入党申请。广籍在农村并在农村长期居住的,一般应向居住地农村党组织递交入党申请集体经济组织成员一般应向集体经济组织党组织递交入党,由请。在流入地申请入党,一般应具有相对固定的1作单位或居住地点,并已在该单位或该地连续工作、生活一年以上。</view>
<view class="look">
<checkbox-group bindchange="handleCheckbox">
<checkbox value="{{look}}" color="#e33131" style="width: 50rpx;height: 50rpx;margin-right: 10rpx;"></checkbox>
<text>我已阅读并同意</text>
</checkbox-group>
</view>
</view>
<view class="buttom_btn">
<button type="warn" plain="true" class="back" bind:tap="handleBack">返回</button>
<button type="warn" class="next" disabled="{{look}}" bind:tap="handleNext">下一步</button>
</view>
</block>

99
miniprogram/subpages/redSail/pages/registerParty/registerParty.wxss

@ -0,0 +1,99 @@
/* subpages/redSail/pages/registerParty/registerParty.wxss */
page {
width: 100%;
height: auto;
overflow-y: auto;
background: #f5f5f5;
font-family: PingFang SC;
margin: 0 auto;
}
.gray{
background-color: #fafafa;
}
.card{
background-color: #fff;
}
.card .title{
height: 100rpx;
line-height: 100rpx;
text-align: center;
border-bottom: 1px solid #e9e9e9;
}
.card .content{
padding: 30rpx;
font-weight: 300;
}
.card .look{
color: #999999;
text-align: center;
margin-bottom: 30rpx;
display: flex;
justify-content: center;
}
.card .look checkbox-group {
display: flex;
align-items: center;
justify-content: center;
}
.buttom_btn{
position: fixed;
bottom: 0;
height: 120rpx;
background-color: #fff;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.buttom_btn .back{
width: 46%;
height: 80rpx;
line-height: 80rpx;
}
.buttom_btn .next{
width: 46%;
height: 80rpx;
line-height: 80rpx;
color: #fff;
}
.basic-info {
width: 95%;
background: #fff;
border-radius: 16rpx;
box-sizing: border-box;
padding: 0 20rpx;
margin: 20rpx auto;
}
.basic-info .list-item {
width: 100%;
height: 100rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.basic-info .list-item .left .must {
color: #F61616;
font-size: 30rpx;
}
.basic-info .list-item .left .title {
color: #333;
font-size: 34rpx;
}
.basic-info .list-item .left {
display: flex;
align-items: center;
height: 100rpx;
}
.basic-info .list-item .right {
height: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.basic-info .list-item .right picker{
width: 100rpx;
}
.basic-info .list-item .right input{
text-align: right;
}

6
miniprogram/subpages/volunteer/pages/volunteer/volunteer.wxml

@ -19,7 +19,7 @@
<image src="../../images/right.png" class="go"></image>
</view>
</view>
<view class="item ">
<!-- <view class="item ">
<image src="../../images/02.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">尖兵行动</view>
@ -30,11 +30,11 @@
<view class="vcenter w20">
<image src="../../images/right.png" class="go"></image>
</view>
</view>
</view> -->
<view class="item ">
<image src="../../images/03.png" class="icon"></image>
<view class="vcenter flex1">
<view class="h1">尖兵风采</view>
<view class="h1">志愿风采</view>
<view class="h2">
XXXXXXXXXXXXXXXXXXXX···
</view>

Loading…
Cancel
Save