首次提交
This commit is contained in:
parent
db99ea4e7f
commit
55c5a50c59
|
|
@ -0,0 +1,107 @@
|
|||
<template>
|
||||
<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->
|
||||
<view class="botton-view">
|
||||
<view v-for="(item,index) in itemArray" :key="index" class="array-father">
|
||||
<view :class="itemTarget===index ? `bottom-button-target` : `bottom-button`" @click="jumpto(index)">
|
||||
<image class="botton-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget===index?1:0}.png`" />
|
||||
<view class="bottom-text">
|
||||
{{item}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
ref
|
||||
} from 'vue'
|
||||
|
||||
const props = defineProps({
|
||||
itemTarget: {
|
||||
type: Number,
|
||||
required: true // 如果必须传
|
||||
// default: 0 // 如果你想给默认值
|
||||
}
|
||||
})
|
||||
|
||||
const itemArray = ["NU", "动态", "我的"];
|
||||
|
||||
const jumpto = (index) => {
|
||||
if(index!=props.itemTarget){
|
||||
switch (index) {
|
||||
case 0:
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
|
||||
|
||||
break;
|
||||
case 2:
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/mine`
|
||||
});
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.botton-view {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
z-index: 999;
|
||||
|
||||
.bottom-button {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.bottom-button-target {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgb(42, 133, 235);
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.blue-heng {
|
||||
height: 6rpx;
|
||||
width: 150rpx;
|
||||
background-color: rgb(42, 133, 235);
|
||||
position: absolute;
|
||||
bottom: 55rpx;
|
||||
left: 50%;
|
||||
/* 左边缘到父容器左边的距离占父宽度 50% */
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.array-father {
|
||||
width: 33%;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
.botton-img {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -14,7 +14,8 @@
|
|||
{
|
||||
"path": "pages/login/phonebumber",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录"
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -55,6 +56,12 @@
|
|||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/mine",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/addoldman/hukou",
|
||||
"style": {
|
||||
|
|
|
|||
|
|
@ -103,12 +103,12 @@
|
|||
</view>
|
||||
</view>
|
||||
<view style="display: flex;width: 100%;margin-top: 40rpx;">
|
||||
<view class="finish-button" @click="next" v-if="alldata.status==3 ||alldata.status==0">
|
||||
<view class="finish-button" @click="next" v-if="alldata.status==3">
|
||||
重新提交
|
||||
</view>
|
||||
<view class="finish-button" v-if="alldata.status!=3 && alldata.status!=0" >
|
||||
<!-- <view class="finish-button" v-if="alldata.status!=3 && alldata.status!=0" >
|
||||
进入机构端
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,13 +12,18 @@ export function changemessage(data){
|
|||
}
|
||||
|
||||
//根据手机号获取机构加盟申请信息
|
||||
export function getMessageList(tel){
|
||||
export function getMessageList(id){
|
||||
return request({
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
export function getMessageListsuccess(id){
|
||||
return request({
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
//获取省市区
|
||||
export function getdate(id){
|
||||
return request({
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
<view class="title-back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<view style="font-size: 30rpx;">企业加盟</view>
|
||||
<view style="font-size: 30rpx;">营业执照</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
|
|
@ -94,34 +94,39 @@
|
|||
const bottomshow = ref(false)
|
||||
// 本地保存的临时文件路径
|
||||
const tempImagePath = ref('')
|
||||
const selectphoto = (number) =>{
|
||||
if( headImge.value){
|
||||
const selectphoto = (number) => {
|
||||
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
|
||||
if (headImge.value) {
|
||||
bottomshow.value = true;
|
||||
}else{
|
||||
} else {
|
||||
getMessage()
|
||||
}
|
||||
}
|
||||
const photoclick = (element) => {
|
||||
if(element){
|
||||
if (element) {
|
||||
uni.previewImage({
|
||||
urls: [headImge.value], // 必填,所有要预览的图片地址数组
|
||||
current: headImge.value , // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字)
|
||||
longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项
|
||||
itemList: ['保存图片到相册'],
|
||||
},
|
||||
urls: [headImge.value], // 必填,所有要预览的图片地址数组
|
||||
current: headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字)
|
||||
longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项
|
||||
itemList: ['保存图片到相册'],
|
||||
},
|
||||
});
|
||||
}else{
|
||||
} else {
|
||||
getMessage()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// 拍照并上传
|
||||
function getMessage() {
|
||||
|
||||
uni.chooseImage({
|
||||
count: 1,
|
||||
sourceType: ['album','camera'],
|
||||
sourceType: ['album', 'camera'],
|
||||
success: chooseRes => {
|
||||
tempImagePath.value = chooseRes.tempFilePaths[0]
|
||||
// 拍照成功后,调用上传函数
|
||||
|
|
@ -142,8 +147,9 @@
|
|||
const uping = ref(true);
|
||||
// 上传图片到服务器
|
||||
function uploadImage(filePath) {
|
||||
uni.showLoading()
|
||||
uping.value = false;
|
||||
uni.showLoading()
|
||||
|
||||
uni.uploadFile({
|
||||
url: `${base_url}/api/ocr/businessLicense`, // 替换为你的POST接口地址
|
||||
filePath,
|
||||
|
|
@ -154,17 +160,18 @@
|
|||
formData: {},
|
||||
success: uploadRes => {
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = true;
|
||||
uni.hideLoading()
|
||||
|
||||
return
|
||||
}
|
||||
console.log("营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data)
|
||||
if(JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName){
|
||||
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName) {
|
||||
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
|
||||
textArray[0] = father.companyName;
|
||||
textArray[1] = father.businessAddress;
|
||||
|
|
@ -172,18 +179,18 @@
|
|||
textArray[3] = father.legalPerson;
|
||||
headImge.value = filePath;
|
||||
savephoto(filePath);
|
||||
}else{
|
||||
} else {
|
||||
// 普通文本提示(自动消失,默认 1500ms)
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = false;
|
||||
uping.value = true;
|
||||
uni.hideLoading()
|
||||
}
|
||||
// if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.face) {
|
||||
|
||||
|
||||
uni.hideLoading()
|
||||
// textArray[4] = father.birthDate;
|
||||
// textArray[5] = father.address;
|
||||
|
|
@ -244,50 +251,59 @@
|
|||
}
|
||||
}
|
||||
const next = () => {
|
||||
console.log("??????")
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
const allNonEmpty = textArray[0];
|
||||
if (allNonEmpty) {
|
||||
let pushMessage = {
|
||||
id: uni.getStorageSync('specicalid') || "",
|
||||
tel: uni.getStorageSync('tel'),
|
||||
comName: textArray[0],
|
||||
comRegisterAddress: textArray[1],
|
||||
comCreditCode: textArray[2],
|
||||
comLegalPerson: textArray[3],
|
||||
comBusinessLicense: fontphoto.value,
|
||||
}
|
||||
// console.log("????",pushMessage)
|
||||
changemessage(pushMessage).then(res => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
}
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.comName = textArray[0]
|
||||
data.comRegisterAddress = textArray[1]
|
||||
data.comCreditCode = textArray[2]
|
||||
data.comLegalPerson = textArray[3]
|
||||
data.comBusinessLicense = fontphoto.value
|
||||
uni.setStorageSync("backhuancun", data)
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
// let pushMessage = {
|
||||
// id: uni.getStorageSync('specicalid') || "",
|
||||
// tel: uni.getStorageSync('tel'),
|
||||
// comName: textArray[0],
|
||||
// comRegisterAddress: textArray[1],
|
||||
// comCreditCode: textArray[2],
|
||||
// comLegalPerson: textArray[3],
|
||||
// comBusinessLicense: fontphoto.value,
|
||||
// }
|
||||
// // console.log("????",pushMessage)
|
||||
// changemessage(pushMessage).then(res => {
|
||||
// if (res.success) {
|
||||
// if (res.message == `保存成功!`) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/addjigou/where"
|
||||
// });
|
||||
// } else {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/addjigou/where"
|
||||
// });
|
||||
// }
|
||||
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
})
|
||||
// } else {
|
||||
// uni.showToast({
|
||||
// title: res.message,
|
||||
// icon: 'error'
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '请完善信息',
|
||||
title: '请上传营业执照',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
}
|
||||
onLoad(() => {
|
||||
if(uni.getStorageSync('backhuancun').comName){
|
||||
if (uni.getStorageSync('backhuancun').comName) {
|
||||
let data = uni.getStorageSync('backhuancun');
|
||||
if (data.comName) {
|
||||
textArray[0] = data.comName;
|
||||
|
|
@ -299,8 +315,7 @@
|
|||
fontphoto.value = data.comBusinessLicense
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (uni.getStorageSync('baddata')) {
|
||||
} else if (uni.getStorageSync('baddata')) {
|
||||
let data = uni.getStorageSync('baddata');
|
||||
if (data.comName) {
|
||||
textArray[0] = data.comName;
|
||||
|
|
@ -315,17 +330,19 @@
|
|||
}
|
||||
})
|
||||
const goBack = () => {
|
||||
|
||||
if(textArray[0]){
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.comName = textArray[0]
|
||||
data.comRegisterAddress = textArray[1]
|
||||
data.comCreditCode = textArray[2]
|
||||
data.comLegalPerson = textArray[3]
|
||||
data.comBusinessLicense = fontphoto.value
|
||||
uni.setStorageSync("backhuancun",data)
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
|
||||
if (textArray[0]) {
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.comName = textArray[0]
|
||||
data.comRegisterAddress = textArray[1]
|
||||
data.comCreditCode = textArray[2]
|
||||
data.comLegalPerson = textArray[3]
|
||||
data.comBusinessLicense = fontphoto.value
|
||||
uni.setStorageSync("backhuancun", data)
|
||||
}
|
||||
|
||||
uni.navigateBack()
|
||||
}
|
||||
onShow(() => {
|
||||
|
|
@ -484,7 +501,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 42%;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
|
|
@ -493,7 +510,8 @@
|
|||
border-radius: 50rpx;
|
||||
font-size: 35rpx;
|
||||
}
|
||||
.back-button{
|
||||
|
||||
.back-button {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
@ -506,6 +524,7 @@
|
|||
border-radius: 50rpx;
|
||||
font-size: 35rpx;
|
||||
}
|
||||
|
||||
.gray-text {
|
||||
margin: 10rpx 0;
|
||||
font-size: 28rpx;
|
||||
|
|
@ -518,6 +537,7 @@
|
|||
border-radius: 10rpx;
|
||||
margin: 3rpx 0rpx 0 30rpx;
|
||||
}
|
||||
|
||||
.title-back {
|
||||
margin-top: 100rpx;
|
||||
width: 100%;
|
||||
|
|
@ -525,10 +545,11 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.left-father {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
|
|
@ -537,5 +558,4 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
@ -4,14 +4,14 @@
|
|||
<view class="title-back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<view style="font-size: 30rpx;">企业加盟</view>
|
||||
<view style="font-size: 30rpx;">身份证</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
<view class="content-title">
|
||||
<view class="shu"></view>
|
||||
<view class="content-weight">身份证</view>
|
||||
<view style="font-size: 20rpx;margin: 12rpx 0 0 15rpx;">(必填)</view>
|
||||
<!-- <view style="font-size: 20rpx;margin: 12rpx 0 0 15rpx;color: red;">(必填)</view> -->
|
||||
</view>
|
||||
<view class="white-photo" @click="selectphoto(0)">
|
||||
<view class="photo-left">
|
||||
|
|
@ -20,8 +20,8 @@
|
|||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
:src="headImge ? headImge : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
|
||||
<image v-if="!headImge"
|
||||
:src="fontphoto ? `${base_url}/sys/common/static/${fontphoto}` : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
|
||||
<image v-if="!fontphoto"
|
||||
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
|
||||
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
|
||||
</view>
|
||||
|
|
@ -34,8 +34,8 @@
|
|||
</view>
|
||||
<view style="position: relative;">
|
||||
<image class="photo"
|
||||
:src="backImge ? backImge : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
|
||||
<image v-if="!backImge"
|
||||
:src="endphoto ? `${base_url}/sys/common/static/${endphoto}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
|
||||
<image v-if="!endphoto"
|
||||
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
|
||||
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
|
||||
</view>
|
||||
|
|
@ -80,7 +80,7 @@
|
|||
确认并继续
|
||||
</view>
|
||||
</view>
|
||||
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow"></u-action-sheet>
|
||||
<u-action-sheet :list="bottomlist" @click="photoclick" v-model="bottomshow"></u-action-sheet>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
@ -127,29 +127,32 @@
|
|||
}
|
||||
}
|
||||
const photoclick = (element) => {
|
||||
if(element){
|
||||
if (element) {
|
||||
uni.previewImage({
|
||||
urls: [headImge.value,backImge.value], // 必填,所有要预览的图片地址数组
|
||||
current: targetphoto.value?backImge.value:headImge.value , // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字)
|
||||
longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项
|
||||
itemList: ['保存图片到相册'],
|
||||
},
|
||||
urls: [headImge.value, backImge.value], // 必填,所有要预览的图片地址数组
|
||||
current: targetphoto.value ? backImge.value : headImge.value, // 可选,当前显示图片的地址,默认是 urls[0]
|
||||
indicator: 'default', // 可选,指示器样式,H5/App 有效,值为 'default'(圆点)或 'number'(数字)
|
||||
longPressActions: { // 可选,仅 App 支持,长按图片时弹出的操作项
|
||||
itemList: ['保存图片到相册'],
|
||||
},
|
||||
});
|
||||
}else{
|
||||
} else {
|
||||
getMessage()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// 本地保存的临时文件路径
|
||||
const tempImagePath = ref('')
|
||||
|
||||
const targetphoto = ref(0)
|
||||
const selectphoto = (number) =>{
|
||||
if(backImge.value && headImge.value){
|
||||
const selectphoto = (number) => {
|
||||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
if (backImge.value && headImge.value) {
|
||||
targetphoto.value = number
|
||||
bottomshow.value = true;
|
||||
}else{
|
||||
} else {
|
||||
getMessage()
|
||||
}
|
||||
}
|
||||
|
|
@ -208,13 +211,14 @@
|
|||
success: uploadRes => {
|
||||
console.log("token", uni.getStorageSync('token'))
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = true;
|
||||
uni.hideLoading()
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
|
|
@ -246,13 +250,14 @@
|
|||
savephoto(filePath, 1);
|
||||
uni.hideLoading()
|
||||
} else {
|
||||
uni.hideLoading()
|
||||
uni.showToast({
|
||||
title: '识别失败',
|
||||
icon: 'error',
|
||||
duration: 2000
|
||||
})
|
||||
uping.value = false;
|
||||
uni.hideLoading()
|
||||
uping.value = true;
|
||||
|
||||
}
|
||||
},
|
||||
fail: err => {
|
||||
|
|
@ -301,10 +306,27 @@
|
|||
}
|
||||
|
||||
const next = () => {
|
||||
|
||||
|
||||
if (!fontphoto.value) {
|
||||
uni.showToast({
|
||||
title: '请上传身份证正面',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
} else if (!endphoto.value) {
|
||||
uni.showToast({
|
||||
title: '请上传身份证背面',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}
|
||||
// if(!fontphoto.value || !endphoto.value ){
|
||||
// uni.showToast({
|
||||
// title: '身份证信息不完整',
|
||||
// icon: 'error'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// console.log("??????")
|
||||
|
||||
const allNonEmpty = textArray.every(item => {
|
||||
// 如果想忽略前后空格,可用 item.trim() !== ''
|
||||
return item !== '';
|
||||
|
|
@ -312,48 +334,68 @@
|
|||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
|
||||
if (allNonEmpty) {
|
||||
const range = textArray[7];
|
||||
const [start, end] = range.split('-');
|
||||
let pushMessage = {
|
||||
id: uni.getStorageSync('specicalid') || "",
|
||||
tel: uni.getStorageSync('tel'),
|
||||
name: textArray[0],
|
||||
sex: textArray[1],
|
||||
idCard: textArray[2],
|
||||
national: textArray[3],
|
||||
birthDate: textArray[4],
|
||||
idCardAddress: textArray[5],
|
||||
issuingAuthority: textArray[6],
|
||||
startTime: start,
|
||||
endTime: end,
|
||||
cardZmPath: fontphoto.value,
|
||||
cardFmPath: endphoto.value
|
||||
}
|
||||
// let pushMessage = {
|
||||
// // id: uni.getStorageSync('specicalid') || "",
|
||||
// tel: uni.getStorageSync('tel'),
|
||||
// name: textArray[0],
|
||||
// sex: textArray[1],
|
||||
// idCard: textArray[2],
|
||||
// national: textArray[3],
|
||||
// birthDate: textArray[4],
|
||||
// idCardAddress: textArray[5],
|
||||
// issuingAuthority: textArray[6],
|
||||
// startTime: start,
|
||||
// endTime: end,
|
||||
// cardZmPath: fontphoto.value,
|
||||
// cardFmPath: endphoto.value
|
||||
// }
|
||||
// if(textArray[0]){
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.tel = uni.getStorageSync('tel')
|
||||
data.name = textArray[0]
|
||||
data.sex = textArray[1]
|
||||
data.idCard = textArray[2]
|
||||
data.national = textArray[3]
|
||||
data.birthDate = textArray[4]
|
||||
data.idCardAddress = textArray[5]
|
||||
data.issuingAuthority = textArray[6]
|
||||
data.startTime = start
|
||||
data.endTime = end
|
||||
data.cardZmPath = fontphoto.value
|
||||
data.cardFmPath = endphoto.value
|
||||
uni.setStorageSync("backhuancun", data)
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
// }
|
||||
// console.log("????",pushMessage)
|
||||
changemessage(pushMessage).then(res => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
} else {
|
||||
uni.setStorageSync('specicalid', res.result.id);
|
||||
uni.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
}
|
||||
// changemessage(pushMessage).then(res => {
|
||||
// if (res.success) {
|
||||
// if (res.message == `保存成功!`) {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/addjigou/card"
|
||||
// });
|
||||
// } else {
|
||||
// uni.setStorageSync('specicalid', res.result.id);
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/addjigou/card"
|
||||
// });
|
||||
// }
|
||||
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
})
|
||||
// } else {
|
||||
// uni.showToast({
|
||||
// title: res.message,
|
||||
// icon: 'error'
|
||||
// })
|
||||
// }
|
||||
// })
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '请完善信息',
|
||||
title: '身份证信息不完整',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@
|
|||
<view class="title-back">
|
||||
<view class="left-father" @click="goBack">
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
|
||||
<view style="font-size: 30rpx;">企业加盟</view>
|
||||
<view style="font-size: 30rpx;">机构信息</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content">
|
||||
|
|
@ -94,11 +94,12 @@
|
|||
@click="showselect=true" /> -->
|
||||
|
||||
<input disabled style="cursor: not-allowed;pointer-events: none;" class="one-right" type="text"
|
||||
placeholder="请输入房屋性质" v-model="form.orgPropertyType" />
|
||||
placeholder="请选择房屋性质" v-model="form.orgPropertyType" />
|
||||
<image class="triangle-down" src="https://www.focusnu.com/media/directive/login/xia.png" />
|
||||
</view>
|
||||
</view>
|
||||
<u-select v-model="showselect" :list="showlist" @confirm="onSelect1"></u-select>
|
||||
<u-select style="font-size: 35rpx;" v-model="showselect" :list="showlist"
|
||||
@confirm="onSelect1"></u-select>
|
||||
<view style="margin-bottom: 20rpx;">
|
||||
<view class="one" style="position: relative;">
|
||||
<view class="one-left">建筑面积</view>
|
||||
|
|
@ -231,21 +232,98 @@
|
|||
|
||||
console.log("删除了", index)
|
||||
}
|
||||
|
||||
function isValid11DigitNumber(val) {
|
||||
return /^(\d{11})$/.test(val);
|
||||
}
|
||||
|
||||
const next = () => {
|
||||
|
||||
|
||||
if(!form.address){
|
||||
uni.showToast({
|
||||
title: '请选择机构位置',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}else if(!form.orgAddress){
|
||||
uni.showToast({
|
||||
title: '请填写详细地址',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}else if(!form.orgLeader){
|
||||
uni.showToast({
|
||||
title: '请填写机构负责人',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}else if(!form.orgLeaderPhone){
|
||||
uni.showToast({
|
||||
title: '请填写手机号',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}
|
||||
else if(!isValid11DigitNumber(form.orgLeaderPhone)){
|
||||
uni.showToast({
|
||||
title: '手机号格式错误',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}else if(!form.orgPropertyType){
|
||||
uni.showToast({
|
||||
title: '请填写房屋性质',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}
|
||||
else if(!form.orgBuildingArea){
|
||||
uni.showToast({
|
||||
title: '请填写建筑面积',
|
||||
icon: 'error'
|
||||
})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgAddress && form.orgPropertyType &&
|
||||
form.orgBuildingArea
|
||||
form.orgBuildingArea && form.address
|
||||
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.openId = uni.getStorageSync('openid')
|
||||
data.address = form.address
|
||||
data.orgProvince = form.orgProvince
|
||||
data.orgCity = form.orgCity
|
||||
data.orgDistrict = form.orgDistrict
|
||||
data.orgAddress = form.orgAddress
|
||||
data.orgLeader = form.orgLeader
|
||||
data.orgLeaderPhone = form.orgLeaderPhone
|
||||
data.orgPropertyType = form.orgPropertyType
|
||||
data.orgBuildingArea = form.orgBuildingArea
|
||||
data.status = form.status
|
||||
|
||||
uni.setStorageSync("backhuancun", data)
|
||||
|
||||
if (allNonEmpty) {
|
||||
changemessage(form).then(res => {
|
||||
// if(!isValid11DigitNumber(form.orgLeaderPhone)){
|
||||
// uni.showToast({
|
||||
// title: '手机号格式错误',
|
||||
// icon: 'error'
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
changemessage(uni.getStorageSync('backhuancun')).then(res => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
uni.setStorageSync('specicalid', "");
|
||||
uni.reLaunch({
|
||||
url: `/pages/login/threeselectone`
|
||||
url: `/pages/login/special?type=1`
|
||||
});
|
||||
} else {
|
||||
uni.setStorageSync('specicalid', res.result.id);
|
||||
uni.reLaunch({
|
||||
url: `/pages/login/threeselectone`
|
||||
url: `/pages/login/special?type=1`
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -267,7 +345,6 @@
|
|||
const goBack = () => {
|
||||
if (form.address) {
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
// form.address = data.address
|
||||
data.address = form.address
|
||||
data.orgProvince = form.orgProvince
|
||||
data.orgCity = form.orgCity
|
||||
|
|
@ -526,7 +603,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 45%;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
|
|
@ -670,7 +747,8 @@
|
|||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
}
|
||||
.triangle-down-mi{
|
||||
|
||||
.triangle-down-mi {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
|
|
|
|||
|
|
@ -1,21 +1,22 @@
|
|||
<template>
|
||||
<view class="login-container">
|
||||
<image class="back-imge" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" />
|
||||
<!-- <image class="back-imge" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" /> -->
|
||||
<!-- 扫码遮罩层 -->
|
||||
<view v-if="scanning" class="scan-mask">
|
||||
<!-- 半透明背景自动铺满 -->
|
||||
<!-- <view v-if="scanning" class="scan-mask">
|
||||
|
||||
<view class="mask-bg" @click="cancelScan"></view>
|
||||
<!-- 扫描框容器,绝对居中 -->
|
||||
|
||||
<view class="mask-center" @click.stop>
|
||||
<div id="reader" class="reader"></div>
|
||||
<!-- <view class="cancel-btn" @click="scanQrCode">取消扫描</view> -->
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="index-up">
|
||||
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false" />
|
||||
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
|
||||
lazy-load="false" />
|
||||
</view>
|
||||
|
||||
<view class="index-ball-father">
|
||||
<!-- <view class="index-ball-father">
|
||||
<view class="white-ball">
|
||||
<image class="small-img" @click="gotoPay" src="https://www.focusnu.com/media/directive/index/button/money.png" mode="widthFix"
|
||||
lazy-load="false" />
|
||||
|
|
@ -29,14 +30,14 @@
|
|||
<view class="super-white-ball" @click="jumpTo">
|
||||
<image class="small-img" src="https://www.focusnu.com/media/directive/index/button/more.png" mode="widthFix" lazy-load="false" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="index-smallPhoto">
|
||||
</view> -->
|
||||
<!-- <view class="index-smallPhoto">
|
||||
<view class="photo-box" @click="preview()">
|
||||
<image class="photo-box-img" src="https://www.focusnu.com/media/directive/index/kuai.png" mode="widthFix" lazy-load="false" />
|
||||
<image class="photo-box-img" :src="tu" mode="widthFix" lazy-load="false" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-scan" v-if="scaning">
|
||||
</view> -->
|
||||
<!-- <view class="white-scan">
|
||||
<view class="scan-title">
|
||||
<image class="scan-img" src="https://www.focusnu.com/media/directive/index/badscan.png" />
|
||||
<view class="scan-font">
|
||||
|
|
@ -50,7 +51,6 @@
|
|||
<view class="scan-back" @click="scaning = false;">
|
||||
返回
|
||||
</view>
|
||||
<!-- <image class="scan-back" src="https://www.focusnu.com/media/directive/index/index/back.png" @click="scaning = false;" /> -->
|
||||
</view>
|
||||
|
||||
<view v-if="qrResult" class="result">
|
||||
|
|
@ -66,115 +66,124 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="white-content-father-time" v-if="!scaning">
|
||||
</view> -->
|
||||
<view class="white-content-father-time">
|
||||
<view class="white-content">
|
||||
<view class="time-father">
|
||||
<view class="font-weight">
|
||||
{{ hours }}:{{ minutes }}:{{ seconds }}
|
||||
</view>
|
||||
<view class="font-small">
|
||||
{{ month }}月{{ day }}日 {{ weekday }}
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-shu"></view>
|
||||
<view class="wendu-content">
|
||||
<image class="wendu-img" src="https://www.focusnu.com/media/directive/index/index/wendu.png" lazy-load="false" />
|
||||
<view class="wendu-font">
|
||||
<view>温度</view>
|
||||
<view style="font-weight: 600;">16℃</view>
|
||||
</view>
|
||||
<image class="wendu-img" src="https://www.focusnu.com/media/directive/index/index/shidu.png" lazy-load="false" />
|
||||
<view class="wendu-font">
|
||||
<view>湿度</view>
|
||||
<view style="font-weight: 600;">49%</view>
|
||||
</view>
|
||||
<view class="white-bgc" v-if="whichMenu < menuArray.length">
|
||||
<!-- 长春市朝阳区久泰开运养老服务有限公司 -->
|
||||
{{menuArray[whichMenu].comName}}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-content-father" v-if="!scaning">
|
||||
<swiper style="width: 100%;" :duration="500" :style="{height: `600rpx`}" :current="which"
|
||||
<view class="white-content-father">
|
||||
<swiper style="width: 100%;" :duration="500" :style="{height: `700rpx`}" :current="which"
|
||||
@change="swiperchange">
|
||||
<swiper-item style="width: 100%;">
|
||||
<view class="white-content">
|
||||
<image class="white-content-img" src="https://www.focusnu.com/media/directive/index/index/nobang.png" lazy-load="false" />
|
||||
<view class="white-font">
|
||||
请绑定护理单元~
|
||||
</view>
|
||||
<view class="botton-button">
|
||||
<view class="botton-button-father">
|
||||
<view class="botton-button-bgc" @click="gotoWindy">
|
||||
<image class="botton-button-img" src="https://www.focusnu.com/media/directive/index/index/cloudbang.png" />
|
||||
</view>
|
||||
<view class="botton-button-font">
|
||||
云绑定
|
||||
</view>
|
||||
</view>
|
||||
<view class="botton-button-father">
|
||||
<view class="botton-button-bgc" @click="scaning = true">
|
||||
<image class="botton-button-img" src="https://www.focusnu.com/media/directive/index/index/scan.png" />
|
||||
</view>
|
||||
<view class="botton-button-font" @click="scaning = true">
|
||||
扫码绑定
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="white-content">
|
||||
<image style="top: 10rpx;width: 600rpx;height: 400rpx;" class="white-content-img"
|
||||
src="https://www.focusnu.com/media/directive/index/badold.png" />
|
||||
<view style="margin-top: 350rpx;" class="white-font">
|
||||
请添加长者信息
|
||||
</view>
|
||||
<view class="bad-button">
|
||||
<view class="blue-button" @click="addoldman">
|
||||
+添加长者
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item>
|
||||
<view class="zhiling-box">
|
||||
<view class="">
|
||||
单元清洁服务指令已执行完毕,点击查看
|
||||
</view>
|
||||
<image class="zhiling-img" src="https://www.focusnu.com/media/directive/index/index/back.png" />
|
||||
</view>
|
||||
<view class="white-box-father">
|
||||
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
|
||||
<image class="box-img" :src="`https://www.focusnu.com/media/directive/index/jumpbutton/${index}.png`" />
|
||||
<view class="box-font">{{item}}</view>
|
||||
|
||||
<view v-for="(item,index) in menuArray" :key="index">
|
||||
<swiper-item style="width: 100%;" v-if="item.status==`1`">
|
||||
<view class="white-content">
|
||||
<image class="white-content-img"
|
||||
src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png"
|
||||
lazy-load="false" />
|
||||
<view class="white-font">
|
||||
你的
|
||||
<text style="font-weight: 600;">
|
||||
{{item.comName}}
|
||||
</text>
|
||||
</view>
|
||||
<view class="second-font">
|
||||
提交的加盟申请
|
||||
<text style="color: #01A5FF;">
|
||||
正在审核中
|
||||
</text>
|
||||
</view>
|
||||
<view class="button-blue" @click="look(item)">
|
||||
查看
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-box">
|
||||
<view style="font-weight: 600;font-size: 80rpx;">+</view>
|
||||
</swiper-item>
|
||||
|
||||
<swiper-item v-if="item.status==`3`">
|
||||
<view class="white-content">
|
||||
<image class="white-content-img"
|
||||
src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png"
|
||||
lazy-load="false" />
|
||||
<view class="white-font" style="margin-top: 320rpx;">
|
||||
您提交的
|
||||
</view>
|
||||
<view class="second-font">
|
||||
{{item.comName}}
|
||||
</view>
|
||||
<view class="second-font">
|
||||
加盟申请
|
||||
<text style="color: #FF7744;">
|
||||
审核不通过
|
||||
</text>
|
||||
</view>
|
||||
<!-- <view class="second-font">
|
||||
|
||||
<text style="color: #FF7744;">
|
||||
驳回原因:{{item.content}}
|
||||
</text>
|
||||
</view> -->
|
||||
<view class="button-blue-spec" @click="again(item)">
|
||||
重新提交
|
||||
</view>
|
||||
<view class="button-white-spec" @click="jumptolist">
|
||||
驳回原因
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item v-if="item.status==`2`">
|
||||
<view class="zhiling-box">
|
||||
<view class="">
|
||||
单元清洁服务指令已执行完毕,点击查看
|
||||
</view>
|
||||
<image class="zhiling-img"
|
||||
src="https://www.focusnu.com/media/directive/index/index/back.png" />
|
||||
</view>
|
||||
<view class="white-box-father">
|
||||
<view v-for="(item,index) in buttonArray" :key="index" class="white-box">
|
||||
<image class="box-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/addjiji/${index}.png`" />
|
||||
<view class="box-font">{{item}}</view>
|
||||
|
||||
</view>
|
||||
<view class="white-box">
|
||||
<view style="font-weight: 600;font-size: 80rpx;">+</view>
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</view>
|
||||
|
||||
|
||||
<swiper-item>
|
||||
<view class="white-content">
|
||||
<image class="white-content-secondimg"
|
||||
src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png"
|
||||
lazy-load="false" />
|
||||
<view class="button-blue" @click="addjigou">
|
||||
添加机构
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
|
||||
<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->
|
||||
<view class="botton-view">
|
||||
</view>
|
||||
<view
|
||||
style="z-index:999;position: fixed;bottom: 70rpx; width: 100%;display: flex;justify-content: center;margin-top: -25rpx;height: 100rpx;">
|
||||
<view class="jia-box">
|
||||
<view class="gray-box" v-if="whichMenu===2"></view>
|
||||
<view class="jia">
|
||||
+
|
||||
<view v-for="(item,index) in menuArray" :key="index" @click="changecard(index)">
|
||||
<view :class="whichMenu==index? `black-box` :`gray-box`"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-for="(item,index) in itemArray" class="array-father">
|
||||
<view :class="itemTarget===index ? `bottom-button-target` : `bottom-button`" @click="itemTarget=index">
|
||||
<image class="botton-img"
|
||||
:src="`https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget===index?1:0}.png`" />
|
||||
<view class="bottom-text" :style="!index ?{fontWeight:600}:{}">
|
||||
{{item}}
|
||||
</view>
|
||||
|
||||
<view class="jia" @click="moveend">
|
||||
<image class="jia-img" :src="`https://www.focusnu.com/media/directive/index/addjiji/add.png`" />
|
||||
</view>
|
||||
<!-- <view v-if="itemTarget===index" class="blue-heng"></view> -->
|
||||
</view>
|
||||
</view>
|
||||
<downMenu :itemTarget="0" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -185,142 +194,175 @@
|
|||
onMounted,
|
||||
onUnmounted
|
||||
} from 'vue';
|
||||
import {
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app';
|
||||
import {
|
||||
getMessageList
|
||||
} from '@/pages/addjigou/api/addjigou.js'
|
||||
// import tu from 'https://www.focusnu.com/media/directive/index/tu.png'
|
||||
import request from '@/request/index.js' // 你封装的 uni.request
|
||||
import downMenu from '@/compontent/public/downmenu.vue'
|
||||
|
||||
const tu = 'https://www.focusnu.com/media/directive/index/tu.png'
|
||||
const itemArray = ["NU", "动态", "我的"];
|
||||
const buttonArray = ref(["护理流程", "服务指令", "实时监控", "客户信息", "缴费账单", "充值缴费", "退住管理"])
|
||||
const itemTarget = ref(0);
|
||||
// const itemArray = ["NU", "动态", "我的"];
|
||||
const buttonArray = ref(["单元", "仓库", "后勤", "工区", "办公室 ", "员工", "机构维护"])
|
||||
// const itemTarget = ref(0);
|
||||
const which = ref(0);
|
||||
const scaning = ref(false)
|
||||
// const scaning = ref(false)
|
||||
|
||||
function preview() {
|
||||
uni.previewImage({
|
||||
urls: [tu], // 需要预览的所有图片地址数组
|
||||
// current: imgList.value[currentIndex], // 当前点击的那张
|
||||
})
|
||||
const changecard = (e) => {
|
||||
|
||||
which.value = e
|
||||
whichMenu.value = which.value
|
||||
|
||||
}
|
||||
const moveend = () => {
|
||||
which.value = menuArray.value.length
|
||||
whichMenu.value = which.value
|
||||
}
|
||||
const addjigou = () => {
|
||||
uni.setStorageSync('specicalid', "");
|
||||
uni.setStorageSync("baddata", "")
|
||||
uni.setStorageSync("backhuancun", {})
|
||||
uni.navigateTo({
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
}
|
||||
const look = (element) => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/addjigou/all?element=${JSON.stringify(element)}`
|
||||
});
|
||||
}
|
||||
|
||||
const jumptolist = () => {
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
});
|
||||
}
|
||||
|
||||
const again = (item) => {
|
||||
console.log("????", item)
|
||||
uni.setStorageSync("baddata", item)
|
||||
uni.setStorageSync('specicalid', item.id);
|
||||
uni.setStorageSync("backhuancun", {})
|
||||
uni.navigateTo({
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
}
|
||||
const jumpTo = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/index/indexone"
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
}
|
||||
const month = ref('01')
|
||||
const day = ref('01')
|
||||
const weekday = ref('周一')
|
||||
const weekMap = ['周日', '周一', '周二', '周三', '周四', '周五', '周六']
|
||||
const hours = ref('00')
|
||||
const minutes = ref('00')
|
||||
const seconds = ref('00')
|
||||
let timer = null
|
||||
|
||||
function updateTime() {
|
||||
const now = new Date()
|
||||
// 月份要 +1,保证两位
|
||||
month.value = String(now.getMonth() + 1).padStart(2, '0')
|
||||
day.value = String(now.getDate()).padStart(2, '0')
|
||||
weekday.value = weekMap[now.getDay()]
|
||||
// 如果想要两位数显示,不足两位前面补 0
|
||||
hours.value = String(now.getHours()).padStart(2, '0')
|
||||
minutes.value = String(now.getMinutes()).padStart(2, '0')
|
||||
seconds.value = String(now.getSeconds()).padStart(2, '0')
|
||||
}
|
||||
const whichMenu = ref(0);
|
||||
const swiperchange = (res) => {
|
||||
whichMenu.value = res.detail.current
|
||||
which.value = res.detail.current
|
||||
// console.log("res",res.detail.current)
|
||||
}
|
||||
const addoldman = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/addoldman/IDcard"
|
||||
});
|
||||
}
|
||||
const gotoPay = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/pay/index"
|
||||
});
|
||||
}
|
||||
// const addoldman = () => {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/addoldman/IDcard"
|
||||
// });
|
||||
// }
|
||||
// const gotoPay = () => {
|
||||
// uni.navigateTo({
|
||||
// url: "/pages/pay/index"
|
||||
// });
|
||||
// }
|
||||
|
||||
const qrResult = ref('')
|
||||
const scanning = ref(false)
|
||||
let html5QrCode = null
|
||||
async function cancelScan() {
|
||||
if (html5QrCode && scanning.value) {
|
||||
try {
|
||||
await html5QrCode.stop()
|
||||
} catch (e) {
|
||||
console.warn('停止扫码出错', e)
|
||||
}
|
||||
}
|
||||
scanning.value = false
|
||||
}
|
||||
// const qrResult = ref('')
|
||||
// const scanning = ref(false)
|
||||
// let html5QrCode = null
|
||||
// async function cancelScan() {
|
||||
// if (html5QrCode && scanning.value) {
|
||||
// try {
|
||||
// await html5QrCode.stop()
|
||||
// } catch (e) {
|
||||
// console.warn('停止扫码出错', e)
|
||||
// }
|
||||
// }
|
||||
// scanning.value = false
|
||||
// }
|
||||
|
||||
function scanQrCode() {
|
||||
// 如果正在扫描,先停止一次
|
||||
if (html5QrCode && scanning.value) {
|
||||
html5QrCode.stop().catch(() => {}).finally(() => {
|
||||
scanning.value = false
|
||||
})
|
||||
return
|
||||
}
|
||||
// function scanQrCode() {
|
||||
// // 如果正在扫描,先停止一次
|
||||
// if (html5QrCode && scanning.value) {
|
||||
// html5QrCode.stop().catch(() => {}).finally(() => {
|
||||
// scanning.value = false
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
|
||||
// 标记为正在扫描,显示容器
|
||||
scanning.value = true
|
||||
qrResult.value = ''
|
||||
// // 标记为正在扫描,显示容器
|
||||
// scanning.value = true
|
||||
// qrResult.value = ''
|
||||
|
||||
// 创建扫码实例(指定容器ID)
|
||||
html5QrCode = new Html5Qrcode("reader")
|
||||
// // 创建扫码实例(指定容器ID)
|
||||
// html5QrCode = new Html5Qrcode("reader")
|
||||
|
||||
// 扫码配置:每秒 10 帧,识别框大小 250×250
|
||||
const config = {
|
||||
fps: 10,
|
||||
qrbox: {
|
||||
width: 350,
|
||||
height: 350
|
||||
}
|
||||
}
|
||||
// // 扫码配置:每秒 10 帧,识别框大小 250×250
|
||||
// const config = {
|
||||
// fps: 10,
|
||||
// qrbox: {
|
||||
// width: 350,
|
||||
// height: 350
|
||||
// }
|
||||
// }
|
||||
|
||||
html5QrCode.start({
|
||||
facingMode: "environment"
|
||||
}, // 后置摄像头
|
||||
config,
|
||||
decodedText => {
|
||||
// 扫码成功回调
|
||||
qrResult.value = decodedText
|
||||
// 停止扫描并隐藏容器
|
||||
html5QrCode.stop().catch(console.warn).finally(() => {
|
||||
scanning.value = false
|
||||
})
|
||||
},
|
||||
errorMessage => {
|
||||
// 解析过程中报错,不用处理
|
||||
}
|
||||
).catch(err => {
|
||||
console.error("扫码启动失败", err)
|
||||
scanning.value = false
|
||||
})
|
||||
}
|
||||
// html5QrCode.start({
|
||||
// facingMode: "environment"
|
||||
// }, // 后置摄像头
|
||||
// config,
|
||||
// decodedText => {
|
||||
// // 扫码成功回调
|
||||
// qrResult.value = decodedText
|
||||
// // 停止扫描并隐藏容器
|
||||
// html5QrCode.stop().catch(console.warn).finally(() => {
|
||||
// scanning.value = false
|
||||
// })
|
||||
// },
|
||||
// errorMessage => {
|
||||
// // 解析过程中报错,不用处理
|
||||
// }
|
||||
// ).catch(err => {
|
||||
// console.error("扫码启动失败", err)
|
||||
// scanning.value = false
|
||||
// })
|
||||
// }
|
||||
|
||||
const gotoWindy = () => {
|
||||
uni.navigateTo({
|
||||
url: "/pages/selectunit/map"
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
const goback = () => {
|
||||
uni.navigateBack()
|
||||
}
|
||||
|
||||
|
||||
onMounted(async () => {
|
||||
updateTime() // 立刻执行一次,保证页面一加载就有值
|
||||
timer = setInterval(updateTime, 1000) // 每秒更新
|
||||
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
clearInterval(timer) // 组件销毁时清理定时器
|
||||
html5QrCode && html5QrCode.stop().catch(console.warn)
|
||||
// html5QrCode && html5QrCode.stop().catch(console.warn)
|
||||
})
|
||||
const menuArray = ref([])
|
||||
onLoad(() => {
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
getMessageList(res.data).then(res => {
|
||||
menuArray.value = res.result
|
||||
// workArray.value = res.result
|
||||
// console.log("????",res.result)
|
||||
})
|
||||
}
|
||||
});
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
@ -332,61 +374,7 @@
|
|||
width: 100%;
|
||||
background-color: rgb(239, 241, 252);
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.array-father {
|
||||
width: 33%;
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.botton-view {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
// margin-top: 50rpx;
|
||||
// margin: 0 auto;
|
||||
// margin-top: 60rpx;
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
// border-radius: 60rpx;
|
||||
background-color: #fff;
|
||||
// background-color: greenyellow;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
z-index: 999;
|
||||
|
||||
.bottom-button {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.bottom-button-target {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgb(42, 133, 235);
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.blue-heng {
|
||||
height: 6rpx;
|
||||
width: 150rpx;
|
||||
background-color: rgb(42, 133, 235);
|
||||
position: absolute;
|
||||
bottom: 55rpx;
|
||||
left: 50%;
|
||||
/* 左边缘到父容器左边的距离占父宽度 50% */
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
padding-top: 550rpx;
|
||||
}
|
||||
|
||||
.index-up {
|
||||
|
|
@ -474,10 +462,8 @@
|
|||
justify-content: center;
|
||||
margin-top: 30rpx;
|
||||
|
||||
margin-bottom: 200rpx;
|
||||
|
||||
.white-content {
|
||||
height: 500rpx;
|
||||
height: 650rpx;
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
background-color: #fff;
|
||||
|
|
@ -492,134 +478,108 @@
|
|||
|
||||
.white-content-img {
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
top: 90rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 80%;
|
||||
height: 370rpx;
|
||||
// margin: 0 auto;
|
||||
width: 420rpx;
|
||||
height: 320rpx;
|
||||
}
|
||||
|
||||
.white-content-secondimg {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 34%;
|
||||
transform: translateX(-34%);
|
||||
width: 610rpx;
|
||||
height: 450rpx;
|
||||
}
|
||||
|
||||
.white-font {
|
||||
margin-top: 240rpx;
|
||||
margin-top: 350rpx;
|
||||
font-size: 27rpx;
|
||||
color: #222222;
|
||||
// color: #222222;
|
||||
}
|
||||
|
||||
.second-font {
|
||||
margin-top: 10rpx;
|
||||
font-size: 27rpx;
|
||||
// color: #222222;
|
||||
}
|
||||
}
|
||||
|
||||
.botton-button {
|
||||
width: 100%;
|
||||
height: 280rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
// .botton-button {
|
||||
// width: 100%;
|
||||
// height: 280rpx;
|
||||
// display: flex;
|
||||
// justify-content: space-around;
|
||||
|
||||
.botton-button-father {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
// .botton-button-father {
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
// flex-direction: column;
|
||||
|
||||
.botton-button-bgc {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #D8DEEA;
|
||||
// .botton-button-bgc {
|
||||
// width: 100rpx;
|
||||
// height: 100rpx;
|
||||
// border-radius: 50%;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
// background-color: #D8DEEA;
|
||||
|
||||
.botton-button-img {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
// .botton-button-img {
|
||||
// width: 35rpx;
|
||||
// height: 35rpx;
|
||||
// }
|
||||
|
||||
}
|
||||
// }
|
||||
|
||||
.botton-button-font {
|
||||
margin-top: 10rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
// .botton-button-font {
|
||||
// margin-top: 10rpx;
|
||||
// font-size: 30rpx;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
.botton-img {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
||||
.bottom-text {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
|
||||
.jia-box {
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.jia {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 50%;
|
||||
background-color: rgb(1, 168, 255);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
|
||||
}
|
||||
|
||||
.gray-box {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: #A4A8BD;
|
||||
}
|
||||
|
||||
.white-content-father-time {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.white-content {
|
||||
height: 170rpx;
|
||||
width: 92%;
|
||||
.white-bgc {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
background-image:
|
||||
linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
|
||||
url("https://www.focusnu.com/media/directive/index/bluebgc.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
|
||||
/* 2. 水平方向拉满容器,垂直方向保持原始比例 */
|
||||
background-size: 100% auto;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 35rpx;
|
||||
z-index: 2;
|
||||
padding-left: 50rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
// justify-content: center;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border: 2rpx solid #fff;
|
||||
}
|
||||
|
||||
.time-father {
|
||||
margin-left: 45rpx;
|
||||
.white-content {
|
||||
// margin-left: 30rpx;
|
||||
height: 110rpx;
|
||||
width: 92%;
|
||||
overflow: hidden;
|
||||
// background-repeat: no-repeat;
|
||||
// background-position: center top;
|
||||
/* 2. 水平方向拉满容器,垂直方向保持原始比例 */
|
||||
background-size: 100% auto;
|
||||
|
||||
.font-weight {
|
||||
font-weight: 600;
|
||||
font-size: 40rpx;
|
||||
margin-bottom: 7rpx;
|
||||
}
|
||||
border-radius: 35rpx;
|
||||
z-index: 2;
|
||||
|
||||
.font-small {
|
||||
color: #7C788D;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -631,21 +591,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.wendu-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.wendu-img {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
margin: 0 20rpx 0 60rpx;
|
||||
}
|
||||
|
||||
.wendu-font {
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.bad-button {
|
||||
width: 100%;
|
||||
margin-top: 40rpx;
|
||||
|
|
@ -667,13 +612,14 @@
|
|||
justify-content: space-around;
|
||||
align-items: center;
|
||||
width: 92%;
|
||||
margin-left: 3%;
|
||||
height: 100rpx;
|
||||
margin-left: 4%;
|
||||
height: 110rpx;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// margin-top: 20rpx;
|
||||
border-radius: 35rpx;
|
||||
|
||||
|
||||
.zhiling-img {
|
||||
width: 25rpx;
|
||||
height: 25rpx;
|
||||
|
|
@ -685,11 +631,12 @@
|
|||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
|
||||
// margin-top: 10rpx;
|
||||
.white-box {
|
||||
margin-top: 20rpx;
|
||||
margin-top: 35rpx;
|
||||
width: 20%;
|
||||
margin-left: 4%;
|
||||
height: 190rpx;
|
||||
height: 220rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 35rpx;
|
||||
display: flex;
|
||||
|
|
@ -701,7 +648,7 @@
|
|||
.box-img {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
margin-bottom: 15rpx;
|
||||
margin-bottom: 25rpx;
|
||||
}
|
||||
|
||||
.box-font {
|
||||
|
|
@ -865,13 +812,105 @@
|
|||
.result {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.back-imge{
|
||||
|
||||
.back-imge {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
top: 100rpx;
|
||||
left: 30rpx;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
|
||||
.jia-box {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
display: flex;
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.jia {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 50%;
|
||||
background-color: rgb(1, 168, 255);
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
|
||||
.jia-img {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.gray-box {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: rgb(203, 205, 216);
|
||||
}
|
||||
|
||||
.black-box {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: #A4A8BD;
|
||||
}
|
||||
|
||||
.button-blue {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
width: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
|
||||
.button-blue-spec {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
left: 8%;
|
||||
width: 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
|
||||
.button-white-spec {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
right: 8%;
|
||||
width: 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
|
||||
border: 2rpx solid #b1c0ca;
|
||||
// color: #fff;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,218 @@
|
|||
<template>
|
||||
<view class="login-container">
|
||||
<image class="bgc-imge" src="https://www.focusnu.com/media/directive/index/mine/bgc.png" />
|
||||
<view class="ball">
|
||||
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/mine/head.png" />
|
||||
</view>
|
||||
<view class="upfont">
|
||||
迷路往前走
|
||||
</view>
|
||||
<view class="phone">
|
||||
{{phone}}
|
||||
</view>
|
||||
<view style="display: flex;">
|
||||
<view class="badid">
|
||||
ID
|
||||
</view>
|
||||
<view style="z-index: 1;">
|
||||
2839780810
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-father">
|
||||
<view class="white-card" v-for="(item,index) in cardMenu" :key="index" @click="clickButton(index)">
|
||||
<view class="white-left">
|
||||
<image class="white-left-imge" :src="`https://www.focusnu.com/media/directive/index/mine/${index}.png`" />
|
||||
<view class="">{{item}}</view>
|
||||
</view>
|
||||
<view class="white-right">
|
||||
<view style="font-size: 25rpx;margin-top: -4rpx;" v-if="!index">完善机构信息</view>
|
||||
<image class="white-right-imge" src="https://www.focusnu.com/media/directive/index/mine/more.png" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="blue-button" @click="change">
|
||||
<image class="blue-button-imge" src="https://www.focusnu.com/media/directive/index/mine/change.png" />
|
||||
切换其他端口
|
||||
</view>
|
||||
<view class="white-button" @click="exit">
|
||||
退出登录
|
||||
</view>
|
||||
<downMenu :itemTarget="2" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
reactive,
|
||||
ref,
|
||||
onMounted,
|
||||
onUnmounted
|
||||
} from 'vue';
|
||||
|
||||
import downMenu from '@/compontent/public/downmenu.vue'
|
||||
const phone = ref("")
|
||||
onMounted(()=>{
|
||||
phone.value = uni.getStorageSync('tel')
|
||||
})
|
||||
|
||||
const cardMenu = [`机构信息`,`加盟审核`,`机构功能01`,`机构功能02`]
|
||||
|
||||
const change = () => {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
|
||||
const exit = () => {
|
||||
uni.exitMiniProgram({});
|
||||
}
|
||||
|
||||
const clickButton = (index) => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/workjoin?type=3`
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
});
|
||||
|
||||
break;
|
||||
case 2:
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.login-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: rgb(247, 247, 247);
|
||||
position: relative;
|
||||
align-items: center;
|
||||
.bgc-imge{
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1200rpx;
|
||||
}
|
||||
.ball{
|
||||
margin-top: 200rpx;
|
||||
width: 180rpx;
|
||||
height: 180rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
.ball-imge{
|
||||
width: 178rpx;
|
||||
height: 178rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
.upfont{
|
||||
margin: 10rpx 0;
|
||||
color: black;
|
||||
z-index: 1;
|
||||
}
|
||||
.phone{
|
||||
color: black;
|
||||
z-index: 1;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.badid{
|
||||
background-color: black;
|
||||
z-index: 1;
|
||||
width: 45rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 8rpx;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 20rpx;
|
||||
margin-right: 15rpx;
|
||||
margin-top: 3rpx;
|
||||
}
|
||||
.white-father{
|
||||
margin-top: 50rpx;
|
||||
width: 94%;
|
||||
// min-height: 300rpx;
|
||||
border-radius: 40rpx;
|
||||
background-color: #fff;
|
||||
padding: 30rpx 0;
|
||||
z-index: 1;
|
||||
.white-card{
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
.white-left{
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.white-left-imge{
|
||||
margin-right: 20rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.white-right{
|
||||
margin-right: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.white-right-imge{
|
||||
margin-left: 20rpx;
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.blue-button{
|
||||
z-index: 1;
|
||||
width: 94%;
|
||||
height: 100rpx;
|
||||
background-color: rgb(222,233,251);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: rgb(6,122,233);
|
||||
border-radius: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
font-size: 30rpx;
|
||||
.blue-button-imge{
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
}
|
||||
.white-button{
|
||||
z-index: 1;
|
||||
width: 94%;
|
||||
height: 100rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
// color: rgb(6,122,233);
|
||||
border-radius: 40rpx;
|
||||
margin-top: 30rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
<view class="font">
|
||||
页面跳转中,请稍后...
|
||||
</view> -->
|
||||
|
||||
|
||||
<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->
|
||||
<!-- <view class="botton-view">
|
||||
<view v-for="(item,index) in itemArray" class="array-father">
|
||||
|
|
@ -18,18 +18,18 @@
|
|||
<view v-if="itemTarget===index" class="blue-heng"></view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
|
||||
</view>
|
||||
<!-- <view class="callback-container">
|
||||
回调成功{{ceshi.name}}{{ceshi.openid}} -->
|
||||
<!-- {{look}} -->
|
||||
<!-- <text v-if="!userInfo">授权中...</text>
|
||||
<!-- {{look}} -->
|
||||
<!-- <text v-if="!userInfo">授权中...</text>
|
||||
<view v-else>
|
||||
<text>OpenID: {{ openid }}</text>
|
||||
<text v-if="userInfo.nickname">昵称: {{ userInfo.nickname }}</text>
|
||||
<image v-if="userInfo.headimgurl" :src="userInfo.headimgurl" class="avatar" />
|
||||
</view> -->
|
||||
<!-- <view v-for="(item,index) in jigouArray" :key="index">
|
||||
<!-- <view v-for="(item,index) in jigouArray" :key="index">
|
||||
<view style="font-size: 30rpx;margin-top: 10rpx;font-weight: 700;" @click="jigouClick(item)">
|
||||
{{item.departName}}
|
||||
</view>
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
getMessage
|
||||
} from '@/api/loginApi.js'
|
||||
// import {getList} from "@/api/loginApi.js"
|
||||
|
||||
|
||||
// const itemArray = ["NU", "动态", "我的"];
|
||||
// const itemTarget = ref(0);
|
||||
// // const {
|
||||
|
|
@ -129,7 +129,7 @@
|
|||
// // .then(data => {
|
||||
// // // secondArray.value = [...data.result];
|
||||
// // console.log("???调取微信", data)
|
||||
|
||||
|
||||
// // })
|
||||
// // .catch(err => {
|
||||
// // console.error('请求失败:', err);
|
||||
|
|
@ -226,34 +226,50 @@
|
|||
let openid = res.data.openid
|
||||
uni.setStorageSync("openid", openid)
|
||||
getMessage(openid).then(res => {
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
if(!res.result.tel){
|
||||
if (!res.result.tel) {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
}else{
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
if(uni.getStorageSync('special')){
|
||||
} else {
|
||||
if (uni.getStorageSync('special')) {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
}else{
|
||||
} else {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
uni.setStorageSync('izJg', res.result.izJg);
|
||||
uni.setStorageSync('izJs', res.result.izJs);
|
||||
uni.setStorageSync('izYg', res.result.izYg);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
switch (res.result.advisoryType) {
|
||||
case `1`:
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
break;
|
||||
case 2:
|
||||
|
||||
|
||||
break;
|
||||
case `3`:
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
default:
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
@ -265,37 +281,22 @@
|
|||
});
|
||||
}
|
||||
onLoad((options) => {
|
||||
superLogin();
|
||||
if(options.type){
|
||||
if (options.type) {
|
||||
uni.setStorageSync('special', true);
|
||||
}else{
|
||||
} else {
|
||||
uni.setStorageSync('special', false);
|
||||
}
|
||||
// const href = window.location.href;
|
||||
// const queryString = href.split('?')[1]?.split('#')[0]; // 提取 ? 和 # 之间的参数
|
||||
// const query = {};
|
||||
|
||||
// if (queryString) {
|
||||
// queryString.split('&').forEach(pair => {
|
||||
// const [key, value] = pair.split('=');
|
||||
// query[key] = decodeURIComponent(value);
|
||||
// });
|
||||
// }
|
||||
|
||||
// console.log('解析到的 query 参数:', query);
|
||||
|
||||
// if (query.code) {
|
||||
// getOpenId(query.code)
|
||||
// // 调用你的方法,比如 fetchUserInfo(query.code)
|
||||
// }
|
||||
superLogin();
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
.login-imge{
|
||||
.login-imge {
|
||||
width: 440rpx;
|
||||
height: 110rpx;
|
||||
}
|
||||
|
||||
.callback-container {
|
||||
padding: 24px;
|
||||
}
|
||||
|
|
@ -306,6 +307,7 @@
|
|||
border-radius: 40px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -316,12 +318,12 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.array-father {
|
||||
width: 33%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.botton-view {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
|
|
@ -332,7 +334,7 @@
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
|
||||
|
||||
.bottom-button {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
@ -340,7 +342,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
||||
.bottom-button-target {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
|
@ -349,7 +351,7 @@
|
|||
align-items: center;
|
||||
color: rgb(42, 133, 235);
|
||||
}
|
||||
|
||||
|
||||
.blue-heng {
|
||||
height: 6rpx;
|
||||
width: 150rpx;
|
||||
|
|
@ -361,12 +363,14 @@
|
|||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
.imge{
|
||||
|
||||
.imge {
|
||||
width: 240rpx;
|
||||
height: 240rpx;
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
.font{
|
||||
|
||||
.font {
|
||||
font-weight: 600;
|
||||
font-size: 35rpx;
|
||||
// margin-bottom: 100rpx;
|
||||
|
|
|
|||
|
|
@ -79,9 +79,9 @@
|
|||
function closeModal() {
|
||||
isFadingOut.value = false
|
||||
}
|
||||
const aaaa = () =>{
|
||||
console.log("?????")
|
||||
}
|
||||
// const aaaa = () =>{
|
||||
// console.log("?????")
|
||||
// }
|
||||
function filterToSingleDigit(number) {
|
||||
if (typeof number === 'number') {
|
||||
return number % 10; // 只保留个位数
|
||||
|
|
@ -170,32 +170,38 @@
|
|||
}).then(res => {
|
||||
if (res.success) {
|
||||
getMessage(openid).then(res => {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
if(uni.getStorageSync('special')){
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
}else{
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
// if(uni.getStorageSync('special')){
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/special`
|
||||
// });
|
||||
// }else{
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
// }
|
||||
})
|
||||
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '验证码错误',
|
||||
title: res.message,
|
||||
icon: 'none', // 不显示图标(提示信息)
|
||||
duration: 2000 // 显示时长(毫秒)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -3,10 +3,17 @@
|
|||
<image class="title-imge" src="https://www.focusnu.com/media/directive/login/icon.png" />
|
||||
<image class="photo-imge" src="https://www.focusnu.com/media/directive/login/bgc.png" />
|
||||
<view class="under-container">
|
||||
|
||||
<view class="button-blue" @click="loginIt">
|
||||
|
||||
<!-- <button
|
||||
open-type="getUserProfile"
|
||||
class="button-blue"
|
||||
@getuserinfo="fetchProfile"
|
||||
>
|
||||
一键登录
|
||||
</button> -->
|
||||
<button class="button-blue" @click="loginIt">
|
||||
一键登录
|
||||
</view>
|
||||
</button>
|
||||
<view class="under-container-title">
|
||||
<view :class="isTarget ? 'radio-circle-target' : 'radio-circle'" @click="isTarget = !isTarget"></view>
|
||||
<view style="margin-left: 17rpx;" class="radio-circle-font" @click="isTarget = !isTarget">同意护理单元</view>
|
||||
|
|
@ -47,7 +54,8 @@
|
|||
<script setup>
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
ref,
|
||||
onMounted
|
||||
} from 'vue';
|
||||
import {
|
||||
getOpenid,
|
||||
|
|
@ -66,49 +74,48 @@
|
|||
function closeModal() {
|
||||
isFadingOut.value = false
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 注意接收 event 参数
|
||||
// function fetchProfile(e) {
|
||||
// const info = e.detail && e.detail.userInfo
|
||||
// if (info) {
|
||||
// // userInfo.value = info
|
||||
// console.log('拿到的用户信息:', info)
|
||||
// // TODO: uni.request 上传到服务器
|
||||
// } else {
|
||||
// console.warn('用户拒绝了授权或获取失败')
|
||||
// }
|
||||
// }
|
||||
|
||||
const getCode = () => {
|
||||
|
||||
|
||||
|
||||
|
||||
uni.login({
|
||||
provider: 'weixin',
|
||||
success(res) {
|
||||
getOpenid(res.code).then(res => {
|
||||
let openid = res.data.openid
|
||||
uni.setStorageSync("openid", openid)
|
||||
getMessage(openid).then(res => {
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
if(!res.result.tel){
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/phonebumber`
|
||||
});
|
||||
}else{
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
// if(uni.getStorageSync('special')){
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
// }else{
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
// }
|
||||
}
|
||||
})
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/phonebumber`
|
||||
});
|
||||
// if(!isallow.value){
|
||||
// getUserProfile()
|
||||
|
||||
// } else{
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
// }
|
||||
|
||||
// getMessage(openid).then(res => {
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
// })
|
||||
})
|
||||
},
|
||||
fail(err) {
|
||||
|
|
@ -129,8 +136,28 @@
|
|||
url: "/pages/login/protocol"
|
||||
});
|
||||
}
|
||||
onLoad((options)=>{
|
||||
superLogin()
|
||||
const userInfo = ref(null)
|
||||
|
||||
const isallow = ref(false)
|
||||
|
||||
function getUserProfile() {
|
||||
// console.log("??????")
|
||||
uni.getUserProfile({
|
||||
desc: '用于完善会员资料', // 必填,弹窗提示语
|
||||
lang: 'zh_CN',
|
||||
success: (res) => {
|
||||
// res.userInfo 包含昵称、头像等字段
|
||||
userInfo.value = res.userInfo
|
||||
console.log('用户信息:', res.userInfo)
|
||||
isallow.value = true;
|
||||
},
|
||||
fail: (err) => {
|
||||
console.warn('用户拒绝了授权', err)
|
||||
}
|
||||
})
|
||||
}
|
||||
onMounted(() => {
|
||||
// getUserProfile()
|
||||
// if(options.type){
|
||||
// uni.setStorageSync('special', true);
|
||||
// }else{
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
获得验证码
|
||||
</view>
|
||||
</view>
|
||||
<view class="bg-mask" v-if="huakuaiOpen" @click="huakuaiOpen=false" >
|
||||
<view class="bg-mask" v-if="huakuaiOpen" @click="huakuaiOpen=false">
|
||||
<huakuai @click.stop @success="codeIsOk" />
|
||||
</view>
|
||||
|
||||
|
|
@ -29,28 +29,34 @@
|
|||
<script setup>
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
ref,
|
||||
onMounted
|
||||
} from 'vue';
|
||||
|
||||
import huakuai from "@/compontent/public/huakuai.vue"
|
||||
import { getHkCode } from "@/api/loginApi.js"
|
||||
import {
|
||||
getHkCode
|
||||
} from "@/api/loginApi.js"
|
||||
// import custom from "@/compontent/public/custom.vue"
|
||||
|
||||
const huakuaiOpen = ref(false);
|
||||
|
||||
const jumpto = () => {
|
||||
huakuaiOpen.value = true;
|
||||
}
|
||||
const codeIsOk = () =>{
|
||||
const codeIsOk = () => {
|
||||
huakuaiOpen.value = false;
|
||||
getHkCode({mobile:phonenumber.value}).then(res=>{
|
||||
getHkCode({
|
||||
mobile: phonenumber.value
|
||||
}).then(res => {
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/code?mobile=${phonenumber.value}&hkcode=${res.message}`
|
||||
// });
|
||||
if(res.success){
|
||||
if (res.success) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/code?mobile=${phonenumber.value}&hkcode=${res.message}`
|
||||
});
|
||||
}else{
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none', // 不显示图标(提示信息)
|
||||
|
|
@ -225,7 +231,8 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.back-imge{
|
||||
|
||||
.back-imge {
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 30rpx;
|
||||
|
|
|
|||
|
|
@ -1,74 +1,204 @@
|
|||
<template>
|
||||
<view class="font-father">
|
||||
<view style="width: 100%;">
|
||||
<image class="back-imge" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" />
|
||||
<view class="title-font">
|
||||
NU 护理单元使用条款
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
一、总则
|
||||
</view>
|
||||
<view class="font-normal">
|
||||
<p>  为规范长者及家属在 NU 护理单元的行为,保障长者得到优质护理服务,维护护理单元正常秩序,鉴于每个护理单元均为独立空间,特制定本使用条款。本条款是所有进入NU 护理单元的长者、家属必须遵守的准则,违反者将根据情节承担相应责任。</p>
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
二、长者及家属使用条款
|
||||
</view>
|
||||
<view class="font-ri">
|
||||
(一)日常行为规范
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">1.遵守作息时间:</text>严格遵守护理单元规定的作息时间,保持安静,不得大声喧哗、播放音乐或进行其他影响他人休息的活动。各独立护理单元之间应相互保持安静,避免噪音干扰其他单元长者。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">2.维护环境卫生:</text>保持所在护理单元病房及公共区域的整洁卫生,不随地吐痰、乱扔垃圾。生活垃圾应分类投放到指定垃圾桶内,医疗废物交由护理人员统一处理,不得随意丢弃。不得将垃圾放置在护理单元外公共通道,以免影响其他单元环境。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">3.爱护公共设施:</text>妥善使用本护理单元病房内的床铺、桌椅、呼叫器、卫生间设备等公共设施,不得故意损坏。如因使用不当造成设施设备损坏,需照价赔偿。禁止在病房内私自拆卸、改装任何设施设备。严禁将本护理单元设施设备挪至其他单元使用。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">4.规范用电安全:</text>:严禁在病房内使用电炉、热得快、电暖器等大功率电器,不得私拉乱接电线,防止发生用电安全事故。手机、充电器等小型电器使用完毕后及时拔除电源。各护理单元应独立检查用电安全,不得因用电不当影响其他单元供电。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">5.禁止吸烟:</text>NU 护理单元为无烟区域,长者及家属严禁在病房、走廊、卫生间等任何区域吸烟,违者将按照医院相关规定进行处罚。尤其要注意,在独立护理单元周边区域也严禁吸烟避免烟雾飘散影响其他单元长者健康。
|
||||
</view>
|
||||
<view class="font-ri" style="margin-top: 50rpx;">
|
||||
(二)安全与沟通
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">1.长者安全管理:</text>
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<p>  长者不得擅自离开所在护理单元。确需外出时,须向主管护士提出书面请假申请,经医生评估同意并签署意见后,方可离院。外出期间长者的安全由家属负责,如因擅自外出导致病情加重或其他意外情况,后果自行承担。</p>
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<p>  主动与医护人员保持良好沟通,及时反馈长者的病情变化、不适症状及心理状态。积极参与长者的护理计划和治疗方案制定,提出合理的意见和建议。家属如需了解其他护理单元类似病例情况,应通过医护人员正规渠道咨询,不得私自打听。</p>
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<p>  妥善保管长者的贵重物品,医护人员不承担长者财物保管责任。如需帮助,可与护理单元管理人员协商解决。不得在护理单元公共区域随意堆放个人物品,影响通行及空间使用。</p>
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
三、独立空间管理细则
|
||||
</view>
|
||||
<view class="font-normal">
|
||||
<text style="font-weight: 600;">1.空间使用规范:</text>各护理单元为独立封闭空间,未经允许,长者、家属及医护人员不得随意进入其他护理单元。护理单元之间设置明显标识及隔离设施,防止人员误闯。在紧急情况下,如需跨单元调配资源,需遵循医院统一指挥,按照既定应急流程执行。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">2.设施设备管理:</text>每个护理单元配备独立的仪器设备,设备专人专用,定期维护保养。设备标识明确所属护理单元,不得自挪用至其他单元。如设备出现故障,及时报修,并在本单元内做好备用设备调配,确保护理工作不受影响。定期对护理单元内设施设备进行安全检查,包括电气设备、医疗器械等,保障长者使用安全。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">3.环境清洁与消毒:</text>各护理单元安排专人负责日常清洁与消毒工作,保持空间内环境整洁卫生。按照医院感染防控要求,制定独立的消毒计划,对病房、走廊、卫生间、护士站等区域定期消毒。消毒用品独立存放于本护理单元,妥善保管,防止误用。在传染病流行期间,加强本护理单元的防控措施,严格限制人员进出,确保不发生交又感染。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">4.物资管理:</text>护理单元内物资独立储备,包括药品、耗材、办公用品等。建立物资管理台账,定期盘点,确保物资充足且在有效期内。物资领取、使用严格登记,避免浪费及流失。特殊物资(如急救药品、贵重耗材)单独存放,专人负责管理,保障紧急情况下物资供应。若物资短缺需跨单元调配,需经上级部门协调,遵循先急后缓原则。
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
四、附则
|
||||
</view>
|
||||
<view class="font-normal">
|
||||
1.本使用条款由[制定部门]负责解释和修订。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
2.本使用条款自发布之日起施行。如有与本条款相抵触的规定,以本条款为准。
|
||||
</view>
|
||||
<!-- <view class="font-title" style="margin-top: 250rpx;">
|
||||
NU护理单元
|
||||
</view>
|
||||
<view class="font-title">
|
||||
隐私信息保护政策
|
||||
</view>
|
||||
<view class="font-gray">
|
||||
<view class="">
|
||||
更新日期:2025年06月20日
|
||||
</view>
|
||||
<view class="">
|
||||
生效日期:2025年06月20日
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="font-normal">
|
||||
<p>  为了更好地保障您的权益,我们于近日更新了《NU护理单元隐私信息保护政策》。</p>
|
||||
<p>  请您在使用/继续使用NU护理单元产品/或服务前仔细阅读、充分理解全文,并在同意全部内容后使用/继续使用。</p>
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
前言
|
||||
</view>
|
||||
<view class="font-normal">
|
||||
1.NU护理单元/或服务指由吉林省捌零信创科技有限公司及其关联公司(以下称为“NU护理单元”或者“我们”)运营,并由吉林省捌零信创科技有限公司开发及维护的产品和服务(以下亦称“我们的产品/或服务”)。我们非常重视您的隐私保护和个人信息保护,鉴于此,我们制定本《NU护理单元隐私信息保护政策》(以下称为“本政策”),与您确认关于您在使用我们的产品/或服务期间,NU护理单元收集、存储、使用、披露和保护您的个人信息的相关事宜。如您对本政策内容有任何疑问、意见或建议,您可通过我们提供的各种联系方式与我们联系。
|
||||
</view>
|
||||
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
2.在使用我们的各项产品和/或服务前,请您务必仔细阅读并透彻理解本政策,<text style="font-weight: 600;">
|
||||
特别是以粗体、粗体加下划线标识的条款您应重点阅读,在确认充分理解并同意后开始使用。如果您您的监护人不同意本政策的任何内容,您应该立即停止使用。</text>
|
||||
</view>
|
||||
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
3.本政策为NU护理单元统一适用的一般性隐私政策条款,适用于NU护理单元提供的所有产品和服务。当我们及关联公司就其向您提供的特定产品和/或服务单独设立隐私政策的,则优先适用该产品和/或服务的隐私政策。该产品和/或服务的隐私政策未涵盖的内容,以本政策内容为准;该产品和/或服务的隐私政策与本政策存在冲突的,以该产品和/或服务的隐私政策为准。
|
||||
</view>
|
||||
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
4. <text
|
||||
style="font-weight: 600;">请您注意,本政策不适用于与我们的平台、产品和/或服务集成的任何第三方应用程序或软件,或者任何其他第三方产品服务或业务(统称为“第三方服务”)。第三方服务由第三方负责运营,您使用第三方服务应遵守第三方为此制定的隐私政策或其他个人信息处理规则,我们提示您仔细识别实际服务的提供方,并在使用任何第三方服务之前仔细查看相关规则。</text>
|
||||
</view>
|
||||
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
5.您同意本政策表示您已经了解并同意在相关场景下,为实现功能运行,我们将对您的相关个人信息进行处理。但这并不代表只要您开始使用我们的产品和/或服务,我们即开始处理本政策中涉及的您的全部个人信息。只有当您使用特定功能时,我们才会根据“最小必要”原则,为实现向您提供产品功能及服务的目的,处理您的相关个人信息。
|
||||
</view>
|
||||
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
6.您理解并同意,基于不断完善产品和服务的目的,我们将不时推出新增和/或优化功能,可能增加或变更收集、使用个人信息的范围、目的和方式。对此,我们将通过更新本政策、页面提示、新签署文件、弹窗、网站公告或站内信等即时通知方式另行向您明确说明,并为您提供同意与否的选项。该等即时通知是本政策的有效组成部分,与本政策具有同等法律效力。您有权拒绝同意该等即时通知,但您同时知悉并理解,一旦您拒绝我们收集、处理您的个人信息属于实现更新服务或功能所必要的情形时,我们将可能无法为您提供更新后的服务与功能,或者无法达到更新服务的效果,但您原有正常使用的基础功能不受影响。
|
||||
</view>
|
||||
|
||||
<view class="font-qian">
|
||||
关于我们
|
||||
</view>
|
||||
|
||||
<view class="font-normal">
|
||||
<p>  我们的主要运营公司基本情况如下:长春市经济开发区长吉南线以东、吉林大路以南东方广场中意国际大厦B座
|
||||
1431号。</p>
|
||||
<p>  联系电话:18043530712。如您想更详细的了解我们的公司、平台,您可以通过本政策提供的联系方式与我们联系。</p>
|
||||
</view>
|
||||
|
||||
<view class="font-title">
|
||||
护理单元隐私条款
|
||||
<view class="font-qian">
|
||||
第一部分 定义
|
||||
</view>
|
||||
<view style="margin-bottom: 50rpx;">
|
||||
<p>  本《护理单元隐私条款》(以下简称“本条款”)为用户在登录并使用本护理单元(包括网站、App及相关服务)时必须共同遵守的法律协议。请您在使用本护理单元前,认真阅读并充分理解本条款全部内容,如您不同意本条款任何内容,请勿登录或使用本护理单元。
|
||||
</p>
|
||||
<br />
|
||||
<p>一、总则</p>
|
||||
<p>1.1 本护理单元由[公司名称](以下简称“本平台”)提供维护,具有独立运营权。</p>
|
||||
<p>1.2 用户是指注册、登录并使用本护理单元的机构、医护人员及相关人员,您在注册或登录时提交的信息应真实、准确、完整,并对其真实性负责。</p>
|
||||
<p>1.3 本条款构成用户与本平台之间关于护理单元使用的完整协议,除本条款外,用户与本平台可能不另行签署其他协议。</p>
|
||||
<br />
|
||||
<p>二、服务内容</p>
|
||||
<p>2.1 本平台为用户提供以下主要服务:</p>
|
||||
<p>a) 护理计划制定与管理;</p>
|
||||
<p>b) 病人信息记录与查询;</p>
|
||||
<p>c) 护理任务分派与跟踪;</p>
|
||||
<p>d) 护理质量考核与评估;</p>
|
||||
<p>e) 其他相关护理支持服务。</p>
|
||||
<p>2.2 本平台可根据业务发展和技术需求,不时调整、本条款所描述的服务内容并在平台界面或其他适当位置予以公告。</p>
|
||||
<br />
|
||||
<p>三、用户权利与义务</p>
|
||||
<p>3.1 用户有权按照本条款、平台规则及法律法规的相关规定,使用本平台提供的各项服务。</p>
|
||||
<p>3.2 用户应按照本平台要求,妥善保管登录账户及密码,不得将账户转借、转让或泄露给他人。如因账户外泄导致的任何损失,由用户自行承担。</p>
|
||||
<p>3.3 用户在使用本平台时,应遵守国家法律法规及行业规范,不得利用本平台从事下列行为:</p>
|
||||
<p>a) 侵犯他人合法权益的行为;</p>
|
||||
<p>b) 发布或传播违法、淫秽、暴力或其他不良信息;</p>
|
||||
<p>c) 非法获取、使用或披露他人隐私信息;</p>
|
||||
<p>d) 利用本平台实施任何违法或不当行为。</p>
|
||||
<p>3.4 用户保证对上传、发布至本平台的所有资料及信息拥有合法权利。如因用户发布的信息引发任何纠纷或法律责任,与本平台无关,概由用户自行承担。</p>
|
||||
<br />
|
||||
<p>四、隐私与数据保护</p>
|
||||
<p>4.1 本平台依法收集、使用、存储和保护用户的个人信息与病人健康信息,并采取合理的技术和管理措施,防止信息泄露、损毁或被非法访问。</p>
|
||||
<p>4.2 未经用户同意,本平台不会向任何第三方披露用户个人信息,但法律法规另有规定或司法机关、行政机关依职权要求的除外。</p>
|
||||
<p>4.3 用户同意本平台在执行业务过程中,对用户及病人信息进行处理与统计,并用于优化服务、产品研发及内部管理等用途。</p>
|
||||
<br />
|
||||
<p>五、使用规范</p>
|
||||
<p>5.1 用户应在具备相应资格或授权的前提下使用本平台的专业护理模块。</p>
|
||||
<p>5.2 平台仅为辅助工具,用户在实际护理过程中,应结合临床实际情况及专业判断,不得完全依赖平台数据而忽视专业判断。</p>
|
||||
<p>5.3 用户应合理使用系统资源,不得恶意攻击、干扰或破坏本平台的正常运行。</p>
|
||||
<br />
|
||||
<p>六、免责声明</p>
|
||||
<p>6.1 本平台对因本款项原因导致的服务中断、延迟或数据丢失不承担责任,但将尽最大努力恢复服务并减少损失。</p>
|
||||
<p>6.2 本平台对因技术故障、停电、通讯线路中断、第三方服务故障、不可抗力等原因导致的服务中断或其他问题不承担责任。</p>
|
||||
<p>6.3 本平台对用户因使用本平台服务而产生的任何间接、附带、特殊或惩罚性损害赔偿不承担责任。</p>
|
||||
<br />
|
||||
<p>七、知识产权</p>
|
||||
<p>7.1 本平台及其所提供服务中的所有内容(包括文字、图片、图表、界面设计、程序等)的著作权、专利权、 商标权益及其他知识产权,均归本平台或相关权利人所有。</p>
|
||||
<p>7.2 未经本平台事先书面许可,用户不得擅自复制、改编、发布、传播或以其他方式使用上述内容。</p>
|
||||
<br />
|
||||
<p>八、协议变更与终止</p>
|
||||
<p>8.1 本平台有权根据业务发展需要,不时修订本条款并在平台界面或其他适当位置予以公告。修订后的条款自公告之日起生效。</p>
|
||||
<p>8.2 如用户不接受修订后的条款,应停止使用本平台。如继续使用,视为接受修订后的条款。</p>
|
||||
<p>8.3 本平台有权在用户严重违反本条款或法律法规的情况下,暂停或终止向该用户提供服务,并保留追究其法律责任的权利。</p>
|
||||
<br />
|
||||
<p>九、争议解决</p>
|
||||
<p>9.1 本条款的解释、效力及纠纷解决,适用中华人民共和国法律。</p>
|
||||
<p>9.2 因本条款或因使用本平台服务产生的任何争议,双方应友好协商解决;协商不成时,任一方可向本平台所在地有管辖权的人民法院提起诉讼。</p>
|
||||
<br />
|
||||
<p>十、其他</p>
|
||||
<p>10.1 如本条款某一条款被有权机关认定为无效或不可执行,不影响其他条款的有效性。</p>
|
||||
<p>10.2 本条款自用户在登录界面点击“同意”并登录成功之日起生效。</p>
|
||||
<br />
|
||||
|
||||
<view class="font-normal">
|
||||
<text style="font-weight: 600;">1.个人信息:</text>是以电子或者其他方式记录的与已识别或者可识别的自然人有关的各种信息,不包括匿名化处理后的信息。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">2.敏感个人信息:</text>是一旦泄露或者非法使用,容易导致自然人的人格尊严受到侵害或者人身、财产安全受到危害的个人信息,包括生物识别、宗教信仰、特定身份、金融账户、行踪轨迹等信息,以及不满十四周岁未成年人的个人信息。敏感信息在本政策中会做加粗加下划线提示。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">3.个人信息的处理:</text>包括个人信息的收集、存储、使用、加传输、提供、公开、删除等。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">4.个人信息处理者:</text>是指在个人信息处理活动中自主决定处理目的、处理方式的组织、个人。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">5.个人信息主体:</text>指个人信息所标识或者关联的自然人。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">6.自动化决策:</text>是指通过计算机程序自动分析、评估个人的行为习惯、兴趣爱好或者经济、健康、信用状况等,并进行决策的活动。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">7.去标识化:</text>指个人信息经过处理,使其在不借助额外信息的情况下,无法识别特定自然人的过程。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">8.匿名化:</text>指个人信息经过处理无法识别特定自然人且不能复原的过程。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">9.NU护理单元:</text>是指NU护理单元或其关联公司发布和/或运营的包括但不限于NU护理单元相关的网络平台。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">10.NU护理单元产品和/或服务:</text>指我们基于互联网,以包含NU护理单元网站、客户端(含APP\APK\小程序)及其他产品形态(如SDK\API等,以及未来技术发展出现的新的形态)向您提供的包括但不限于内容分发、信息网络传播、互联网音视频业务等各项产品和服务。
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
<text style="font-weight: 600;">11.平台规则:</text>包括在所有NU护理单元网站、客户端内已经发布及后续发布的全部规则、用户服务协议、解读、公告、其他内容以及各平台在频道、活动页面、帮助中心发布的各类规则、实施细则、产品说明、公告及各形式的平台规范。
|
||||
</view>
|
||||
<view class="font-qian">
|
||||
第二部分 隐私保护政策
|
||||
</view>
|
||||
<view class="font-qian" style="font-size: 28rpx;margin-top: 0;">
|
||||
本政策将帮助您了解以下内容:
|
||||
</view>
|
||||
<view class="font-normal">
|
||||
一、我们如何收集和使用您的个人信息
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
二、我们如何使用 Cookie 和同类技术
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
三、我们如何共享、转让和披露您的个人信息
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
四、我们如何存储您的个人信息
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
五、我们如何保护您的个人信息安全
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
六、我们如何保护未成年人的个人信息
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
七、您如何行使您的个人信息权利
|
||||
</view>
|
||||
<view class="font-normal" style="margin-top: 50rpx;">
|
||||
八、如何联系我们
|
||||
</view> -->
|
||||
<view class="back-button" @click="goback">
|
||||
关闭
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
|
@ -80,26 +210,58 @@
|
|||
<style lang="scss" scoped>
|
||||
.font-father {
|
||||
width: 100%;
|
||||
// height: 100vh;
|
||||
padding: 0 50rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 80rpx;
|
||||
flex-direction: column;
|
||||
|
||||
|
||||
.title-font{
|
||||
margin: 250rpx auto 80rpx auto;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.font-title {
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.font-qian {
|
||||
font-size: 35rpx;
|
||||
font-weight: 700;
|
||||
margin: 20rpx 0;
|
||||
margin: 50rpx 0;
|
||||
}
|
||||
|
||||
.font-ri{
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
margin-left: -20rpx;
|
||||
// margin-bottom: 30rpx;
|
||||
// margin: 30rpx 0;
|
||||
}
|
||||
|
||||
.font-gray {
|
||||
font-size: 25rpx;
|
||||
color: #999;
|
||||
margin: 50rpx 0;
|
||||
}
|
||||
}
|
||||
|
||||
.back-imge {
|
||||
// position: absolute;
|
||||
// top: 100rpx;
|
||||
// left: 30rpx;
|
||||
margin: 100rpx 0 50rpx 0rpx;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
.font-normal {
|
||||
font-size: 25rpx;
|
||||
color: #333333;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.back-button{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 80rpx auto;
|
||||
border: 2rpx solid #c3cacd;
|
||||
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
|
||||
border-radius: 50rpx;
|
||||
font-size: 35rpx;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,11 +1,70 @@
|
|||
<template>
|
||||
<view class="font-father">
|
||||
<view class="font-title">
|
||||
尊敬的用户,你的手机<text>{{ phonenumber }}</text>已成功绑定,欢迎加入护理单元大家庭!
|
||||
<image class="title-img"
|
||||
:src="`https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`" />
|
||||
<view class="font-title" v-if="phonenumber">
|
||||
<view style="display: flex;">
|
||||
<text>尊敬的用户,你的手机</text><text style="color: #259AFB;">{{ maskPhone(phonenumber) }}</text>
|
||||
</view>
|
||||
<view class="big-font">
|
||||
已成功绑定
|
||||
</view>
|
||||
<view class="">
|
||||
欢迎加入护理单元大家庭!
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-button" @click="jumpto">
|
||||
我的机构
|
||||
|
||||
|
||||
<view class="font-title" v-if="!phonenumber">
|
||||
尊敬的用户,你的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!
|
||||
</view>
|
||||
<view style="width: 100%;z-index: 999;">
|
||||
<view class="bottom-button" @click="jumpto">
|
||||
我的机构
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-father-spec">
|
||||
<image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/introduce/oldman.png" />
|
||||
<view class="weight-font">
|
||||
长者入住
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-for="(item,index) in cardarray" :key="index" style="width: 100%;">
|
||||
<view class="white-card">
|
||||
<view class="white-left">
|
||||
<view class="white-title">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view class="white-text">
|
||||
{{item.content}}
|
||||
</view>
|
||||
</view>
|
||||
<image class="white-right"
|
||||
:src="`https://www.focusnu.com/media/directive/login/introduce/${index}.png`" />
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="white-father">
|
||||
<image class="white-imge" src="https://www.focusnu.com/media/directive/login/introduce/nurse.png" />
|
||||
<view class="weight-font">
|
||||
员工入驻
|
||||
</view>
|
||||
<view class="gray-font">
|
||||
入驻护理单元,遵循标准护理流程,提供长者床旁照护用专业技能与人文关怀共同守护长者健康。依托物联设备优化服务流程,依托员工培训提升照护能力,确保服务精准高效。
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="white-father" style="margin-bottom: 50rpx;">
|
||||
<image class="white-imge" src="https://www.focusnu.com/media/directive/login/introduce/jigou.png" />
|
||||
<view class="weight-font">
|
||||
机构加盟
|
||||
</view>
|
||||
<view class="gray-font">
|
||||
加盟护理单元,坐拥成熟运营体系,精简人力配置,降低运营成本。优质资源共享,多重优势协同发力,全方位拓宽利润空间,助力占领银发赛道。
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -17,48 +76,229 @@
|
|||
reactive,
|
||||
ref
|
||||
} from 'vue';
|
||||
|
||||
|
||||
import {
|
||||
// getOpenid,
|
||||
getMessage
|
||||
} from '@/api/loginApi.js'
|
||||
|
||||
const cardarray = [{
|
||||
title: "日常照料:专业规范,细致周全",
|
||||
content: "提供专业日常、饮食、清洁、睡眠、排泄等照料服务,长者舒适安心。"
|
||||
},
|
||||
{
|
||||
title: " 健康监测:实时监测、精准应对",
|
||||
content: "7*24小时生命体征监测,专业方案提前防控,健康风险提早化解。"
|
||||
},
|
||||
{
|
||||
title: " 医护照料:多专联合,专业护航",
|
||||
content: "医疗、护理团队协同合作,守护长者身体安康。"
|
||||
},
|
||||
{
|
||||
title: "康复护理:科学规划,有效复健",
|
||||
content: "量身定制护理流程,科学手段实施精准干预,为长者健康保驾护航。"
|
||||
},
|
||||
{
|
||||
title: "贴心关怀:温暖陪伴、心灵慰藉",
|
||||
content: "护理员床前陪伴、耐心疏导,让长者感受家的温暖与关怀。"
|
||||
},
|
||||
]
|
||||
const phonenumber = ref("");
|
||||
const jumpto = () => {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
getMessage(uni.getStorageSync("openid")).then(res => {
|
||||
if (!res.result.tel) {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
} else {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.setStorageSync('izJg', res.result.izJg);
|
||||
uni.setStorageSync('izJs', res.result.izJs);
|
||||
uni.setStorageSync('izYg', res.result.izYg);
|
||||
switch (res.result.advisoryType) {
|
||||
case `1`:
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
break;
|
||||
case `2`:
|
||||
|
||||
|
||||
break;
|
||||
case `3`:
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
default:
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/callback`
|
||||
// });
|
||||
}
|
||||
onLoad(()=>{
|
||||
phonenumber.value = uni.getStorageSync('tel')
|
||||
|
||||
function maskPhone(phone) {
|
||||
return phone.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2');
|
||||
}
|
||||
onLoad((options) => {
|
||||
if (!options.type) {
|
||||
phonenumber.value = uni.getStorageSync('tel')
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.font-father {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0 50rpx;
|
||||
min-height: 100vh;
|
||||
padding: 0 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
// flex-direction: column;
|
||||
.font-title{
|
||||
margin-top: 200rpx;
|
||||
background-color: rgb(239, 239, 239);
|
||||
|
||||
.white-father-spec {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
position: relative;
|
||||
// padding: 10rpx 2%;
|
||||
|
||||
|
||||
.white-imge-spec {
|
||||
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 200rpx;
|
||||
margin-top: 7rpx;
|
||||
}
|
||||
|
||||
.weight-font {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: 60rpx;
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
// margin-top: 30rpx;
|
||||
// margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.gray-font {
|
||||
color: #999999;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
}
|
||||
.bottom-button{
|
||||
position: fixed;
|
||||
bottom: 150rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 400rpx;
|
||||
height: 100rpx;
|
||||
// border-radius: 30rpx;
|
||||
|
||||
.white-father {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 30rpx;
|
||||
padding: 30rpx 30rpx;
|
||||
|
||||
|
||||
.white-imge {
|
||||
|
||||
width: 635rpx;
|
||||
margin: 0 auto;
|
||||
height: 200rpx;
|
||||
}
|
||||
|
||||
.weight-font {
|
||||
// margin-left: 7%;
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-top: 30rpx;
|
||||
// margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.gray-font {
|
||||
color: #999999;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.font-title {
|
||||
margin-top: 200rpx;
|
||||
margin-bottom: 0rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
padding: 0 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.bottom-button {
|
||||
margin-top: 50rpx;
|
||||
margin-bottom: 0;
|
||||
width: 250rpx;
|
||||
margin-left: 30rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
font-size: 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
// z-index: 999;
|
||||
}
|
||||
}
|
||||
|
||||
.white-card {
|
||||
width: 100%;
|
||||
height: 230rpx;
|
||||
background-color: #fff;
|
||||
margin-top: 25rpx;
|
||||
border-radius: 30rpx;
|
||||
// box-shadow: 0 0 6rpx rgba(0, 0, 0, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.white-left {
|
||||
width: 80%;
|
||||
padding-left: 8%;
|
||||
|
||||
// padding-left: 60rpx;
|
||||
.white-title {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.white-text {
|
||||
color: #999999;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
}
|
||||
|
||||
.white-right {
|
||||
// width: 12%;
|
||||
margin-left: 2%;
|
||||
width: 85rpx;
|
||||
height: 85rpx;
|
||||
}
|
||||
}
|
||||
.title-img{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 600rpx;
|
||||
}
|
||||
.big-font{
|
||||
font-size: 70rpx;
|
||||
color: black;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -51,9 +51,10 @@
|
|||
<view class="card-text">
|
||||
护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护服务。
|
||||
</view>
|
||||
<view class="white-button" @click="jumpToindex">
|
||||
<view class="white-button">
|
||||
申请入住
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="card-right">
|
||||
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/old.png" />
|
||||
|
|
@ -80,7 +81,7 @@
|
|||
<image class="right-imge" src="https://www.focusnu.com/media/directive/login/yuangong.png" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="card" style="height: 330rpx;">
|
||||
<view class="card" style="height: 340rpx;">
|
||||
<view class="card-left">
|
||||
<view class="card-weight">
|
||||
机构加盟
|
||||
|
|
@ -89,10 +90,10 @@
|
|||
加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。
|
||||
</view>
|
||||
<view style="display: flex;">
|
||||
<!-- <view class="white-button" style="margin-right: 30rpx;" @click="gotowork(1)">
|
||||
审核列表
|
||||
</view> -->
|
||||
<view class="white-button" @click="gotoadd">
|
||||
<view class="white-button" @click="jumpToindex" v-if="op2==`1`">
|
||||
进入机构
|
||||
</view>
|
||||
<view class="white-button" @click="gotoadd" v-if="op2!=`1`">
|
||||
申请加盟
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -127,9 +128,15 @@
|
|||
itemTarget.value = index;
|
||||
}
|
||||
const ceshi = () => {
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/addjigou/all`
|
||||
// });
|
||||
}
|
||||
|
||||
const jumpToindex = () => {
|
||||
|
|
@ -157,8 +164,14 @@
|
|||
uni.exitMiniProgram({});
|
||||
}
|
||||
const phone = ref("")
|
||||
const op0 = ref(false);
|
||||
const op1 = ref(false);
|
||||
const op2 = ref(false);
|
||||
onLoad(() => {
|
||||
phone.value = uni.getStorageSync('tel');
|
||||
op0.value = uni.getStorageSync('izJs');
|
||||
op1.value = uni.getStorageSync('izYg');
|
||||
op2.value = uni.getStorageSync('izJg');
|
||||
})
|
||||
</script>
|
||||
|
||||
|
|
@ -335,7 +348,7 @@
|
|||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
font-size: 35rpx;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,27 +1,18 @@
|
|||
<template>
|
||||
<view class="login-container">
|
||||
<view class="white-card">
|
||||
<image class="left-img"
|
||||
:src="type=== `1` ? `https://www.focusnu.com/media/directive/index/workjoin/man.png` : `https://www.focusnu.com/media/directive/index/workjoin/bgcren.png`" />
|
||||
<view class="card-font">
|
||||
<view style="font-size: 30rpx;font-weight: 600;margin: 20rpx 0 30rpx 0;">
|
||||
{{type=== `1` ? `机构加盟`:`员工入驻`}}
|
||||
</view>
|
||||
<view style="color: #666666;font-size: 25rpx;">
|
||||
护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护。
|
||||
<view class="index-up">
|
||||
<image class="index-up-img" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix"
|
||||
lazy-load="false" />
|
||||
</view>
|
||||
|
||||
<view class="bgc-card">
|
||||
<view class="title-card">
|
||||
<view class="big-weight">机构加盟</view>
|
||||
<view class="title-other">
|
||||
加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-ball" @click="goback">
|
||||
<image class="ball-imge" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" />
|
||||
</view>
|
||||
<view class="shu-father">
|
||||
<view class="shu"></view>
|
||||
<view class="shu-font">{{ type==="1" ? `机构加盟审核列表` : `员工入驻审核列表` }}</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="under-scroll">
|
||||
<view class="under-scroll">
|
||||
<view v-for="(item,index) in workArray" :key="index">
|
||||
<view class="white-small">
|
||||
<view style="width: 100%;margin-bottom: 80rpx;font-size: 25rpx;">
|
||||
|
|
@ -29,52 +20,79 @@
|
|||
{{item.status==3?`,驳回备注:${item.content}`:``}}
|
||||
</view>
|
||||
<view class="button-heng">
|
||||
<view class="blue-button" v-if="item.status==3||item.status==0" @click="again(item)">
|
||||
<view class="blue-button" v-if="item.status==3" @click="again(item)">
|
||||
修改申请
|
||||
</view>
|
||||
<view class="white-button" @click="jumpToAll(item)">
|
||||
查看详情
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
ref,
|
||||
nextTick
|
||||
} from 'vue';
|
||||
import {
|
||||
onLoad,
|
||||
onPullDownRefresh
|
||||
} from '@dcloudio/uni-app'
|
||||
import {
|
||||
getMessageList
|
||||
getMessageList,
|
||||
getMessageListsuccess
|
||||
} from '@/pages/addjigou/api/addjigou.js'
|
||||
const type = ref(0)
|
||||
const workArray = ref([])
|
||||
|
||||
const special = ref(false);
|
||||
// 页面加载时接收 URL 参数
|
||||
onLoad((options) => {
|
||||
// options.type 即为你在 URL 里传的 number
|
||||
type.value = options.type || ''
|
||||
if (type.value) {
|
||||
getMessageList(uni.getStorageSync('tel')).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
}
|
||||
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
if (type.value==1) {
|
||||
getMessageList(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
}else if(type.value==3){
|
||||
getMessageListsuccess(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
type.value=`1`;
|
||||
special.value = true
|
||||
}
|
||||
}
|
||||
});
|
||||
})
|
||||
|
||||
onPullDownRefresh(()=>{
|
||||
getMessageList(uni.getStorageSync('tel')).then(res => {
|
||||
workArray.value = res.result
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
|
||||
onPullDownRefresh(() => {
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
if (type.value) {
|
||||
if(special.value){
|
||||
getMessageListsuccess(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
}else{
|
||||
getMessageList(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
});
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
|
||||
const goback = () => {
|
||||
|
|
@ -85,7 +103,7 @@
|
|||
console.log("????", item)
|
||||
uni.setStorageSync("baddata", item)
|
||||
uni.setStorageSync('specicalid', item.id);
|
||||
uni.setStorageSync("backhuancun",{})
|
||||
uni.setStorageSync("backhuancun", {})
|
||||
uni.navigateTo({
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
|
|
@ -107,117 +125,6 @@
|
|||
background-color: rgb(239, 241, 252);
|
||||
position: relative;
|
||||
|
||||
.title {
|
||||
margin-top: 70rpx;
|
||||
align-items: center;
|
||||
|
||||
.title-imge {
|
||||
width: 100rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 100rpx;
|
||||
}
|
||||
|
||||
.title-font {
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 105rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.photo-imge {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.old-imge {
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
transform: translateX(50%);
|
||||
top: 0rpx;
|
||||
width: 550rpx;
|
||||
height: 750rpx;
|
||||
}
|
||||
|
||||
// .under-container {
|
||||
// position: fixed;
|
||||
// left: 0;
|
||||
// bottom: 0;
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// background-color: rgb(236, 238, 244);
|
||||
// box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// align-items: center;
|
||||
// z-index: 1;
|
||||
// }
|
||||
}
|
||||
|
||||
.white-card {
|
||||
margin-top: 200rpx;
|
||||
margin-left: 3%;
|
||||
width: 94%;
|
||||
background-color: #fff;
|
||||
height: 320rpx;
|
||||
border-radius: 45rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
.left-img {
|
||||
width: 150rpx;
|
||||
height: 250rpx;
|
||||
margin-left: 50rpx;
|
||||
// margin-top: 35rpx;
|
||||
|
||||
}
|
||||
|
||||
.card-font {
|
||||
margin-left: 60rpx;
|
||||
// margin-top: 50rpx;
|
||||
width: 380rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.white-ball {
|
||||
position: absolute;
|
||||
right: 60rpx;
|
||||
top: 220rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #b1b1b1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.ball-imge {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.shu-father {
|
||||
display: flex;
|
||||
margin: 30rpx 0;
|
||||
width: 100%;
|
||||
|
||||
.shu {
|
||||
background: linear-gradient(to bottom, #00C9FF, #0076FF);
|
||||
margin: 0 5%;
|
||||
width: 15rpx;
|
||||
border-radius: 10rpx;
|
||||
height: 35rpx;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.shu-font {
|
||||
color: #666666;
|
||||
}
|
||||
}
|
||||
|
||||
.under-scroll {
|
||||
|
|
@ -270,4 +177,44 @@
|
|||
|
||||
}
|
||||
}
|
||||
.bgc-card{
|
||||
margin-top: 550rpx;
|
||||
background-color: #F7F7F7;
|
||||
width: 99%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
z-index: 1;
|
||||
}
|
||||
.index-up {
|
||||
position: absolute;
|
||||
top: -70rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
|
||||
.index-up-img {
|
||||
width: 100%;
|
||||
height: 20rpx;
|
||||
}
|
||||
}
|
||||
.title-card{
|
||||
margin: 30rpx;
|
||||
background-color: #fff;
|
||||
width: 93%;
|
||||
height: 250rpx;
|
||||
border-radius: 30rpx;
|
||||
padding: 0 45rpx;
|
||||
margin-top: 40rpx;
|
||||
padding-top: 45rpx;
|
||||
.big-weight{
|
||||
font-size: 30rpx;
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.title-other{
|
||||
color: #666666;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -33,12 +33,21 @@
|
|||
<view v-if="reverseRotatable" class="rotate-icon" @click="cropper.rotateImage270"></view>
|
||||
<view v-if="rotatable" class="rotate-icon is-reverse" @click="cropper.rotateImage90"></view>
|
||||
</view>
|
||||
<view v-if="!choosable" class="choose-btn" @click="cropClick">确定</view>
|
||||
<block v-else-if="!!imgSrc">
|
||||
<view v-if="(rotatable || reverseRotatable) && !!imgSrc" class="action-bar-anther">
|
||||
<view v-if="reverseRotatable" class="rotate-icon" @click="chooseImage"></view>
|
||||
<view v-if="rotatable" class="rotate-icon is-reverse" @click="chooseImage"></view>
|
||||
</view>
|
||||
<view v-if="(rotatable || reverseRotatable) && !!imgSrc" class="action-bar-right" @click="cropClick">
|
||||
确认
|
||||
<!-- <view v-if="reverseRotatable" class="rotate-icon" @click="cropper.rotateImage270"></view> -->
|
||||
<!-- <view v-if="rotatable" class="rotate-icon is-reverse" @click="cropper.rotateImage90"></view> -->
|
||||
</view>
|
||||
<!-- <view v-if="!choosable" class="choose-btn" @click="cropClick">确定</view> -->
|
||||
<!-- <block v-else-if="!!imgSrc">
|
||||
<view class="rechoose" @click="chooseImage">重选</view>
|
||||
<button class="button" size="mini" @click="cropClick">确定</button>
|
||||
</block>
|
||||
<view v-else class="choose-btn" @click="chooseImage">选择图片</view>
|
||||
</block> -->
|
||||
<!-- <view v-else class="choose-btn" @click="chooseImage">选择图片</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
|
@ -693,28 +702,70 @@
|
|||
z-index: 99;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: $uni-bg-color-grey;
|
||||
border-top-right-radius: 30rpx;
|
||||
border-top-left-radius: 30rpx;
|
||||
// background-color: $uni-bg-color-grey;
|
||||
// border-top-right-radius: 30rpx;
|
||||
// border-top-left-radius: 30rpx;
|
||||
|
||||
.action-bar {
|
||||
.action-bar-anther{
|
||||
position: absolute;
|
||||
top: -90rpx;
|
||||
left: 10rpx;
|
||||
top: -110rpx;
|
||||
left: 170rpx;
|
||||
display: flex;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgb(63,63,63);
|
||||
border-radius: 50%;
|
||||
.rotate-icon {
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCFJREFUaEPtml3IpVMUx3//ko/ChTIyiGFSMyhllI8bc4F85yuNC2FCqLmQC1+FZORiEkUMNW7UjKjJULgxV+NzSkxDhEkZgwsyigv119J63p7zvOc8z37OmXdOb51dz82711r7/99r7bXXXucVi3xokeNnRqCvB20fDmwAlgK/5bcD+FTSr33tHXQP2H4MeHQE0A+B5yRtLiUyDQJrgVc6AAaBpyV93kXkoBMIQLbfBS5NcK8BRwDXNcD+AdwnaVMbiWkRCPBBohpxHuK7M7865sclRdgNHVMhkF6IMIpwirFEUhzo8M7lwIvASTXEqyVtH8ZgagQSbOzsDknv18HZXpHn5IL8+94IOUm7miSmSqAttjPdbgGuTrnNktYsGgLpoYuAD2qg1zRTbG8P2D4SOC6/Q7vSHPALsE/S7wWy80RsPw/ckxMfSTq/LtRJwPbxwF3ASiCUTxwHCPAnEBfVF8AWSTtL7Ng+LfWOTfmlkn6udFsJ5K15R6a4kvX6yGyUFBvTOWzHXXFzCt4g6c1OArYj9iIGh43YgR+BvztXh1PSa4cMkd0jaVmXDduPAE+k3HpJD7cSGFKvfAc8FQUX8IOk/V2L1udtB/hTgdOBW4Aba/M7Ja1qs2f7euCNlHlZUlx4/495IWQ7Jl+qGbxX0gt9AHfJ2o6zFBVoNVrDKe+F3Sm8VdK1bQQ+A85JgXckXdkFaJx527cC9TpnVdvBtl3h2iapuhsGPdBw1b9xnUvaNw7AEh3bnwDnpuwGSfeP0rN9NvAMELXRXFkxEEK2nwQeSiOtRVQJwC4Z29cAW1Nuu6TVXTrN+SaBt4ErUug2Sa/2NdhH3vZy4NvU2S/p6D768w5xI3WOrAD7LtISFpGdIhVXKfaYvjd20wP13L9M0p4DBbaFRKToSLExVkr6qs+aIwlI6iwz+izUQqC+ab29PiMwqRcmPXczD8w8MFj1zg7xXEqbpdHCw7FgWSjafZL+KcQxtpjteCeflwYulFR/J3TabSslVkj6utPChAK2f6q9uZdLitKieLQRuExSvX9ZbLRUMFs09efpUZL+KtUfVo1GW/umNHC3pOhRLtiwfSbwZS6wV9IJfRdreuBBYH0a2STp9r4G+8jbXgc8mzoDT8VSO00ClwDv1ZR7XyylC4ec7ejaLUmdsV6Aw7oSbwFXpdFdks7qA6pU1na0aR6owgeIR/1cx63UzjAC0YXYVjMQHlkn6ZtSo21ytuPZGKFagQ/xsXZ/3iGuFrYdjafXG0DiQMeBi47c9/GV3BO247UV38n5o0UAP6xmu7jFOGxjRr66On5NPBDOCBsDTapxjHY1dyOcolNXnYlx1himE53p2PmNkxosevfavhg4Izt2k7TXPwZ2S6p6QZPin/2rwcQ7OKmBohCadJGF1P8PG6aaQBKVX/8AAAAASUVORK5CYII=');
|
||||
background-image: url('https://www.focusnu.com/media/directive/login/smallicon.png');
|
||||
background-size: 60% 60%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
width: 65rpx;
|
||||
height: 65rpx;
|
||||
&.is-reverse {
|
||||
transform: rotateY(180deg);
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.action-bar {
|
||||
position: absolute;
|
||||
top: -110rpx;
|
||||
left: 40rpx;
|
||||
display: flex;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgb(63,63,63);
|
||||
border-radius: 50%;
|
||||
.rotate-icon {
|
||||
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCFJREFUaEPtml3IpVMUx3//ko/ChTIyiGFSMyhllI8bc4F85yuNC2FCqLmQC1+FZORiEkUMNW7UjKjJULgxV+NzSkxDhEkZgwsyigv119J63p7zvOc8z37OmXdOb51dz82711r7/99r7bXXXucVi3xokeNnRqCvB20fDmwAlgK/5bcD+FTSr33tHXQP2H4MeHQE0A+B5yRtLiUyDQJrgVc6AAaBpyV93kXkoBMIQLbfBS5NcK8BRwDXNcD+AdwnaVMbiWkRCPBBohpxHuK7M7865sclRdgNHVMhkF6IMIpwirFEUhzo8M7lwIvASTXEqyVtH8ZgagQSbOzsDknv18HZXpHn5IL8+94IOUm7miSmSqAttjPdbgGuTrnNktYsGgLpoYuAD2qg1zRTbG8P2D4SOC6/Q7vSHPALsE/S7wWy80RsPw/ckxMfSTq/LtRJwPbxwF3ASiCUTxwHCPAnEBfVF8AWSTtL7Ng+LfWOTfmlkn6udFsJ5K15R6a4kvX6yGyUFBvTOWzHXXFzCt4g6c1OArYj9iIGh43YgR+BvztXh1PSa4cMkd0jaVmXDduPAE+k3HpJD7cSGFKvfAc8FQUX8IOk/V2L1udtB/hTgdOBW4Aba/M7Ja1qs2f7euCNlHlZUlx4/495IWQ7Jl+qGbxX0gt9AHfJ2o6zFBVoNVrDKe+F3Sm8VdK1bQQ+A85JgXckXdkFaJx527cC9TpnVdvBtl3h2iapuhsGPdBw1b9xnUvaNw7AEh3bnwDnpuwGSfeP0rN9NvAMELXRXFkxEEK2nwQeSiOtRVQJwC4Z29cAW1Nuu6TVXTrN+SaBt4ErUug2Sa/2NdhH3vZy4NvU2S/p6D768w5xI3WOrAD7LtISFpGdIhVXKfaYvjd20wP13L9M0p4DBbaFRKToSLExVkr6qs+aIwlI6iwz+izUQqC+ab29PiMwqRcmPXczD8w8MFj1zg7xXEqbpdHCw7FgWSjafZL+KcQxtpjteCeflwYulFR/J3TabSslVkj6utPChAK2f6q9uZdLitKieLQRuExSvX9ZbLRUMFs09efpUZL+KtUfVo1GW/umNHC3pOhRLtiwfSbwZS6wV9IJfRdreuBBYH0a2STp9r4G+8jbXgc8mzoDT8VSO00ClwDv1ZR7XyylC4ec7ejaLUmdsV6Aw7oSbwFXpdFdks7qA6pU1na0aR6owgeIR/1cx63UzjAC0YXYVjMQHlkn6ZtSo21ytuPZGKFagQ/xsXZ/3iGuFrYdjafXG0DiQMeBi47c9/GV3BO247UV38n5o0UAP6xmu7jFOGxjRr66On5NPBDOCBsDTapxjHY1dyOcolNXnYlx1himE53p2PmNkxosevfavhg4Izt2k7TXPwZ2S6p6QZPin/2rwcQ7OKmBohCadJGF1P8PG6aaQBKVX/8AAAAASUVORK5CYII=');
|
||||
background-size: 60% 60%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
&.is-reverse {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
.action-bar-right {
|
||||
position: absolute;
|
||||
top: -110rpx;
|
||||
right: 50rpx;
|
||||
display: flex;
|
||||
width:240rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: rgb(63,63,63);
|
||||
border-radius: 50rpx;
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.rechoose {
|
||||
color: rgb(51,51,51);
|
||||
padding: 0 $uni-spacing-row-lg;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n</style>\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACQM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/*每个页面公共css */\r\n\t@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n</style>\n","import App from './App'\r\nimport uView from './uni_modules/vk-uview-ui';\r\n// #ifndef VUE3\r\nimport Vue from 'vue'\r\nimport './uni.promisify.adaptor'\r\nimport uView from './uni_modules/vk-uview-ui';\nVue.use(uView);\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\nconst app = new Vue({\r\n\t...App\r\n})\r\napp.$mount()\r\n// #endif\r\n\r\n// #ifdef VUE3\r\nimport {\r\n\tcreateSSRApp\r\n} from 'vue'\r\nexport function createApp() {\r\n\tconst app = createSSRApp(App)\r\n\t// 使用 uView UI\r\n\tapp.use(uView)\r\n\treturn {\r\n\t\tapp\r\n\t}\r\n}\r\n// #endif"],"names":["uni","createSSRApp","App","uView"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACQM,SAAS,YAAY;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,iCAAK;AACb,SAAO;AAAA,IACN;AAAA,EACA;AACF;;;"}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"custom.js","sources":["compontent/public/custom.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovb2ZmaWNpYWxBY2NvdW50L2NvbXBvbnRlbnQvcHVibGljL2N1c3RvbS52dWU"],"sourcesContent":["<template>\n <view class=\"page-container\">\n <!-- 自定义导航栏 -->\n <view class=\"nav-bar\" :style=\"{ height: navHeight + 'px', paddingTop: statusBarHeight + 'px' }\">\n <!-- 左上角返回按钮 -->\n <image\n class=\"back-btn\"\n src=\"https://www.focusnu.com/media/directive/login/back.png\"\n @click=\"goBack\"\n :style=\"{\n left: capsule.left + 'px',\n top: capsule.top + 'px',\n width: capsule.height * 0.6 + 'px',\n height: capsule.height * 0.6 + 'px'\n }\"\n />\n\n <!-- 居中标题 -->\n <view class=\"title\" :style=\"{ lineHeight: capsule.height + 'px' }\">页面标题</view>\n\n <!-- 右上角胶囊占位 -->\n <view\n class=\"capsule-placeholder\"\n :style=\"{\n right: (sysInfo.screenWidth - capsule.left - capsule.width) + 'px',\n top: capsule.top + 'px',\n width: capsule.width + 'px',\n height: capsule.height + 'px'\n }\"\n />\n </view>\n\n <!-- 主体内容 -->\n <scroll-view class=\"page-body\" :style=\"{ paddingTop: navHeight + 'px' }\">\n <view class=\"content\">\n 页面主体内容…\n </view>\n </scroll-view>\n </view>\n</template>\n\n<script setup>\nimport { ref, computed, onMounted } from 'vue';\n\nconst sysInfo = ref({});\nconst capsule = ref({ left: 0, top: 0, width: 0, height: 0 });\nconst statusBarHeight = ref(0);\n\nonMounted(() => {\n const sys = uni.getSystemInfoSync();\n sysInfo.value = sys;\n statusBarHeight.value = sys.statusBarHeight;\n const rect = uni.getMenuButtonBoundingClientRect();\n capsule.value = rect;\n});\n\nconst navHeight = computed(() => {\n const gap = capsule.value.top - statusBarHeight.value;\n return statusBarHeight.value + capsule.value.height + gap;\n});\n\nfunction goBack() {\n uni.navigateBack();\n}\n</script>\n\n<style scoped>\n.page-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n.nav-bar {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n background-color: #fff;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);\n z-index: 100;\n}\n.back-btn {\r\n\tleft: 0;\n position: absolute;\n}\n.title {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n font-size: 18px;\n color: #333;\n font-weight: 500;\n}\n.capsule-placeholder {\n position: absolute;\n}\n.page-body {\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n.content {\n padding: 16px;\n}\n</style>\n","import Component from 'D:/officialAccount/compontent/public/custom.vue'\nwx.createComponent(Component)"],"names":["ref","onMounted","uni","computed"],"mappings":";;;;;AA4CA,UAAM,UAAUA,cAAAA,IAAI,CAAA,CAAE;AACtB,UAAM,UAAUA,cAAG,IAAC,EAAE,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,EAAG,CAAA;AAC5D,UAAM,kBAAkBA,cAAAA,IAAI,CAAC;AAE7BC,kBAAAA,UAAU,MAAM;AACd,YAAM,MAAMC,oBAAI;AAChB,cAAQ,QAAQ;AAChB,sBAAgB,QAAQ,IAAI;AAC5B,YAAM,OAAOA,oBAAI;AACjB,cAAQ,QAAQ;AAAA,IAClB,CAAC;AAED,UAAM,YAAYC,cAAQ,SAAC,MAAM;AAC/B,YAAM,MAAM,QAAQ,MAAM,MAAM,gBAAgB;AAChD,aAAO,gBAAgB,QAAQ,QAAQ,MAAM,SAAS;AAAA,IACxD,CAAC;AAED,aAAS,SAAS;AAChBD,oBAAG,MAAC,aAAY;AAAA,IAClB;;;;;;;;;;;;;;;;;;;;;AC9DA,GAAG,gBAAgB,SAAS;"}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"downmenu.js","sources":["compontent/public/downmenu.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovb2ZmaWNpYWxBY2NvdW50L2NvbXBvbnRlbnQvcHVibGljL2Rvd25tZW51LnZ1ZQ"],"sourcesContent":["<template>\r\n\t<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->\r\n\t<view class=\"botton-view\">\r\n\t\t<view v-for=\"(item,index) in itemArray\" :key=\"index\" class=\"array-father\">\r\n\t\t\t<view :class=\"itemTarget===index ? `bottom-button-target` : `bottom-button`\" @click=\"jumpto(index)\">\r\n\t\t\t\t<image class=\"botton-img\"\r\n\t\t\t\t\t:src=\"`https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget===index?1:0}.png`\" />\r\n\t\t\t\t<view class=\"bottom-text\">\r\n\t\t\t\t\t{{item}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\r\n\tconst props = defineProps({\r\n\t\titemTarget: {\r\n\t\t\ttype: Number,\r\n\t\t\trequired: true // 如果必须传\r\n\t\t\t// default: 0 // 如果你想给默认值\r\n\t\t}\r\n\t})\r\n\r\n\tconst itemArray = [\"NU\", \"动态\", \"我的\"];\r\n\t\r\n\tconst jumpto = (index) => {\r\n\t\tif(index!=props.itemTarget){\r\n\t\t\tswitch (index) {\r\n\t\t\t\tcase 0:\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/index`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 1:\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 2:\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: `/pages/index/mine`\r\n\t\t\t\t\t});\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t}\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n\t.botton-view {\r\n\t\tposition: fixed;\r\n\t\tbottom: 0;\r\n\t\tleft: 0;\r\n\t\theight: 120rpx;\r\n\t\twidth: 100%;\r\n\t\tbackground-color: #fff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tfont-weight: 500;\r\n\t\tz-index: 999;\r\n\r\n\t\t.bottom-button {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tflex-direction: column;\r\n\t\t}\r\n\r\n\t\t.bottom-button-target {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tcolor: rgb(42, 133, 235);\r\n\t\t\tflex-direction: column;\r\n\t\t}\r\n\r\n\t\t.blue-heng {\r\n\t\t\theight: 6rpx;\r\n\t\t\twidth: 150rpx;\r\n\t\t\tbackground-color: rgb(42, 133, 235);\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 55rpx;\r\n\t\t\tleft: 50%;\r\n\t\t\t/* 左边缘到父容器左边的距离占父宽度 50% */\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t}\r\n\t}\r\n\r\n\t.array-father {\r\n\t\twidth: 33%;\r\n\t\tposition: relative;\r\n\r\n\t}\r\n\t.botton-img {\r\n\t\twidth: 38rpx;\r\n\t\theight: 38rpx;\r\n\t\tmargin-bottom: 5rpx;\r\n\t}\r\n</style>","import Component from 'D:/officialAccount/compontent/public/downmenu.vue'\nwx.createComponent(Component)"],"names":["uni"],"mappings":";;;;;;;;;;;;;AAoBC,UAAM,QAAQ;AAQd,UAAM,YAAY,CAAC,MAAM,MAAM,IAAI;AAEnC,UAAM,SAAS,CAAC,UAAU;AACzB,UAAG,SAAO,MAAM,YAAW;AAC1B,gBAAQ,OAAK;AAAA,UACZ,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,UACD,KAAK;AAGJ;AAAA,UACD,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,QACD;AAAA,MAED;AAAA,IACD;;;;;;;;;;;;;;;;;ACjDF,GAAG,gBAAgB,SAAS;"}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"addjigou.js","sources":["pages/addjigou/api/addjigou.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增/编辑机构加盟申请信息\r\nexport function changemessage(data){\r\n return request({\r\n url: `/api/orgApplyInfo/save`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取机构加盟申请信息\r\nexport function getMessageList(tel){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n\r\n//获取省市区\r\nexport function getdate(id){\n return request({\n url: `/api/common/queryAreaDict?id=${id}`,\n\t\tmethod: 'get',\n })\n}\r\n\r\n//将地址id转换成汉字\r\nexport function getrel(id){\n return request({\n url: `/api/common/queryAreaNameById?id=${id}`,\n\t\tmethod: 'get',\n })\n}"],"names":["request"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,KAAI;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK,wCAAwC,GAAG;AAAA,IACtD,QAAQ;AAAA,EACV,CAAK;AACL;AAGO,SAAS,QAAQ,IAAG;AACvB,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,EAAE;AAAA,IAC7C,QAAQ;AAAA,EACV,CAAK;AACL;;;;"}
|
||||
{"version":3,"file":"addjigou.js","sources":["pages/addjigou/api/addjigou.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//新增/编辑机构加盟申请信息\r\nexport function changemessage(data){\r\n return request({\r\n url: `/api/orgApplyInfo/save`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//根据手机号获取机构加盟申请信息\r\nexport function getMessageList(id){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\nexport function getMessageListsuccess(id){\r\n return request({\r\n url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//获取省市区\r\nexport function getdate(id){\n return request({\n url: `/api/common/queryAreaDict?id=${id}`,\n\t\tmethod: 'get',\n })\n}\r\n\r\n//将地址id转换成汉字\r\nexport function getrel(id){\n return request({\n url: `/api/common/queryAreaNameById?id=${id}`,\n\t\tmethod: 'get',\n })\n}"],"names":["request"],"mappings":";;;AAKO,SAAS,cAAc,MAAK;AAC/B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAGO,SAAS,eAAe,IAAG;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,2CAA2C,EAAE;AAAA,IACxD,QAAQ;AAAA,EACV,CAAK;AACL;AACO,SAAS,sBAAsB,IAAG;AACrC,SAAOA,sBAAQ;AAAA,IACX,KAAK,oDAAoD,EAAE;AAAA,IACjE,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,QAAQ,IAAG;AACvB,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,EAAE;AAAA,IAC7C,QAAQ;AAAA,EACV,CAAK;AACL;;;;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -12,6 +12,7 @@ if (!Math) {
|
|||
"./pages/login/protocol.js";
|
||||
"./pages/login/special.js";
|
||||
"./pages/index/index.js";
|
||||
"./pages/index/mine.js";
|
||||
"./pages/addoldman/hukou.js";
|
||||
"./pages/addoldman/yibao.js";
|
||||
"./pages/addoldman/IDcard.js";
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"pages/login/protocol",
|
||||
"pages/login/special",
|
||||
"pages/index/index",
|
||||
"pages/index/mine",
|
||||
"pages/addoldman/hukou",
|
||||
"pages/addoldman/yibao",
|
||||
"pages/addoldman/IDcard",
|
||||
|
|
|
|||
|
|
@ -7037,7 +7037,7 @@ function isConsoleWritable() {
|
|||
function initRuntimeSocketService() {
|
||||
const hosts = "192.168.2.27,127.0.0.1";
|
||||
const port = "8090";
|
||||
const id = "mp-weixin_7rFfgI";
|
||||
const id = "mp-weixin_vBOnpb";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
|
@ -8009,5 +8009,6 @@ exports.ref = ref;
|
|||
exports.resolveComponent = resolveComponent;
|
||||
exports.s = s;
|
||||
exports.t = t;
|
||||
exports.unref = unref;
|
||||
exports.wx$1 = wx$1;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/vendor.js.map
|
||||
|
|
|
|||
|
|
@ -0,0 +1,51 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "downmenu",
|
||||
props: {
|
||||
itemTarget: {
|
||||
type: Number,
|
||||
required: true
|
||||
// 如果必须传
|
||||
// default: 0 // 如果你想给默认值
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const props = __props;
|
||||
const itemArray = ["NU", "动态", "我的"];
|
||||
const jumpto = (index) => {
|
||||
if (index != props.itemTarget) {
|
||||
switch (index) {
|
||||
case 0:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
break;
|
||||
case 2:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/mine`
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.f(itemArray, (item, index, i0) => {
|
||||
return {
|
||||
a: `https://www.focusnu.com/media/directive/index/itemsbutton/${index}${__props.itemTarget === index ? 1 : 0}.png`,
|
||||
b: common_vendor.t(item),
|
||||
c: common_vendor.n(__props.itemTarget === index ? `bottom-button-target` : `bottom-button`),
|
||||
d: common_vendor.o(($event) => jumpto(index), index),
|
||||
e: index
|
||||
};
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-459e7b51"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/downmenu.js.map
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="botton-view data-v-459e7b51"><view wx:for="{{a}}" wx:for-item="item" wx:key="e" class="array-father data-v-459e7b51"><view class="{{['data-v-459e7b51', item.c]}}" bindtap="{{item.d}}"><image class="botton-img data-v-459e7b51" src="{{item.a}}"/><view class="bottom-text data-v-459e7b51">{{item.b}}</view></view></view></view>
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.botton-view.data-v-459e7b51 {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
z-index: 999;
|
||||
}
|
||||
.botton-view .bottom-button.data-v-459e7b51 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.botton-view .bottom-button-target.data-v-459e7b51 {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #2a85eb;
|
||||
flex-direction: column;
|
||||
}
|
||||
.botton-view .blue-heng.data-v-459e7b51 {
|
||||
height: 6rpx;
|
||||
width: 150rpx;
|
||||
background-color: #2a85eb;
|
||||
position: absolute;
|
||||
bottom: 55rpx;
|
||||
left: 50%;
|
||||
/* 左边缘到父容器左边的距离占父宽度 50% */
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.array-father.data-v-459e7b51 {
|
||||
width: 33%;
|
||||
position: relative;
|
||||
}
|
||||
.botton-img.data-v-459e7b51 {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
|
@ -142,12 +142,10 @@ const _sfc_main = {
|
|||
d: common_vendor.o(($event) => openLook(textArray1[index]), index)
|
||||
};
|
||||
}),
|
||||
r: alldata.value.status == 3 || alldata.value.status == 0
|
||||
}, alldata.value.status == 3 || alldata.value.status == 0 ? {
|
||||
r: alldata.value.status == 3
|
||||
}, alldata.value.status == 3 ? {
|
||||
s: common_vendor.o(next)
|
||||
} : {}, {
|
||||
t: alldata.value.status != 3 && alldata.value.status != 0
|
||||
}, alldata.value.status != 3 && alldata.value.status != 0 ? {} : {});
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="container data-v-9afbabf9"><u-modal wx:if="{{b}}" class="data-v-9afbabf9" u-i="9afbabf9-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">返回</view></view><view class="{{['data-v-9afbabf9', e]}}">{{d}}</view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">身份证上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{h}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{f}}"/><image wx:if="{{g}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认身份证信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{l}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">营业执照上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{o}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{m}}"/><image wx:if="{{n}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认企业信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{p}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{q}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"><view wx:if="{{r}}" class="finish-button data-v-9afbabf9" bindtap="{{s}}"> 重新提交 </view><view wx:if="{{t}}" class="finish-button data-v-9afbabf9"> 进入机构端 </view></view></view>
|
||||
<view class="container data-v-9afbabf9"><u-modal wx:if="{{b}}" class="data-v-9afbabf9" u-i="9afbabf9-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">返回</view></view><view class="{{['data-v-9afbabf9', e]}}">{{d}}</view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">身份证上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{h}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{f}}"/><image wx:if="{{g}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认身份证信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{l}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="content-title data-v-9afbabf9"><view class="content-weight data-v-9afbabf9">营业执照上传</view><image class="content-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{o}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{m}}"/><image wx:if="{{n}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-9afbabf9"><view class="message-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="message-weight data-v-9afbabf9"> 确认企业信息 </view></view><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{p}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:40rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{q}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"><view wx:if="{{r}}" class="finish-button data-v-9afbabf9" bindtap="{{s}}"> 重新提交 </view></view></view>
|
||||
|
|
@ -8,9 +8,15 @@ function changemessage(data) {
|
|||
data
|
||||
});
|
||||
}
|
||||
function getMessageList(tel) {
|
||||
function getMessageList(id) {
|
||||
return request_index.request({
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?tel=${tel}`,
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?openId=${id}`,
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
function getMessageListsuccess(id) {
|
||||
return request_index.request({
|
||||
url: `/api/orgApplyInfo/queryAuditInfo?status=2&openId=${id}`,
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
|
@ -22,5 +28,6 @@ function getdate(id) {
|
|||
}
|
||||
exports.changemessage = changemessage;
|
||||
exports.getMessageList = getMessageList;
|
||||
exports.getMessageListsuccess = getMessageListsuccess;
|
||||
exports.getdate = getdate;
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/addjigou/api/addjigou.js.map
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_index = require("../../request/index.js");
|
||||
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
|
||||
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
|
||||
|
|
@ -27,6 +26,9 @@ const _sfc_main = {
|
|||
const bottomshow = common_vendor.ref(false);
|
||||
const tempImagePath = common_vendor.ref("");
|
||||
const selectphoto = (number) => {
|
||||
if (!uping.value) {
|
||||
return;
|
||||
}
|
||||
if (headImge.value) {
|
||||
bottomshow.value = true;
|
||||
} else {
|
||||
|
|
@ -62,7 +64,7 @@ const _sfc_main = {
|
|||
});
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:135", "拍照失败:", err);
|
||||
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:140", "拍照失败:", err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -70,8 +72,8 @@ const _sfc_main = {
|
|||
common_vendor.ref("");
|
||||
const uping = common_vendor.ref(true);
|
||||
function uploadImage(filePath) {
|
||||
common_vendor.index.showLoading();
|
||||
uping.value = false;
|
||||
common_vendor.index.showLoading();
|
||||
common_vendor.index.uploadFile({
|
||||
url: `${request_index.base_url}/api/ocr/businessLicense`,
|
||||
// 替换为你的POST接口地址
|
||||
|
|
@ -84,16 +86,16 @@ const _sfc_main = {
|
|||
formData: {},
|
||||
success: (uploadRes) => {
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "识别失败",
|
||||
icon: "error",
|
||||
duration: 2e3
|
||||
});
|
||||
uping.value = true;
|
||||
common_vendor.index.hideLoading();
|
||||
return;
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:166", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:173", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
|
||||
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName) {
|
||||
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
|
||||
textArray[0] = father.companyName;
|
||||
|
|
@ -108,7 +110,7 @@ const _sfc_main = {
|
|||
icon: "error",
|
||||
duration: 2e3
|
||||
});
|
||||
uping.value = false;
|
||||
uping.value = true;
|
||||
common_vendor.index.hideLoading();
|
||||
}
|
||||
common_vendor.index.hideLoading();
|
||||
|
|
@ -156,42 +158,24 @@ const _sfc_main = {
|
|||
}
|
||||
};
|
||||
const next = () => {
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:247", "??????");
|
||||
if (!uping.value) {
|
||||
return;
|
||||
}
|
||||
const allNonEmpty = textArray[0];
|
||||
if (allNonEmpty) {
|
||||
let pushMessage = {
|
||||
id: common_vendor.index.getStorageSync("specicalid") || "",
|
||||
tel: common_vendor.index.getStorageSync("tel"),
|
||||
comName: textArray[0],
|
||||
comRegisterAddress: textArray[1],
|
||||
comCreditCode: textArray[2],
|
||||
comLegalPerson: textArray[3],
|
||||
comBusinessLicense: fontphoto.value
|
||||
};
|
||||
pages_addjigou_api_addjigou.changemessage(pushMessage).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.message,
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||
data.comName = textArray[0];
|
||||
data.comRegisterAddress = textArray[1];
|
||||
data.comCreditCode = textArray[2];
|
||||
data.comLegalPerson = textArray[3];
|
||||
data.comBusinessLicense = fontphoto.value;
|
||||
common_vendor.index.setStorageSync("backhuancun", data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/where"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "请完善信息",
|
||||
title: "请上传营业执照",
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
|
|
@ -224,6 +208,9 @@ const _sfc_main = {
|
|||
}
|
||||
});
|
||||
const goBack = () => {
|
||||
if (!uping.value) {
|
||||
return;
|
||||
}
|
||||
if (textArray[0]) {
|
||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||
data.comName = textArray[0];
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="container data-v-402780bb"><u-modal wx:if="{{b}}" class="data-v-402780bb" u-i="402780bb-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-402780bb"><view class="left-father data-v-402780bb" bindtap="{{c}}"><image class="back-img data-v-402780bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-402780bb" style="font-size:30rpx">企业加盟</view></view></view><view class="white-content data-v-402780bb"><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">营业执照</view></view><view class="white-photo data-v-402780bb" bindtap="{{f}}"><view class="photo-left data-v-402780bb"><view class="photo-weight data-v-402780bb">营业执照</view><view class="photo-font data-v-402780bb">请上传营业执照</view></view><view class="data-v-402780bb" style="position:relative"><image class="photo data-v-402780bb" src="{{d}}"/><image wx:if="{{e}}" class="data-v-402780bb" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">企业信息</view></view><view class="white-message data-v-402780bb"><view class="data-v-402780bb"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="one data-v-402780bb" bindtap="{{item.d}}"><view class="one-left data-v-402780bb">{{item.a}}</view><view class="one-right data-v-402780bb">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-402780bb"><view class="data-v-402780bb" style="color:#333333;margin-bottom:30rpx">注意事项:</view><view class="gray-text data-v-402780bb"> 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 </view><view class="gray-text data-v-402780bb"> 2.一个企业信息主体默认可认证1个账号。 </view><view class="gray-text data-v-402780bb"> 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 </view></view><view class="data-v-402780bb" style="display:flex;width:100%;padding:0 20rpx"><view class="back-button data-v-402780bb" bindtap="{{h}}"> 返回上一步 </view><view class="finish-button data-v-402780bb" bindtap="{{i}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{l}}" class="data-v-402780bb" bindclick="{{j}}" u-i="402780bb-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-action-sheet></view>
|
||||
<view class="container data-v-402780bb"><u-modal wx:if="{{b}}" class="data-v-402780bb" u-i="402780bb-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-402780bb"><view class="left-father data-v-402780bb" bindtap="{{c}}"><image class="back-img data-v-402780bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-402780bb" style="font-size:30rpx">营业执照</view></view></view><view class="white-content data-v-402780bb"><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">营业执照</view></view><view class="white-photo data-v-402780bb" bindtap="{{f}}"><view class="photo-left data-v-402780bb"><view class="photo-weight data-v-402780bb">营业执照</view><view class="photo-font data-v-402780bb">请上传营业执照</view></view><view class="data-v-402780bb" style="position:relative"><image class="photo data-v-402780bb" src="{{d}}"/><image wx:if="{{e}}" class="data-v-402780bb" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">企业信息</view></view><view class="white-message data-v-402780bb"><view class="data-v-402780bb"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="one data-v-402780bb" bindtap="{{item.d}}"><view class="one-left data-v-402780bb">{{item.a}}</view><view class="one-right data-v-402780bb">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-402780bb"><view class="data-v-402780bb" style="color:#333333;margin-bottom:30rpx">注意事项:</view><view class="gray-text data-v-402780bb"> 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 </view><view class="gray-text data-v-402780bb"> 2.一个企业信息主体默认可认证1个账号。 </view><view class="gray-text data-v-402780bb"> 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 </view></view><view class="data-v-402780bb" style="display:flex;width:100%;padding:0 20rpx"><view class="back-button data-v-402780bb" bindtap="{{h}}"> 返回上一步 </view><view class="finish-button data-v-402780bb" bindtap="{{i}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{l}}" class="data-v-402780bb" bindclick="{{j}}" u-i="402780bb-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-action-sheet></view>
|
||||
|
|
@ -134,7 +134,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 42%;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_index = require("../../request/index.js");
|
||||
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
|
||||
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
|
||||
|
|
@ -51,6 +50,9 @@ const _sfc_main = {
|
|||
const tempImagePath = common_vendor.ref("");
|
||||
const targetphoto = common_vendor.ref(0);
|
||||
const selectphoto = (number) => {
|
||||
if (!uping.value) {
|
||||
return;
|
||||
}
|
||||
if (backImge.value && headImge.value) {
|
||||
targetphoto.value = number;
|
||||
bottomshow.value = true;
|
||||
|
|
@ -69,7 +71,7 @@ const _sfc_main = {
|
|||
});
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:171", "拍照失败:", err);
|
||||
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:174", "拍照失败:", err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
@ -89,15 +91,15 @@ const _sfc_main = {
|
|||
},
|
||||
formData: {},
|
||||
success: (uploadRes) => {
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:209", "token", common_vendor.index.getStorageSync("token"));
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:212", "token", common_vendor.index.getStorageSync("token"));
|
||||
if (!JSON.parse(uploadRes.data).success) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "识别失败",
|
||||
icon: "error",
|
||||
duration: 2e3
|
||||
});
|
||||
uping.value = true;
|
||||
common_vendor.index.hideLoading();
|
||||
return;
|
||||
}
|
||||
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.face) {
|
||||
|
|
@ -125,13 +127,13 @@ const _sfc_main = {
|
|||
savephoto(filePath, 1);
|
||||
common_vendor.index.hideLoading();
|
||||
} else {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({
|
||||
title: "识别失败",
|
||||
icon: "error",
|
||||
duration: 2e3
|
||||
});
|
||||
uping.value = false;
|
||||
common_vendor.index.hideLoading();
|
||||
uping.value = true;
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
|
|
@ -181,6 +183,19 @@ const _sfc_main = {
|
|||
}
|
||||
};
|
||||
const next = () => {
|
||||
if (!fontphoto.value) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请上传身份证正面",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!endphoto.value) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请上传身份证背面",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
}
|
||||
const allNonEmpty = textArray.every((item) => {
|
||||
return item !== "";
|
||||
});
|
||||
|
|
@ -190,43 +205,26 @@ const _sfc_main = {
|
|||
if (allNonEmpty) {
|
||||
const range = textArray[7];
|
||||
const [start, end] = range.split("-");
|
||||
let pushMessage = {
|
||||
id: common_vendor.index.getStorageSync("specicalid") || "",
|
||||
tel: common_vendor.index.getStorageSync("tel"),
|
||||
name: textArray[0],
|
||||
sex: textArray[1],
|
||||
idCard: textArray[2],
|
||||
national: textArray[3],
|
||||
birthDate: textArray[4],
|
||||
idCardAddress: textArray[5],
|
||||
issuingAuthority: textArray[6],
|
||||
startTime: start,
|
||||
endTime: end,
|
||||
cardZmPath: fontphoto.value,
|
||||
cardFmPath: endphoto.value
|
||||
};
|
||||
pages_addjigou_api_addjigou.changemessage(pushMessage).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("specicalid", res.result.id);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: res.message,
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||
data.tel = common_vendor.index.getStorageSync("tel");
|
||||
data.name = textArray[0];
|
||||
data.sex = textArray[1];
|
||||
data.idCard = textArray[2];
|
||||
data.national = textArray[3];
|
||||
data.birthDate = textArray[4];
|
||||
data.idCardAddress = textArray[5];
|
||||
data.issuingAuthority = textArray[6];
|
||||
data.startTime = start;
|
||||
data.endTime = end;
|
||||
data.cardZmPath = fontphoto.value;
|
||||
data.cardFmPath = endphoto.value;
|
||||
common_vendor.index.setStorageSync("backhuancun", data);
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addjigou/card"
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "请完善信息",
|
||||
title: "身份证信息不完整",
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
|
|
@ -266,13 +264,13 @@ const _sfc_main = {
|
|||
modelValue: show.value
|
||||
}),
|
||||
c: common_vendor.o(goBack),
|
||||
d: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`,
|
||||
e: !headImge.value
|
||||
}, !headImge.value ? {} : {}, {
|
||||
d: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDcard.png`,
|
||||
e: !fontphoto.value
|
||||
}, !fontphoto.value ? {} : {}, {
|
||||
f: common_vendor.o(($event) => selectphoto(0)),
|
||||
g: backImge.value ? backImge.value : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
|
||||
h: !backImge.value
|
||||
}, !backImge.value ? {} : {}, {
|
||||
g: endphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${endphoto.value}` : `https://www.focusnu.com/media/directive/index/backIDcard.png`,
|
||||
h: !endphoto.value
|
||||
}, !endphoto.value ? {} : {}, {
|
||||
i: common_vendor.o(($event) => selectphoto(1)),
|
||||
j: common_vendor.f(nameArray, (item, index, i0) => {
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="container data-v-4363d488"><u-modal wx:if="{{b}}" class="data-v-4363d488" u-i="4363d488-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{c}}"><image class="back-img data-v-4363d488" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-4363d488" style="font-size:30rpx">企业加盟</view></view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">身份证</view><view class="data-v-4363d488" style="font-size:20rpx;margin:12rpx 0 0 15rpx">(必填)</view></view><view class="white-photo data-v-4363d488" bindtap="{{f}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{d}}"/><image wx:if="{{e}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{i}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{g}}"/><image wx:if="{{h}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-4363d488" style="margin:20rpx 0"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">确认身份证信息</view></view><view class="white-message data-v-4363d488"><view class="data-v-4363d488"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class="data-v-4363d488" style="color:#333333">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx;font-size:28rpx"><view class="line data-v-4363d488">1.同一个身份证号只能认证一个账号。</view><view class="line data-v-4363d488">2.国徽与正面信息应为同一身份证的信息且在有效期内。</view><view class="line data-v-4363d488">3.所有上传照片需清晰且未遮挡,请勿进行美化和修改。</view><view class="line data-v-4363d488">4.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{k}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{n}}" class="data-v-4363d488" bindclick="{{l}}" u-i="4363d488-1" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-action-sheet></view>
|
||||
<view class="container data-v-4363d488"><u-modal wx:if="{{b}}" class="data-v-4363d488" u-i="4363d488-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{c}}"><image class="back-img data-v-4363d488" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-4363d488" style="font-size:30rpx">身份证</view></view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">身份证</view></view><view class="white-photo data-v-4363d488" bindtap="{{f}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{d}}"/><image wx:if="{{e}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{i}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{g}}"/><image wx:if="{{h}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-4363d488" style="margin:20rpx 0"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">确认身份证信息</view></view><view class="white-message data-v-4363d488"><view class="data-v-4363d488"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class="data-v-4363d488" style="color:#333333">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx;font-size:28rpx"><view class="line data-v-4363d488">1.同一个身份证号只能认证一个账号。</view><view class="line data-v-4363d488">2.国徽与正面信息应为同一身份证的信息且在有效期内。</view><view class="line data-v-4363d488">3.所有上传照片需清晰且未遮挡,请勿进行美化和修改。</view><view class="line data-v-4363d488">4.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{k}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{n}}" class="data-v-4363d488" bindclick="{{l}}" u-i="4363d488-1" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-action-sheet></view>
|
||||
|
|
@ -88,22 +88,81 @@ const _sfc_main = {
|
|||
list.value = dedupeFirstLetter(res.result);
|
||||
});
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:232", "删除了", index);
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:233", "删除了", index);
|
||||
};
|
||||
function isValid11DigitNumber(val) {
|
||||
return /^(\d{11})$/.test(val);
|
||||
}
|
||||
const next = () => {
|
||||
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgAddress && form.orgPropertyType && form.orgBuildingArea;
|
||||
if (!form.address) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请选择机构位置",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!form.orgAddress) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请填写详细地址",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!form.orgLeader) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请填写机构负责人",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!form.orgLeaderPhone) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请填写手机号",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!isValid11DigitNumber(form.orgLeaderPhone)) {
|
||||
common_vendor.index.showToast({
|
||||
title: "手机号格式错误",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!form.orgPropertyType) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请填写房屋性质",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
} else if (!form.orgBuildingArea) {
|
||||
common_vendor.index.showToast({
|
||||
title: "请填写建筑面积",
|
||||
icon: "error"
|
||||
});
|
||||
return;
|
||||
}
|
||||
const allNonEmpty = form.orgLeader && form.orgLeaderPhone && form.orgAddress && form.orgPropertyType && form.orgBuildingArea && form.address;
|
||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||
data.openId = common_vendor.index.getStorageSync("openid");
|
||||
data.address = form.address;
|
||||
data.orgProvince = form.orgProvince;
|
||||
data.orgCity = form.orgCity;
|
||||
data.orgDistrict = form.orgDistrict;
|
||||
data.orgAddress = form.orgAddress;
|
||||
data.orgLeader = form.orgLeader;
|
||||
data.orgLeaderPhone = form.orgLeaderPhone;
|
||||
data.orgPropertyType = form.orgPropertyType;
|
||||
data.orgBuildingArea = form.orgBuildingArea;
|
||||
data.status = form.status;
|
||||
common_vendor.index.setStorageSync("backhuancun", data);
|
||||
if (allNonEmpty) {
|
||||
pages_addjigou_api_addjigou.changemessage(form).then((res) => {
|
||||
pages_addjigou_api_addjigou.changemessage(common_vendor.index.getStorageSync("backhuancun")).then((res) => {
|
||||
if (res.success) {
|
||||
if (res.message == `保存成功!`) {
|
||||
common_vendor.index.setStorageSync("specicalid", "");
|
||||
common_vendor.index.reLaunch({
|
||||
url: `/pages/login/threeselectone`
|
||||
url: `/pages/login/special?type=1`
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("specicalid", res.result.id);
|
||||
common_vendor.index.reLaunch({
|
||||
url: `/pages/login/threeselectone`
|
||||
url: `/pages/login/special?type=1`
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
@ -169,7 +228,7 @@ const _sfc_main = {
|
|||
common_vendor.onShow(() => {
|
||||
const data = common_vendor.index.getStorageSync("dingwei");
|
||||
if (data) {
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:330", "data", data);
|
||||
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:407", "data", data);
|
||||
jigouweizhi.value = data.name;
|
||||
form.orgAddress = data.name;
|
||||
form.orgCoordinateLo = data.lng;
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><u-popup wx:if="{{h}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:100rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{c}}"/></view><view wx:for="{{d}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%;display:flex;align-items:center;justify-content:space-between;position:relative"><view class="data-v-549d1cee" style="margin-left:60rpx">{{item.a}}</view><image class="title-imge data-v-549d1cee" style="width:25rpx;height:25rpx" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{item.b}}"/></view></view><view class="data-v-549d1cee" style="height:100rpx;width:100%"></view><view wx:for="{{e}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{i}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">企业加盟</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{l}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{j}}" bindinput="{{k}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{o}}" bindinput="{{p}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{q}}" bindinput="{{r}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{v}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请输入房屋性质" value="{{s}}" bindinput="{{t}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{y}}" class="data-v-549d1cee" bindconfirm="{{w}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积(平方米)" value="{{z}}" bindinput="{{A}}"/><view class="triangle-down-mi data-v-549d1cee"> ㎡ </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{B}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{C}}"> 确认并提交 </view></view></view>
|
||||
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><u-popup wx:if="{{h}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:100rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{c}}"/></view><view wx:for="{{d}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%;display:flex;align-items:center;justify-content:space-between;position:relative"><view class="data-v-549d1cee" style="margin-left:60rpx">{{item.a}}</view><image class="title-imge data-v-549d1cee" style="width:25rpx;height:25rpx" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{item.b}}"/></view></view><view class="data-v-549d1cee" style="height:100rpx;width:100%"></view><view wx:for="{{e}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{i}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">机构信息</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{l}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{j}}" bindinput="{{k}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{o}}" bindinput="{{p}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{q}}" bindinput="{{r}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{v}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择房屋性质" value="{{s}}" bindinput="{{t}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{y}}" class="data-v-549d1cee" style="font-size:35rpx" bindconfirm="{{w}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积(平方米)" value="{{z}}" bindinput="{{A}}"/><view class="triangle-down-mi data-v-549d1cee"> ㎡ </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{B}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{C}}"> 确认并提交 </view></view></view>
|
||||
|
|
@ -127,7 +127,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 45%;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 0rpx auto;
|
||||
margin-bottom: 80rpx;
|
||||
|
|
|
|||
|
|
@ -1,185 +1,117 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const tu = "https://www.focusnu.com/media/directive/index/tu.png";
|
||||
const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js");
|
||||
if (!Math) {
|
||||
downMenu();
|
||||
}
|
||||
const downMenu = () => "../../compontent/public/downmenu.js";
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const itemArray = ["NU", "动态", "我的"];
|
||||
const buttonArray = common_vendor.ref(["护理流程", "服务指令", "实时监控", "客户信息", "缴费账单", "充值缴费", "退住管理"]);
|
||||
const itemTarget = common_vendor.ref(0);
|
||||
const buttonArray = common_vendor.ref(["单元", "仓库", "后勤", "工区", "办公室 ", "员工", "机构维护"]);
|
||||
const which = common_vendor.ref(0);
|
||||
const scaning = common_vendor.ref(false);
|
||||
function preview() {
|
||||
common_vendor.index.previewImage({
|
||||
urls: [tu]
|
||||
// 需要预览的所有图片地址数组
|
||||
// current: imgList.value[currentIndex], // 当前点击的那张
|
||||
});
|
||||
}
|
||||
const jumpTo = () => {
|
||||
const changecard = (e) => {
|
||||
which.value = e;
|
||||
whichMenu.value = which.value;
|
||||
};
|
||||
const moveend = () => {
|
||||
which.value = menuArray.value.length;
|
||||
whichMenu.value = which.value;
|
||||
};
|
||||
const addjigou = () => {
|
||||
common_vendor.index.setStorageSync("specicalid", "");
|
||||
common_vendor.index.setStorageSync("baddata", "");
|
||||
common_vendor.index.setStorageSync("backhuancun", {});
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/index/indexone"
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
};
|
||||
const look = (element) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/addjigou/all?element=${JSON.stringify(element)}`
|
||||
});
|
||||
};
|
||||
const jumptolist = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
});
|
||||
};
|
||||
const again = (item) => {
|
||||
common_vendor.index.__f__("log", "at pages/index/index.vue:245", "????", item);
|
||||
common_vendor.index.setStorageSync("baddata", item);
|
||||
common_vendor.index.setStorageSync("specicalid", item.id);
|
||||
common_vendor.index.setStorageSync("backhuancun", {});
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
};
|
||||
const month = common_vendor.ref("01");
|
||||
const day = common_vendor.ref("01");
|
||||
const weekday = common_vendor.ref("周一");
|
||||
const weekMap = ["周日", "周一", "周二", "周三", "周四", "周五", "周六"];
|
||||
const hours = common_vendor.ref("00");
|
||||
const minutes = common_vendor.ref("00");
|
||||
const seconds = common_vendor.ref("00");
|
||||
let timer = null;
|
||||
function updateTime() {
|
||||
const now = /* @__PURE__ */ new Date();
|
||||
month.value = String(now.getMonth() + 1).padStart(2, "0");
|
||||
day.value = String(now.getDate()).padStart(2, "0");
|
||||
weekday.value = weekMap[now.getDay()];
|
||||
hours.value = String(now.getHours()).padStart(2, "0");
|
||||
minutes.value = String(now.getMinutes()).padStart(2, "0");
|
||||
seconds.value = String(now.getSeconds()).padStart(2, "0");
|
||||
}
|
||||
const whichMenu = common_vendor.ref(0);
|
||||
const swiperchange = (res) => {
|
||||
whichMenu.value = res.detail.current;
|
||||
};
|
||||
const addoldman = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/addoldman/IDcard"
|
||||
});
|
||||
};
|
||||
const gotoPay = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/pay/index"
|
||||
});
|
||||
};
|
||||
const qrResult = common_vendor.ref("");
|
||||
const scanning = common_vendor.ref(false);
|
||||
let html5QrCode = null;
|
||||
async function cancelScan() {
|
||||
if (html5QrCode && scanning.value) {
|
||||
try {
|
||||
await html5QrCode.stop();
|
||||
} catch (e) {
|
||||
common_vendor.index.__f__("warn", "at pages/index/index.vue:253", "停止扫码出错", e);
|
||||
}
|
||||
}
|
||||
scanning.value = false;
|
||||
}
|
||||
function scanQrCode() {
|
||||
if (html5QrCode && scanning.value) {
|
||||
html5QrCode.stop().catch(() => {
|
||||
}).finally(() => {
|
||||
scanning.value = false;
|
||||
});
|
||||
return;
|
||||
}
|
||||
scanning.value = true;
|
||||
qrResult.value = "";
|
||||
html5QrCode = new Html5Qrcode("reader");
|
||||
const config = {
|
||||
fps: 10,
|
||||
qrbox: {
|
||||
width: 350,
|
||||
height: 350
|
||||
}
|
||||
};
|
||||
html5QrCode.start(
|
||||
{
|
||||
facingMode: "environment"
|
||||
},
|
||||
// 后置摄像头
|
||||
config,
|
||||
(decodedText) => {
|
||||
qrResult.value = decodedText;
|
||||
html5QrCode.stop().catch(console.warn).finally(() => {
|
||||
scanning.value = false;
|
||||
});
|
||||
},
|
||||
(errorMessage) => {
|
||||
}
|
||||
).catch((err) => {
|
||||
common_vendor.index.__f__("error", "at pages/index/index.vue:300", "扫码启动失败", err);
|
||||
scanning.value = false;
|
||||
});
|
||||
}
|
||||
const gotoWindy = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/selectunit/map"
|
||||
});
|
||||
};
|
||||
const goback = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
which.value = res.detail.current;
|
||||
};
|
||||
common_vendor.onMounted(async () => {
|
||||
updateTime();
|
||||
timer = setInterval(updateTime, 1e3);
|
||||
});
|
||||
common_vendor.onUnmounted(() => {
|
||||
clearInterval(timer);
|
||||
html5QrCode && html5QrCode.stop().catch(console.warn);
|
||||
});
|
||||
const menuArray = common_vendor.ref([]);
|
||||
common_vendor.onLoad(() => {
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
pages_addjigou_api_addjigou.getMessageList(res.data).then((res2) => {
|
||||
menuArray.value = res2.result;
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o(goback),
|
||||
b: scanning.value
|
||||
}, scanning.value ? {
|
||||
c: common_vendor.o(cancelScan),
|
||||
d: common_vendor.o(() => {
|
||||
})
|
||||
a: whichMenu.value < menuArray.value.length
|
||||
}, whichMenu.value < menuArray.value.length ? {
|
||||
b: common_vendor.t(menuArray.value[whichMenu.value].comName)
|
||||
} : {}, {
|
||||
e: common_vendor.o(gotoPay),
|
||||
f: common_vendor.o(jumpTo),
|
||||
g: tu,
|
||||
h: common_vendor.o(($event) => preview()),
|
||||
i: scaning.value
|
||||
}, scaning.value ? common_vendor.e({
|
||||
j: common_vendor.o(($event) => {
|
||||
scaning.value = false;
|
||||
c: common_vendor.f(menuArray.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.status == `1`
|
||||
}, item.status == `1` ? {
|
||||
b: common_vendor.t(item.comName),
|
||||
c: common_vendor.o(($event) => look(item), index)
|
||||
} : {}, {
|
||||
d: item.status == `3`
|
||||
}, item.status == `3` ? {
|
||||
e: common_vendor.t(item.comName),
|
||||
f: common_vendor.o(($event) => again(item), index),
|
||||
g: common_vendor.o(jumptolist, index)
|
||||
} : {}, {
|
||||
h: item.status == `2`
|
||||
}, item.status == `2` ? {
|
||||
i: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
|
||||
return {
|
||||
a: `https://www.focusnu.com/media/directive/index/addjiji/${index2}.png`,
|
||||
b: common_vendor.t(item2),
|
||||
c: index2
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
j: index
|
||||
});
|
||||
}),
|
||||
k: qrResult.value
|
||||
}, qrResult.value ? {
|
||||
l: common_vendor.t(qrResult.value)
|
||||
} : {}, {
|
||||
m: common_vendor.o(scanQrCode)
|
||||
}) : {}, {
|
||||
n: !scaning.value
|
||||
}, !scaning.value ? {
|
||||
o: common_vendor.t(hours.value),
|
||||
p: common_vendor.t(minutes.value),
|
||||
q: common_vendor.t(seconds.value),
|
||||
r: common_vendor.t(month.value),
|
||||
s: common_vendor.t(day.value),
|
||||
t: common_vendor.t(weekday.value)
|
||||
} : {}, {
|
||||
v: !scaning.value
|
||||
}, !scaning.value ? {
|
||||
w: common_vendor.o(gotoWindy),
|
||||
x: common_vendor.o(($event) => scaning.value = true),
|
||||
y: common_vendor.o(($event) => scaning.value = true),
|
||||
z: common_vendor.o(addoldman),
|
||||
A: common_vendor.f(buttonArray.value, (item, index, i0) => {
|
||||
d: common_vendor.o(addjigou),
|
||||
e: `700rpx`,
|
||||
f: which.value,
|
||||
g: common_vendor.o(swiperchange),
|
||||
h: common_vendor.f(menuArray.value, (item, index, i0) => {
|
||||
return {
|
||||
a: `https://www.focusnu.com/media/directive/index/jumpbutton/${index}.png`,
|
||||
b: common_vendor.t(item),
|
||||
c: index
|
||||
a: common_vendor.n(whichMenu.value == index ? `black-box` : `gray-box`),
|
||||
b: index,
|
||||
c: common_vendor.o(($event) => changecard(index), index)
|
||||
};
|
||||
}),
|
||||
B: `600rpx`,
|
||||
C: which.value,
|
||||
D: common_vendor.o(swiperchange)
|
||||
} : {}, {
|
||||
E: whichMenu.value === 2
|
||||
}, whichMenu.value === 2 ? {} : {}, {
|
||||
F: common_vendor.f(itemArray, (item, index, i0) => {
|
||||
return {
|
||||
a: `https://www.focusnu.com/media/directive/index/itemsbutton/${index}${itemTarget.value === index ? 1 : 0}.png`,
|
||||
b: common_vendor.t(item),
|
||||
c: common_vendor.s(!index ? {
|
||||
fontWeight: 600
|
||||
} : {}),
|
||||
d: common_vendor.n(itemTarget.value === index ? `bottom-button-target` : `bottom-button`),
|
||||
e: common_vendor.o(($event) => itemTarget.value = index)
|
||||
};
|
||||
i: `https://www.focusnu.com/media/directive/index/addjiji/add.png`,
|
||||
j: common_vendor.o(moveend),
|
||||
k: common_vendor.p({
|
||||
itemTarget: 0
|
||||
})
|
||||
});
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "首页",
|
||||
"usingComponents": {}
|
||||
"usingComponents": {
|
||||
"down-menu": "../../compontent/public/downmenu"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -30,49 +30,7 @@
|
|||
width: 100%;
|
||||
background-color: #eff1fc;
|
||||
position: relative;
|
||||
}
|
||||
.array-father.data-v-1cf27b2a {
|
||||
width: 33%;
|
||||
position: relative;
|
||||
}
|
||||
.botton-view.data-v-1cf27b2a {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-weight: 500;
|
||||
z-index: 999;
|
||||
}
|
||||
.botton-view .bottom-button.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.botton-view .bottom-button-target.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #2a85eb;
|
||||
flex-direction: column;
|
||||
}
|
||||
.botton-view .blue-heng.data-v-1cf27b2a {
|
||||
height: 6rpx;
|
||||
width: 150rpx;
|
||||
background-color: #2a85eb;
|
||||
position: absolute;
|
||||
bottom: 55rpx;
|
||||
left: 50%;
|
||||
/* 左边缘到父容器左边的距离占父宽度 50% */
|
||||
transform: translateX(-50%);
|
||||
padding-top: 550rpx;
|
||||
}
|
||||
.index-up.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
|
|
@ -146,10 +104,9 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 30rpx;
|
||||
margin-bottom: 200rpx;
|
||||
}
|
||||
.white-content-father .white-content.data-v-1cf27b2a {
|
||||
height: 500rpx;
|
||||
height: 650rpx;
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
background-color: #fff;
|
||||
|
|
@ -163,110 +120,54 @@
|
|||
}
|
||||
.white-content-father .white-content .white-content-img.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
top: 90rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 80%;
|
||||
height: 370rpx;
|
||||
width: 420rpx;
|
||||
height: 320rpx;
|
||||
}
|
||||
.white-content-father .white-content .white-content-secondimg.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 34%;
|
||||
transform: translateX(-34%);
|
||||
width: 610rpx;
|
||||
height: 450rpx;
|
||||
}
|
||||
.white-content-father .white-content .white-font.data-v-1cf27b2a {
|
||||
margin-top: 240rpx;
|
||||
margin-top: 350rpx;
|
||||
font-size: 27rpx;
|
||||
color: #222222;
|
||||
}
|
||||
.white-content-father .botton-button.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 280rpx;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
.white-content-father .botton-button .botton-button-father.data-v-1cf27b2a {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.white-content-father .botton-button .botton-button-father .botton-button-bgc.data-v-1cf27b2a {
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #D8DEEA;
|
||||
}
|
||||
.white-content-father .botton-button .botton-button-father .botton-button-bgc .botton-button-img.data-v-1cf27b2a {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
}
|
||||
.white-content-father .botton-button .botton-button-father .botton-button-font.data-v-1cf27b2a {
|
||||
.white-content-father .white-content .second-font.data-v-1cf27b2a {
|
||||
margin-top: 10rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.botton-img.data-v-1cf27b2a {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-bottom: 5rpx;
|
||||
font-size: 27rpx;
|
||||
}
|
||||
.bottom-text.data-v-1cf27b2a {
|
||||
font-size: 22rpx;
|
||||
}
|
||||
.jia-box.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: -40rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
display: flex;
|
||||
}
|
||||
.jia.data-v-1cf27b2a {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #01a8ff;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.gray-box.data-v-1cf27b2a {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: #A4A8BD;
|
||||
}
|
||||
.white-content-father-time.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.white-content-father-time .white-content.data-v-1cf27b2a {
|
||||
height: 170rpx;
|
||||
width: 92%;
|
||||
.white-content-father-time .white-bgc.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("https://www.focusnu.com/media/directive/index/bluebgc.png");
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
/* 2. 水平方向拉满容器,垂直方向保持原始比例 */
|
||||
background-size: 100% auto;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 35rpx;
|
||||
z-index: 2;
|
||||
padding-left: 50rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border: 2rpx solid #fff;
|
||||
}
|
||||
.white-content-father-time .white-content .time-father.data-v-1cf27b2a {
|
||||
margin-left: 45rpx;
|
||||
}
|
||||
.white-content-father-time .white-content .time-father .font-weight.data-v-1cf27b2a {
|
||||
font-weight: 600;
|
||||
font-size: 40rpx;
|
||||
margin-bottom: 7rpx;
|
||||
}
|
||||
.white-content-father-time .white-content .time-father .font-small.data-v-1cf27b2a {
|
||||
color: #7C788D;
|
||||
.white-content-father-time .white-content.data-v-1cf27b2a {
|
||||
height: 110rpx;
|
||||
width: 92%;
|
||||
overflow: hidden;
|
||||
/* 2. 水平方向拉满容器,垂直方向保持原始比例 */
|
||||
background-size: 100% auto;
|
||||
border-radius: 35rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
.white-content-father-time .white-shu.data-v-1cf27b2a {
|
||||
height: 100%;
|
||||
|
|
@ -274,18 +175,6 @@
|
|||
background-color: #fff;
|
||||
margin: 0 20rpx;
|
||||
}
|
||||
.wendu-content.data-v-1cf27b2a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.wendu-content .wendu-img.data-v-1cf27b2a {
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
margin: 0 20rpx 0 60rpx;
|
||||
}
|
||||
.wendu-content .wendu-font.data-v-1cf27b2a {
|
||||
font-size: 25rpx;
|
||||
}
|
||||
.bad-button.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
margin-top: 40rpx;
|
||||
|
|
@ -305,8 +194,8 @@
|
|||
justify-content: space-around;
|
||||
align-items: center;
|
||||
width: 92%;
|
||||
margin-left: 3%;
|
||||
height: 100rpx;
|
||||
margin-left: 4%;
|
||||
height: 110rpx;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 35rpx;
|
||||
|
|
@ -321,10 +210,10 @@
|
|||
flex-wrap: wrap;
|
||||
}
|
||||
.white-box-father .white-box.data-v-1cf27b2a {
|
||||
margin-top: 20rpx;
|
||||
margin-top: 35rpx;
|
||||
width: 20%;
|
||||
margin-left: 4%;
|
||||
height: 190rpx;
|
||||
height: 220rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 35rpx;
|
||||
display: flex;
|
||||
|
|
@ -336,7 +225,7 @@
|
|||
.white-box-father .white-box .box-img.data-v-1cf27b2a {
|
||||
width: 55rpx;
|
||||
height: 55rpx;
|
||||
margin-bottom: 15rpx;
|
||||
margin-bottom: 25rpx;
|
||||
}
|
||||
.white-box-father .white-box .box-font.data-v-1cf27b2a {
|
||||
font-size: 25rpx;
|
||||
|
|
@ -474,9 +363,92 @@
|
|||
}
|
||||
.back-imge.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
top: 100rpx;
|
||||
left: 30rpx;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
.jia-box.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
display: flex;
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
justify-content: center;
|
||||
}
|
||||
.jia.data-v-1cf27b2a {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #01a8ff;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.jia .jia-img.data-v-1cf27b2a {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
z-index: 2;
|
||||
}
|
||||
.gray-box.data-v-1cf27b2a {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: #cbcdd8;
|
||||
}
|
||||
.black-box.data-v-1cf27b2a {
|
||||
border-radius: 20rpx;
|
||||
height: 30rpx;
|
||||
width: 50rpx;
|
||||
margin-right: 15rpx;
|
||||
background-color: #A4A8BD;
|
||||
}
|
||||
.button-blue.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
width: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
.button-blue-spec.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
left: 8%;
|
||||
width: 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
.button-white-spec.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
right: 8%;
|
||||
width: 40%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 37rpx;
|
||||
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
|
||||
border: 2rpx solid #b1c0ca;
|
||||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Math) {
|
||||
downMenu();
|
||||
}
|
||||
const downMenu = () => "../../compontent/public/downmenu.js";
|
||||
const _sfc_main = {
|
||||
__name: "mine",
|
||||
setup(__props) {
|
||||
const phone = common_vendor.ref("");
|
||||
common_vendor.onMounted(() => {
|
||||
phone.value = common_vendor.index.getStorageSync("tel");
|
||||
});
|
||||
const cardMenu = [`机构信息`, `加盟审核`, `机构功能01`, `机构功能02`];
|
||||
const change = () => {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
};
|
||||
const exit = () => {
|
||||
common_vendor.index.exitMiniProgram({});
|
||||
};
|
||||
const clickButton = (index) => {
|
||||
switch (index) {
|
||||
case 0:
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/workjoin?type=3`
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
});
|
||||
break;
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(phone.value),
|
||||
b: common_vendor.f(cardMenu, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: `https://www.focusnu.com/media/directive/index/mine/${index}.png`,
|
||||
b: common_vendor.t(item),
|
||||
c: !index
|
||||
}, !index ? {} : {}, {
|
||||
d: index,
|
||||
e: common_vendor.o(($event) => clickButton(index), index)
|
||||
});
|
||||
}),
|
||||
c: common_vendor.o(change),
|
||||
d: common_vendor.o(exit),
|
||||
e: common_vendor.p({
|
||||
itemTarget: 2
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-dd3057bc"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/mine.js.map
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "我的",
|
||||
"usingComponents": {
|
||||
"down-menu": "../../compontent/public/downmenu"
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<view class="login-container data-v-dd3057bc"><image class="bgc-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/bgc.png"/><view class="ball data-v-dd3057bc"><image class="ball-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/head.png"/></view><view class="upfont data-v-dd3057bc"> 迷路往前走 </view><view class="phone data-v-dd3057bc">{{a}}</view><view class="data-v-dd3057bc" style="display:flex"><view class="badid data-v-dd3057bc"> ID </view><view class="data-v-dd3057bc" style="z-index:1"> 2839780810 </view></view><view class="white-father data-v-dd3057bc"><view wx:for="{{b}}" wx:for-item="item" wx:key="d" class="white-card data-v-dd3057bc" bindtap="{{item.e}}"><view class="white-left data-v-dd3057bc"><image class="white-left-imge data-v-dd3057bc" src="{{item.a}}"/><view class=" data-v-dd3057bc">{{item.b}}</view></view><view class="white-right data-v-dd3057bc"><view wx:if="{{item.c}}" class="data-v-dd3057bc" style="font-size:25rpx;margin-top:-4rpx">完善机构信息</view><image class="white-right-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view></view></view><view class="blue-button data-v-dd3057bc" bindtap="{{c}}"><image class="blue-button-imge data-v-dd3057bc" src="https://www.focusnu.com/media/directive/index/mine/change.png"/> 切换其他端口 </view><view class="white-button data-v-dd3057bc" bindtap="{{d}}"> 退出登录 </view><down-menu wx:if="{{e}}" class="data-v-dd3057bc" u-i="dd3057bc-0" bind:__l="__l" u-p="{{e}}"/></view>
|
||||
|
|
@ -0,0 +1,149 @@
|
|||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.login-container.data-v-dd3057bc {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
width: 100%;
|
||||
background-color: #f7f7f7;
|
||||
position: relative;
|
||||
align-items: center;
|
||||
}
|
||||
.login-container .bgc-imge.data-v-dd3057bc {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1200rpx;
|
||||
}
|
||||
.login-container .ball.data-v-dd3057bc {
|
||||
margin-top: 200rpx;
|
||||
width: 180rpx;
|
||||
height: 180rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
z-index: 1;
|
||||
}
|
||||
.login-container .ball .ball-imge.data-v-dd3057bc {
|
||||
width: 178rpx;
|
||||
height: 178rpx;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.login-container .upfont.data-v-dd3057bc {
|
||||
margin: 10rpx 0;
|
||||
color: black;
|
||||
z-index: 1;
|
||||
}
|
||||
.login-container .phone.data-v-dd3057bc {
|
||||
color: black;
|
||||
z-index: 1;
|
||||
font-size: 32rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.login-container .badid.data-v-dd3057bc {
|
||||
background-color: black;
|
||||
z-index: 1;
|
||||
width: 45rpx;
|
||||
height: 30rpx;
|
||||
border-radius: 8rpx;
|
||||
color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 20rpx;
|
||||
margin-right: 15rpx;
|
||||
margin-top: 3rpx;
|
||||
}
|
||||
.login-container .white-father.data-v-dd3057bc {
|
||||
margin-top: 50rpx;
|
||||
width: 94%;
|
||||
border-radius: 40rpx;
|
||||
background-color: #fff;
|
||||
padding: 30rpx 0;
|
||||
z-index: 1;
|
||||
}
|
||||
.login-container .white-father .white-card.data-v-dd3057bc {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.login-container .white-father .white-card .white-left.data-v-dd3057bc {
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.login-container .white-father .white-card .white-left-imge.data-v-dd3057bc {
|
||||
margin-right: 20rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
.login-container .white-father .white-card .white-right.data-v-dd3057bc {
|
||||
margin-right: 40rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.login-container .white-father .white-card .white-right-imge.data-v-dd3057bc {
|
||||
margin-left: 20rpx;
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
.blue-button.data-v-dd3057bc {
|
||||
z-index: 1;
|
||||
width: 94%;
|
||||
height: 100rpx;
|
||||
background-color: #dee9fb;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #067ae9;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.blue-button .blue-button-imge.data-v-dd3057bc {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.white-button.data-v-dd3057bc {
|
||||
z-index: 1;
|
||||
width: 94%;
|
||||
height: 100rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 30rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
|
@ -28,26 +28,44 @@ const _sfc_main = {
|
|||
common_vendor.index.setStorageSync("tel", res3.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res3.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res3.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
common_vendor.index.setStorageSync("izJg", res3.result.izJg);
|
||||
common_vendor.index.setStorageSync("izJs", res3.result.izJs);
|
||||
common_vendor.index.setStorageSync("izYg", res3.result.izYg);
|
||||
switch (res3.result.advisoryType) {
|
||||
case `1`:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
break;
|
||||
case 2:
|
||||
break;
|
||||
case `3`:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
default:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
},
|
||||
fail(err) {
|
||||
common_vendor.index.__f__("error", "at pages/login/callback.vue:263", "获取 code 失败:", err);
|
||||
common_vendor.index.__f__("error", "at pages/login/callback.vue:279", "获取 code 失败:", err);
|
||||
}
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
superLogin();
|
||||
if (options.type) {
|
||||
common_vendor.index.setStorageSync("special", true);
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("special", false);
|
||||
}
|
||||
superLogin();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {};
|
||||
|
|
|
|||
|
|
@ -38,25 +38,16 @@ const _sfc_main = {
|
|||
}).then((res) => {
|
||||
if (res.success) {
|
||||
api_loginApi.getMessage(openid).then((res2) => {
|
||||
if (common_vendor.index.getStorageSync("special")) {
|
||||
common_vendor.index.setStorageSync("tel", res2.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res2.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res2.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("tel", res2.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res2.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res2.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
common_vendor.index.setStorageSync("tel", res2.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res2.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res2.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "验证码错误",
|
||||
title: res.message,
|
||||
icon: "none",
|
||||
// 不显示图标(提示信息)
|
||||
duration: 2e3
|
||||
|
|
@ -66,7 +57,7 @@ const _sfc_main = {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/login/code.vue:207", "验证码未输入完整");
|
||||
common_vendor.index.__f__("log", "at pages/login/code.vue:213", "验证码未输入完整");
|
||||
}
|
||||
};
|
||||
const getcode = () => {
|
||||
|
|
|
|||
|
|
@ -21,24 +21,13 @@ const _sfc_main = {
|
|||
api_loginApi.getOpenid(res.code).then((res2) => {
|
||||
let openid = res2.data.openid;
|
||||
common_vendor.index.setStorageSync("openid", openid);
|
||||
api_loginApi.getMessage(openid).then((res3) => {
|
||||
if (!res3.result.tel) {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/phonebumber`
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("tel", res3.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res3.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res3.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/phonebumber`
|
||||
});
|
||||
});
|
||||
},
|
||||
fail(err) {
|
||||
common_vendor.index.__f__("error", "at pages/login/index.vue:115", "获取 code 失败:", err);
|
||||
common_vendor.index.__f__("error", "at pages/login/index.vue:122", "获取 code 失败:", err);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
@ -54,8 +43,9 @@ const _sfc_main = {
|
|||
url: "/pages/login/protocol"
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
superLogin();
|
||||
common_vendor.ref(null);
|
||||
common_vendor.ref(false);
|
||||
common_vendor.onMounted(() => {
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-d08ef7d4"><image class="title-imge data-v-d08ef7d4" src="https://www.focusnu.com/media/directive/login/icon.png"/><image class="photo-imge data-v-d08ef7d4" src="https://www.focusnu.com/media/directive/login/bgc.png"/><view class="under-container data-v-d08ef7d4"><view class="button-blue data-v-d08ef7d4" bindtap="{{a}}"> 一键登录 </view><view class="under-container-title data-v-d08ef7d4"><view class="{{['data-v-d08ef7d4', b]}}" bindtap="{{c}}"></view><view style="margin-left:17rpx" class="radio-circle-font data-v-d08ef7d4" bindtap="{{d}}">同意护理单元</view><view class="radio-circle-blue data-v-d08ef7d4" bindtap="{{e}}"> 《使用条款》 </view><view class="radio-circle-font data-v-d08ef7d4" bindtap="{{f}}">并授权NU获取本机号码</view></view></view><transition wx:if="{{j}}" class="data-v-d08ef7d4" u-s="{{['d']}}" u-i="d08ef7d4-0" bind:__l="__l" u-p="{{j}}"><view wx:if="{{g}}" class="overlay data-v-d08ef7d4" bindtap="{{h}}" style="{{'background-color:' + i}}"/></transition><transition wx:if="{{o}}" class="data-v-d08ef7d4" u-s="{{['d']}}" u-i="d08ef7d4-1" bind:__l="__l" u-p="{{o}}"><view wx:if="{{k}}" class="modal data-v-d08ef7d4"><view class="modal-title data-v-d08ef7d4">服务协议及隐私保护</view><view class="model-p data-v-d08ef7d4"><text class="data-v-d08ef7d4"> 为了更好地保障您的合法权益,请阅读并同意以下协议护理单元</text><text class="data-v-d08ef7d4" style="color:rgb(0,141,255)" bindtap="{{l}}">《使用条款》</text><text class="data-v-d08ef7d4">,同意后将自动登录。</text></view><view class="model-down data-v-d08ef7d4"><view class="model-white data-v-d08ef7d4" bindtap="{{m}}"> 不同意 </view><view class="model-blue data-v-d08ef7d4" bindtap="{{n}}"> 同意 </view></view></view></transition></view>
|
||||
<view class="login-container data-v-d08ef7d4"><image class="title-imge data-v-d08ef7d4" src="https://www.focusnu.com/media/directive/login/icon.png"/><image class="photo-imge data-v-d08ef7d4" src="https://www.focusnu.com/media/directive/login/bgc.png"/><view class="under-container data-v-d08ef7d4"><button class="button-blue data-v-d08ef7d4" bindtap="{{a}}"> 一键登录 </button><view class="under-container-title data-v-d08ef7d4"><view class="{{['data-v-d08ef7d4', b]}}" bindtap="{{c}}"></view><view style="margin-left:17rpx" class="radio-circle-font data-v-d08ef7d4" bindtap="{{d}}">同意护理单元</view><view class="radio-circle-blue data-v-d08ef7d4" bindtap="{{e}}"> 《使用条款》 </view><view class="radio-circle-font data-v-d08ef7d4" bindtap="{{f}}">并授权NU获取本机号码</view></view></view><transition wx:if="{{j}}" class="data-v-d08ef7d4" u-s="{{['d']}}" u-i="d08ef7d4-0" bind:__l="__l" u-p="{{j}}"><view wx:if="{{g}}" class="overlay data-v-d08ef7d4" bindtap="{{h}}" style="{{'background-color:' + i}}"/></transition><transition wx:if="{{o}}" class="data-v-d08ef7d4" u-s="{{['d']}}" u-i="d08ef7d4-1" bind:__l="__l" u-p="{{o}}"><view wx:if="{{k}}" class="modal data-v-d08ef7d4"><view class="modal-title data-v-d08ef7d4">服务协议及隐私保护</view><view class="model-p data-v-d08ef7d4"><text class="data-v-d08ef7d4"> 为了更好地保障您的合法权益,请阅读并同意以下协议护理单元</text><text class="data-v-d08ef7d4" style="color:rgb(0,141,255)" bindtap="{{l}}">《使用条款》</text><text class="data-v-d08ef7d4">,同意后将自动登录。</text></view><view class="model-down data-v-d08ef7d4"><view class="model-white data-v-d08ef7d4" bindtap="{{m}}"> 不同意 </view><view class="model-blue data-v-d08ef7d4" bindtap="{{n}}"> 同意 </view></view></view></transition></view>
|
||||
|
|
@ -14,7 +14,9 @@ const _sfc_main = {
|
|||
};
|
||||
const codeIsOk = () => {
|
||||
huakuaiOpen.value = false;
|
||||
api_loginApi.getHkCode({ mobile: phonenumber.value }).then((res) => {
|
||||
api_loginApi.getHkCode({
|
||||
mobile: phonenumber.value
|
||||
}).then((res) => {
|
||||
if (res.success) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/code?mobile=${phonenumber.value}&hkcode=${res.message}`
|
||||
|
|
@ -36,7 +38,7 @@ const _sfc_main = {
|
|||
const phonenumber = common_vendor.ref("");
|
||||
const canClick = common_vendor.ref(false);
|
||||
const isRight = (res) => {
|
||||
common_vendor.index.__f__("log", "at pages/login/phonebumber.vue:69", "????", res.detail.value);
|
||||
common_vendor.index.__f__("log", "at pages/login/phonebumber.vue:75", "????", res.detail.value);
|
||||
if (is11DigitNumber(res.detail.value)) {
|
||||
phonenumber.value = res.detail.value;
|
||||
canClick.value = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"huakuai": "../../compontent/public/huakuai"
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -27,17 +27,47 @@
|
|||
width: 100%;
|
||||
padding: 0 50rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 0 80rpx;
|
||||
flex-direction: column;
|
||||
}
|
||||
.font-father .title-font.data-v-d224a900 {
|
||||
margin: 250rpx auto 80rpx auto;
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.font-father .font-title.data-v-d224a900 {
|
||||
font-size: 40rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.font-father .font-qian.data-v-d224a900 {
|
||||
font-size: 35rpx;
|
||||
font-weight: 700;
|
||||
margin: 20rpx 0;
|
||||
margin: 50rpx 0;
|
||||
}
|
||||
.back-imge.data-v-d224a900 {
|
||||
margin: 100rpx 0 50rpx 0rpx;
|
||||
width: 50rpx;
|
||||
height: 50rpx;
|
||||
.font-father .font-ri.data-v-d224a900 {
|
||||
font-size: 30rpx;
|
||||
font-weight: 700;
|
||||
margin-left: -20rpx;
|
||||
}
|
||||
.font-father .font-gray.data-v-d224a900 {
|
||||
font-size: 25rpx;
|
||||
color: #999;
|
||||
margin: 50rpx 0;
|
||||
}
|
||||
.font-normal.data-v-d224a900 {
|
||||
font-size: 25rpx;
|
||||
color: #333333;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.back-button.data-v-d224a900 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 44%;
|
||||
height: 90rpx;
|
||||
margin: 80rpx auto;
|
||||
border: 2rpx solid #c3cacd;
|
||||
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
|
||||
border-radius: 50rpx;
|
||||
font-size: 35rpx;
|
||||
}
|
||||
|
|
@ -1,22 +1,93 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_loginApi = require("../../api/loginApi.js");
|
||||
const _sfc_main = {
|
||||
__name: "special",
|
||||
setup(__props) {
|
||||
const cardarray = [
|
||||
{
|
||||
title: "日常照料:专业规范,细致周全",
|
||||
content: "提供专业日常、饮食、清洁、睡眠、排泄等照料服务,长者舒适安心。"
|
||||
},
|
||||
{
|
||||
title: " 健康监测:实时监测、精准应对",
|
||||
content: "7*24小时生命体征监测,专业方案提前防控,健康风险提早化解。"
|
||||
},
|
||||
{
|
||||
title: " 医护照料:多专联合,专业护航",
|
||||
content: "医疗、护理团队协同合作,守护长者身体安康。"
|
||||
},
|
||||
{
|
||||
title: "康复护理:科学规划,有效复健",
|
||||
content: "量身定制护理流程,科学手段实施精准干预,为长者健康保驾护航。"
|
||||
},
|
||||
{
|
||||
title: "贴心关怀:温暖陪伴、心灵慰藉",
|
||||
content: "护理员床前陪伴、耐心疏导,让长者感受家的温暖与关怀。"
|
||||
}
|
||||
];
|
||||
const phonenumber = common_vendor.ref("");
|
||||
const jumpto = () => {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
api_loginApi.getMessage(common_vendor.index.getStorageSync("openid")).then((res) => {
|
||||
if (!res.result.tel) {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.setStorageSync("tel", res.result.tel);
|
||||
common_vendor.index.setStorageSync("token", res.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res.result.serverUrl);
|
||||
common_vendor.index.setStorageSync("izJg", res.result.izJg);
|
||||
common_vendor.index.setStorageSync("izJs", res.result.izJs);
|
||||
common_vendor.index.setStorageSync("izYg", res.result.izYg);
|
||||
switch (res.result.advisoryType) {
|
||||
case `1`:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
break;
|
||||
case `2`:
|
||||
break;
|
||||
case `3`:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
break;
|
||||
default:
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
phonenumber.value = common_vendor.index.getStorageSync("tel");
|
||||
function maskPhone(phone) {
|
||||
return phone.replace(/^(\d{3})\d{4}(\d{4})$/, "$1****$2");
|
||||
}
|
||||
common_vendor.onLoad((options) => {
|
||||
if (!options.type) {
|
||||
phonenumber.value = common_vendor.index.getStorageSync("tel");
|
||||
}
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.t(phonenumber.value),
|
||||
b: common_vendor.o(jumpto)
|
||||
};
|
||||
return common_vendor.e({
|
||||
a: `https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`,
|
||||
b: phonenumber.value
|
||||
}, phonenumber.value ? {
|
||||
c: common_vendor.t(maskPhone(phonenumber.value))
|
||||
} : {}, {
|
||||
d: !phonenumber.value
|
||||
}, !phonenumber.value ? {} : {}, {
|
||||
e: common_vendor.o(jumpto),
|
||||
f: common_vendor.f(cardarray, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.content),
|
||||
c: `https://www.focusnu.com/media/directive/login/introduce/${index}.png`,
|
||||
d: index
|
||||
};
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="font-father data-v-aaa5af2f"><view class="font-title data-v-aaa5af2f"> 尊敬的用户,你的手机<text class="data-v-aaa5af2f">{{a}}</text>已成功绑定,欢迎加入护理单元大家庭! </view><view class="bottom-button data-v-aaa5af2f" bindtap="{{b}}"> 我的机构 </view></view>
|
||||
<view class="font-father data-v-aaa5af2f"><image class="title-img data-v-aaa5af2f" src="{{a}}"/><view wx:if="{{b}}" class="font-title data-v-aaa5af2f"><view class="data-v-aaa5af2f" style="display:flex"><text class="data-v-aaa5af2f">尊敬的用户,你的手机</text><text class="data-v-aaa5af2f" style="color:#259AFB">{{c}}</text></view><view class="big-font data-v-aaa5af2f"> 已成功绑定 </view><view class=" data-v-aaa5af2f"> 欢迎加入护理单元大家庭! </view></view><view wx:if="{{d}}" class="font-title data-v-aaa5af2f"> 尊敬的用户,你的机构加盟申请已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭! </view><view class="data-v-aaa5af2f" style="width:100%;z-index:999"><view class="bottom-button data-v-aaa5af2f" bindtap="{{e}}"> 我的机构 </view></view><view class="white-father-spec data-v-aaa5af2f"><image class="white-imge-spec data-v-aaa5af2f" src="https://www.focusnu.com/media/directive/login/introduce/oldman.png"/><view class="weight-font data-v-aaa5af2f"> 长者入住 </view></view><view wx:for="{{f}}" wx:for-item="item" wx:key="d" class="data-v-aaa5af2f" style="width:100%"><view class="white-card data-v-aaa5af2f"><view class="white-left data-v-aaa5af2f"><view class="white-title data-v-aaa5af2f">{{item.a}}</view><view class="white-text data-v-aaa5af2f">{{item.b}}</view></view><image class="white-right data-v-aaa5af2f" src="{{item.c}}"/></view></view><view class="white-father data-v-aaa5af2f"><image class="white-imge data-v-aaa5af2f" src="https://www.focusnu.com/media/directive/login/introduce/nurse.png"/><view class="weight-font data-v-aaa5af2f"> 员工入驻 </view><view class="gray-font data-v-aaa5af2f"> 入驻护理单元,遵循标准护理流程,提供长者床旁照护用专业技能与人文关怀共同守护长者健康。依托物联设备优化服务流程,依托员工培训提升照护能力,确保服务精准高效。 </view></view><view class="white-father data-v-aaa5af2f" style="margin-bottom:50rpx"><image class="white-imge data-v-aaa5af2f" src="https://www.focusnu.com/media/directive/login/introduce/jigou.png"/><view class="weight-font data-v-aaa5af2f"> 机构加盟 </view><view class="gray-font data-v-aaa5af2f"> 加盟护理单元,坐拥成熟运营体系,精简人力配置,降低运营成本。优质资源共享,多重优势协同发力,全方位拓宽利润空间,助力占领银发赛道。 </view></view></view>
|
||||
|
|
@ -25,27 +25,120 @@
|
|||
/* 文章场景相关 */
|
||||
.font-father.data-v-aaa5af2f {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
padding: 0 50rpx;
|
||||
min-height: 100vh;
|
||||
padding: 0 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
background-color: #efefef;
|
||||
}
|
||||
.font-father .white-father-spec.data-v-aaa5af2f {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
position: relative;
|
||||
}
|
||||
.font-father .white-father-spec .white-imge-spec.data-v-aaa5af2f {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 200rpx;
|
||||
margin-top: 7rpx;
|
||||
}
|
||||
.font-father .white-father-spec .weight-font.data-v-aaa5af2f {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
left: 60rpx;
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
.font-father .white-father-spec .gray-font.data-v-aaa5af2f {
|
||||
color: #999999;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.font-father .white-father.data-v-aaa5af2f {
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-top: 30rpx;
|
||||
padding: 30rpx 30rpx;
|
||||
}
|
||||
.font-father .white-father .white-imge.data-v-aaa5af2f {
|
||||
width: 635rpx;
|
||||
margin: 0 auto;
|
||||
height: 200rpx;
|
||||
}
|
||||
.font-father .white-father .weight-font.data-v-aaa5af2f {
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.font-father .white-father .gray-font.data-v-aaa5af2f {
|
||||
color: #999999;
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.font-father .font-title.data-v-aaa5af2f {
|
||||
margin-top: 200rpx;
|
||||
margin-bottom: 0rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
padding: 0 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
width: 100%;
|
||||
}
|
||||
.font-father .bottom-button.data-v-aaa5af2f {
|
||||
position: fixed;
|
||||
bottom: 150rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 400rpx;
|
||||
height: 100rpx;
|
||||
margin-top: 50rpx;
|
||||
margin-bottom: 0;
|
||||
width: 250rpx;
|
||||
margin-left: 30rpx;
|
||||
height: 80rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to right, #00C9FF, #0076FF);
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
font-size: 30rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.white-card.data-v-aaa5af2f {
|
||||
width: 100%;
|
||||
height: 230rpx;
|
||||
background-color: #fff;
|
||||
margin-top: 25rpx;
|
||||
border-radius: 30rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.white-card .white-left.data-v-aaa5af2f {
|
||||
width: 80%;
|
||||
padding-left: 8%;
|
||||
}
|
||||
.white-card .white-left .white-title.data-v-aaa5af2f {
|
||||
font-size: 30rpx;
|
||||
font-weight: 600;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.white-card .white-left .white-text.data-v-aaa5af2f {
|
||||
color: #999999;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.white-card .white-right.data-v-aaa5af2f {
|
||||
margin-left: 2%;
|
||||
width: 85rpx;
|
||||
height: 85rpx;
|
||||
}
|
||||
.title-img.data-v-aaa5af2f {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 600rpx;
|
||||
}
|
||||
.big-font.data-v-aaa5af2f {
|
||||
font-size: 70rpx;
|
||||
color: black;
|
||||
margin: 10rpx 0;
|
||||
}
|
||||
|
|
@ -6,7 +6,7 @@ const _sfc_main = {
|
|||
common_vendor.ref(0);
|
||||
const ceshi = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/workjoin?type=1`
|
||||
url: `/pages/login/special`
|
||||
});
|
||||
};
|
||||
const jumpToindex = () => {
|
||||
|
|
@ -26,16 +26,28 @@ const _sfc_main = {
|
|||
common_vendor.index.exitMiniProgram({});
|
||||
};
|
||||
const phone = common_vendor.ref("");
|
||||
const op0 = common_vendor.ref(false);
|
||||
const op1 = common_vendor.ref(false);
|
||||
const op2 = common_vendor.ref(false);
|
||||
common_vendor.onLoad(() => {
|
||||
phone.value = common_vendor.index.getStorageSync("tel");
|
||||
op0.value = common_vendor.index.getStorageSync("izJs");
|
||||
op1.value = common_vendor.index.getStorageSync("izYg");
|
||||
op2.value = common_vendor.index.getStorageSync("izJg");
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(jumpToindex),
|
||||
b: common_vendor.o(gotoadd),
|
||||
c: common_vendor.o(ceshi),
|
||||
d: common_vendor.o(close)
|
||||
};
|
||||
return common_vendor.e({
|
||||
a: op2.value == `1`
|
||||
}, op2.value == `1` ? {
|
||||
b: common_vendor.o(jumpToindex)
|
||||
} : {}, {
|
||||
c: op2.value != `1`
|
||||
}, op2.value != `1` ? {
|
||||
d: common_vendor.o(gotoadd)
|
||||
} : {}, {
|
||||
e: common_vendor.o(ceshi),
|
||||
f: common_vendor.o(close)
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-83beea56"><image class="photo-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/><view class="card data-v-83beea56" style="margin-top:550rpx"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 长者入住 </view><view class="card-text data-v-83beea56"> 护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护服务。 </view><view class="white-button data-v-83beea56" bindtap="{{a}}"> 申请入住 </view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/old.png"/></view></view><view class="card data-v-83beea56"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 员工入驻 </view><view class="card-text data-v-83beea56"> 护理员严格按标准流程,定时为失能老人开展床旁照护,用专业与温情守护老人生活与健康。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 申请入驻 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/yuangong.png"/></view></view><view class="card data-v-83beea56" style="height:330rpx"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 机构加盟 </view><view class="card-text data-v-83beea56"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56" bindtap="{{b}}"> 申请加盟 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/gongsi.png" bindtap="{{c}}"/></view></view><view class="blue-button data-v-83beea56" bindtap="{{d}}"> 关闭 </view></view>
|
||||
<view class="login-container data-v-83beea56"><image class="photo-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/><view class="card data-v-83beea56" style="margin-top:550rpx"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 长者入住 </view><view class="card-text data-v-83beea56"> 护理单元日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护服务。 </view><view class="white-button data-v-83beea56"> 申请入住 </view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/old.png"/></view></view><view class="card data-v-83beea56"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 员工入驻 </view><view class="card-text data-v-83beea56"> 护理员严格按标准流程,定时为失能老人开展床旁照护,用专业与温情守护老人生活与健康。 </view><view class="data-v-83beea56" style="display:flex"><view class="white-button data-v-83beea56"> 申请入驻 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/yuangong.png"/></view></view><view class="card data-v-83beea56" style="height:340rpx"><view class="card-left data-v-83beea56"><view class="card-weight data-v-83beea56"> 机构加盟 </view><view class="card-text data-v-83beea56"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view><view class="data-v-83beea56" style="display:flex"><view wx:if="{{a}}" class="white-button data-v-83beea56" bindtap="{{b}}"> 进入机构 </view><view wx:if="{{c}}" class="white-button data-v-83beea56" bindtap="{{d}}"> 申请加盟 </view></view></view><view class="card-right data-v-83beea56"><image class="right-imge data-v-83beea56" src="https://www.focusnu.com/media/directive/login/gongsi.png" bindtap="{{e}}"/></view></view><view class="blue-button data-v-83beea56" bindtap="{{f}}"> 关闭 </view></view>
|
||||
|
|
@ -170,7 +170,7 @@
|
|||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 33rpx;
|
||||
font-size: 35rpx;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
|
|
@ -6,25 +6,47 @@ const _sfc_main = {
|
|||
setup(__props) {
|
||||
const type = common_vendor.ref(0);
|
||||
const workArray = common_vendor.ref([]);
|
||||
const special = common_vendor.ref(false);
|
||||
common_vendor.onLoad((options) => {
|
||||
type.value = options.type || "";
|
||||
if (type.value) {
|
||||
pages_addjigou_api_addjigou.getMessageList(common_vendor.index.getStorageSync("tel")).then((res) => {
|
||||
workArray.value = res.result;
|
||||
});
|
||||
}
|
||||
});
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
pages_addjigou_api_addjigou.getMessageList(common_vendor.index.getStorageSync("tel")).then((res) => {
|
||||
workArray.value = res.result;
|
||||
common_vendor.index.stopPullDownRefresh();
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
if (type.value == 1) {
|
||||
pages_addjigou_api_addjigou.getMessageList(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
});
|
||||
} else if (type.value == 3) {
|
||||
pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
});
|
||||
type.value = `1`;
|
||||
special.value = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
const goback = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
if (type.value) {
|
||||
if (special.value) {
|
||||
pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
});
|
||||
} else {
|
||||
pages_addjigou_api_addjigou.getMessageList(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
common_vendor.index.stopPullDownRefresh();
|
||||
});
|
||||
const again = (item) => {
|
||||
common_vendor.index.__f__("log", "at pages/login/workjoin.vue:85", "????", item);
|
||||
common_vendor.index.__f__("log", "at pages/login/workjoin.vue:103", "????", item);
|
||||
common_vendor.index.setStorageSync("baddata", item);
|
||||
common_vendor.index.setStorageSync("specicalid", item.id);
|
||||
common_vendor.index.setStorageSync("backhuancun", {});
|
||||
|
|
@ -39,18 +61,14 @@ const _sfc_main = {
|
|||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: type.value === `1` ? `https://www.focusnu.com/media/directive/index/workjoin/man.png` : `https://www.focusnu.com/media/directive/index/workjoin/bgcren.png`,
|
||||
b: common_vendor.t(type.value === `1` ? `机构加盟` : `员工入驻`),
|
||||
c: common_vendor.o(goback),
|
||||
d: common_vendor.t(type.value === "1" ? `机构加盟审核列表` : `员工入驻审核列表`),
|
||||
e: common_vendor.f(workArray.value, (item, index, i0) => {
|
||||
a: common_vendor.f(workArray.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.comName),
|
||||
b: common_vendor.t(item.updateTime),
|
||||
c: common_vendor.t(item.status == 1 ? "审核中" : item.status == 2 ? `审核完成` : item.status == 3 ? `驳回` : `待提交`),
|
||||
d: common_vendor.t(item.status == 3 ? `,驳回备注:${item.content}` : ``),
|
||||
e: item.status == 3 || item.status == 0
|
||||
}, item.status == 3 || item.status == 0 ? {
|
||||
e: item.status == 3
|
||||
}, item.status == 3 ? {
|
||||
f: common_vendor.o(($event) => again(item), index)
|
||||
} : {}, {
|
||||
g: common_vendor.o(($event) => jumpToAll(item), index),
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-808c8183"><view class="white-card data-v-808c8183"><image class="left-img data-v-808c8183" src="{{a}}"/><view class="card-font data-v-808c8183"><view class="data-v-808c8183" style="font-size:30rpx;font-weight:600;margin:20rpx 0 30rpx 0">{{b}}</view><view class="data-v-808c8183" style="color:#666666;font-size:25rpx"> 护理院日常护理涵盖生活照料、健康监测、康复护理及心理关怀,为老人提供贴心照护。 </view></view></view><view class="white-ball data-v-808c8183" bindtap="{{c}}"><image class="ball-imge data-v-808c8183" src="https://www.focusnu.com/media/directive/index/workjoin/x.png"/></view><view class="shu-father data-v-808c8183"><view class="shu data-v-808c8183"></view><view class="shu-font data-v-808c8183">{{d}}</view></view><view class="under-scroll data-v-808c8183"><view wx:for="{{e}}" wx:for-item="item" wx:key="h" class="data-v-808c8183"><view class="white-small data-v-808c8183"><view class="data-v-808c8183" style="width:100%;margin-bottom:80rpx;font-size:25rpx">{{item.a}}申请入驻加盟护理单元,提交时间:{{item.b}},审核结果:{{item.c}} {{item.d}}</view><view class="button-heng data-v-808c8183"><view wx:if="{{item.e}}" class="blue-button data-v-808c8183" bindtap="{{item.f}}"> 修改申请 </view><view class="white-button data-v-808c8183" bindtap="{{item.g}}"> 查看详情 </view></view></view></view></view></view>
|
||||
<view class="login-container data-v-808c8183"><view class="index-up data-v-808c8183"><image class="index-up-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="bgc-card data-v-808c8183"><view class="title-card data-v-808c8183"><view class="big-weight data-v-808c8183">机构加盟</view><view class="title-other data-v-808c8183"> 加盟我们,共享银发经济红利!依托成熟运营体系,标准化服务流程降低人力成本及管理开支,背靠品牌资源,助力企业快速实现营收增长。 </view></view><view class="under-scroll data-v-808c8183"><view wx:for="{{a}}" wx:for-item="item" wx:key="h" class="data-v-808c8183"><view class="white-small data-v-808c8183"><view class="data-v-808c8183" style="width:100%;margin-bottom:80rpx;font-size:25rpx">{{item.a}}申请入驻加盟护理单元,提交时间:{{item.b}},审核结果:{{item.c}} {{item.d}}</view><view class="button-heng data-v-808c8183"><view wx:if="{{item.e}}" class="blue-button data-v-808c8183" bindtap="{{item.f}}"> 修改申请 </view><view class="white-button data-v-808c8183" bindtap="{{item.g}}"> 查看详情 </view></view></view></view></view></view></view>
|
||||
|
|
@ -31,88 +31,6 @@
|
|||
background-color: #eff1fc;
|
||||
position: relative;
|
||||
}
|
||||
.login-container .title.data-v-808c8183 {
|
||||
margin-top: 70rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.login-container .title .title-imge.data-v-808c8183 {
|
||||
width: 100rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 100rpx;
|
||||
}
|
||||
.login-container .title .title-font.data-v-808c8183 {
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 105rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.login-container .photo-imge.data-v-808c8183 {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
.login-container .old-imge.data-v-808c8183 {
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
transform: translateX(50%);
|
||||
top: 0rpx;
|
||||
width: 550rpx;
|
||||
height: 750rpx;
|
||||
}
|
||||
.white-card.data-v-808c8183 {
|
||||
margin-top: 200rpx;
|
||||
margin-left: 3%;
|
||||
width: 94%;
|
||||
background-color: #fff;
|
||||
height: 320rpx;
|
||||
border-radius: 45rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
.white-card .left-img.data-v-808c8183 {
|
||||
width: 150rpx;
|
||||
height: 250rpx;
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
.white-card .card-font.data-v-808c8183 {
|
||||
margin-left: 60rpx;
|
||||
width: 380rpx;
|
||||
}
|
||||
.white-ball.data-v-808c8183 {
|
||||
position: absolute;
|
||||
right: 60rpx;
|
||||
top: 220rpx;
|
||||
width: 75rpx;
|
||||
height: 75rpx;
|
||||
border-radius: 50%;
|
||||
border: 1rpx solid #b1b1b1;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.white-ball .ball-imge.data-v-808c8183 {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
}
|
||||
.shu-father.data-v-808c8183 {
|
||||
display: flex;
|
||||
margin: 30rpx 0;
|
||||
width: 100%;
|
||||
}
|
||||
.shu-father .shu.data-v-808c8183 {
|
||||
background: linear-gradient(to bottom, #00C9FF, #0076FF);
|
||||
margin: 0 5%;
|
||||
width: 15rpx;
|
||||
border-radius: 10rpx;
|
||||
height: 35rpx;
|
||||
margin-right: 3%;
|
||||
}
|
||||
.shu-father .shu-font.data-v-808c8183 {
|
||||
color: #666666;
|
||||
}
|
||||
.under-scroll.data-v-808c8183 {
|
||||
width: 100%;
|
||||
height: calc(100% - 460rpx);
|
||||
|
|
@ -156,4 +74,43 @@
|
|||
margin-right: 20rpx;
|
||||
border-radius: 30rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.bgc-card.data-v-808c8183 {
|
||||
margin-top: 550rpx;
|
||||
background-color: #F7F7F7;
|
||||
width: 99%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
z-index: 1;
|
||||
}
|
||||
.index-up.data-v-808c8183 {
|
||||
position: absolute;
|
||||
top: -70rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.index-up .index-up-img.data-v-808c8183 {
|
||||
width: 100%;
|
||||
height: 20rpx;
|
||||
}
|
||||
.title-card.data-v-808c8183 {
|
||||
margin: 30rpx;
|
||||
background-color: #fff;
|
||||
width: 93%;
|
||||
height: 250rpx;
|
||||
border-radius: 30rpx;
|
||||
padding: 0 45rpx;
|
||||
margin-top: 40rpx;
|
||||
padding-top: 45rpx;
|
||||
}
|
||||
.title-card .big-weight.data-v-808c8183 {
|
||||
font-size: 30rpx;
|
||||
color: #333333;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.title-card .title-other.data-v-808c8183 {
|
||||
color: #666666;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
|
|
@ -5,12 +5,11 @@
|
|||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"es6": false,
|
||||
"postcss": false,
|
||||
"minified": true,
|
||||
"newFeature": true,
|
||||
"bigPackageSizeSupport": true,
|
||||
"enhance": true
|
||||
"bigPackageSizeSupport": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "",
|
||||
|
|
|
|||
|
|
@ -340,7 +340,7 @@ const _sfc_main = {
|
|||
this.oldHeight = +this.scaleHeight.toFixed(2);
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:437", err);
|
||||
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:446", err);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
@ -438,7 +438,7 @@ const _sfc_main = {
|
|||
callback && setTimeout(callback, this.delay);
|
||||
};
|
||||
image.onerror = (err) => {
|
||||
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:540", err);
|
||||
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:549", err);
|
||||
common_vendor.index.hideLoading();
|
||||
};
|
||||
image.src = src;
|
||||
|
|
@ -561,18 +561,22 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
}, $props.reverseRotatable ? {} : {}, {
|
||||
s: $props.rotatable
|
||||
}, $props.rotatable ? {} : {}) : {}, {
|
||||
t: !$props.choosable
|
||||
}, !$props.choosable ? {
|
||||
v: common_vendor.o((...args) => $options.cropClick && $options.cropClick(...args))
|
||||
} : !!$data.imgSrc ? {
|
||||
x: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args)),
|
||||
y: common_vendor.o((...args) => $options.cropClick && $options.cropClick(...args))
|
||||
} : {
|
||||
z: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
|
||||
}, {
|
||||
w: !!$data.imgSrc,
|
||||
A: $options.initData.area.zIndex + 99,
|
||||
B: $props.zIndex
|
||||
t: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
|
||||
}, ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc ? common_vendor.e({
|
||||
v: $props.reverseRotatable
|
||||
}, $props.reverseRotatable ? {
|
||||
w: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
|
||||
} : {}, {
|
||||
x: $props.rotatable
|
||||
}, $props.rotatable ? {
|
||||
y: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
|
||||
} : {}) : {}, {
|
||||
z: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
|
||||
}, ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc ? {
|
||||
A: common_vendor.o((...args) => $options.cropClick && $options.cropClick(...args))
|
||||
} : {}, {
|
||||
B: $options.initData.area.zIndex + 99,
|
||||
C: $props.zIndex
|
||||
});
|
||||
}
|
||||
if (typeof block0 === "function")
|
||||
|
|
|
|||
|
|
@ -727,4 +727,4 @@ module.exports = {
|
|||
circleStyles: '',
|
||||
}
|
||||
</wxs>
|
||||
<view class="image-cropper data-v-7129956f" style="{{'z-index:' + B}}" bindwheel="{{cropper.mousewheel}}"><canvas wx:if="{{a}}" type="2d" id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + b + ';' + ('height:' + c)}}"></canvas><canvas wx:else id="imgCanvas" canvas-id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + d + ';' + ('height:' + e)}}"></canvas><view id="pic-preview" class="pic-preview data-v-7129956f" change:init="{{cropper.initObserver}}" init="{{p}}" bindtouchstart="{{cropper.touchstart}}" bindtouchmove="{{cropper.touchmove}}" bindtouchend="{{cropper.touchend}}"><image wx:if="{{f}}" id="crop-image" class="crop-image data-v-7129956f" style="{{_s(cropper.imageStyles)}}" src="{{g}}" webp></image><view wx:for="{{h}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-mask-block data-v-7129956f" style="{{_s(cropper.maskStylesList[index])}}"></view><view wx:if="{{i}}" id="crop-border" class="crop-border data-v-7129956f" style="{{_s(cropper.borderStyles)}}"></view><view wx:if="{{j}}" id="crop-circle-box" class="crop-circle-box data-v-7129956f" style="{{_s(cropper.circleBoxStyles)}}"><view class="crop-circle data-v-7129956f" id="crop-circle" style="{{_s(cropper.circleStyles)}}"></view></view><block wx:if="{{k}}"><view wx:for="{{l}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-grid data-v-7129956f" style="{{_s(cropper.gridStylesList[index])}}"></view></block><block wx:if="{{m}}"><view wx:for="{{n}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-angle data-v-7129956f" style="{{_s(cropper.angleStylesList[index])}}"><view class="data-v-7129956f" style="{{o}}"></view></view></block></view><slot/><view class="fixed-bottom safe-area-inset-bottom data-v-7129956f" style="{{'z-index:' + A}}"><view wx:if="{{q}}" class="action-bar data-v-7129956f"><view wx:if="{{r}}" class="rotate-icon data-v-7129956f" bindtap="{{cropper.rotateImage270}}"></view><view wx:if="{{s}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{cropper.rotateImage90}}"></view></view><view wx:if="{{t}}" class="choose-btn data-v-7129956f" bindtap="{{v}}">确定</view><block wx:elif="{{w}}"><view class="rechoose data-v-7129956f" bindtap="{{x}}">重选</view><button class="button data-v-7129956f" size="mini" bindtap="{{y}}">确定</button></block><view wx:else class="choose-btn data-v-7129956f" bindtap="{{z}}">选择图片</view></view></view>
|
||||
<view class="image-cropper data-v-7129956f" style="{{'z-index:' + C}}" bindwheel="{{cropper.mousewheel}}"><canvas wx:if="{{a}}" type="2d" id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + b + ';' + ('height:' + c)}}"></canvas><canvas wx:else id="imgCanvas" canvas-id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + d + ';' + ('height:' + e)}}"></canvas><view id="pic-preview" class="pic-preview data-v-7129956f" change:init="{{cropper.initObserver}}" init="{{p}}" bindtouchstart="{{cropper.touchstart}}" bindtouchmove="{{cropper.touchmove}}" bindtouchend="{{cropper.touchend}}"><image wx:if="{{f}}" id="crop-image" class="crop-image data-v-7129956f" style="{{_s(cropper.imageStyles)}}" src="{{g}}" webp></image><view wx:for="{{h}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-mask-block data-v-7129956f" style="{{_s(cropper.maskStylesList[index])}}"></view><view wx:if="{{i}}" id="crop-border" class="crop-border data-v-7129956f" style="{{_s(cropper.borderStyles)}}"></view><view wx:if="{{j}}" id="crop-circle-box" class="crop-circle-box data-v-7129956f" style="{{_s(cropper.circleBoxStyles)}}"><view class="crop-circle data-v-7129956f" id="crop-circle" style="{{_s(cropper.circleStyles)}}"></view></view><block wx:if="{{k}}"><view wx:for="{{l}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-grid data-v-7129956f" style="{{_s(cropper.gridStylesList[index])}}"></view></block><block wx:if="{{m}}"><view wx:for="{{n}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-angle data-v-7129956f" style="{{_s(cropper.angleStylesList[index])}}"><view class="data-v-7129956f" style="{{o}}"></view></view></block></view><slot/><view class="fixed-bottom safe-area-inset-bottom data-v-7129956f" style="{{'z-index:' + B}}"><view wx:if="{{q}}" class="action-bar data-v-7129956f"><view wx:if="{{r}}" class="rotate-icon data-v-7129956f" bindtap="{{cropper.rotateImage270}}"></view><view wx:if="{{s}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{cropper.rotateImage90}}"></view></view><view wx:if="{{t}}" class="action-bar-anther data-v-7129956f"><view wx:if="{{v}}" class="rotate-icon data-v-7129956f" bindtap="{{w}}"></view><view wx:if="{{x}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{y}}"></view></view><view wx:if="{{z}}" class="action-bar-right data-v-7129956f" bindtap="{{A}}"> 确认 </view></view></view>
|
||||
|
|
@ -99,27 +99,67 @@
|
|||
z-index: 99;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
background-color: #f8f8f8;
|
||||
border-top-right-radius: 30rpx;
|
||||
border-top-left-radius: 30rpx;
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar-anther.data-v-7129956f {
|
||||
position: absolute;
|
||||
top: -110rpx;
|
||||
left: 170rpx;
|
||||
display: flex;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #3f3f3f;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar-anther .rotate-icon.data-v-7129956f {
|
||||
background-image: url("https://www.focusnu.com/media/directive/login/smallicon.png");
|
||||
background-size: 60% 60%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 65rpx;
|
||||
height: 65rpx;
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar-anther .rotate-icon.is-reverse.data-v-7129956f {
|
||||
transform: rotateY(0deg);
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar.data-v-7129956f {
|
||||
position: absolute;
|
||||
top: -90rpx;
|
||||
left: 10rpx;
|
||||
top: -110rpx;
|
||||
left: 40rpx;
|
||||
display: flex;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #3f3f3f;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar .rotate-icon.data-v-7129956f {
|
||||
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCFJREFUaEPtml3IpVMUx3//ko/ChTIyiGFSMyhllI8bc4F85yuNC2FCqLmQC1+FZORiEkUMNW7UjKjJULgxV+NzSkxDhEkZgwsyigv119J63p7zvOc8z37OmXdOb51dz82711r7/99r7bXXXucVi3xokeNnRqCvB20fDmwAlgK/5bcD+FTSr33tHXQP2H4MeHQE0A+B5yRtLiUyDQJrgVc6AAaBpyV93kXkoBMIQLbfBS5NcK8BRwDXNcD+AdwnaVMbiWkRCPBBohpxHuK7M7865sclRdgNHVMhkF6IMIpwirFEUhzo8M7lwIvASTXEqyVtH8ZgagQSbOzsDknv18HZXpHn5IL8+94IOUm7miSmSqAttjPdbgGuTrnNktYsGgLpoYuAD2qg1zRTbG8P2D4SOC6/Q7vSHPALsE/S7wWy80RsPw/ckxMfSTq/LtRJwPbxwF3ASiCUTxwHCPAnEBfVF8AWSTtL7Ng+LfWOTfmlkn6udFsJ5K15R6a4kvX6yGyUFBvTOWzHXXFzCt4g6c1OArYj9iIGh43YgR+BvztXh1PSa4cMkd0jaVmXDduPAE+k3HpJD7cSGFKvfAc8FQUX8IOk/V2L1udtB/hTgdOBW4Aba/M7Ja1qs2f7euCNlHlZUlx4/495IWQ7Jl+qGbxX0gt9AHfJ2o6zFBVoNVrDKe+F3Sm8VdK1bQQ+A85JgXckXdkFaJx527cC9TpnVdvBtl3h2iapuhsGPdBw1b9xnUvaNw7AEh3bnwDnpuwGSfeP0rN9NvAMELXRXFkxEEK2nwQeSiOtRVQJwC4Z29cAW1Nuu6TVXTrN+SaBt4ErUug2Sa/2NdhH3vZy4NvU2S/p6D768w5xI3WOrAD7LtISFpGdIhVXKfaYvjd20wP13L9M0p4DBbaFRKToSLExVkr6qs+aIwlI6iwz+izUQqC+ab29PiMwqRcmPXczD8w8MFj1zg7xXEqbpdHCw7FgWSjafZL+KcQxtpjteCeflwYulFR/J3TabSslVkj6utPChAK2f6q9uZdLitKieLQRuExSvX9ZbLRUMFs09efpUZL+KtUfVo1GW/umNHC3pOhRLtiwfSbwZS6wV9IJfRdreuBBYH0a2STp9r4G+8jbXgc8mzoDT8VSO00ClwDv1ZR7XyylC4ec7ejaLUmdsV6Aw7oSbwFXpdFdks7qA6pU1na0aR6owgeIR/1cx63UzjAC0YXYVjMQHlkn6ZtSo21ytuPZGKFagQ/xsXZ/3iGuFrYdjafXG0DiQMeBi47c9/GV3BO247UV38n5o0UAP6xmu7jFOGxjRr66On5NPBDOCBsDTapxjHY1dyOcolNXnYlx1himE53p2PmNkxosevfavhg4Izt2k7TXPwZ2S6p6QZPin/2rwcQ7OKmBohCadJGF1P8PG6aaQBKVX/8AAAAASUVORK5CYII=");
|
||||
background-size: 60% 60%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
width: 80rpx;
|
||||
height: 80rpx;
|
||||
width: 70rpx;
|
||||
height: 70rpx;
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar .rotate-icon.is-reverse.data-v-7129956f {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
.image-cropper .fixed-bottom .action-bar-right.data-v-7129956f {
|
||||
position: absolute;
|
||||
top: -110rpx;
|
||||
right: 50rpx;
|
||||
display: flex;
|
||||
width: 240rpx;
|
||||
height: 100rpx;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #3f3f3f;
|
||||
border-radius: 50rpx;
|
||||
color: #fff;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.image-cropper .fixed-bottom .rechoose.data-v-7129956f {
|
||||
color: #333333;
|
||||
padding: 0 15px;
|
||||
|
|
|
|||
Loading…
Reference in New Issue