Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxuelai
wechatapp.shangjiadao.com
Commits
a7ce72ef
Commit
a7ce72ef
authored
Jan 17, 2020
by
sujie@126.com
Browse files
Options
Browse Files
Download
Plain Diff
dd\
parents
15771f5d
adf429f6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
19 additions
and
9 deletions
+19
-9
cluelist.wxml
business/pages/orgpotentialcustomer/cluelist.wxml
+1
-1
index.js
business/pages/orgpotentialcustomer/index.js
+13
-4
index.json
business/pages/orgpotentialcustomer/index.json
+1
-1
constants.js
constants/constants.js
+1
-1
icon_search.png
images/2b/potentialcustomer/icon_search.png
+0
-0
clueadd.wxss
src/pages/signup/clueadd.wxss
+3
-2
No files found.
business/pages/orgpotentialcustomer/cluelist.wxml
View file @
a7ce72ef
...
...
@@ -2,7 +2,7 @@
<view class="container">
<view class="search-box" >
<view class="ipt-box" >
<image class="ipt-iocn" src="{{
localI
mageRoot}}2b/potentialcustomer/icon_search.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<image class="ipt-iocn" src="{{
i
mageRoot}}2b/potentialcustomer/icon_search.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<input type="text" placeholder-class="placeholderclass" class="search-input" value="{{searchName}}" bindinput="searchinput" placeholder="请输入线索学员姓名"></input>
<image class="close-iocn" src="{{imageRoot}}2b/common/closeicon.png?{{imageVersion}}" bindtap="clearsearchinput" wx:if="{{searchName}}"></image>
</view>
...
...
business/pages/orgpotentialcustomer/index.js
View file @
a7ce72ef
...
...
@@ -31,6 +31,7 @@ Page({
qrcodeModal
:
false
,
//二维码弹窗
qrcode
:
''
,
showAuthSettingDia
:
false
,
//相册授权弹窗
pullownRefresh
:
false
},
onLoad
:
function
(
options
)
{
const
{
sid
}
=
options
;
...
...
@@ -39,7 +40,7 @@ Page({
})
this
.
cluesDataGet
();
this
.
getMemberMeInfo
();
//c留下线索要用到老师id
this
.
generateCustomerQrcode
()
},
onShow
()
{
if
(
this
.
data
.
needRefresh
){
...
...
@@ -47,7 +48,8 @@ Page({
}
},
onPullDownRefresh
:
function
()
{
this
.
data
.
pullownRefresh
=
true
this
.
cluesDataGet
();
},
getMemberMeInfo
(){
let
that
=
this
;
...
...
@@ -58,6 +60,9 @@ Page({
that
.
setData
({
optId
:
res
.
data
.
schoolTeacher
.
id
})
if
(
this
.
data
.
optId
){
this
.
generateCustomerQrcode
()
}
}
})
},
...
...
@@ -66,6 +71,10 @@ Page({
school_id
:
this
.
data
.
sid
}).
then
((
res
)
=>
{
const
{
code
,
data
}
=
res
;
if
(
this
.
data
.
pullownRefresh
){
wx
.
stopPullDownRefresh
()
this
.
data
.
pullownRefresh
=
false
}
if
(
code
==
200
)
{
this
.
setData
({
cluseInfo
:
data
...
...
@@ -294,8 +303,8 @@ Page({
// TODO 页面路径待换
generateCustomerQrcode
({
scene
:
`s=
${
that
.
data
.
sid
}
$oid=
${
this
.
data
.
optId
}
`
,
page
:
`src/pages/signup/index`
,
//
page: `src/pages/signup/clueadd`
//
page: `src/pages/signup/index`,
page
:
`src/pages/signup/clueadd`
}).
then
((
res
)
=>
{
console
.
log
(
'二维码识别参数'
,
`s=
${
that
.
data
.
sid
}
&oid=
${
this
.
data
.
optId
}
`
)
const
{
...
...
business/pages/orgpotentialcustomer/index.json
View file @
a7ce72ef
{
"navigationBarTitleText"
:
"线索管理"
,
"enablePullDownRefresh"
:
fals
e
,
"enablePullDownRefresh"
:
tru
e
,
"usingComponents"
:
{
"list-loading"
:
"../../../components/listloading"
,
"expiredTip"
:
"../../components/expiredTip"
,
...
...
constants/constants.js
View file @
a7ce72ef
...
...
@@ -3,7 +3,7 @@
host
:
'https://qxapi.qingxiao.online/daka'
,
host2
:
'https://wx.m.shangjiadao.cn'
,
storageVersion
:
'5.0'
,
imageVersion
:
'20
191104
'
,
imageVersion
:
'20
200117
'
,
// host: 'https://clock.wp53.cn',
// host2: 'https://test.wp53.cn',
appId
:
'wxc1246ea029394785'
,
...
...
images/2b/potentialcustomer/icon_search.png
deleted
100644 → 0
View file @
15771f5d
708 Bytes
src/pages/signup/clueadd.wxss
View file @
a7ce72ef
...
...
@@ -12,6 +12,7 @@ page{}
top: 0;
}
.inner-container{
height: 100%;
position: relative;
z-index: 9;
line-height: 1;
...
...
@@ -28,10 +29,10 @@ page{}
}
.form-box{
width: 100%;
height:
842rpx
;
height:
calc(100% - 380rpx)
;
background: #fff;
border-radius: 10rpx;
padding: 75rpx 35rpx
0
;
padding: 75rpx 35rpx;
}
.form-item{
width: 100%;
...
...
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