From 023b071722880ec188205bbe64b2a2ef888c14d0 Mon Sep 17 00:00:00 2001 From: xpz2018 <107107461@qq.com> Date: Mon, 11 Oct 2021 21:06:01 +0800 Subject: [PATCH] no message --- app.json | 1 - pages/home/attention-paper/index.js | 71 ------------------------ pages/home/attention-paper/index.json | 7 --- pages/home/attention-paper/index.wxml | 38 ------------- pages/home/attention-paper/index.wxss | 77 --------------------------- utils/util.js | 1 - 6 files changed, 195 deletions(-) delete mode 100644 pages/home/attention-paper/index.js delete mode 100644 pages/home/attention-paper/index.json delete mode 100644 pages/home/attention-paper/index.wxml delete mode 100644 pages/home/attention-paper/index.wxss diff --git a/app.json b/app.json index ebc8eb6..835335c 100644 --- a/app.json +++ b/app.json @@ -14,7 +14,6 @@ "pages/home/tab4/index", "pages/home/tab5/index", "pages/home/tab6/index", - "pages/home/attention-paper/index", "pages/shop/create/index", "pages/shop/detail/index", "pages/shop/order/index", diff --git a/pages/home/attention-paper/index.js b/pages/home/attention-paper/index.js deleted file mode 100644 index 6992559..0000000 --- a/pages/home/attention-paper/index.js +++ /dev/null @@ -1,71 +0,0 @@ -// pages/home/tab4/index.js -import { getFactoryPrice, userPushFollowMill } from '../../../api/ztb' -const event = require('../../../utils/event.js') -const app = getApp() -Page({ - - /** - * 页面的初始数据 - */ - data: { - loopRequesting:false, - form: { - paperMillIds: [], - - }, - model: { - paperMillIds: [], - cityId: '', - enableSalesAgent: 1, - pageNum: 1, - listType: 0, - pageSize:1000 - }, - categoryListone: [], - safeBottom: app.globalData.safeBottom, - userInfo: null, - loading:true - - }, - - /** - * 生命周期函数--监听页面加载 - */ - onLoad: function (options) { - this.setData({ safeBottom: app.globalData.safeBottom, userInfo: app.globalData.userInfo }) - this.getFactoryPriceFct(this.data.model) - }, - toMyInfo: function () { - event.emit('EventMessage', { what: 1100, desc: 'attentionPaperList' }) - wx.navigateBack({}) - }, - backspace: function () { - // console.log('点击返回被触发4') - wx.redirectTo({ - url: '/pages/home/tab3/index' - }) - - }, - getFactoryPriceFct:function(model){ - getFactoryPrice(model).then(res=>{ - this.setData({ - categoryListone:res.data.records, - loading:false - }) - }) - }, - checkboxChange: function (e) { - this.setData({ 'form.paperMillIds':e.detail.value, 'form.follow':true }) - }, - bindtap: function (e) { - console.log(e) - }, - submitForm:function(){ - userPushFollowMill(this.data.form).then(result => { - this.data.loopRequesting = false - setTimeout(() => this.toMyInfo(), 1000) - }).catch(err => { - this.data.loopRequesting = false - }) - } -}) \ No newline at end of file diff --git a/pages/home/attention-paper/index.json b/pages/home/attention-paper/index.json deleted file mode 100644 index 51ec566..0000000 --- a/pages/home/attention-paper/index.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "usingComponents": { - "wux-cascader": "/components/cascader/index", - "wux-accordion-group": "/components/accordion-group/index", - "wux-accordion": "/components/accordion/index" - } -} \ No newline at end of file diff --git a/pages/home/attention-paper/index.wxml b/pages/home/attention-paper/index.wxml deleted file mode 100644 index 7f40738..0000000 --- a/pages/home/attention-paper/index.wxml +++ /dev/null @@ -1,38 +0,0 @@ - - - 关注纸厂 - - - - - - - - - HI,\n欢迎使用纸通宝\n开启一站式废纸交易 - - - - - - - 你经常卖的纸厂是? - - - - - - {{loading? '正在加载' : '暂无数据'}} - - - - - {{item.name}} - - - - - - - - \ No newline at end of file diff --git a/pages/home/attention-paper/index.wxss b/pages/home/attention-paper/index.wxss deleted file mode 100644 index 9277633..0000000 --- a/pages/home/attention-paper/index.wxss +++ /dev/null @@ -1,77 +0,0 @@ -/* pages/home/attentionPaperList/index.wxss */ -page{ - background-color: white; -} -.bj { - background-color: white; - min-height: 900rpx; -} - -.vip-btn { - /* height: 90rpx; */ - width: 180rpx; - background: #F5F5F5; - float: right; - color: rgba(0, 0, 0, 0.45); - font-size: 28rpx; -} - -.top { - height: 258rpx; - width: 100%; -} - -.topText { - width: 440rpx; - height: 258rpx; - float: left; - padding-left: 48rpx; - padding-top: 60rpx; - font-size: 44rpx; - color: #000000; - font-family: PingFangSC-Medium; -} - -.mid { - height: 150rpx; - padding-top: 100rpx; - padding-left: 48rpx; - font-family: PingFangSC-Medium; - font-size: 36rpx; - color: #000000; - letter-spacing: 2px; -} - -.bottom { - height: 410rpx; - padding: 48rpx; -} - -.bg-blue{ - color: #FFFFFF; - background-color: #008AFF; -} - -.page-btn { - height: 90rpx; - width: 100%; - background: linear-gradient(312deg, rgba(38, 125, 214, 1) 0%, rgba(0, 138, 255, 1) 100%); - box-shadow: 0px 10px 13px -8px rgba(35, 126, 217, 0.53); - color: white; - font-size: 32rpx; -} -.interestthreecheckbox .wx-checkbox-input { - border-radius: 50%; - width: 40rpx; - height: 40rpx; -} -.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked{ - background: white; - border: 1px solid #007AFF; -} -.interestthreecheckbox .wx-checkbox-input.wx-checkbox-input-checked::before{ - width: 40rpx;/* 选中后对勾大小 */ - height: 40rpx;/* 选中后对勾大小 */ - font-size:40rpx; /* 对勾大小30rpx */ - color:#007AFF; /* 对勾颜色 白色 */ -} \ No newline at end of file diff --git a/utils/util.js b/utils/util.js index 9346a9e..54ed45e 100644 --- a/utils/util.js +++ b/utils/util.js @@ -179,7 +179,6 @@ const tokenList = [ '/pages/home/idcard/index', '/pages/shop/detail/index', '/pages/article/publish/index', - '/pages/home/attention-paper/index', '/pages/article/feedback/index', 'pages/agent/edit/index', '/pages/agent/ability/index',