Commit 8ef2db1e by 梁建民

Merge branch 'master' of http://119.23.72.7/shiyu/icsalesProgram

# Conflicts:
#	utils/api.js
parents f8a40a8f 6ca1f1fa
Showing with 4 additions and 1 deletions
...@@ -18,7 +18,7 @@ Page({ ...@@ -18,7 +18,7 @@ Page({
p: 1, //当前页面 p: 1, //当前页面
total: 0, total: 0,
isShowBottom: false, isShowBottom: false,
type: 0, //1 看别人的询价 2给别人报价 3分享进来的 type: 0, //1 代表自己的询价 2代表别人的询价 3分享进来的
inquiryItemsId: "", inquiryItemsId: "",
offerId: "", offerId: "",
// isShowImg: false, // isShowImg: false,
...@@ -207,6 +207,9 @@ Page({ ...@@ -207,6 +207,9 @@ Page({
* 页面上拉触底事件的处理函数 * 页面上拉触底事件的处理函数
*/ */
onReachBottom: function() { onReachBottom: function() {
if (this.data.type == 2 || this.data.isShareType==2){
return
}
let allPage = Math.ceil(this.data.total / this.data.limit); let allPage = Math.ceil(this.data.total / this.data.limit);
let p = this.data.p; let p = this.data.p;
if (p == allPage) { if (p == allPage) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment