作者 sgj

bug fix

... ... @@ -19,6 +19,22 @@
</view>
<rich-text nodes="{{shi}}"></rich-text>
<view class="main">
<view class='memberbox' >
<view class='title'>已成功报名人员</view>
<view class='member' wx:for='{{list.join}}' wx:key='index'>
<view class="top">
<image src='{{item.photo}}' mode="aspectFill" />
<text>{{item.name}}</text>
</view>
</view>
</view>
</view>
<view class="shengqin">
<button wx:if="{{list.user_status ==0}}">未审核</button>
<button style="background:#cfcfcf;box-shadow:0rpx 18rpx 38rpx 0rpx rgba(179, 179, 179, 0.42);"
... ...
... ... @@ -97,3 +97,81 @@ page {
bottom: 144rpx;
right: 32rpx;
}
.main{
display: flex;
justify-content: center;
}
.memberbox {
width: 94%;
display: flex;
flex-wrap: wrap;
margin-top: 20rpx;
}
.memberbox .title {
width: 100%;
color: #333;
font-size: 32rpx;
font-weight: bold;
padding: 0 0 0 13rpx;
box-sizing: border-box;
margin-bottom: 20rpx;
position: relative;
}
.memberbox .title::after {
position: absolute;
content: '';
top: 50%;
transform: translateY(-50%);
left: 0;
width: 4rpx;
height: 32rpx;
background: #21ae59;
}
.member {
width: 200rpx;
margin-bottom: 20rpx;
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-right: 42rpx;
}
.member:nth-child(3n + 1) {
margin-right: 0;
}
.member .top {
width: 100%;
display: flex;
align-items: center;
}
.member .top image {
width: 76rpx;
height: 76rpx;
border-radius: 50%;
margin-right: 18rpx;
}
.member .top text {
font-size: 28rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(51, 51, 51, 1);
}
.member .duty {
width: 100%;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(153, 153, 153, 1);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 16rpx;
}
\ No newline at end of file
... ...
... ... @@ -17,10 +17,10 @@ Page({
],
time_arr: [ "上午", "下午", "全天"],
t_arr: { //选择日期数组
t_arr:[{ //选择日期数组
data: '',
time: ''
},
}],
z_arr: [ //申请入住数组
{
date: ''
... ... @@ -422,12 +422,12 @@ Page({
change_time(e) {
console.log(e)
// let index = Number(e.currentTarget.dataset.index)
let index = Number(e.currentTarget.dataset.index)
let zindex = e.detail.value
console.log(e.detail.value)
this.setData({
select_time:this.data.time_arr[zindex],
[`t_arr[${index}].time`]: this.data.time_arr[zindex]
// [`t_arr[${zindex}].time`]: this.data.time_arr[zindex]
})
// this.judge_status(1, index)
},
... ...
... ... @@ -69,7 +69,7 @@
<picker mode="selector" value="{{item.time}}" bindchange="change_time" range="{{time_arr}}" data-index="{{index}}"
disabled="{{status}}">
<view class="right">
<text>{{item.time?item.time:'请选择'}}</text>
<text>{{select_time?select_time:'请选择'}}</text>
<image src="/imgs/right.png" />
</view>
</picker>
... ...
... ... @@ -183,7 +183,7 @@ page {
.my_itemletf .time {
width: 34rpx;
height: 32rpx;
margin-right: 30rpx;
margin-right:18rpx;
left: 0;
}
... ... @@ -202,6 +202,7 @@ page {
}
.my_itemletf .icon-gongzhang {
color: #44cbee;
color:#2FAF5C;
margin-right: 20rpx;
}
... ...
... ... @@ -12,6 +12,12 @@ Page({
},
onLoad: function (options) {
},
goActivity(e){
var id=e.currentTarget.dataset.id
wx.navigateTo({
url: '/pages/img_txt/img_txt'+'?status=1&id='+id,
})
},
onReady: function () {
},
... ...
... ... @@ -35,7 +35,7 @@
</view>
<!--打卡已完成 -->
<view wx:elif="{{navs==2}}">
<view class="myactive_wrap" wx:for="{{list}}">
<view bindtap="goActivity" data-id="{{item.id}}" class="myactive_wrap" wx:for="{{list}}">
<view class="myactive_time">
<image src="/imgs/shijian-19.png"></image>{{item.date}}
{{ item.start_clock_time}}-{{item.end_clock_time}}
... ... @@ -59,14 +59,14 @@
</view>
<!--待提交报告 -->
<view wx:elif="{{nav==2}}">
<view class="myactive_wrap" wx:for="{{datalist}}">
<view bindtap="goActivity" data-id="{{item.id}}" class="myactive_wrap" wx:for="{{datalist}}">
<view class="myactive_time">
<image src="/imgs/shijian-19.png"></image>{{item.start_time}}
<block wx:if="{{item.start_clock_time}}">
{{ item.start_clock_time==null?'':item.start_clock_time}}-{{item.end_clock_time==null?"":item.end_clock_time}}
</block>
</view>
<view class="myactive_list">
<view bindtap="goActivity" data-id="{{item.id}}" class="myactive_list">
<image src="{{item.thumbnail}}"></image>
<view class="myactive_name">
<view>{{item.activity_name}}</view>
... ... @@ -81,7 +81,7 @@
<!-- 完成的活动 -->
<view wx:elif="{{nav==3}}">
<view class="myactive_wrap" wx:for="{{datalist}}">
<view bindtap="goActivity" data-id="{{item.id}}" class="myactive_wrap" wx:for="{{datalist}}">
<view class="myactive_time">
<image src="/imgs/shijian-19.png"></image>{{item.start_time}}
{{ item.start_clock_time}}-{{item.end_clock_time}}
... ...
... ... @@ -29,13 +29,22 @@
<view class="goods_introduce" >
<view class="goods_line"></view>
<view bindtap="getadd">产品详情</view>
<view bindtap="getadd">备注信息</view>
<view class="goods_line"></view>
</view>
<view class="goods_text" >
<rich-text nodes="{{list.good.content}}"></rich-text>
<rich-text nodes="{{list.remark}}"></rich-text>
</view>
<view class="goods_text" wx:if="{{list.reason}}">
<view wx:if="{{list.status=='-1'}}" class="goods_introduce" >
<view class="goods_line"></view>
<view bindtap="getadd">拒绝原因</view>
<view class="goods_line"></view>
</view>
<view class="goods_text" wx:if="{{list.status=='-1'}}">
<rich-text nodes="{{list.reason}}"></rich-text>
</view>
... ...
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": true,
"enhance": false,
"postcss": true,
"preloadBackgroundData": false,
"minified": true,
"newFeature": true,
"coverView": true,
"nodeModules": true,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"scopeDataCheck": false,
"uglifyFileName": true,
"checkInvalidKey": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": false,
"useApiHook": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": []
},
"compileType": "miniprogram",
"libVersion": "2.8.3",
"appid": "wx7a3bf4e0796c070a",
"projectname": "zhiyuanzhe",
"cloudfunctionTemplateRoot": "",
"watchOptions": {
"ignore": []
},
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"plugin": {
"current": -1,
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": [
{
"id": 0,
"name": "工作计划表",
"pathName": "pages/word_report/word_report",
"query": "id=17&status=1",
"scene": null
},
{
"id": -1,
"name": "pages/myteam/myteam",
"pathName": "pages/myteam/myteam",
"query": "",
"scene": null
},
{
"id": 2,
"name": "我的培训",
"pathName": "pages/mytrain/mytrain",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/Online_regulations/Online_regulations",
"pathName": "pages/Online_regulations/Online_regulations",
"query": "",
"scene": null
},
{
"id": 4,
"name": "学习内容",
"pathName": "pages/getStudycontent/getStudycontent",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/apply/apply",
"pathName": "pages/apply/apply",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/Volunteer_detail/Volunteer_detail",
"pathName": "pages/Volunteer_detail/Volunteer_detail",
"query": "",
"scene": null
},
{
"id": 7,
"name": "志愿回馈",
"pathName": "pages/myfeedback/myfeedback",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myaddress/myaddress",
"pathName": "pages/myaddress/myaddress",
"query": "",
"scene": null
},
{
"id": 9,
"name": "志愿动态",
"pathName": "pages/Volunteer_dynamic/Volunteer_dynamic",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/guanlitiaoli/guanlitiaoli",
"pathName": "pages/guanlitiaoli/guanlitiaoli",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/mycertificate/mycertificate",
"pathName": "pages/mycertificate/mycertificate",
"query": "",
"scene": null
},
{
"id": 12,
"name": "申请加入",
"pathName": "pages/Volunteer_group/active/active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "志愿团队",
"pathName": "pages/Volunteer_group/Volunteer_group",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的地址列表",
"pathName": "pages/myaddress/myaddress",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的收货地址",
"pathName": "pages/myaddcompile/myaddcompile",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的团队",
"pathName": "pages/myteam/myteam",
"query": "",
"scene": null
},
{
"id": 18,
"name": "商品详情",
"pathName": "pages/myfeedback/myfeedback_active/myfeedback_active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "积分兑换",
"pathName": "pages/myfeedback/myfeedback_duihuan/myfeedback_duihuan",
"query": "",
"scene": null
},
{
"id": -1,
"name": "光荣排行",
"pathName": "pages/guangrongpaihang/guangrongpaihang",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的活动",
"pathName": "pages/myactivity/myactivity",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myactivity/myactivity_active/myactivity_active",
"pathName": "pages/myactivity/myactivity_active/myactivity_active",
"query": "",
"scene": null
},
{
"id": -1,
"name": "答题详情",
"pathName": "pages/getStudycontent/answer/answer",
"query": "",
"scene": null
},
{
"id": 23,
"name": "在线培训",
"pathName": "pages/Online_regulations/Online_regulations",
"query": "",
"scene": null
},
{
"id": 24,
"name": "学习内容",
"pathName": "pages/getStudycontent/getStudycontent",
"query": "",
"scene": null
},
{
"id": -1,
"name": "dati ",
"pathName": "pages/getStudycontent/answer/answer",
"query": "id=1",
"scene": null
},
{
"id": -1,
"name": "电子证件",
"pathName": "pages/mycertificate/mycertificate",
"query": "",
"scene": null
},
{
"id": -1,
"name": "编辑资料",
"pathName": "pages/mydetail/mydetail",
"query": "",
"scene": null
},
{
"id": -1,
"name": "工时兑换",
"pathName": "pages/myfeedback/myfeedback_list/myfeedback_list",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的资料",
"pathName": "pages/mydetail/mydetail",
"query": "",
"scene": null
},
{
"id": -1,
"name": "更多志愿者",
"pathName": "pages/more/more",
"query": "",
"scene": null
},
{
"id": -1,
"name": "志愿动态详情",
"pathName": "pages/getNewsInfo/getNewsInfo",
"query": "",
"scene": null
},
{
"id": -1,
"name": "审核状态",
"pathName": "pages/result/result",
"query": "",
"scene": null
},
{
"id": 33,
"name": "志愿礼物详情",
"pathName": "pages/myfeedback/myfeedback_detail/myfeedback_detail",
"query": "",
"scene": null
},
{
"id": -1,
"name": "我的志愿回馈",
"pathName": "pages/myfeedback_lists/myfeedback_lists",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/myactivity/myactivity_report/myactivity_report",
"pathName": "pages/myactivity/myactivity_report/myactivity_report",
"query": "",
"scene": null
},
{
"id": -1,
"name": "pages/1/1",
"pathName": "pages/1/1",
"query": "",
"scene": null
},
{
"id": 37,
"name": "pages/enroll/enroll",
"pathName": "pages/enroll/enroll",
"query": "id=63",
"scene": null
},
{
"id": -1,
"name": "pages/enroll/enroll",
"pathName": "pages/enroll/enroll",
"query": "",
"scene": null
},
{
"id": 39,
"name": "志愿者登记表",
"pathName": "pages/apply/apply",
"query": "id=153&is_submit=1",
"scene": null
},
{
"id": -1,
"name": "登记报名",
"pathName": "pages/enroll/enroll",
"scene": null
}
]
}
}
}
\ No newline at end of file
... ...