修改
This commit is contained in:
parent
fd437705da
commit
69a844b48c
@ -2,8 +2,8 @@ import request from "../request.js"
|
|||||||
|
|
||||||
export function getPreOrderById(data, data2) {
|
export function getPreOrderById(data, data2) {
|
||||||
return request({
|
return request({
|
||||||
url: `/kindergarten/applet/appletLogin?loginCode=${data}&phoneCode=${data2}`,
|
url: `/kindergarten/applet/kindergartenLogin?loginCode=${data}&phoneCode=${data2}`,
|
||||||
method: 'GET'
|
method: 'POST'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//查看
|
//查看
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name" : "yer",
|
"name" : "智慧幼儿体质评估与促进系统",
|
||||||
"appid" : "__UNI__D9D6FB7",
|
"appid" : "__UNI__D9D6FB7",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.0",
|
"versionName" : "1.0.0",
|
||||||
@ -79,5 +79,6 @@
|
|||||||
"enable" : false,
|
"enable" : false,
|
||||||
"version" : "2"
|
"version" : "2"
|
||||||
},
|
},
|
||||||
"vueVersion" : "2"
|
"vueVersion" : "2",
|
||||||
|
"fallbackLocale" : "zh-Hans"
|
||||||
}
|
}
|
||||||
|
|||||||
12
pages.json
12
pages.json
@ -3,15 +3,6 @@
|
|||||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||||
},
|
},
|
||||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||||
// {
|
|
||||||
// "path" : "pages/login/login",
|
|
||||||
// "style" :
|
|
||||||
// {
|
|
||||||
// "navigationBarTitleText": "",
|
|
||||||
// "enablePullDownRefresh": false
|
|
||||||
// }
|
|
||||||
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
"path": "pages/index/index",
|
"path": "pages/index/index",
|
||||||
"style": {
|
"style": {
|
||||||
@ -30,9 +21,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// "tabBar": {
|
|
||||||
|
|
||||||
// },
|
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "uni-app",
|
"navigationBarTitleText": "uni-app",
|
||||||
|
|||||||
@ -66,11 +66,12 @@
|
|||||||
title: '获取报告中'
|
title: '获取报告中'
|
||||||
});
|
});
|
||||||
var that = this
|
var that = this
|
||||||
uni.downloadFile({
|
wx.downloadFile({
|
||||||
url: baseurl + item.downloadAddress,
|
url: baseurl + item.downloadAddress,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
|
console.log(res)
|
||||||
var filePath = res.tempFilePath;
|
var filePath = res.tempFilePath;
|
||||||
uni.openDocument({
|
wx.openDocument({
|
||||||
filePath: filePath,
|
filePath: filePath,
|
||||||
showMenu: true,
|
showMenu: true,
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
@ -80,6 +81,13 @@
|
|||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
},
|
||||||
|
fail: function(err) {
|
||||||
|
uni.hideLoading();
|
||||||
|
that.$refs.uToast.show({
|
||||||
|
title: '请求报告失败',
|
||||||
|
type: 'error'
|
||||||
|
})
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -201,12 +201,10 @@
|
|||||||
this.tip = false
|
this.tip = false
|
||||||
this.top2 = true
|
this.top2 = true
|
||||||
this.top = false
|
this.top = false
|
||||||
// this.mask2 = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
getPhoneNumberp(val) {
|
getPhoneNumberp(val) {
|
||||||
this.phonecode = val.detail.code
|
this.phonecode = val.detail.code
|
||||||
let that = this;
|
let that = this;
|
||||||
@ -237,7 +235,6 @@
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
getInfoByPhoneinfo() {
|
getInfoByPhoneinfo() {
|
||||||
var that = this
|
var that = this
|
||||||
getInfoByPhone(this.phone).then(res => {
|
getInfoByPhone(this.phone).then(res => {
|
||||||
|
|||||||
@ -22,9 +22,10 @@
|
|||||||
</view>
|
</view>
|
||||||
<input type="text" v-model="data.cardNo" maxlength="18">
|
<input type="text" v-model="data.cardNo" maxlength="18">
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="margin:50rpx 0 0 15rpx;font-size: 32rpx;line-height: 50rpx;">
|
<view class="" style="margin:50rpx 0 0 15rpx;font-size: 28rpx;line-height: 50rpx;">
|
||||||
<checkbox value="cb" :checked="checked" />我已阅读并同意
|
<checkbox value="cb" :checked="checked" />我已阅读并同意
|
||||||
<view class="" style="display: inline-block;color:#4D8CE9;border-bottom:1rpx solid #4D8CE9;" @tap='maskshow=true'>
|
<view class="" style="display: inline-block;color:#4D8CE9;border-bottom:1rpx solid #4D8CE9;"
|
||||||
|
@tap='maskshow=true'>
|
||||||
《隐私保护协议》
|
《隐私保护协议》
|
||||||
</view>
|
</view>
|
||||||
<!-- <u-checkbox-group @change="checkboxGroupChange">
|
<!-- <u-checkbox-group @change="checkboxGroupChange">
|
||||||
@ -275,7 +276,8 @@
|
|||||||
.name,
|
.name,
|
||||||
.id,
|
.id,
|
||||||
.phone {
|
.phone {
|
||||||
width: 96%;
|
font-size: 34rpx;
|
||||||
|
width: 100%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 130rpx;
|
height: 130rpx;
|
||||||
@ -284,11 +286,14 @@
|
|||||||
|
|
||||||
input {
|
input {
|
||||||
height: 130rpx;
|
height: 130rpx;
|
||||||
|
width: 65%;
|
||||||
line-height: 130rpx;
|
line-height: 130rpx;
|
||||||
padding-left: 30rpx;
|
// padding-left: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bindtitle {}
|
.bindtitle {
|
||||||
|
width: 35%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user