diff --git a/app.json b/app.json
index eadb212..2ea06e3 100644
--- a/app.json
+++ b/app.json
@@ -36,19 +36,18 @@
"pages/article/price-detail/index",
"pages/article/queue-detail/index",
"pages/article/factory/index",
- "pages/article/allNewInfo/index",
"pages/article/feedback/index",
"pages/article/list/index",
"pages/article/index/index",
- "pages/article/attentionPaperFactory/index",
+ "pages/article/attention-factory/index",
"pages/article/sucessFul/index",
+ "pages/mall/index/index",
"pages/mall/price-index/index",
"pages/mall/detail/index",
"pages/mall/search-list/index",
"pages/morder/index/index",
"pages/morder/create/index",
"pages/morder/detail/index",
- "pages/agent/index/index",
"pages/agent/ability/index",
"pages/agent/factory/index",
"pages/agent/edit/index",
diff --git a/pages/article/allNewInfo/index.js b/pages/article/allNewInfo/index.js
deleted file mode 100644
index 95ec966..0000000
--- a/pages/article/allNewInfo/index.js
+++ /dev/null
@@ -1,118 +0,0 @@
-const util = require('../../../utils/util')
-const math = require('../../../utils/math') //导入模块
-const app = getApp()
-import { getPaperMillOfInformationList } from "../../../api/ztb"
-
-Page({
-
- /**
- * 页面的初始数据
- */
- data: {
- height: app.globalData.fragmentHeight - 80,
- safeBottom: app.globalData.safeBottom,
- orderList: [],
- tableSgin: null,
- loading: false,
- pximg: '/assets/info/px-mr.png',
- querFrom: {
- queryWay: 1,
- priceSort: 0
- },
- factoryList: []
- },
-
- /**
- * 生命周期函数--监听页面加载
- */
- onLoad: function (options) {
- this.setData({
- StatusBar: app.globalData.StatusBar || 40,
- CustomBar: app.globalData.CustomBar || (app.globalData.isIos ? 64 : 80),
- height: app.globalData.fragmentHeight - 80
- })
- this.getPaperMillOfInformationListFct({
- queryWay: 1
- })
- },
- toPage: function (e) {
- if (e.currentTarget.id == 'toqb') {
- util.navigateTo('/pages/article/index/index')
- }
- if (e.currentTarget.id == 'toAttentionPaperFctory') {
- util.navigateTo('/pages/article/attentionPaperFactory/index')
- }
- if (e.currentTarget.id == 'toFactoryDetails') {
- util.navigateTo('/pages/agent/factory/index?id=' + e.currentTarget.dataset.factoryid)
- }
- if (e.currentTarget.id == 'toDmai') {
- if (!app.globalData.userInfo) {
- wx.navigateTo({ url: '/pages/login/index' })
- return
- }
- if(!e.currentTarget.dataset.operations){
- util.showToast(e.currentTarget.dataset.msg)
- return
- }
- util.navigateTo('/pages/agent/edit/index?id=' + e.currentTarget.dataset.fcid + '&categoryId=' + e.currentTarget.dataset.paperid)
- }
- },
- changeTable: function (e) {
- var a = e.currentTarget.id
- if (e.currentTarget.id === this.data.tableSgin) {
- this.setData({
- tableSgin: null
- })
- } else {
- this.setData({
- tableSgin: e.currentTarget.id
- })
- }
- },
- getPaperMillOfInformationListFct(model) {
- this.setData({
- loading: true
- })
- wx.showLoading({
- title: '加载中'
- })
- getPaperMillOfInformationList(model).then(res => {
- this.setData({
- orderList: res.data,
- loading: false
- })
- wx.hideLoading()
- }).catch((e) => {
- wx.hideLoading()
- })
- },
- changeSort: function () {
- if (this.data.pximg == '/assets/info/px-mr.png') {
- this.setData({
- pximg: '/assets/info/px-sx.png'
- })
- this.data.querFrom.priceSort = 1
- this.getPaperMillOfInformationListFct(this.data.querFrom)
- return
- }
- if (this.data.pximg == '/assets/info/px-sx.png') {
- this.setData({
- pximg: '/assets/info/px-jx.png'
- })
- this.data.querFrom.priceSort = 0
- this.getPaperMillOfInformationListFct(this.data.querFrom)
- return
- }
- if (this.data.pximg == '/assets/info/px-jx.png') {
- this.setData({
- pximg: '/assets/info/px-mr.png'
- })
- this.data.querFrom.priceSort = 0
- this.getPaperMillOfInformationListFct(this.data.querFrom)
- return
- }
- },
- mathTimesRtrun: function (text) {
- return math.times(text, 1000)
- }
-})
\ No newline at end of file
diff --git a/pages/article/allNewInfo/index.json b/pages/article/allNewInfo/index.json
deleted file mode 100644
index 8cef1c0..0000000
--- a/pages/article/allNewInfo/index.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "component": true,
- "usingComponents": {
- "wux-tabi": "/components/tabi/index",
- "wux-accordion-group": "/components/accordion-group/index",
- "wux-accordion": "/components/accordion/index"
- }
-}
\ No newline at end of file
diff --git a/pages/article/allNewInfo/index.wxml b/pages/article/allNewInfo/index.wxml
deleted file mode 100644
index 94124e3..0000000
--- a/pages/article/allNewInfo/index.wxml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
-
- 全部纸厂
-
-
- 纸厂名称
-
- 价格涨跌
-
-
- 纸厂排队
- 最近扣点
-
-
-
-
-
-
- {{loading? '正在加载' : '暂无关注'}}
- 可前往纸厂列表添加关注
- 添加关注
-
-
-
-
-
-
- {{m2.newString(item.shortName)}}
- 已关注
- 未关注
-
-
- {{ formate.formateDrice(item.unitPrice)}}{{item.biggestFloatPrice>0?'↑':(item.biggestFloatPrice<0?'↓':'')}}
- {{ item.biggestFloatPrice > 0 ? '+' : '' }}{{ formate.formateDrice(item.biggestFloatPrice)}}
-
- {{item.yesterdayTotalQuantity || 0}}辆
-
-
-
- {{formate.formateDescripe(item.minimumDeductionPoint)}}
-
- {{formate.substring(item.priceDate, 0, 10)}}
-
-
-
-
-
-
-
-
-
-
-
- 品类
- 价格
- 涨跌
- 最近扣点
- 操作
-
-
- {{cell.categoryName|| '---'}}
-
- {{formate.formatePrice(cell.unitPrice)}}{{cell.floatPrice>0?'↑':(cell.floatPrice<0?'↓':'')}}
- {{formate.formatePrice(cell.floatPrice)}}
- {{cell.curDeductionPoint|| 0}}
-
- 代卖
-
-
-
-
-
-
-
-
- var newString = function (string) {
- if (string.length > 4) {
- var newString = string.substring(0, 4)
-
- return newString + '...';
- }else{
- return string
- }
-
- }
- module.exports.newString = newString;
-
\ No newline at end of file
diff --git a/pages/article/allNewInfo/index.wxss b/pages/article/allNewInfo/index.wxss
deleted file mode 100644
index cef7405..0000000
--- a/pages/article/allNewInfo/index.wxss
+++ /dev/null
@@ -1,171 +0,0 @@
-/* pages/main/index.wxss */
-page {
- background-color: white;
-}
-
-.onDataImg {
- width: 320rpx;
- height: 249rpx;
-}
-
-.img-nodata {
- width: 100%;
- height: 548rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 30rpx;
-}
-
-.top-nodata-text1 {
- font-family: PingFangSC-Medium;
- font-size: 30rpx;
- color: rgba(0, 0, 0, 0.75);
- letter-spacing: 0;
- text-align: left;
- margin-top: 16rpx;
-}
-
-.top-nodata-text2 {
- width: 480rpx;
- height: 88rpx;
- background: #007AFF;
- border-radius: 10rpx;
- border-radius: 10rpx;
- font-family: PingFangSC-Medium;
- font-size: 36rpx;
- color: #FFFFFF;
- letter-spacing: 0;
- text-align: left;
- line-height: 88rpx;
- text-align: center;
- margin-top: 41rpx;
-}
-
-.bottomView {
- width: 750rpx;
- height: 228rpx;
-
- padding: 24rpx 32rpx 24rpx 32rpx
-}
-
-.bottomViewleft {
- width: 423rpx;
- height: 180rpx;
-
- float: left;
-}
-
-.bottomViewRight {
- width: 240rpx;
- height: 180rpx;
- background-color: green;
- float: right;
-}
-
-.tableStyle {
- width: 100%;
- line-height: 100rpx;
- font-size: 34rpx;
- color: rgba(0, 0, 0, 0.85);
- letter-spacing: 0;
-}
-
-.son-table-btn {
- width: 120rpx;
- height: 56rpx;
- line-height: 56rpx;
- font-size: 26rpx;
- color: #007AFF;
- letter-spacing: 0;
- text-align: left;
- background: #FFFFFF;
- border: 1rpx solid #007AFF;
- border-radius: 28rpx;
- border-radius: 28rpx;
- text-align: center;
-}
-
-.bottomViewleft-top {
- width: 100%;
- height: 90rpx;
-
-}
-
-.bottomViewleft-bottem {
- width: 100%;
- height: 33rpx;
-
- margin-top: 57rpx;
-}
-
-.bottomViewRightImg {
- width: 240rpx;
- height: 180rpx;
-}
-
-.gzBtn {
- width: 255rpx;
- height: 96rpx;
- background: #F4F4F4;
- border: 1rpx solid #F4F4F4;
- box-shadow: 0 5rpx 10rpx 0 rgba(0, 0, 0, 0.10);
- border-radius: 48rpx;
- border-radius: 48rpx;
- position: absolute;
- right: 32rpx;
- bottom: 233rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
-}
-
-.gzBtnIcon {
- height: 96rpx;
- display: flex;
- align-items: center;
- margin-left: 35rpx;
-}
-
-.gzBtnText {
- height: 96rpx;
- display: flex;
- align-items: center;
- font-family: PingFangSC-Semibold;
- font-size: 30rpx;
- color: rgba(0, 0, 0, 0.60);
- letter-spacing: 2px;
- margin-right: 35rpx;
-}
-
-.yesAttention {
- width: 78rpx;
- height: 26rpx;
- background: rgb(204, 224, 245);
- border-radius: 1px;
- border-radius: 1px;
- line-height: 26rpx;
- text-align: center;
- font-family: PingFangSC-Regular;
- font-size: 18rpx;
- color: #007AFF;
- letter-spacing: 0;
- position: absolute;
- bottom: 1rpx;
-}
-
-.noAttention {
- width: 78rpx;
- height: 26rpx;
- background: #F4F4F4;
- border-radius: 1px;
- border-radius: 1px;
- line-height: 26rpx;
- text-align: center;
- font-family: PingFangSC-Regular;
- font-size: 18rpx;
- color: rgb(150, 150, 150);
- letter-spacing: 0;
- position: absolute;
- bottom: 1rpx;
-}
\ No newline at end of file
diff --git a/pages/article/attentionPaperFactory/index.js b/pages/article/attention-factory/index.js
similarity index 100%
rename from pages/article/attentionPaperFactory/index.js
rename to pages/article/attention-factory/index.js
diff --git a/pages/article/attentionPaperFactory/index.json b/pages/article/attention-factory/index.json
similarity index 100%
rename from pages/article/attentionPaperFactory/index.json
rename to pages/article/attention-factory/index.json
diff --git a/pages/article/attentionPaperFactory/index.wxml b/pages/article/attention-factory/index.wxml
similarity index 100%
rename from pages/article/attentionPaperFactory/index.wxml
rename to pages/article/attention-factory/index.wxml
diff --git a/pages/article/attentionPaperFactory/index.wxss b/pages/article/attention-factory/index.wxss
similarity index 100%
rename from pages/article/attentionPaperFactory/index.wxss
rename to pages/article/attention-factory/index.wxss
diff --git a/pages/mall/fragment/index.js b/pages/mall/fragment/index.js
index db2750f..1ac971b 100644
--- a/pages/mall/fragment/index.js
+++ b/pages/mall/fragment/index.js
@@ -108,7 +108,7 @@ Component({
if(e.currentTarget.id == 'agent'){
this.triggerEvent("click", { what: 2 })
} else if(e.currentTarget.id == 'trans'){
- util.navigateTo('/pages/agent/index/index')
+ util.navigateTo('/pages/mall/index/index')
} else if(e.currentTarget.id == 'action'){
util.navigateTo(`/pages/agent/ability/index`)
} else if(e.currentTarget.id == 'moment'){
diff --git a/pages/agent/index/index.js b/pages/mall/index/index.js
similarity index 100%
rename from pages/agent/index/index.js
rename to pages/mall/index/index.js
diff --git a/pages/agent/index/index.json b/pages/mall/index/index.json
similarity index 100%
rename from pages/agent/index/index.json
rename to pages/mall/index/index.json
diff --git a/pages/agent/index/index.wxml b/pages/mall/index/index.wxml
similarity index 93%
rename from pages/agent/index/index.wxml
rename to pages/mall/index/index.wxml
index ce508be..5f14b88 100644
--- a/pages/agent/index/index.wxml
+++ b/pages/mall/index/index.wxml
@@ -18,7 +18,7 @@
-
+
diff --git a/pages/agent/index/index.wxss b/pages/mall/index/index.wxss
similarity index 100%
rename from pages/agent/index/index.wxss
rename to pages/mall/index/index.wxss