Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsalesProgram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
85805be8
authored
Aug 30, 2019
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
11
parent
c89b5be7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
pages/list/xj/index.js
utils/api.js
pages/list/xj/index.js
View file @
85805be8
...
...
@@ -18,7 +18,7 @@ Page({
p
:
1
,
//当前页面
total
:
0
,
isShowBottom
:
false
,
type
:
0
,
//1
看别人的询价 2给别人报
价 3分享进来的
type
:
0
,
//1
代表自己的询价 2代表别人的询
价 3分享进来的
inquiryItemsId
:
""
,
offerId
:
""
,
// isShowImg: false,
...
...
@@ -207,6 +207,9 @@ Page({
* 页面上拉触底事件的处理函数
*/
onReachBottom
:
function
()
{
if
(
this
.
data
.
type
==
2
||
this
.
data
.
isShareType
==
2
){
return
}
let
allPage
=
Math
.
ceil
(
this
.
data
.
total
/
this
.
data
.
limit
);
let
p
=
this
.
data
.
p
;
if
(
p
==
allPage
)
{
...
...
utils/api.js
View file @
85805be8
const
auth_url
=
'https://authapi.icsales.com'
;
const
so_url
=
'https://soapi.icsales.com'
;
const
offer_url
=
"https://offerapi.icsales.com"
;
const
user_url
=
'https://userapi.icsales.com'
;
const
goods_url
=
'https://goodsapi.icsales.com'
;
const
home_url
=
'https://home.icsales.com'
;
//
const auth_url = 'http://authapi.icsales.cc';
//
const so_url = 'http://soapi.icsales.cc';
// const offer_url = "http://offerapi.icsales.cc";
//
const user_url = 'http://userapi.icsales.cc';
//
const goods_url = 'http://goodsapi.icsales.cc';
//
const home_url = 'http://home.icsales.cc';
//
const auth_url = 'https://authapi.icsales.com';
//
const so_url = 'https://soapi.icsales.com';
//
const offer_url = "https://offerapi.icsales.com";
//
const user_url = 'https://userapi.icsales.com';
//
const goods_url = 'https://goodsapi.icsales.com';
//
const home_url = 'https://home.icsales.com';
const
auth_url
=
'http://authapi.icsales.cc'
;
const
so_url
=
'http://soapi.icsales.cc'
;
const
offer_url
=
"http://offerapi.icsales.cc"
;
const
user_url
=
'http://userapi.icsales.cc'
;
const
goods_url
=
'http://goodsapi.icsales.cc'
;
const
home_url
=
'http://home.icsales.cc'
;
const
apis
=
{
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment