Commit a7ce72ef authored by sujie@126.com's avatar sujie@126.com

dd\

parents 15771f5d adf429f6
......@@ -2,7 +2,7 @@
<view class="container">
<view class="search-box" >
<view class="ipt-box" >
<image class="ipt-iocn" src="{{localImageRoot}}2b/potentialcustomer/icon_search.png?{{imageVersion}}" mode="aspectFit|aspectFill|widthFix"></image>
<image class="ipt-iocn" src="{{imageRoot}}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>
......
......@@ -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 {
......
{
"navigationBarTitleText": "线索管理",
"enablePullDownRefresh": false,
"enablePullDownRefresh": true,
"usingComponents": {
"list-loading": "../../../components/listloading",
"expiredTip": "../../components/expiredTip",
......
......@@ -3,7 +3,7 @@
host: 'https://qxapi.qingxiao.online/daka',
host2: 'https://wx.m.shangjiadao.cn',
storageVersion: '5.0',
imageVersion: '20191104',
imageVersion: '20200117',
// host: 'https://clock.wp53.cn',
// host2: 'https://test.wp53.cn',
appId: 'wxc1246ea029394785',
......
......@@ -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%;
......
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 to comment