This commit is contained in:
曹辉 2023-04-03 15:16:06 +08:00
parent fd437705da
commit 69a844b48c
6 changed files with 25 additions and 26 deletions

View File

@ -2,8 +2,8 @@ import request from "../request.js"
export function getPreOrderById(data, data2) {
return request({
url: `/kindergarten/applet/appletLogin?loginCode=${data}&phoneCode=${data2}`,
method: 'GET'
url: `/kindergarten/applet/kindergartenLogin?loginCode=${data}&phoneCode=${data2}`,
method: 'POST'
})
}
//查看

View File

@ -1,5 +1,5 @@
{
"name" : "yer",
"name" : "智慧幼儿体质评估与促进系统",
"appid" : "__UNI__D9D6FB7",
"description" : "",
"versionName" : "1.0.0",
@ -79,5 +79,6 @@
"enable" : false,
"version" : "2"
},
"vueVersion" : "2"
"vueVersion" : "2",
"fallbackLocale" : "zh-Hans"
}

View File

@ -3,15 +3,6 @@
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
// {
// "path" : "pages/login/login",
// "style" :
// {
// "navigationBarTitleText": "",
// "enablePullDownRefresh": false
// }
// },
{
"path": "pages/index/index",
"style": {
@ -30,9 +21,6 @@
}
}
],
// "tabBar": {
// },
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",

View File

@ -66,11 +66,12 @@
title: '获取报告中'
});
var that = this
uni.downloadFile({
wx.downloadFile({
url: baseurl + item.downloadAddress,
success: function(res) {
console.log(res)
var filePath = res.tempFilePath;
uni.openDocument({
wx.openDocument({
filePath: filePath,
showMenu: true,
success: function(res) {
@ -80,6 +81,13 @@
uni.hideLoading();
}
});
},
fail: function(err) {
uni.hideLoading();
that.$refs.uToast.show({
title: '请求报告失败',
type: 'error'
})
}
});

View File

@ -201,12 +201,10 @@
this.tip = false
this.top2 = true
this.top = false
// this.mask2 = false;
}
}
})
},
getPhoneNumberp(val) {
this.phonecode = val.detail.code
let that = this;
@ -237,7 +235,6 @@
},
});
},
getInfoByPhoneinfo() {
var that = this
getInfoByPhone(this.phone).then(res => {

View File

@ -22,9 +22,10 @@
</view>
<input type="text" v-model="data.cardNo" maxlength="18">
</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" />我已阅读并同意
<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>
<!-- <u-checkbox-group @change="checkboxGroupChange">
@ -275,7 +276,8 @@
.name,
.id,
.phone {
width: 96%;
font-size: 34rpx;
width: 100%;
margin: 0 auto;
display: flex;
height: 130rpx;
@ -284,11 +286,14 @@
input {
height: 130rpx;
width: 65%;
line-height: 130rpx;
padding-left: 30rpx;
// padding-left: 30rpx;
}
.bindtitle {}
.bindtitle {
width: 35%;
}
}
.btn {