diff --git a/pages/user/assistance/assistance.js b/pages/user/assistance/assistance.js
index 41d119f..f2214b7 100644
--- a/pages/user/assistance/assistance.js
+++ b/pages/user/assistance/assistance.js
@@ -6,7 +6,9 @@ var t = getApp(),
ut = i,
s = require("../../../utils/common.js");
var regeneratorRuntime = require('../../../utils/runtime.js');
-var oo = t.globalData.setting,os=oo, ut= require("../../../utils/util.js");
+var oo = t.globalData.setting,
+ os = oo,
+ ut = require("../../../utils/util.js");
Page({
/**
@@ -22,10 +24,10 @@ Page({
cur_page: 1, //页码
page_num: 5, //每页多少个
is_show_more: 0, //是否加载更多
- help_id:"",//助力活动的id
- timer:"",//任务列表的定时器
- s_num:"",//多少人已经领取任务
- page:1,//我的任务的当前页
+ help_id: "", //助力活动的id
+ timer: "", //任务列表的定时器
+ s_num: "", //多少人已经领取任务
+ page: 1, //我的任务的当前页
},
/**
@@ -36,79 +38,85 @@ Page({
var nav_b = th.selectComponent("#nav_b"); //组件的id
nav_b.set_name("助力", "/pages/user/assistance/assistance");
// 助力活动
- this.assistance();
+ th.assistance();
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function() {
-
+
},
// 助力活动
- assistance() {
- var th=this;
+ assistance() {
+ var th = this;
var user_id = getApp().globalData.user_id;
var store_id = os.stoid;
-
getApp().request.promiseGet("/api/weshop/marketing/help/act/judge", {
+ isShowLoading: true,
data: {
storeId: store_id,
userId: user_id
}
}).then(res => {
if (res.data.code == 0) {
- var help_data=res.data.data;
- th.setData({ zl_act:help_data, help_id:help_data.id });
- if (th.data.help_id != "" && th.data.help_id!=null) {
- //我的任务
+ var help_data = res.data.data;
+ help_data.remark = help_data.remark.replace(/\
{
- if(res.data.code==0)
- th.setData({s_num:res.data.data.countAll})
- })
-
-
+ return ut.null_promise();
+ }).then(res => {
+ if (res.data.code == 0)
+ th.setData({
+ s_num: res.data.data.countAll
+ })
+ })
+
+
},
//--点击获取用户任务列表--会员的任务列表
- get_list:function() {
-
+ get_list: function() {
+
var th = this;
- var page=th.data.page;
- var help_id=this.data.help_id;
+ var page = th.data.page;
+ var help_id = this.data.help_id;
t.request.get("/api/weshop/marketing/help/help/user/page", {
+ isShowLoading: true,
data: {
- userId:getApp().globalData.user_id,
+ userId: getApp().globalData.user_id,
storeId: os.stoid,
helpId: help_id,
page: page,
- pageSize:5
+ pageSize: 5
},
success: function(res) {
clearTimeout(th.data.timer);
-
- if (!th.data.is_load)
- th.setData({
- is_load: 1
- })
-
-
+
+ if (!th.data.is_load)
+ th.setData({
+ is_load: 1
+ })
+
if (res.data.code == 0) {
-
+
var list = th.data.zl_user_list;
//连接数组
- list = list.concat(res.data.data.pageData);
+ list = list.concat(res.data.data.pageData);
th.setData({
zl_user_list: list,
is_load: 1,
@@ -117,20 +125,19 @@ Page({
th.setData({
is_show_more: 1
})
- }else{
+ } else {
var page = th.data.page + 1;
th.setData({
is_show_more: 0,
page: page
})
}
-
} else {
-
- getApp().showWarning("暂无更多内容",0);
+
+ getApp().showWarning("暂无更多内容", 0);
th.setData({
is_show_more: 1,
- page: page
+ page: page
})
}
@@ -140,11 +147,11 @@ Page({
//-----跳转到领取礼包的页面------
go_task: function() {
-
- var help_id=this.data.help_id;
- getApp().goto("/pages/user/assistance/task_assistance?help_id="+help_id);
+ var th = this;
+ var help_id = th.data.help_id;
+ getApp().goto("/pages/user/assistance/task_assistance?help_id=" + help_id);
},
- switch_head: function (e) {
+ switch_head: function(e) {
var th = this;
var index = e.currentTarget.dataset.index; //获取当前选择的是任务还是活动说明
var switch_head = th.data.switch_head; //0任务,1活动说明
@@ -156,22 +163,22 @@ Page({
},
//关闭导航
- close: function () {
+ close: function() {
var th = this;
var nav_b = th.selectComponent("#nav_b"); //组件的id
nav_b.close_box();
},
+
// 领取礼包
- get_libao:function(e){
- var libao_id=e.currentTarget.dataset.libaoid;
- var completeid= e.currentTarget.dataset.completeid;
-
- getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1 + "&completeid=" + completeid);
+ get_libao: function(e) {
+ var libao_id = e.currentTarget.dataset.libaoid;
+ getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1);
},
+
//查看礼包id
- select_libao:function(){
- var libao_id = e.currentTarget.dataset.libaoid;
- var ordersn = e.currentTarget.dataset.orderid;
- getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 0 + "&ordersn=" + ordersn );
+ select_libao: function() {
+ var orderSn = e.currentTarget.dataset.orderSn;//订单号
+ getApp().goto("/pages/user/assistance/giftpacklist?orderSn=" + orderSn);
}
+
})
\ No newline at end of file
diff --git a/pages/user/assistance/assistance.json b/pages/user/assistance/assistance.json
index 63f5fe9..b1940cd 100644
--- a/pages/user/assistance/assistance.json
+++ b/pages/user/assistance/assistance.json
@@ -1,6 +1,5 @@
{
"navigationBarTitleText": "好友助力,得好礼",
- "navigationStyle": "custom",
"usingComponents": {
"warn": "/components/long_warn/long_warn",
"my_confirm": "/components/my_confirm/my_confirm",
diff --git a/pages/user/assistance/assistance.wxml b/pages/user/assistance/assistance.wxml
index 8b09dca..7227ba0 100644
--- a/pages/user/assistance/assistance.wxml
+++ b/pages/user/assistance/assistance.wxml
@@ -8,7 +8,7 @@
-
+
机会总是留给最有行动力的人
@@ -48,31 +48,30 @@
{{item.helpTaskName}}
-
+
- 领取礼包
+ 领取礼包
+
+
+ {{item.zlHelpNum}}/{{item.helpNum}}
+
+
+ 查看礼包
-
- {{item.zlHelpNum}}/{{item.helpNum}}
-
-
- 查看礼包
-
-
-
+
+
-
-
-
- 点击加载更多
-
-
-
+
+
+
+ 点击加载更多
+
+
+
-
+
@@ -93,11 +92,14 @@
-
-
+
+
+
+
+ 暂无活动说明
+
-
diff --git a/pages/user/assistance/assistance_success.json b/pages/user/assistance/assistance_success.json
index d494c4d..f338325 100644
--- a/pages/user/assistance/assistance_success.json
+++ b/pages/user/assistance/assistance_success.json
@@ -1,6 +1,5 @@
{
"navigationBarTitleText": "好友助力,得好礼",
- "navigationStyle": "custom",
"usingComponents": {
"warn": "/components/long_warn/long_warn",
"my_confirm": "/components/my_confirm/my_confirm",
diff --git a/pages/user/assistance/friend_assistance.json b/pages/user/assistance/friend_assistance.json
index 63f5fe9..b1940cd 100644
--- a/pages/user/assistance/friend_assistance.json
+++ b/pages/user/assistance/friend_assistance.json
@@ -1,6 +1,5 @@
{
"navigationBarTitleText": "好友助力,得好礼",
- "navigationStyle": "custom",
"usingComponents": {
"warn": "/components/long_warn/long_warn",
"my_confirm": "/components/my_confirm/my_confirm",
diff --git a/pages/user/assistance/friend_assistance.wxml b/pages/user/assistance/friend_assistance.wxml
index e96ff62..f9b47ad 100644
--- a/pages/user/assistance/friend_assistance.wxml
+++ b/pages/user/assistance/friend_assistance.wxml
@@ -1,7 +1,7 @@
-
+
{{user.nickname}}
@@ -9,7 +9,7 @@
-
+
diff --git a/pages/user/assistance/giftpacklist.js b/pages/user/assistance/giftpacklist.js
index a4c09b9..f34d5e2 100644
--- a/pages/user/assistance/giftpacklist.js
+++ b/pages/user/assistance/giftpacklist.js
@@ -10,7 +10,6 @@ Page({
url: a.url, //接口网址
iurl: a.imghost, //图片前缀网址
isBuy: 0,
- getGiftID: '', //礼包id
giftImage: '',
giftTitle: '',
giftDate: '',
@@ -29,39 +28,47 @@ Page({
c_state: "0", //判断是否已经使用, 0正常 1已使用 2已过期
is_lb: 0, //是否有礼包
receiveState: 0, //0未领取 1已领取
- completeid: "",
is_sub: 0, //判断是否重复提交
is_libao: 0, //0轮播查看活动 1领取礼包 2.查看礼包详情
held_id: "", //活动id
taskId: "", //任务id
orderSn: "", //订单号
+ is_type:"",//类型 0.轮播过来的 1.领取礼包过来的 2.查看礼包过来的
+ is_head:0,//数据是否加载完成
+ giftBagId:"",//礼包id
},
onLoad: function(options) {
var th = this;
if (options.is_libao == 0) {
th.setData({
- held_id: options.help_id, //options.help_id
- taskId: options.taskId, //options.libao_id
+ held_id: options.help_id,
+ taskId: options.taskId,
+ is_type:0
})
th.help();
}
if (options.is_libao == 1) {
th.setData({
- taskId: options.libao_id,
- held_id: options.held_id
+ giftBagId: options.libao_id,
+ is_type: 1
})
th.GetBuyGiftList();
}
if (options.order_sn) {
th.setData({
- orderSn: options.orderSn
+ orderSn: options.orderSn,
+ is_type: 2
})
th.GetMyGiftList();
}
- th.close();
},
onShow: function() {
-
+ var th = this;
+ var is_read = th.data.is_read;
+ if (is_read){
+ var nav_b = th.selectComponent("#nav_b"); //组件的id
+ nav_b.set_name("助力", "/pages/user/assistance/assistance");
+ }
},
//助力活动查看礼包详情调用
help: function(e) {
@@ -78,7 +85,8 @@ Page({
if (res.data.code == 0) {
th.setData({
giftImage: th.data.iurl + res.data.data.lbUrl,
- giftTitle: res.data.data.giftTitle
+ giftTitle: res.data.data.giftTitle,
+ is_head:1
})
if (res.data.data.giftRemark == '') {
th.setData({
@@ -90,22 +98,7 @@ Page({
})
}
- // //---获取日期的时间戳---
- // var t_endtime = res.data.data.endTime;
- // t_endtime = t_endtime.replace(/-/g, '/');
- // var t_date = new Date(t_endtime) / 1000;
- // var t_now = ut.gettimestamp();
-
- // if (res.data.data.goodsUseState) th.setData({
- // c_state: 1
- // })
- // else if (t_date <= t_now)
- // th.setData({
- // c_state: 2
- // })
-
th.setData({
- giftDate: res.data.data.endTime,
giftPosPrice: res.data.data.giftPosPrice,
giftQty: res.data.data.giftQty,
giftIntegral: res.data.data.payIntegral,
@@ -145,7 +138,8 @@ Page({
if (res.data.code == 0) {
th.setData({
giftImage: th.data.iurl + res.data.data.lbUrl,
- giftTitle: res.data.data.giftTitle
+ giftTitle: res.data.data.giftTitle,
+ is_head:1
})
if (res.data.data.giftRemark == '') {
th.setData({
@@ -210,9 +204,9 @@ Page({
is_sub: 1
})
var json = {
- "actId": th.data.completeid, //活动Id
+ "actId": th.data.held_id, //活动Id
"actType": 5, //活动类型 1:新人礼、2:评价有礼、3:节日营销、4:生日营销
- "giftBagId": th.data.giftID, //礼包Id
+ "giftBagId": th.data.giftBagId, //礼包Id
"storeId": a.stoid, //商家Id
"userId": d.user_id //用户ID
};
@@ -248,13 +242,14 @@ Page({
data: {
"storeId": a.stoid, //商家ID
"userId": d.user_id, //用户ID
- "giftBagId": th.taskId
+ "giftBagId": th.giftBagId
},
success: function(res) {
if (res.data.code == 0) {
_this2.setData({
giftImage: th.iurl + res.data.data.lbUrl,
- giftTitle: res.data.data.giftTitle
+ giftTitle: res.data.data.giftTitle,
+ is_head:1
})
if (res.data.data.giftRemark == '') {
@@ -267,7 +262,6 @@ Page({
})
}
_this2.setData({
- giftDate: res.data.data.endTime,
giftPosPrice: res.data.data.giftPosPrice,
giftQty: res.data.data.giftQty,
giftIntegral: res.data.data.payIntegral,
@@ -345,6 +339,5 @@ Page({
var th = this;
var nav_b = th.selectComponent("#nav_b"); //组件的id
nav_b.close_box();
- nav_b.set_name("礼包", "/pages/giftpack/buygiftpack/giftpackbuy");
}
});
\ No newline at end of file
diff --git a/pages/user/assistance/giftpacklist.json b/pages/user/assistance/giftpacklist.json
index d1b12a8..5eaa23f 100644
--- a/pages/user/assistance/giftpacklist.json
+++ b/pages/user/assistance/giftpacklist.json
@@ -1,5 +1,5 @@
{
- "navigationBarTitleText": "助力详情",
+ "navigationBarTitleText": "礼包详情",
"usingComponents": {
"warn": "/components/long_warn/long_warn",
"my_confirm": "/components/my_confirm/my_confirm",
diff --git a/pages/user/assistance/giftpacklist.wxml b/pages/user/assistance/giftpacklist.wxml
index 8cf8d4e..c98a819 100644
--- a/pages/user/assistance/giftpacklist.wxml
+++ b/pages/user/assistance/giftpacklist.wxml
@@ -1,4 +1,4 @@
-
+
@@ -6,7 +6,7 @@
{{giftTitle}}
-
+
{{"兑换截至时间:"+giftDate}}
@@ -65,27 +65,30 @@
{{"数量:"+item.num}}
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
-
-
-
-
-
-
-
- 奖励已发放
-
-
+
+
+
+
+
+
+
+ 奖励已发放
+
+
+
@@ -99,21 +102,14 @@
-
-
+
+
+
+
@@ -140,4 +141,4 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/pages/user/assistance/giftpacklist.wxss b/pages/user/assistance/giftpacklist.wxss
index 5c97c3b..7026432 100644
--- a/pages/user/assistance/giftpacklist.wxss
+++ b/pages/user/assistance/giftpacklist.wxss
@@ -1,4 +1,4 @@
- @charset "UTF-8";
+@charset "UTF-8";
/* Author XGQ
* 2019-12-12
@@ -96,6 +96,7 @@
border: 2rpx solid #999;
width: 120rpx;
height: 120rpx;
+ /* background-color: rgba(153, 153, 153, 0.664); */
}
.box_ware_item.data-v-3a5b7e36 {
@@ -239,6 +240,7 @@ page.data-v-3a5b7e36 {
.foot_box_remark.data-v-3a5b7e36 .img {
line-height: 0;
}
-.overdue.data-v-3a5b7e36{
- background-color: rgb(153,153,153);
-}
\ No newline at end of file
+
+.overdue.data-v-3a5b7e36 {
+ background-color: rgb(153, 153, 153);
+}
diff --git a/pages/user/assistance/task_assistance.js b/pages/user/assistance/task_assistance.js
index 7d50b95..3c3a274 100644
--- a/pages/user/assistance/task_assistance.js
+++ b/pages/user/assistance/task_assistance.js
@@ -59,8 +59,10 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
- var help_id = options.help_id;
var th = this;
+ var help_id = options.help_id;
+ var nav_b = th.selectComponent("#nav_b"); //组件的id
+ nav_b.set_name("助力", "/pages/user/assistance/assistance");
th.setData({
help_id: help_id
});
@@ -179,7 +181,6 @@ Page({
});
var task_number = data_aissa[0].giftQty - data_aissa[0].useGiftQty;
var taskid = data_aissa[0].id;
- console.log("参考", data_aissa);
th.setData({
aitem: data_aissa,
task_number: task_number,
@@ -248,7 +249,7 @@ Page({
is_bc_show:1
})
}else{
- getApp().showWarning("暂无更多内容", 0);
+ getApp().showWarning("暂无更多内容", 0,th);
}
th.setData({
@@ -265,15 +266,13 @@ Page({
},
// 领取礼包
get_libao: function(e) {
- var libao_id = e.currentTarget.dataset.libaoid;
- var completeid = e.currentTarget.dataset.completeid;
- console.log("礼包id", libao_id);
- getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1 + "&completeid=" + completeid);
+ var libao_id = e.currentTarget.dataset.libaoid;//礼包id
+ getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 1);
},
//查看礼包id
- select_libao: function() {
- var libao_id = e.currentTarget.dataset.libaoid;
- getApp().goto("/pages/user/assistance/giftpacklist?libao_id=" + libao_id + "&is_libao=" + 0);
+ select_libao: function(e) {
+ var orderSn = e.currentTarget.dataset.orderSn;
+ getApp().goto("/pages/user/assistance/giftpacklist?orderSn=" + orderSn);
},
//划动的时候监听
@@ -283,8 +282,6 @@ Page({
var aitem = this.data.aitem;
var task_number = aitem[ind].giftQty - aitem[ind].useGiftQty;
var task_id = aitem[ind].id;
- console.log("划动的任务总数", task_number, "任务所有的参数", aitem,
- "任务id", task_id);
th.setData({
sw_index: ind,
task_number: task_number,
@@ -304,7 +301,6 @@ Page({
var th = this;
var nav_b = th.selectComponent("#nav_b"); //组件的id
nav_b.close_box();
- nav_b.set_name("助力", "/pages/user/assistance/assistance");
},
// 获取会员的参与的任务列表 我的任务
user_task_list: function(e) {
@@ -340,6 +336,7 @@ Page({
rw_page: rw_page,
is_show: 1
})
+ getApp().my_warnning();
getApp().showWarning("暂无更多内容", 0);
}else{
var rw_page = th.data.rw_page + 1;
@@ -389,7 +386,6 @@ Page({
storeId: os.stoid,
},
success: function(su) {
- console.log(su.data.code, "获取助力活动参与的人数", su.data)
if (su.data.code == 0) {
var usercount = su.data.data.countAll;
@@ -413,7 +409,6 @@ Page({
swiperError: swiperError
})
if (swiperError >= 3) { //在开关被触发3次以上
- console.error(this.data.swiperError)
this.setData({
sw_index: this.data.preIndex
}); //,重置current为正确索引
@@ -504,7 +499,6 @@ Page({
// var o = endTimeList[i];
var endTime = th.data.endDate;
- console.log("结束时间5555555", endTime);
// if (o.status == 0) endTime = o.start_time
var obj = null;
@@ -590,90 +584,75 @@ Page({
wx.getImageInfo({
src: iurl + images[0],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[0] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[1],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[1] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[2],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[2] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
+
}
});
wx.getImageInfo({
src: iurl + images[3],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[3] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[4],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[4] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[5],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[5] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[6],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[6] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
});
wx.getImageInfo({
src: iurl + images[7],
success: function(res) {
- console.log(res + i);
//res.path是网络图片的本地地址
images[7] = res.path;
},
fail: function(res) {
- console.log(res.toString() + "" + i);
}
})
th.setData({
@@ -734,7 +713,6 @@ Page({
ctx.drawImage(images[2], 65 * unit, 445 * unit, 320 * unit, 12 * unit);
ctx.drawImage(images[3], 65 * unit, 445 * unit, 320 * unit * c, 12 * unit);
// var dynamic = th.data.dynamic; //助力的微信头像
- // console.log(dynamic[0].headPic + "动态图片显示");
for (var i = 0; i < 6; i++) {
if (i < 0) {
// ctx.beginPath();
@@ -960,7 +938,6 @@ Page({
var th = this;
var images = th.data.dynamic;
if (images[0] != null && images[0] != "" && images[0] != undefined) {
- console.log(images[0].headPic + "就将计就计");
wx.getImageInfo({
src: images[0].headPic,
success: function(res) {
diff --git a/pages/user/assistance/task_assistance.json b/pages/user/assistance/task_assistance.json
index 63f5fe9..b1940cd 100644
--- a/pages/user/assistance/task_assistance.json
+++ b/pages/user/assistance/task_assistance.json
@@ -1,6 +1,5 @@
{
"navigationBarTitleText": "好友助力,得好礼",
- "navigationStyle": "custom",
"usingComponents": {
"warn": "/components/long_warn/long_warn",
"my_confirm": "/components/my_confirm/my_confirm",
diff --git a/pages/user/assistance/task_assistance.wxml b/pages/user/assistance/task_assistance.wxml
index 22495c6..d4f70be 100644
--- a/pages/user/assistance/task_assistance.wxml
+++ b/pages/user/assistance/task_assistance.wxml
@@ -1,13 +1,19 @@
-
-
+
+
-
- {{aitem[sw_index].helpTaskName}}
+
+
+ {{aitem[sw_index].helpTaskName}}
+
- 活动剩余时间: {{aitem[0].djs.day}}:{{aitem[0].djs.hou}}:{{aitem[0].djs.min}}:{{aitem[0].djs.sec}}
-
+ 活动剩余时间:
+ {{aitem[0].djs.day}}:
+ {{aitem[0].djs.hou}}:
+ {{aitem[0].djs.min}}:
+ {{aitem[0].djs.sec}}
+
@@ -16,10 +22,10 @@
-
+
- 礼包详情
-
+ 礼包详情
+
@@ -28,25 +34,25 @@
-
-
-
-
+
+
+
+
+
+ {{is_user_task.zlHelpNum}}/{{is_user_task.helpNum}}
- {{is_user_task.zlHelpNum}}/{{is_user_task.helpNum}}
-
今天剩余可领{{task_number}}个任务
-
+
就选它了
-
- 好友拆一拆
+
+ 好友拆一拆
-
@@ -67,66 +73,65 @@
-
+
-
-
+
+
{{item.helpTaskName}}
- {{item.zlHelpNum}}/{{item.helpNum}}
- 查看礼包
- 领取礼包
+ {{item.zlHelpNum}}/{{item.helpNum}}
+ 查看礼包
+ 领取礼包
-
- 暂无任务记录
-
-
+
+ 暂无任务记录
+
+
-
+
-
+
-
+
-
-
-
-
- {{item.nickName}}
-
- {{filter.format_time(item.zltime)}}
+
+
+
+
+ {{item.nickName}}
+
+ {{filter.format_time(item.zltime)}}
+
-
-
-
- 点击加载更多
-
-
-
-
-
-
- 暂无任务记录
+
+
+ 点击加载更多
+
+
+
+
+
+
+ 暂无任务记录
+
+
-
-
-
+
@@ -145,14 +150,14 @@
-
+
-
+
diff --git a/pages/user/assistance/task_assistance.wxss b/pages/user/assistance/task_assistance.wxss
index 30aeed1..d921f10 100644
--- a/pages/user/assistance/task_assistance.wxss
+++ b/pages/user/assistance/task_assistance.wxss
@@ -1,52 +1,56 @@
-page{
+page {
background: #d01119;
width: 100%;
- height: 100%
-
+ height: 100%;
}
-.top-back{
+
+.top-back {
width: 100%;
height: 60%;
- background-repead:no-repead;
- background-size:100% 100%;
-
+ background-repead: no-repead;
+ background-size: 100% 100%;
}
-.top-frame{
+
+.top-frame {
width: 100%;
height: auto;
- padding-top: 50rpx
+ padding-top: 50rpx;
}
-.top-title{
- letter-spacing:10rpx
+
+.top-title {
+ letter-spacing: 10rpx;
+ width: 300rpx;
}
-.activity-data{
+
+.activity-data {
padding-top: 10rpx;
letter-spacing: 10rpx;
-
}
-.xc-specific-more-frame{
+
+.xc-specific-more-frame {
width: 100%;
height: 40%;
-
margin-top: 20rpx;
}
-.task-number{
- margin-top: 50rpx
+
+.task-number {
+ margin-top: 50rpx;
}
-.task_clike{
+
+.task_clike {
margin: auto;
width: 60%;
height: 65rpx;
border-radius: 50rpx;
margin-top: 20rpx;
background: #fbda0e;
- color:#d01119;
+ color: #d01119;
line-height: 65rpx;
letter-spacing: 5rpx;
- box-shadow: 0rpx 7rpx 0rpx 0rpx rgb(245, 119, 6);
+ box-shadow: 0rpx 7rpx 0rpx 0rpx rgb(245, 119, 6);
}
-/* 底部列表样式 */
+/* 底部列表样式 */
.head {
border-bottom: 4rpx solid rgb(253, 193, 7);
@@ -73,7 +77,7 @@ page{
}
.unfinished {
- width:35rpx;
+ width: 35rpx;
height: 35rpx;
margin-right: 10rpx;
}
@@ -110,27 +114,31 @@ page{
.receive {
padding-bottom: 50rpx;
}
-.xc-center-img{
+
+.xc-center-img {
width: 100%;
- height: 100%
+ height: 100%;
}
-.xc-left{
+.xc-left {
width: 40rpx;
height: 40rpx;
}
-.bcolor {
-border-color: #fff;
+.bcolor {
+ border-color: #fff;
}
-.xc-right{
+
+.xc-right {
width: 40rpx;
height: 40rpx;
}
-.user_img{
+
+.user_img {
width: 50rpx;
- height: 50rpx;
+ height: 50rpx;
}
+
.dust {
position: fixed;
width: 100%;
@@ -140,40 +148,43 @@ border-color: #fff;
}
.closes {
- margin-top: 20rpx;
+ margin-top: 20rpx;
}
.canvas {
position: fixed;
z-index: 11;
width: 100%;
- top:20rpx;
+ top: 20rpx;
}
.close {
width: 70rpx;
height: 70rpx;
}
-.plan-frame{
- width: 86%;
- margin: auto;
+
+.plan-frame {
+ width: 86%;
+ margin: auto;
margin-top: 50rpx;
-
}
-.plan-frame .plan_num{
- width: 90%;
- background: #ffe7ab;
- border-radius: 20rpx;
- height: 22rpx;
+
+.plan-frame .plan_num {
+ width: 90%;
+ background: #ffe7ab;
+ border-radius: 20rpx;
+ height: 22rpx;
margin-right: 10rpx;
}
-.is_plam{
- border-radius: 20rpx;
+
+.is_plam {
+ border-radius: 20rpx;
background: #fcc001;
- height: 100%;
- top: 0rpx;
- left: 0rpx;
+ height: 100%;
+ top: 0rpx;
+ left: 0rpx;
}
+
.dust {
position: fixed;
width: 100%;
@@ -183,26 +194,28 @@ border-color: #fff;
}
.closes {
- margin-top: 20rpx;
+ margin-top: 20rpx;
}
.canvas {
position: fixed;
z-index: 20;
width: 100%;
- top:20rpx;
+ top: 20rpx;
}
.close {
width: 70rpx;
height: 70rpx;
}
-.select_details{
+
+.select_details {
width: 100%;
height: 50rpx;
line-height: 50rpx;
text-align: center;
- background: #000;
- opacity:0.6; filter: alpha(opacity=60);
+ background: #000;
+ opacity: 0.6;
+ filter: alpha(opacity=60);
bottom: 0rpx;
-}
\ No newline at end of file
+}