diff --git a/app.json b/app.json
index 27658e3..1d2d40b 100644
--- a/app.json
+++ b/app.json
@@ -17,6 +17,7 @@
"pages/home/tab2/index",
"pages/home/tab3/index",
"pages/home/tab4/index",
+ "pages/home/tab5/index",
"pages/home/attentionPaperList/index",
"pages/home/businessLicense/index",
"pages/shop/create/index",
diff --git a/pages/home/info/index.js b/pages/home/info/index.js
index 888c6c2..5a34253 100644
--- a/pages/home/info/index.js
+++ b/pages/home/info/index.js
@@ -395,6 +395,11 @@ Page({
url: '/pages/home/tab4/index'
})
},
+ toTab5: function () {
+ wx.navigateTo({
+ url: '/pages/home/tab5/index'
+ })
+ },
toTab3: function () {
wx.navigateTo({
url: '/pages/home/tab3/index'
diff --git a/pages/home/info/index.wxml b/pages/home/info/index.wxml
index dd0b613..a97b910 100644
--- a/pages/home/info/index.wxml
+++ b/pages/home/info/index.wxml
@@ -75,7 +75,7 @@
希望采购品类
{{userInfo.numberOfPurchaseCategoriesTag || '点击修改希望采购品类'}}
-
+
希望出货品类
{{userInfo.numberOfProxyCategoriesTag || '点击修改希望出货品类'}}
diff --git a/pages/home/tab5/index.js b/pages/home/tab5/index.js
new file mode 100644
index 0000000..dd41f70
--- /dev/null
+++ b/pages/home/tab5/index.js
@@ -0,0 +1,143 @@
+// pages/home/tab5/index.js
+import {
+ getLategoriesList,
+ updateUserInfo
+} from '../../api/ztb'
+const storage = require('../../../utils/storage')
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ loopRequesting:false,
+ form: {
+ proxyCategoriesTag: []
+ },
+ categoryListone: [{
+ name: '黑卡',
+ id: '1',
+ array: [{
+ name: '黄纸边',
+ sid: '1'
+ }, {
+ name: '坑卡A',
+ sid: '2'
+ }]
+ }, {
+ name: '白费',
+ id: '2',
+ array: [{
+ name: '坑卡B',
+ sid: '3'
+ }, {
+ name: '黄皮纸',
+ sid: '4'
+ }]
+ }, {
+ name: '特种纸',
+ id: '3',
+ array: [{
+ name: '坑卡B',
+ sid: '3'
+ }, {
+ name: '黄皮纸',
+ sid: '4'
+ }]
+ }]
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+ this.getLategoriesListFct()
+
+ },
+ toMyInfo: function () {
+ wx.redirectTo({
+ url: '/pages/index/index'
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ },
+ backspace: function () {
+ // console.log('点击返回被触发4')
+ wx.redirectTo({
+ url: '/pages/home/tab3/index'
+ })
+
+ },
+ getLategoriesListFct: function () {
+ getLategoriesList({categoryType:1}).then(res => {
+ this.setData({
+ categoryListone:res.data
+ })
+ })
+ },
+ checkboxChange: function (e) {
+ console.log(e)
+ this.setData({
+ 'form.proxyCategoriesTag':e.detail.value
+ })
+ },
+ bindtap: function (e) {
+ console.log(e)
+ },
+ submitForm:function(){
+ updateUserInfo(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/tab5/index.json b/pages/home/tab5/index.json
new file mode 100644
index 0000000..51ec566
--- /dev/null
+++ b/pages/home/tab5/index.json
@@ -0,0 +1,7 @@
+{
+ "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/tab5/index.wxml b/pages/home/tab5/index.wxml
new file mode 100644
index 0000000..0c50ccf
--- /dev/null
+++ b/pages/home/tab5/index.wxml
@@ -0,0 +1,35 @@
+
+
+ 采购品类
+
+
+
+
+
+
+
+
+ HI,\n欢迎使用纸通宝\n开启一站式废纸交易
+
+
+
+
+
+
+ 你希望卖品类是?
+
+
+
+
+
+
+ {{cell.categoryName}}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/home/tab5/index.wxss b/pages/home/tab5/index.wxss
new file mode 100644
index 0000000..9e08e56
--- /dev/null
+++ b/pages/home/tab5/index.wxss
@@ -0,0 +1,64 @@
+/* pages/home/tab1/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;
+}
+
+.offer-btn {
+ width: 90%;
+ height: 90rpx;
+ 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);
+ border-radius: 23px;
+ color: white;
+ font-size: 32rpx;
+ margin-left: 32rpx;
+}
\ No newline at end of file