diff --git a/pages/article/allNewInfo/index.wxml b/pages/article/allNewInfo/index.wxml index 3029b11..9c3688d 100644 --- a/pages/article/allNewInfo/index.wxml +++ b/pages/article/allNewInfo/index.wxml @@ -27,7 +27,7 @@ - {{item.shortName}}已关注已取消 + {{item.shortName}}已关注未关注 {{item.biggestFloatPrice*1000||0}} {{item.yesterdayTotalQuantity || 0}}辆 {{item.minimumDeductionPoint || 0}}% diff --git a/pages/article/allNewInfo/index.wxss b/pages/article/allNewInfo/index.wxss index 569f7b9..537fede 100644 --- a/pages/article/allNewInfo/index.wxss +++ b/pages/article/allNewInfo/index.wxss @@ -266,6 +266,8 @@ page { font-size: 18rpx; color: #007AFF; letter-spacing: 0; + position: absolute; + bottom: 1rpx; } .noAttention { @@ -280,4 +282,6 @@ page { 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/feedback/index.js b/pages/article/feedback/index.js index b9665bf..f824b9c 100644 --- a/pages/article/feedback/index.js +++ b/pages/article/feedback/index.js @@ -108,6 +108,18 @@ Page({ }) }, subFeedBack:function(){ + if(this.data.postForm.millId==''||this.data.postForm.millId==null){ + util.showToast('请选择纸厂') + return + } + if(this.data.postForm.type==''||this.data.postForm.type==null){ + util.showToast('请选类型') + return + } + if(this.data.postForm.content==''||this.data.postForm.content==null){ + util.showToast('请填写内容') + return + } this.feedbackMillInformationFct(this.data.postForm) }, textareaBindblur:function(e){ diff --git a/pages/article/newInfo/index.wxml b/pages/article/newInfo/index.wxml index 3beb9cb..143c124 100644 --- a/pages/article/newInfo/index.wxml +++ b/pages/article/newInfo/index.wxml @@ -99,10 +99,10 @@ - + - # - {{item.millPaperName}} + # + {{m1.newString(item.millPaperName)}} {{item.title}} @@ -116,4 +116,13 @@ - \ No newline at end of file + + + var newString = function(string) { + var newString = string.substring(0, 4) + + return newString+'...'; + } + + module.exports.newString = newString; + \ No newline at end of file