@@ -1,6 +1,6 @@
<view class="checkbox_title">{{title}}</view>
<checkbox-group change class="checkbox_list" bindchange="checkedChange">
- <view wx:for="{{dataList}}" data-index="{{index}}" wx:key="{{item.index}}" bindtap="pitchOn">
+ <view wx:for="{{dataList}}" style="height: 64rpx;" data-index="{{index}}" wx:key="{{item.index}}" bindtap="pitchOn">
<label class="checkbox_item {{item.checked?'choice':''}}" for="{{item.index}}">{{item.value}}</label>
<checkbox hidden="{{true}}" id="{{item.index}}" checked="{{item.checked}}" value="{{item.value}}"></checkbox>
</view>
@@ -29,7 +29,7 @@
font-size: 28rpx;
color: rgba(0, 0, 0, .5);
padding: 0 8rpx;
- margin-bottom: 30rpx;
+ overflow: hidden;
}
/* 选中后背景颜色 */
@@ -40,7 +40,6 @@
/* 按钮 */
.checkbox_but {
- position: relative;
width: 100vw;
margin: 30rpx 0 80rpx 0;
box-sizing: border-box;
@@ -56,7 +55,7 @@
overflow: hidden;
-.customClass{
+.customClass {
width: 100% !important;
height: 100% !important;
@@ -11,7 +11,7 @@ Component({
attached() {},
ready: function () {
// 在组件实例进入页面节点树时执行
- if (this.data.active == 3) this.unReadMessageCount();
+ this.unReadMessageCount();
},
/**
@@ -98,7 +98,6 @@ Component({
"method": "unReadMessageCount",
"content": {}
}).then(res => {
- console.log("更新", res)
if (res.msg != '成功') console.log('未读消息数量查询失败')
this.setData({
"tabbarList[3].fcount": res.data[0].fcount
@@ -15,7 +15,7 @@
<My_GreyRectangleForm title="下架日期">
<!-- 时间选择器 -->
<picker mode="date" start="{{dateStart}}" end="{{dateEnd}}" bindchange="dateChange">
- <view class="picker {{optionDate!='选择日期'?'selected':''}}" >
+ <view class="picker {{optionDate!='选择日期'?'selected':''}}">
{{optionDate}}
</picker>
@@ -9,7 +9,8 @@ Page({
* 生命周期函数--监听页面加载
*/
- onLoad: function (options) {},
+ onLoad: function (options) {
+ },
* 生命周期函数--监听页面初次渲染完成
@@ -11,7 +11,6 @@ Page({
onLoad: function (options) {
-
@@ -27,6 +27,7 @@ Page({
+
/* 获取所有信息分类 */
_Http.basic({
"accesstoken": wx.getStorageSync('userData').token,
@@ -34,7 +34,6 @@ Page({
/* 宫格展示区跳转 */
gridJumpPage(e) {