Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
张身仁
/
mp-car-evaluate
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f7057db0
authored
Mar 10, 2020
by
stingys@163.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
动态获取平台
parent
86e70dfc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
2 deletions
+39
-2
app.js
+0
-1
pages/sellcar/sellcar.js
+39
-1
No files found.
app.js
View file @
f7057db0
...
...
@@ -10,7 +10,6 @@ App({
session_key
:
''
,
enter
:
''
,
result
:
''
,
link
:
'2019062610199102'
,
provinceList
:
[],
...
...
pages/sellcar/sellcar.js
View file @
f7057db0
...
...
@@ -127,9 +127,47 @@ Page({
this
.
setData
({
province
:
province
?
province
:
''
})
_this
.
getPartner
()
},
//getPartner
getPartner
:
function
()
{
let
_this
=
this
;
wx
.
request
({
url
:
app
.
globalData
.
url
+
'sources/show-by-link'
,
data
:
{
link
:
_this
.
data
.
userForms
.
link
},
success
:
function
(
res
)
{
let
datas
=
res
.
data
.
data
.
terminals
var
arr
=
[]
for
(
var
i
=
0
;
i
<
datas
.
length
;
i
++
)
{
let
data
=
datas
[
i
]
var
obj
=
{}
obj
.
id
=
i
;
if
(
data
==
'天天拍车'
)
{
obj
.
logo
=
'../../images/shop_tiantianpaiche.png'
,
obj
.
des
=
'全国性二手车竞拍平台,买家在线竞拍,覆盖全国50多个主要城市,免费上门检测,最快一天成交!'
}
else
if
(
data
==
'瓜子二手车'
)
{
obj
.
logo
=
'../../images/shop_guazi.png'
,
obj
.
des
=
'提供保卖服务。专注个人二手车交易,个人卖主直接把车卖给个人买家!'
}
else
if
(
data
==
'车置宝'
)
{
obj
.
logo
=
'../../images/shop_chezhibao.png'
,
obj
.
des
=
'一个专注收车的网站。通过全业务流程大数据驱动,可以提供免费上门检测服务。即日起在车置宝成功卖车,最高可享20000元卖车补贴。'
}
else
if
(
data
==
'人人车'
)
{
obj
.
logo
=
'../../images/shop_renrenche.png'
,
obj
.
des
=
'全程免费帮卖,免费上门评估,边开边卖,代办过户!最高多卖20%!'
}
obj
.
name
=
data
obj
.
selected
=
true
arr
.
push
(
obj
)
}
_this
.
setData
({
partner
:
arr
})
}
})
},
// 获取省份
getProvinceList
:
function
()
{
let
_this
=
this
;
...
...
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