Compare commits
2 Commits
8d14740214
...
ce52eece17
Author | SHA1 | Date |
---|---|---|
|
ce52eece17 | |
|
2b106e3d38 |
|
@ -44,7 +44,7 @@ export function getOpenid(code){
|
|||
//微信openid换个人信息
|
||||
export function getMessage(openId){
|
||||
return request({
|
||||
url: `/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,
|
||||
url: `/admin/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
|
|
@ -37,7 +37,9 @@
|
|||
});
|
||||
break;
|
||||
case 1:
|
||||
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/special?no=true`
|
||||
});
|
||||
|
||||
break;
|
||||
case 2:
|
||||
|
|
12
pages.json
12
pages.json
|
@ -68,6 +68,18 @@
|
|||
"navigationBarTitleText": "绑定成功"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/specialloginafther",
|
||||
"style": {
|
||||
"navigationBarTitleText": "绑定成功"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/login/xuanchuan",
|
||||
"style": {
|
||||
"navigationBarTitleText": "宣传页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<view class="finish-button" @click="next" v-if="special && alldata.modifyStatus != `1`" >
|
||||
<view class="finish-button" @click="next" v-if="special && (alldata.modifyStatus === `0`) && alldata.ischange" >
|
||||
修改信息
|
||||
</view>
|
||||
<view class="white-content">
|
||||
|
@ -440,7 +440,7 @@
|
|||
align-items: center;
|
||||
z-index: 1;
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -262,7 +262,7 @@
|
|||
if (!uping.value) {
|
||||
return
|
||||
}
|
||||
const allNonEmpty = textArray[0];
|
||||
const allNonEmpty = textArray[0] && textArray[1]&& textArray[2]&&textArray[3]&&fontphoto.value;
|
||||
if (allNonEmpty) {
|
||||
let data = uni.getStorageSync('backhuancun')
|
||||
data.comName = textArray[0]
|
||||
|
@ -305,7 +305,7 @@
|
|||
// })
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '请上传营业执照',
|
||||
title: '请上传清晰的营业执照',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
|
@ -564,7 +564,7 @@
|
|||
align-items: center;
|
||||
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -281,6 +281,34 @@
|
|||
} else {
|
||||
endphoto.value = JSON.parse(uploadRes.data).message
|
||||
}
|
||||
if(JSON.parse(uploadRes.data).code==401){
|
||||
uni.uploadFile({
|
||||
url: `${base_url}/sys/common/upload`, // 替换为您的POST接口地址
|
||||
filePath,
|
||||
name: 'file', // 后端接收时的字段名
|
||||
header: {
|
||||
'X-Access-Token': uni.getStorageSync('token') || '',
|
||||
},
|
||||
formData: {
|
||||
biz: `temp`
|
||||
},
|
||||
success: uploadRes => {
|
||||
if (!type) {
|
||||
fontphoto.value = JSON.parse(uploadRes.data).message
|
||||
} else {
|
||||
endphoto.value = JSON.parse(uploadRes.data).message
|
||||
}
|
||||
uping.value = true;
|
||||
},
|
||||
fail: err => {
|
||||
uni.showToast({
|
||||
title: '上传出错',
|
||||
icon: 'error'
|
||||
})
|
||||
uni.hideLoading()
|
||||
}
|
||||
})
|
||||
}
|
||||
uping.value = true;
|
||||
},
|
||||
fail: err => {
|
||||
|
@ -393,7 +421,7 @@
|
|||
// })
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: '身份证信息不完整',
|
||||
title: '请上传清晰的身份证',
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
|
@ -600,7 +628,7 @@
|
|||
align-items: center;
|
||||
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -755,8 +755,8 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
.back-img {
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<view class="login-container">
|
||||
<!-- <u-modal title="驳回原因" v-model="show" :content="content"></u-modal> -->
|
||||
<model :show="show" @close="show=false" :content="content" />
|
||||
<swiper style="width: 100%;" :duration="500" :style="{height: `100vh`}" :current="which" @change="swiperchange">
|
||||
|
||||
<swiper style="width: 100%;" :duration="150" :style="{height: `100vh`}" :current="which" @change="swiperchange">
|
||||
|
||||
<view v-for="(item,index) in menuArray" :key="index">
|
||||
<swiper-item style="position: relative;">
|
||||
<view class="index-up">
|
||||
|
@ -20,14 +20,17 @@
|
|||
</view>
|
||||
</view>
|
||||
<view class="white-content-father">
|
||||
<image
|
||||
<!-- <image
|
||||
class="chuo-img" v-if="item.status!=`-1`&&item.status!=`2`"
|
||||
:src=" `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`"
|
||||
/>
|
||||
|
||||
/> -->
|
||||
<view class="chuo-ball" @click="loadingData" v-if="item.status==`1`">
|
||||
<image class="ball-img"
|
||||
:src=" `https://www.focusnu.com/media/directive/index/refresh.png`" />
|
||||
</view>
|
||||
<view class="white-content" v-if="item.status==`1`">
|
||||
<image class="white-content-img"
|
||||
src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png"
|
||||
:src="`https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`"
|
||||
lazy-load="false" />
|
||||
<view class="white-font">
|
||||
您提交的
|
||||
|
@ -55,7 +58,7 @@
|
|||
<!-- <swiper-item v-if="item.status==`3`"> -->
|
||||
<view class="white-content" v-if="item.status==`3`">
|
||||
<image class="white-content-img"
|
||||
src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png"
|
||||
:src="`https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`"
|
||||
lazy-load="false" />
|
||||
<!-- <view class="white-font" style="margin-top: 320rpx;">
|
||||
您提交的
|
||||
|
@ -99,14 +102,17 @@
|
|||
单元清洁服务指令已执行完毕,点击查看
|
||||
</view>
|
||||
<image class="zhiling-img"
|
||||
src="https://www.focusnu.com/media/directive/index/index/back.png" />
|
||||
src="https://www.focusnu.com/media/directive/index/mine/more.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>
|
||||
|
||||
<!-- <image
|
||||
class="chuo-img" v-if="item.status!=`-1`&&item.status!=`2`"
|
||||
:src=" `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`"
|
||||
/> -->
|
||||
</view>
|
||||
<view class="white-box">
|
||||
<view style="font-weight: 600;font-size: 80rpx;">+</view>
|
||||
|
@ -168,7 +174,7 @@
|
|||
// 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'
|
||||
import model from "@/compontent/public/model.vue"
|
||||
import model from "@/compontent/public/model.vue"
|
||||
|
||||
const tu = 'https://www.focusnu.com/media/directive/index/tu.png'
|
||||
const show = ref(false);
|
||||
|
@ -325,7 +331,7 @@
|
|||
// html5QrCode && html5QrCode.stop().catch(console.warn)
|
||||
})
|
||||
const menuArray = ref([])
|
||||
onLoad(() => {
|
||||
const loadingData = () => {
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
|
@ -334,11 +340,12 @@
|
|||
menuArray.value.push({
|
||||
status: `-1`
|
||||
})
|
||||
// workArray.value = res.result
|
||||
// console.log("????",res.result)
|
||||
})
|
||||
}
|
||||
});
|
||||
}
|
||||
onLoad(() => {
|
||||
loadingData()
|
||||
})
|
||||
</script>
|
||||
|
||||
|
@ -382,7 +389,7 @@
|
|||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
margin-right: 20rpx;
|
||||
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -394,7 +401,7 @@
|
|||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
margin-right: 40rpx;
|
||||
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -438,7 +445,7 @@
|
|||
width: 90%;
|
||||
// margin-left: 2%;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 30rpx;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
|
@ -449,11 +456,11 @@
|
|||
|
||||
.white-content-img {
|
||||
position: absolute;
|
||||
top: 90rpx;
|
||||
top: 110rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 420rpx;
|
||||
height: 320rpx;
|
||||
width: 200rpx;
|
||||
height: 175rpx;
|
||||
}
|
||||
|
||||
.white-content-secondimg {
|
||||
|
@ -467,7 +474,7 @@
|
|||
}
|
||||
|
||||
.white-font {
|
||||
margin-top: 350rpx;
|
||||
margin-top: 330rpx;
|
||||
font-size: 30rpx;
|
||||
// color: #222222;
|
||||
}
|
||||
|
@ -475,6 +482,7 @@
|
|||
.second-font {
|
||||
margin-top: 10rpx;
|
||||
font-size: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
// color: #222222;
|
||||
}
|
||||
}
|
||||
|
@ -510,7 +518,7 @@
|
|||
display: flex;
|
||||
align-items: center;
|
||||
// justify-content: center;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border: 2rpx solid #fff;
|
||||
}
|
||||
|
||||
|
@ -562,10 +570,10 @@
|
|||
margin-left: 4%;
|
||||
height: 110rpx;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// margin-top: 20rpx;
|
||||
border-radius: 35rpx;
|
||||
|
||||
font-size: 32rpx;
|
||||
|
||||
.zhiling-img {
|
||||
width: 25rpx;
|
||||
|
@ -577,12 +585,13 @@
|
|||
display: flex;
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
margin-left: 1%;
|
||||
|
||||
// margin-top: 10rpx;
|
||||
.white-box {
|
||||
margin-top: 35rpx;
|
||||
width: 20%;
|
||||
margin-left: 4%;
|
||||
margin-left: 3%;
|
||||
height: 220rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 35rpx;
|
||||
|
@ -590,7 +599,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
// box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
|
||||
.box-img {
|
||||
width: 55rpx;
|
||||
|
@ -658,7 +667,7 @@
|
|||
|
||||
.button-blue {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
bottom: 45rpx;
|
||||
width: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -703,12 +712,32 @@
|
|||
font-size: 33rpx;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
.chuo-img{
|
||||
|
||||
.chuo-img {
|
||||
position: absolute;
|
||||
top: 30rpx;
|
||||
right: 70rpx;
|
||||
width: 160rpx;
|
||||
height: 140rpx;
|
||||
top: 72rpx;
|
||||
right: 235rpx;
|
||||
width: 120rpx;
|
||||
height: 110rpx;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.chuo-ball {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 60rpx;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
z-index: 3;
|
||||
background-color: rgb(242, 242, 242);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.ball-img {
|
||||
width: 37rpx;
|
||||
height: 37rpx;
|
||||
}
|
||||
}
|
||||
</style>
|
|
@ -2,54 +2,13 @@
|
|||
<view class="login-container">
|
||||
<image class="login-imge" src="https://www.focusnu.com/media/directive/login/loading.gif" mode="widthFix"
|
||||
lazy-load="false" />
|
||||
<!-- <image class="imge" src="https://www.focusnu.com/media/directive/index/nu.png" />
|
||||
<view class="font">
|
||||
页面跳转中,请稍后...
|
||||
</view> -->
|
||||
|
||||
<!-- 底部的栏,为啥这样写,是因为要做左右拉动 -->
|
||||
<!-- <view class="botton-view">
|
||||
<view v-for="(item,index) in itemArray" class="array-father">
|
||||
<view :class="itemTarget===index ? `bottom-button-target` : `bottom-button`" @click="itemTarget=index">
|
||||
<view class="">
|
||||
{{item}}
|
||||
</view>
|
||||
</view>
|
||||
<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>
|
||||
<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 style="font-size: 30rpx;margin-top: 10rpx;font-weight: 700;" @click="jigouClick(item)">
|
||||
{{item.departName}}
|
||||
</view>
|
||||
<image style="width: 60rpx;height: 60rpx;"
|
||||
:src="`https://www.focusnu.com/nursing-unit/sys/common/static/${item.picUrl}`" />
|
||||
</view>
|
||||
<view v-for="(item,index) in secondArray" :key="index" @click="jumpto">
|
||||
<view style="font-size: 30rpx;margin-top: 10rpx;font-weight: 700;">
|
||||
{{item.nuName}}
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app';
|
||||
// import { base_url } from '@/request/index.js'
|
||||
// import request from '@/request/index.js';
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
|
@ -58,166 +17,7 @@
|
|||
getOpenid,
|
||||
getMessage
|
||||
} from '@/api/loginApi.js'
|
||||
// import {getList} from "@/api/loginApi.js"
|
||||
|
||||
// const itemArray = ["NU", "动态", "我的"];
|
||||
// const itemTarget = ref(0);
|
||||
// // const {
|
||||
// // fetchUserInfo,
|
||||
// // openid,
|
||||
// // userInfo
|
||||
// // } = useWeChatAuth();
|
||||
|
||||
// const ceshi = reactive({
|
||||
// name: "",
|
||||
// openid: "",
|
||||
// accessToken: ""
|
||||
// })
|
||||
// // const jumpto = () => {
|
||||
// // console.log("???")
|
||||
// // uni.navigateTo({
|
||||
// // url: "/pages/pay/index"
|
||||
// // });
|
||||
// // }
|
||||
// const getOpenId = (code) => {
|
||||
// const url = `${base_url}/weixin/wechat/callback?code=${encodeURIComponent(code)}`;
|
||||
|
||||
// fetch(url)
|
||||
// .then(res => res.json())
|
||||
// .then(data => {
|
||||
// ceshi.name = data.data.nickname
|
||||
// ceshi.openid = data.data.openid
|
||||
// ceshi.accessToken = data.accessToken
|
||||
// uni.setStorage({
|
||||
// key: 'openid',
|
||||
// data: {
|
||||
// openid: data.data.openid,
|
||||
// accessToken: data.accessToken,
|
||||
// }
|
||||
// });
|
||||
// getUserMessage()
|
||||
|
||||
// })
|
||||
// .catch(err => {
|
||||
// console.error("❌ 获取用户信息失败:", err);
|
||||
// });
|
||||
// }
|
||||
// // const serve = ref("")
|
||||
// const look = ref("")
|
||||
// const getUserMessage = () => {
|
||||
// const url =
|
||||
// `${base_url}/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${encodeURIComponent(ceshi.openid)}`;
|
||||
// fetch(url)
|
||||
// .then(res => res.json())
|
||||
// .then(data => {
|
||||
// console.log("个人信息打印", data)
|
||||
// uni.setStorageSync('token', data.result.token);
|
||||
// uni.setStorageSync('serverUrl', data.result.serverUrl);
|
||||
// console.log("???token存储",data.result.token)
|
||||
// // const post = `${uni.getStorageSync('serverUrl')}/weiXinPay/getJsApiInfo`;
|
||||
// // const pay = {
|
||||
// // access_token: ceshi.accessToken,
|
||||
// // };
|
||||
// // fetch(post, {
|
||||
// // method: 'POST',
|
||||
// // headers: {
|
||||
// // 'Content-Type': 'application/json'
|
||||
// // },
|
||||
// // body: JSON.stringify(pay)
|
||||
// // })
|
||||
// // .then(res => res.json())
|
||||
// // .then(data => {
|
||||
// // // secondArray.value = [...data.result];
|
||||
// // console.log("???调取微信", data)
|
||||
|
||||
// // })
|
||||
// // .catch(err => {
|
||||
// // console.error('请求失败:', err);
|
||||
// // });
|
||||
// // const urlpost = `${data.result.serverUrl}/weiXinPay/getUserInfo`;
|
||||
// // const payload = {
|
||||
// // openid: ceshi.openid,
|
||||
// // access_token: ceshi.accessToken,
|
||||
// // // serverUrl: serve.value
|
||||
// // };
|
||||
// // console.log("???/", payload)
|
||||
// // fetch(urlpost, {
|
||||
// // method: 'POST',
|
||||
// // headers: {
|
||||
// // 'Content-Type': 'application/json'
|
||||
// // },
|
||||
// // body: JSON.stringify(payload)
|
||||
// // })
|
||||
// // .then(res => res.json())
|
||||
// // .then(data => {
|
||||
// // // secondArray.value = [...data.result];
|
||||
// // look.value = data
|
||||
// // console.log("!!!!!!!!!!!!!!!!!!!!!!!", data)
|
||||
// // })
|
||||
// // .catch(err => {
|
||||
// // console.error('请求失败:', err);
|
||||
// // });
|
||||
|
||||
// if(!data.result.tel){
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
// }else{
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/threeselectone`
|
||||
// });
|
||||
// uni.setStorageSync('tel', data.result.tel);
|
||||
// }
|
||||
// getjigou()
|
||||
// })
|
||||
|
||||
// }
|
||||
// const jigouArray = ref([]);
|
||||
// const getjigou = () => {
|
||||
// const url = `${base_url}/sys/sysDepart/queryInstitutionsList`;
|
||||
// fetch(url)
|
||||
// .then(res => res.json())
|
||||
// .then(data => {
|
||||
// jigouArray.value = [...data]
|
||||
// console.log("机构打印", jigouArray.value)
|
||||
// })
|
||||
// }
|
||||
// const secondArray = ref([]);
|
||||
// const jigouClick = (element) => {
|
||||
// const url = `${element.serverUrl}/h5Api/nuBaseInfo/list`;
|
||||
// fetch(url)
|
||||
// .then(res => res.json())
|
||||
// .then(data => {
|
||||
// secondArray.value = [...data.result]
|
||||
// })
|
||||
// uni.setStorage({
|
||||
// key: 'serverUrl',
|
||||
// data: {
|
||||
// url: element.serverUrl,
|
||||
// }
|
||||
// });
|
||||
// const urlpost = `${base_url}/h5Api/nuBizAdvisoryInfo/editNuBizAdvisoryInfo`;
|
||||
// const payload = {
|
||||
// openId: ceshi.openid,
|
||||
// serverUrl: element.serverUrl
|
||||
// };
|
||||
// console.log("???/", payload)
|
||||
// fetch(urlpost, {
|
||||
// method: 'POST',
|
||||
// headers: {
|
||||
// 'Content-Type': 'application/json'
|
||||
// },
|
||||
// body: JSON.stringify(payload)
|
||||
// })
|
||||
// .then(res => res.json())
|
||||
// .then(data => {
|
||||
// // secondArray.value = [...data.result];
|
||||
// console.log("???", data)
|
||||
// })
|
||||
// .catch(err => {
|
||||
// console.error('请求失败:', err);
|
||||
// });
|
||||
// }
|
||||
const superLogin = () => {
|
||||
uni.login({
|
||||
provider: 'weixin',
|
||||
|
@ -226,30 +26,25 @@
|
|||
let openid = res.data.openid
|
||||
uni.setStorageSync("openid", openid)
|
||||
getMessage(openid).then(res => {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.setStorageSync('platId', res.result.platId);
|
||||
uni.setStorageSync('izJg', res.result.izJg);
|
||||
uni.setStorageSync('izJs', res.result.izJs);
|
||||
uni.setStorageSync('izYg', res.result.izYg);
|
||||
if (!res.result.tel) {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
} else {
|
||||
if (uni.getStorageSync('special')) {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.setStorageSync('platId', res.result.platId);
|
||||
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/specialloginafther`
|
||||
});
|
||||
} else {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.setStorageSync('platId', res.result.platId);
|
||||
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({
|
||||
|
@ -289,7 +84,7 @@
|
|||
uni.setStorageSync('special', false);
|
||||
}
|
||||
superLogin();
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<view class="login-container">
|
||||
<image class="photo-imge" src="https://www.focusnu.com/media/directive/login/bgc.png" />
|
||||
<image class="back-imge" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" />
|
||||
<image class="back-img" src="https://www.focusnu.com/media/directive/login/back.png" @click="goback" />
|
||||
<view class="under-container-title">
|
||||
<view class="code-title">
|
||||
请输入验证码
|
||||
|
@ -176,8 +176,13 @@
|
|||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.setStorageSync('platId', res.result.platId);
|
||||
// uni.setStorageSync('izJg', res.result.izJg);
|
||||
// uni.setStorageSync('izJs', res.result.izJs);
|
||||
// uni.setStorageSync('izYg', res.result.izYg);
|
||||
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/specialloginafther`
|
||||
});
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
|
@ -555,7 +560,7 @@
|
|||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.back-imge {
|
||||
.back-img {
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 30rpx;
|
||||
|
|
|
@ -339,34 +339,34 @@
|
|||
}
|
||||
|
||||
/* 动画:遮罩淡入淡出 */
|
||||
.fade-enter-active,
|
||||
.fade-leave-active {
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
// .fade-enter-active,
|
||||
// .fade-leave-active {
|
||||
// transition: opacity 0.3s;
|
||||
// }
|
||||
|
||||
.fade-enter-from,
|
||||
.fade-leave-to {
|
||||
opacity: 0;
|
||||
}
|
||||
// .fade-enter-from,
|
||||
// .fade-leave-to {
|
||||
// opacity: 0;
|
||||
// }
|
||||
|
||||
.fade-enter-to,
|
||||
.fade-leave-from {
|
||||
opacity: 1;
|
||||
}
|
||||
// .fade-enter-to,
|
||||
// .fade-leave-from {
|
||||
// opacity: 1;
|
||||
// }
|
||||
|
||||
/* 动画:弹窗上滑 */
|
||||
.slide-up-enter-active,
|
||||
.slide-up-leave-active {
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
// /* 动画:弹窗上滑 */
|
||||
// .slide-up-enter-active,
|
||||
// .slide-up-leave-active {
|
||||
// transition: transform 0.3s;
|
||||
// }
|
||||
|
||||
.slide-up-enter-from,
|
||||
.slide-up-leave-to {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
// .slide-up-enter-from,
|
||||
// .slide-up-leave-to {
|
||||
// transform: translateY(100%);
|
||||
// }
|
||||
|
||||
.slide-up-enter-to,
|
||||
.slide-up-leave-from {
|
||||
transform: translateY(0);
|
||||
}
|
||||
// .slide-up-enter-to,
|
||||
// .slide-up-leave-from {
|
||||
// transform: translateY(0);
|
||||
// }
|
||||
</style>
|
|
@ -1,6 +1,6 @@
|
|||
<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" /> -->
|
||||
<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">
|
||||
|
@ -72,7 +72,7 @@
|
|||
const phonenumber = ref("");
|
||||
const canClick = ref(false);
|
||||
const isRight = (res) => {
|
||||
console.log("????", res.detail.value)
|
||||
// console.log("????", res.detail.value)
|
||||
if (is11DigitNumber(res.detail.value)) {
|
||||
phonenumber.value = res.detail.value
|
||||
canClick.value = true;
|
||||
|
|
|
@ -10,10 +10,11 @@
|
|||
|
||||
<image class="title-img"
|
||||
:src="`https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`" />
|
||||
<view class="font-title" v-if="phonenumber">
|
||||
<view class="font-title">
|
||||
<view style="display: flex;">
|
||||
<text>尊敬的用户,您的手机</text><text style="color: #259AFB;">{{ maskPhone(phonenumber) }}</text>
|
||||
</view>
|
||||
|
||||
<view class="big-font">
|
||||
已成功绑定
|
||||
</view>
|
||||
|
@ -21,23 +22,23 @@
|
|||
欢迎加入护理单元大家庭!
|
||||
</view>
|
||||
</view>
|
||||
<view class="font-title" v-if="!phonenumber">
|
||||
<!-- <view class="font-title" v-if="!phonenumber">
|
||||
尊敬的用户,您的机构{{ special?`变更信息申请`:`加盟申请` }}已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭!
|
||||
</view>
|
||||
</view> -->
|
||||
<view style="width: 100%;">
|
||||
<view class="bottom-button" @click="jumpto">
|
||||
{{ phonenumber? '进入' : '我的' }}机构
|
||||
进入机构
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="white-father-spec" :style="no ? {marginTop:`0rpx`}:{}" v-if="phonenumber">
|
||||
<view class="white-father-spec" :style="no ? {marginTop:`0rpx`}:{}">
|
||||
<image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/introduce/oldman.png" />
|
||||
<view class="weight-font">
|
||||
长者入住
|
||||
</view>
|
||||
</view>
|
||||
<view class="" v-if="phonenumber">
|
||||
<view>
|
||||
<view v-for="(item,index) in cardarray" :key="index" style="width: 100%;">
|
||||
<view class="white-card">
|
||||
<view class="white-left">
|
||||
|
@ -55,7 +56,7 @@
|
|||
</view>
|
||||
|
||||
|
||||
<view class="white-father" v-if="phonenumber">
|
||||
<view class="white-father">
|
||||
<image class="white-imge" src="https://www.focusnu.com/media/directive/login/introduce/nurse.png" />
|
||||
<view class="weight-font">
|
||||
员工入驻
|
||||
|
@ -65,7 +66,7 @@
|
|||
</view>
|
||||
</view>
|
||||
|
||||
<view class="white-father" style="margin-bottom: 50rpx;" v-if="phonenumber">
|
||||
<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">
|
||||
机构加盟
|
||||
|
@ -114,7 +115,7 @@
|
|||
]
|
||||
const phonenumber = ref("");
|
||||
const jumpto = () => {
|
||||
console.log("???")
|
||||
// console.log("???")
|
||||
getMessage(uni.getStorageSync("openid")).then(res => {
|
||||
if (!res.result.tel) {
|
||||
uni.redirectTo({
|
||||
|
@ -155,7 +156,7 @@
|
|||
// });
|
||||
}
|
||||
const no = ref(false);
|
||||
const special = ref(false);
|
||||
// const special = ref(false);
|
||||
function maskPhone(phone) {
|
||||
return phone.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2');
|
||||
}
|
||||
|
@ -164,16 +165,16 @@
|
|||
}
|
||||
|
||||
onLoad((options) => {
|
||||
console.log("????",options)
|
||||
// console.log("????",options)
|
||||
if (!options.type) {
|
||||
phonenumber.value = uni.getStorageSync('tel')
|
||||
}
|
||||
if (options.no) {
|
||||
no.value = true
|
||||
}
|
||||
if(options.special==`true`){
|
||||
special.value = true
|
||||
}
|
||||
// if(options.special==`true`){
|
||||
// special.value = true
|
||||
// }
|
||||
})
|
||||
</script>
|
||||
|
||||
|
@ -348,7 +349,7 @@
|
|||
z-index: 999;
|
||||
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -0,0 +1,114 @@
|
|||
<template>
|
||||
<view class="font-father">
|
||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" />
|
||||
<image class="title-photo" :src="`https://www.focusnu.com/media/directive/index/bluephoto.png`" />
|
||||
<view class="small-title">尊敬的用户,您的手机</view>
|
||||
<view class="small-title">{{ phone }}</view>
|
||||
<view class="font-title">
|
||||
已成功绑定
|
||||
</view>
|
||||
<view class="normal">
|
||||
<text style="font-weight: 600;">
|
||||
期待您早日加入护理单元大家庭!
|
||||
</text>
|
||||
</view>
|
||||
<view class="bottom-button" @click="jumpto">
|
||||
我的机构
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
onLoad
|
||||
} from '@dcloudio/uni-app'
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
} from 'vue';
|
||||
|
||||
|
||||
const jumpto = () => {
|
||||
console.log("???")
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
}
|
||||
|
||||
const phone = ref("");
|
||||
onLoad((options) => {
|
||||
phone.value = uni.getStorageSync('tel');
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.font-father {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
padding: 0 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
.font-title {
|
||||
margin-top: 0rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 70rpx;
|
||||
}
|
||||
|
||||
.bottom-button {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0rpx;
|
||||
margin-top: 80rpx;
|
||||
margin-bottom: 170rpx;
|
||||
width: 80%;
|
||||
height: 100rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
||||
.title-img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.small-title {
|
||||
margin-bottom: 10rpx;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
.normal {
|
||||
font-size: 33rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
|
||||
.title-photo {
|
||||
margin-top: 300rpx;
|
||||
width: 350rpx;
|
||||
height: 350rpx;
|
||||
z-index: 1;
|
||||
}
|
||||
</style>
|
|
@ -4,9 +4,9 @@
|
|||
<view class="fixed">
|
||||
|
||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" />
|
||||
|
||||
|
||||
<image class="title-photo" :src="`https://www.focusnu.com/media/directive/index/bluephoto.png`" />
|
||||
|
||||
|
||||
<view class="small-title">
|
||||
尊敬的用户,您的机构{{ special?`变更信息`:`加盟` }}
|
||||
</view>
|
||||
|
@ -15,7 +15,7 @@
|
|||
</view>
|
||||
<view class="normal">
|
||||
<text>
|
||||
请耐心等待审核结果,
|
||||
{{ special?`我们将尽快处理并反馈审核结果`:`请耐心等待审核结果` }},
|
||||
</text>
|
||||
|
||||
|
||||
|
@ -24,14 +24,22 @@
|
|||
<view class="normal">
|
||||
|
||||
|
||||
<text style="font-weight: 600;">
|
||||
期待您早日加入护理单元大家庭!
|
||||
<text>
|
||||
{{ special?`期待与您继续携手同行`:`期待您早日加入护理单元大家庭` }}
|
||||
!
|
||||
</text>
|
||||
|
||||
</view>
|
||||
<!-- <view class="normal">
|
||||
|
||||
|
||||
<text>
|
||||
|
||||
</text>
|
||||
|
||||
</view> -->
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
<view class="bottom-button" @click="jumpto">
|
||||
|
@ -54,9 +62,67 @@
|
|||
const special = ref(false);
|
||||
|
||||
const jumpto = () => {
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
getMessage(uni.getStorageSync("openid")).then(res => {
|
||||
uni.setStorageSync('tel', res.result.tel);
|
||||
uni.setStorageSync('token', res.result.token);
|
||||
uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
uni.setStorageSync('platId', res.result.platId);
|
||||
uni.setStorageSync('izJg', res.result.izJg);
|
||||
uni.setStorageSync('izJs', res.result.izJs);
|
||||
uni.setStorageSync('izYg', res.result.izYg);
|
||||
uni.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
// if (!res.result.tel) {
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/xuanchuan`
|
||||
// });
|
||||
// } else {
|
||||
// if (uni.getStorageSync('special')) {
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.setStorageSync('platId', res.result.platId);
|
||||
// uni.setStorageSync('izJg', res.result.izJg);
|
||||
// uni.setStorageSync('izJs', res.result.izJs);
|
||||
// uni.setStorageSync('izYg', res.result.izYg);
|
||||
// uni.redirectTo({
|
||||
// url: `/pages/login/specialloginafther`
|
||||
// });
|
||||
// } else {
|
||||
// uni.setStorageSync('tel', res.result.tel);
|
||||
// uni.setStorageSync('token', res.result.token);
|
||||
// uni.setStorageSync('serverUrl', res.result.serverUrl);
|
||||
// uni.setStorageSync('platId', res.result.platId);
|
||||
// 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`
|
||||
// });
|
||||
// }
|
||||
|
||||
|
||||
// }
|
||||
// }
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -82,7 +148,7 @@
|
|||
margin-top: 0rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
font-size: 30rpx;
|
||||
// padding: 0 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -137,19 +203,20 @@
|
|||
.small-title {
|
||||
// margin-top: 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 38rpx;
|
||||
font-size: 34rpx;
|
||||
// font-weight: 600;
|
||||
}
|
||||
|
||||
.normal {
|
||||
font-size: 38rpx;
|
||||
font-size: 33rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
}
|
||||
.title-photo{
|
||||
|
||||
.title-photo {
|
||||
margin-top: 300rpx;
|
||||
// margin-bottom: 30rpx;
|
||||
width: 350rpx;
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/addjigou/all`
|
||||
|
@ -185,6 +185,7 @@
|
|||
op0.value = uni.getStorageSync('izJs');
|
||||
op1.value = uni.getStorageSync('izYg');
|
||||
op2.value = uni.getStorageSync('izJg');
|
||||
|
||||
})
|
||||
</script>
|
||||
|
||||
|
@ -374,7 +375,7 @@
|
|||
align-items: center;
|
||||
z-index: 1;
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
// url: `/pages/login/phonebumber`
|
||||
// });
|
||||
uni.navigateTo({
|
||||
url: `/pages/login/specialsmall`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/addjigou/all`
|
||||
|
@ -193,23 +193,23 @@
|
|||
background-color: rgb(239, 241, 252);
|
||||
position: relative;
|
||||
|
||||
.title {
|
||||
margin-top: 180rpx;
|
||||
align-items: center;
|
||||
// .title {
|
||||
// margin-top: 180rpx;
|
||||
// align-items: center;
|
||||
|
||||
.title-imge {
|
||||
width: 100rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 100rpx;
|
||||
}
|
||||
// .title-imge {
|
||||
// width: 100rpx;
|
||||
// height: 105rpx;
|
||||
// margin-left: 100rpx;
|
||||
// }
|
||||
|
||||
.title-font {
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 105rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
// .title-font {
|
||||
// font-size: 35rpx;
|
||||
// font-weight: 600;
|
||||
// margin-left: 105rpx;
|
||||
// margin-top: 10rpx;
|
||||
// }
|
||||
// }
|
||||
|
||||
.photo-imge {
|
||||
position: absolute;
|
||||
|
@ -228,21 +228,21 @@
|
|||
height: 400rpx;
|
||||
}
|
||||
|
||||
.under-container {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 63vh;
|
||||
background-color: #fff;
|
||||
// border-top-left-radius: 50rpx;
|
||||
// border-top-right-radius: 50rpx;
|
||||
// box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
// .under-container {
|
||||
// position: fixed;
|
||||
// left: 0;
|
||||
// bottom: 0;
|
||||
// width: 100%;
|
||||
// height: 63vh;
|
||||
// background-color: #fff;
|
||||
// // border-top-left-radius: 50rpx;
|
||||
// // border-top-right-radius: 50rpx;
|
||||
// // box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// align-items: center;
|
||||
// justify-content: center;
|
||||
// }
|
||||
}
|
||||
|
||||
.font-father {
|
||||
|
@ -276,19 +276,19 @@
|
|||
}
|
||||
}
|
||||
|
||||
.card-title {
|
||||
z-index: 1;
|
||||
margin-top: 600rpx;
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
height: 100rpx;
|
||||
border-radius: 35rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
// .card-title {
|
||||
// z-index: 1;
|
||||
// margin-top: 600rpx;
|
||||
// width: 92%;
|
||||
// margin-left: 4%;
|
||||
// height: 100rpx;
|
||||
// border-radius: 35rpx;
|
||||
// background-color: #fff;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
// font-size: 26rpx;
|
||||
// }
|
||||
|
||||
.card {
|
||||
z-index: 1;
|
||||
|
@ -339,20 +339,20 @@
|
|||
// .right-imge
|
||||
}
|
||||
|
||||
.blue-button {
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 35rpx;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
// .blue-button {
|
||||
// width: 92%;
|
||||
// margin-left: 4%;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
// height: 90rpx;
|
||||
// border-radius: 50rpx;
|
||||
// background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
// color: #fff;
|
||||
// font-size: 35rpx;
|
||||
// margin-bottom: 60rpx;
|
||||
// margin-top: 40rpx;
|
||||
// }
|
||||
.title-back {
|
||||
position: absolute;
|
||||
// margin-top: 100rpx;
|
||||
|
@ -370,7 +370,7 @@
|
|||
align-items: center;
|
||||
z-index: 1;
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -28,8 +28,17 @@
|
|||
<view class="bottom-father">
|
||||
<view style="margin-top: 45rpx;">
|
||||
<view class="">
|
||||
<text style="color: #999;" v-if="item.franchiseTime" > 加盟日期:</text>{{item.franchiseTime }}
|
||||
<text style="color: #999;" v-if="!item.franchiseTime" > 申请日期:</text>{{item.commitTime}}
|
||||
<text style="color: #999;" v-if="item.franchiseTime" > 加盟日期:</text>
|
||||
<text v-if="item.franchiseTime">
|
||||
{{item.franchiseTime }}
|
||||
</text>
|
||||
|
||||
|
||||
<text style="color: #999;" v-if="!item.franchiseTime" > 申请日期:</text>
|
||||
<text v-if="!item.franchiseTime">
|
||||
{{item.commitTime}}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text style="color: #999;"> 审核日期:</text>{{item.auditTime}}
|
||||
|
@ -173,7 +182,7 @@
|
|||
margin-left: 1%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
min-height: calc(100vh - 650rpx);
|
||||
z-index: 1;
|
||||
}
|
||||
.index-up {
|
||||
|
@ -222,7 +231,7 @@
|
|||
align-items: center;
|
||||
z-index: 1;
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<view class="bottom-father">
|
||||
<view style="margin-top: 45rpx;">
|
||||
<view class="">
|
||||
<text style="color: #999;"> {{(index == workArray.length-1)?`申请`: `变更` }}日期:</text>{{item.commitTime}}
|
||||
<text style="color: #999;"> {{item.isend?`申请`: `变更` }}日期:</text>{{item.commitTime}}
|
||||
</view>
|
||||
<view style="margin-top: 10rpx;">
|
||||
<text style="color: #999;"> 审核日期:</text>{{item.auditTime}}
|
||||
|
@ -49,9 +49,9 @@
|
|||
</view>
|
||||
|
||||
</view> -->
|
||||
<!-- <view class="blue-button" v-if="item.modifyStatus==null || item.modifyStatus==`5` || item.modifyStatus==`2`" @click.stop="again(item)">
|
||||
<view class="blue-button" v-if="item.modifyStatus===`0`&&item.ischange" @click.stop="again(item)">
|
||||
信息修改
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- <view style="height: 30rpx;">
|
||||
|
||||
</view> -->
|
||||
|
@ -81,27 +81,66 @@
|
|||
const special = ref(false);
|
||||
const statusarray = ["success","loading","success","fail","loading","fail"]
|
||||
const namearraay = ["审核通过","审核中","审核通过","审核不通过","审核中","审核不通过"]
|
||||
// 页面加载时接收 URL 参数
|
||||
onLoad((options) => {
|
||||
|
||||
const getData = () => {
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
getMessageListsuccess(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
getMessageListsuccess(res.data)
|
||||
.then(res => {
|
||||
// 1. 统计各 pkId 出现次数
|
||||
const counts = {}
|
||||
res.result.forEach(item => {
|
||||
counts[item.pkId] = (counts[item.pkId] || 0) + 1
|
||||
})
|
||||
|
||||
// 2. 遍历时分别处理“第一个”标记(ischange)和“最后一个”标记(isend)
|
||||
const seenFirst = {} // 记录哪些重复 pkId 已经标记过 ischange = true
|
||||
const seenCount = {} // 记录每个 pkId 已经遍历到第几条
|
||||
|
||||
workArray.value = res.result.map(item => {
|
||||
const {
|
||||
pkId
|
||||
} = item
|
||||
|
||||
// —— ischange 逻辑 ——
|
||||
if (counts[pkId] > 1) {
|
||||
// 重复组:第一个设 true,后续设 false
|
||||
if (!seenFirst[pkId]) {
|
||||
item.ischange = true
|
||||
seenFirst[pkId] = true
|
||||
} else {
|
||||
item.ischange = false
|
||||
}
|
||||
} else {
|
||||
// 只出现一次,也设 true
|
||||
item.ischange = true
|
||||
}
|
||||
|
||||
// —— isend 逻辑 ——
|
||||
// 先累加当前是该 pkId 的第几条
|
||||
seenCount[pkId] = (seenCount[pkId] || 0) + 1
|
||||
// 如果当前序号等于总次数,则是最后一条
|
||||
item.isend = (seenCount[pkId] === counts[pkId])
|
||||
|
||||
return item
|
||||
})
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(err)
|
||||
})
|
||||
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
// 页面加载时接收 URL 参数
|
||||
onLoad((options) => {
|
||||
getData()
|
||||
})
|
||||
|
||||
onPullDownRefresh(() => {
|
||||
uni.getStorage({
|
||||
key: 'openid',
|
||||
success: function(res) {
|
||||
getMessageListsuccess(res.data).then(res => {
|
||||
workArray.value = res.result
|
||||
})
|
||||
}
|
||||
});
|
||||
getData()
|
||||
uni.stopPullDownRefresh()
|
||||
})
|
||||
|
||||
|
@ -187,7 +226,7 @@
|
|||
margin-left: 1%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
min-height: calc(100vh - 650rpx);
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -237,7 +276,7 @@
|
|||
align-items: center;
|
||||
z-index: 1;
|
||||
.back-img {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
@ -259,7 +298,7 @@
|
|||
height: 120rpx;
|
||||
}
|
||||
.blue-button {
|
||||
margin-top: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
|
|
|
@ -0,0 +1,194 @@
|
|||
<template>
|
||||
<view class="font-father">
|
||||
<!-- <image class="title-img" :src="`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`" /> -->
|
||||
<swiper style="width: 100%;" :duration="150" :style="{height: `92vh`}" :current="which" @change="swiperchange">
|
||||
<swiper-item style="position: relative;">
|
||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/bgc0.jpg`" />
|
||||
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 100rpx;">
|
||||
<view class="title-name">
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
<view class="font-weight">
|
||||
长者入住
|
||||
</view>
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
</view>
|
||||
<!-- <image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/old1.png" /> -->
|
||||
<view class="yuangong-font">
|
||||
  提供专业照料,涵盖日常、饮食、清洁、排泄等方面,7*24
|
||||
小时生命体征监测,医护团队协同护航,量身定制科学的护理流程,护理员贴心床前陪伴,让长者感受家的温暖与关怀。
|
||||
</view>
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item style="position: relative;">
|
||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/bgc1.jpg`" />
|
||||
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 100rpx;">
|
||||
<view class="title-name">
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
<view class="font-weight">
|
||||
员工入驻
|
||||
</view>
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
</view>
|
||||
<!-- <image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/yuangong1.png" /> -->
|
||||
|
||||
<view class="yuangong-font">
|
||||
  入驻护理单元,遵循标准护理流程,提供长者床旁照护,用专业技能与人文关怀共同守护长者健康。依托物联设备优化服务流程,依托员工培训提升照护能力,确保服务精准高效。
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</swiper-item>
|
||||
<swiper-item style="position: relative;">
|
||||
<image class="title-img" :src="`https://www.focusnu.com/media/directive/login/bgc2.jpg`" />
|
||||
<view style="width: 100%;padding-left: 75rpx;padding-right: 75rpx;position: absolute;left: 0;bottom: 150rpx;">
|
||||
<view class="title-name">
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
<view class="font-weight">
|
||||
机构加盟
|
||||
</view>
|
||||
<!-- <view class="gray-heng"></view> -->
|
||||
</view>
|
||||
<!-- <image class="white-imge-spec" src="https://www.focusnu.com/media/directive/login/jigou.png" /> -->
|
||||
|
||||
<view class="yuangong-font">
|
||||
  加盟护理单元,坐拥成熟运营体系,精简人力配置,降低运营成本。优质资源共享,多重优势协同发力,全方位拓宽利润空间,助力占领银发赛道。
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
<view class="dian-father" v-if="which!=2">
|
||||
<view v-for="(item,index) in [1,2,3]" :key="index" :class="which===index ?`dian-target` :`dian`"></view>
|
||||
</view>
|
||||
<view class="bottom-button" v-if="which==2" @click="jumpto">
|
||||
前往注册
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import {
|
||||
reactive,
|
||||
ref
|
||||
} from 'vue';
|
||||
|
||||
const jumpto = () => {
|
||||
uni.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
}
|
||||
const which = ref(0);
|
||||
|
||||
const swiperchange = (res) => {
|
||||
// whichMenu.value = res.detail.current
|
||||
which.value = res.detail.current
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.font-father {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
background-color: #f4f7f9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
.title-img {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 92vh;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
.title-name {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
margin-top: 200rpx;
|
||||
// background-color: red;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.gray-heng {
|
||||
height: 2rpx;
|
||||
width: 200rpx;
|
||||
background-color: rgb(217, 217, 217);
|
||||
}
|
||||
|
||||
.font-weight {
|
||||
font-weight: 600;
|
||||
font-size: 35rpx;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.white-imge-spec {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 320rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.duanluo {
|
||||
margin: 18rpx 0;
|
||||
width: 100%;
|
||||
padding: 0 25rpx;
|
||||
|
||||
.duanluo-title {
|
||||
display: flex;
|
||||
font-size: 32rpx;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.dian-father {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.dian {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin: 0 10rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #CCCCCC;
|
||||
}
|
||||
|
||||
.dian-target {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin: 0 10rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #2792FC;
|
||||
}
|
||||
}
|
||||
|
||||
.yuangong-font {
|
||||
font-size: 32rpx;
|
||||
margin-top: 30rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
|
||||
.bottom-button {
|
||||
// margin-left: 5%;
|
||||
margin-top: -20rpx;
|
||||
width: 80%;
|
||||
height: 100rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 3;
|
||||
}
|
||||
</style>
|
|
@ -1,5 +1,5 @@
|
|||
// 全局请求封装
|
||||
export const base_url = 'https://www.focusnu.com/nursingunit'
|
||||
export const base_url = 'https://www.focusnu.com/opeapi'
|
||||
// 请求超出时间
|
||||
const timeout = 5000
|
||||
|
||||
|
|
|
@ -142,17 +142,17 @@
|
|||
/** 图片最小缩放倍数 */
|
||||
minScale: {
|
||||
type: Number,
|
||||
default: 1
|
||||
default: 0.3
|
||||
},
|
||||
/** 图片最大缩放倍数 */
|
||||
maxScale: {
|
||||
type: Number,
|
||||
default: 5
|
||||
default: 2
|
||||
},
|
||||
/** 检查图片位置是否超出裁剪边界,如果超出则会矫正位置 */
|
||||
checkRange: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
default: false
|
||||
},
|
||||
/** 生成图片背景色:如果裁剪区域没有完全包含在图片中时,不设置该属性生成图片存在一定的透明块 */
|
||||
backgroundColor: {
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"loginApi.js","sources":["api/loginApi.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//滑块获取验证码\r\nexport function getHkCode(data){\r\n return request({\r\n url: `/sys/getHkCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//发送验证码\r\nexport function smsCode(data){\r\n return request({\r\n url: `/sys/smsCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//验证码是否正确\r\nexport function checkPhoneCode(data){\r\n return request({\r\n url: `/sys/checkPhoneCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//不知道干啥的\r\nexport function getList(){\r\n return request({\r\n url: `/NuBizAdvisoryInfo/nuBizAdvisoryInfo/list`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//微信code换openid\r\nexport function getOpenid(code){\r\n return request({\r\n url: `/weixin/wechat/callback?code=${code}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//微信openid换个人信息\r\nexport function getMessage(openId){\r\n return request({\r\n url: `/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n"],"names":["request"],"mappings":";;;AAKO,SAAS,UAAU,MAAK;AAC3B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,QAAQ,MAAK;AACzB,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,eAAe,MAAK;AAChC,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAUO,SAAS,UAAU,MAAK;AAC3B,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,IAAI;AAAA,IAC/C,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,WAAW,QAAO;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,mDAAmD,MAAM;AAAA,IACpE,QAAQ;AAAA,EACV,CAAK;AACL;;;;;;"}
|
||||
{"version":3,"file":"loginApi.js","sources":["api/loginApi.js"],"sourcesContent":["// src/composables/useWeChatAuth.js\nimport { ref } from 'vue';\nimport request from '@/request/index.js';\r\n\r\n//滑块获取验证码\r\nexport function getHkCode(data){\r\n return request({\r\n url: `/sys/getHkCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//发送验证码\r\nexport function smsCode(data){\r\n return request({\r\n url: `/sys/smsCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n//验证码是否正确\r\nexport function checkPhoneCode(data){\r\n return request({\r\n url: `/sys/checkPhoneCode`,\r\n\t\tmethod: 'post',\r\n data,\r\n })\r\n}\r\n\r\n//不知道干啥的\r\nexport function getList(){\r\n return request({\r\n url: `/NuBizAdvisoryInfo/nuBizAdvisoryInfo/list`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//微信code换openid\r\nexport function getOpenid(code){\r\n return request({\r\n url: `/weixin/wechat/callback?code=${code}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n//微信openid换个人信息\r\nexport function getMessage(openId){\r\n return request({\r\n url: `/admin/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,\r\n\t\tmethod: 'get',\r\n })\r\n}\r\n"],"names":["request"],"mappings":";;;AAKO,SAAS,UAAU,MAAK;AAC3B,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,QAAQ,MAAK;AACzB,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAEO,SAAS,eAAe,MAAK;AAChC,SAAOA,sBAAQ;AAAA,IACX,KAAK;AAAA,IACX,QAAQ;AAAA,IACF;AAAA,EACR,CAAK;AACL;AAUO,SAAS,UAAU,MAAK;AAC3B,SAAOA,sBAAQ;AAAA,IACX,KAAK,gCAAgC,IAAI;AAAA,IAC/C,QAAQ;AAAA,EACV,CAAK;AACL;AAEO,SAAS,WAAW,QAAO;AAC9B,SAAOA,sBAAQ;AAAA,IACX,KAAK,yDAAyD,MAAM;AAAA,IAC1E,QAAQ;AAAA,EACV,CAAK;AACL;;;;;;"}
|
|
@ -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;;;"}
|
|
@ -1 +1 @@
|
|||
{"version":3,"file":"downmenu.js","sources":["compontent/public/downmenu.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV94Y3gvY29tcG9udGVudC9wdWJsaWMvZG93bm1lbnUudnVl"],"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:/hldy_xcx/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;"}
|
||||
{"version":3,"file":"downmenu.js","sources":["compontent/public/downmenu.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV94Y3gvY29tcG9udGVudC9wdWJsaWMvZG93bm1lbnUudnVl"],"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\t\tuni.navigateTo({\r\n\t\t\t\t\t\turl: `/pages/login/special?no=true`\r\n\t\t\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:/hldy_xcx/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;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AAED;AAAA,UACD,KAAK;AACJA,0BAAAA,MAAI,WAAW;AAAA,cACd,KAAK;AAAA,YACX,CAAM;AACD;AAAA,QACD;AAAA,MAED;AAAA,IACD;;;;;;;;;;;;;;;;;ACnDF,GAAG,gBAAgB,SAAS;"}
|
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
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/specialloginafther.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/specialloginafther.js.map
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"specialloginafther.js","sources":["pages/login/specialloginafther.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vc3BlY2lhbGxvZ2luYWZ0aGVyLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\t\t<image class=\"title-img\" :src=\"`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`\" />\r\n\t\t<image class=\"title-photo\" :src=\"`https://www.focusnu.com/media/directive/index/bluephoto.png`\" />\r\n\t\t<view class=\"small-title\">尊敬的用户,您的手机</view>\r\n\t\t<view class=\"small-title\">{{ phone }}</view>\r\n\t\t<view class=\"font-title\">\r\n\t\t\t已成功绑定\r\n\t\t</view>\r\n\t\t<view class=\"normal\">\r\n\t\t\t<text style=\"font-weight: 600;\">\r\n\t\t\t\t期待您早日加入护理单元大家庭!\r\n\t\t\t</text>\r\n\t\t</view>\r\n\t\t<view class=\"bottom-button\" @click=\"jumpto\">\r\n\t\t\t我的机构\r\n\t\t</view>\r\n\t</view>\r\n\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app'\r\n\timport {\r\n\t\treactive,\r\n\t\tref\r\n\t} from 'vue';\r\n\r\n\r\n\tconst jumpto = () => {\r\n\t\tconsole.log(\"???\")\r\n\t\tuni.redirectTo({\r\n\t\t\turl: `/pages/login/threeselectone`\r\n\t\t});\r\n\t}\r\n\r\n\tconst phone = ref(\"\");\r\n\tonLoad((options) => {\r\n\t\tphone.value = uni.getStorageSync('tel');\r\n\t})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.font-father {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100vh;\r\n\t\tpadding: 0 100rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\r\n\t\t.font-title {\r\n\t\t\tmargin-top: 0rpx;\r\n\t\t\tmargin-bottom: 30rpx;\r\n\t\t\tfont-weight: 600;\r\n\t\t\tfont-size: 32rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\tfont-size: 70rpx;\r\n\t\t}\r\n\r\n\t\t.bottom-button {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 50%;\r\n\t\t\ttransform: translateX(-50%);\r\n\t\t\tbottom: 0rpx;\r\n\t\t\tmargin-top: 80rpx;\r\n\t\t\tmargin-bottom: 170rpx;\r\n\t\t\twidth: 80%;\r\n\t\t\theight: 100rpx;\r\n\t\t\tborder-radius: 50rpx;\r\n\t\t\tbackground: linear-gradient(to left, #00C9FF, #0076FF);\r\n\t\t\tcolor: #fff;\r\n\t\t\tfont-size: 40rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t\tz-index: 3;\r\n\t\t}\r\n\t}\r\n\r\n\t.title-img {\r\n\t\tposition: absolute;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tz-index: -1;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\tmargin-bottom: 10rpx;\r\n\t\tfont-size: 34rpx;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tfont-size: 33rpx;\r\n\t\tmargin-bottom: 20rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\tjustify-content: center;\r\n\r\n\t}\r\n\r\n\t.title-photo {\r\n\t\tmargin-top: 300rpx;\r\n\t\twidth: 350rpx;\r\n\t\theight: 350rpx;\r\n\t\tz-index: 1;\r\n\t}\r\n</style>","import MiniProgramPage from 'D:/hldy_xcx/pages/login/specialloginafther.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni","ref","onLoad"],"mappings":";;;;;AA+BC,UAAM,SAAS,MAAM;AACpBA,oBAAAA,+DAAY,KAAK;AACjBA,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;AAED,UAAM,QAAQC,kBAAI,EAAE;AACpBC,kBAAM,OAAC,CAAC,YAAY;AACnB,YAAM,QAAQF,cAAAA,MAAI,eAAe,KAAK;AAAA,IACxC,CAAE;;;;;;;;;;;;ACxCF,GAAG,WAAW,eAAe;"}
|
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
|
@ -1 +1 @@
|
|||
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\nexport const base_url = 'https://www.focusnu.com/nursingunit'\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token,和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\t\ttitle: \"提示\",\n\t\t\t\t\t\t\t\tcontent: \"请登录\",\n\t\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\t\tsuccess() {\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/callback\",\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AACY,MAAC,WAAW;AAExB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACT,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}
|
||||
{"version":3,"file":"index.js","sources":["request/index.js"],"sourcesContent":["// 全局请求封装\nexport const base_url = 'https://www.focusnu.com/opeapi'\n// 请求超出时间\nconst timeout = 5000\n \n// 需要修改token,和根据实际修改请求头\nexport default (params) => {\n\tlet url = params.url;\n\tlet method = params.method || \"get\";\n\tlet data = params.data || {};\n\tlet header = {\n\t\t'X-Access-Token': uni.getStorageSync('token') || '',\n\t\t'Content-Type': 'application/json;charset=UTF-8',\n\t\t'Authorization': 'Basic c2FiZXI6c2FiZXJfc2VjcmV0',\r\n\t\t\n\t\t...params.header\n\t}\n\treturn new Promise((resolve, reject) => {\n\t\tuni.request({\n\t\t\turl: base_url + url,\n\t\t\tmethod: method,\n\t\t\theader: header,\n\t\t\tdata: data,\n timeout,\n\t\t\tsuccess(response) {\n\t\t\t\tconst res = response\n\t\t\t\t// 根据返回的状态码做出对应的操作\r\n\t\t\t\n\t\t\t\tif (res.statusCode == 200) {\n\t\t\t\t\tresolve(res.data);\n\t\t\t\t} else {\n\t\t\t\t\tuni.clearStorageSync()\n\t\t\t\t\tswitch (res.statusCode) {\n\t\t\t\t\t\tcase 401:\n\t\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\t\ttitle: \"提示\",\n\t\t\t\t\t\t\t\tcontent: \"请登录\",\n\t\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\t\tsuccess() {\n\t\t\t\t\t\t\t\t\tsetTimeout(() => {\n\t\t\t\t\t\t\t\t\t\tuni.navigateTo({\n\t\t\t\t\t\t\t\t\t\t\turl: \"/pages/login/callback\",\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}, 1000);\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 404:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请求地址不存在...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\t\t\ttitle: '请重试...',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\tfail(err) {\n\t\t\t\tif (err.errMsg.indexOf('request:fail') !== -1) {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '网络异常',\n\t\t\t\t\t\ticon: \"error\",\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t} else {\n\t\t\t\t\tuni.showToast({\n\t\t\t\t\t\ttitle: '未知异常',\n\t\t\t\t\t\tduration: 2000\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t\treject(err);\n \n\t\t\t}\n\t\t});\n\t}).catch(() => {});\n};"],"names":["uni"],"mappings":";;AACY,MAAC,WAAW;AAExB,MAAM,UAAU;AAGhB,MAAe,UAAA,CAAC,WAAW;AAC1B,MAAI,MAAM,OAAO;AACjB,MAAI,SAAS,OAAO,UAAU;AAC9B,MAAI,OAAO,OAAO,QAAQ;AAC1B,MAAI,SAAS;AAAA,IACZ,kBAAkBA,cAAG,MAAC,eAAe,OAAO,KAAK;AAAA,IACjD,gBAAgB;AAAA,IAChB,iBAAiB;AAAA,IAEjB,GAAG,OAAO;AAAA,EACV;AACD,SAAO,IAAI,QAAQ,CAAC,SAAS,WAAW;AACvCA,kBAAAA,MAAI,QAAQ;AAAA,MACX,KAAK,WAAW;AAAA,MAChB;AAAA,MACA;AAAA,MACA;AAAA,MACS;AAAA,MACT,QAAQ,UAAU;AACjB,cAAM,MAAM;AAGZ,YAAI,IAAI,cAAc,KAAK;AAC1B,kBAAQ,IAAI,IAAI;AAAA,QACrB,OAAW;AACNA,wBAAAA,MAAI,iBAAkB;AACtB,kBAAQ,IAAI,YAAU;AAAA,YACrB,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,SAAS;AAAA,gBACT,YAAY;AAAA,gBACZ,UAAU;AACT,6BAAW,MAAM;AAChBA,kCAAAA,MAAI,WAAW;AAAA,sBACd,KAAK;AAAA,oBAChB,CAAW;AAAA,kBACD,GAAE,GAAI;AAAA,gBACP;AAAA,cACT,CAAQ;AACD;AAAA,YACD,KAAK;AACJA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,YACD;AACCA,4BAAAA,MAAI,UAAU;AAAA,gBACb,OAAO;AAAA,gBACP,UAAU;AAAA,cAClB,CAAQ;AACD;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA,MACD,KAAK,KAAK;AACT,YAAI,IAAI,OAAO,QAAQ,cAAc,MAAM,IAAI;AAC9CA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,MAAM;AAAA,YACN,UAAU;AAAA,UAChB,CAAM;AAAA,QACN,OAAW;AACNA,wBAAAA,MAAI,UAAU;AAAA,YACb,OAAO;AAAA,YACP,UAAU;AAAA,UAChB,CAAM;AAAA,QACD;AACD,eAAO,GAAG;AAAA,MAEV;AAAA,IACJ,CAAG;AAAA,EACH,CAAE,EAAE,MAAM,MAAM;AAAA,EAAA,CAAE;AAClB;;;"}
|
File diff suppressed because one or more lines are too long
|
@ -30,7 +30,7 @@ function getOpenid(code) {
|
|||
}
|
||||
function getMessage(openId) {
|
||||
return request_index.request({
|
||||
url: `/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,
|
||||
url: `/admin/h5Api/nuBizAdvisoryInfo/queryWeixinInfo?openId=${openId}`,
|
||||
method: "get"
|
||||
});
|
||||
}
|
||||
|
|
|
@ -14,6 +14,8 @@ if (!Math) {
|
|||
"./pages/login/protocol.js";
|
||||
"./pages/login/special.js";
|
||||
"./pages/login/specialsmall.js";
|
||||
"./pages/login/specialloginafther.js";
|
||||
"./pages/login/xuanchuan.js";
|
||||
"./pages/index/index.js";
|
||||
"./pages/index/mine.js";
|
||||
"./pages/addoldman/hukou.js";
|
||||
|
|
|
@ -11,6 +11,8 @@
|
|||
"pages/login/protocol",
|
||||
"pages/login/special",
|
||||
"pages/login/specialsmall",
|
||||
"pages/login/specialloginafther",
|
||||
"pages/login/xuanchuan",
|
||||
"pages/index/index",
|
||||
"pages/index/mine",
|
||||
"pages/addoldman/hukou",
|
||||
|
|
|
@ -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_m0Sg2X";
|
||||
const id = "mp-weixin_jPVgRG";
|
||||
const lazy = typeof swan !== "undefined";
|
||||
let restoreError = lazy ? () => {
|
||||
} : initOnError();
|
||||
|
|
|
@ -22,6 +22,9 @@ const _sfc_main = {
|
|||
});
|
||||
break;
|
||||
case 1:
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/special?no=true`
|
||||
});
|
||||
break;
|
||||
case 2:
|
||||
common_vendor.index.redirectTo({
|
||||
|
|
|
@ -116,8 +116,8 @@ const _sfc_main = {
|
|||
}, statesTarget.value == 3 || alldata.value.status == `5` || alldata.value.status == `3` ? {
|
||||
e: common_vendor.t(contentred.value)
|
||||
} : {}, {
|
||||
f: special.value && alldata.value.modifyStatus != `1`
|
||||
}, special.value && alldata.value.modifyStatus != `1` ? {
|
||||
f: special.value && alldata.value.modifyStatus === `0` && alldata.value.ischange
|
||||
}, special.value && alldata.value.modifyStatus === `0` && alldata.value.ischange ? {
|
||||
g: common_vendor.o(next)
|
||||
} : {}, {
|
||||
h: !special.value ? `https://www.focusnu.com/media/directive/index/${statusarray[statesTarget.value - 1]}.png` : ``,
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.left-father .back-img.data-v-9afbabf9 {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -165,7 +165,7 @@ const _sfc_main = {
|
|||
if (!uping.value) {
|
||||
return;
|
||||
}
|
||||
const allNonEmpty = textArray[0];
|
||||
const allNonEmpty = textArray[0] && textArray[1] && textArray[2] && textArray[3] && fontphoto.value;
|
||||
if (allNonEmpty) {
|
||||
let data = common_vendor.index.getStorageSync("backhuancun");
|
||||
data.comName = textArray[0];
|
||||
|
@ -179,7 +179,7 @@ const _sfc_main = {
|
|||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "请上传营业执照",
|
||||
title: "请上传清晰的营业执照",
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@
|
|||
align-items: center;
|
||||
}
|
||||
.title-back .left-father .back-img.data-v-402780bb {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -164,6 +164,36 @@ const _sfc_main = {
|
|||
} else {
|
||||
endphoto.value = JSON.parse(uploadRes.data).message;
|
||||
}
|
||||
if (JSON.parse(uploadRes.data).code == 401) {
|
||||
common_vendor.index.uploadFile({
|
||||
url: `${request_index.base_url}/sys/common/upload`,
|
||||
// 替换为您的POST接口地址
|
||||
filePath,
|
||||
name: "file",
|
||||
// 后端接收时的字段名
|
||||
header: {
|
||||
"X-Access-Token": common_vendor.index.getStorageSync("token") || ""
|
||||
},
|
||||
formData: {
|
||||
biz: `temp`
|
||||
},
|
||||
success: (uploadRes2) => {
|
||||
if (!type) {
|
||||
fontphoto.value = JSON.parse(uploadRes2.data).message;
|
||||
} else {
|
||||
endphoto.value = JSON.parse(uploadRes2.data).message;
|
||||
}
|
||||
uping.value = true;
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.showToast({
|
||||
title: "上传出错",
|
||||
icon: "error"
|
||||
});
|
||||
common_vendor.index.hideLoading();
|
||||
}
|
||||
});
|
||||
}
|
||||
uping.value = true;
|
||||
},
|
||||
fail: (err) => {
|
||||
|
@ -226,7 +256,7 @@ const _sfc_main = {
|
|||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
title: "身份证信息不完整",
|
||||
title: "请上传清晰的身份证",
|
||||
icon: "error"
|
||||
});
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@
|
|||
align-items: center;
|
||||
}
|
||||
.left-father .back-img.data-v-4363d488 {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
align-items: center;
|
||||
}
|
||||
.title-back .left-father .back-img.data-v-549d1cee {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -42,7 +42,7 @@ const _sfc_main = {
|
|||
}
|
||||
};
|
||||
const again = (item) => {
|
||||
common_vendor.index.__f__("log", "at pages/index/index.vue:218", "????", item);
|
||||
common_vendor.index.__f__("log", "at pages/index/index.vue:224", "????", item);
|
||||
common_vendor.index.setStorageSync("baddata", item);
|
||||
common_vendor.index.setStorageSync("specicalid", item.id);
|
||||
common_vendor.index.setStorageSync("backhuancun", {});
|
||||
|
@ -60,7 +60,7 @@ const _sfc_main = {
|
|||
common_vendor.onUnmounted(() => {
|
||||
});
|
||||
const menuArray = common_vendor.ref([]);
|
||||
common_vendor.onLoad(() => {
|
||||
const loadingData = () => {
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
|
@ -72,6 +72,9 @@ const _sfc_main = {
|
|||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
loadingData();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
|
@ -86,24 +89,27 @@ const _sfc_main = {
|
|||
}, item.comName ? {
|
||||
b: common_vendor.t(item.comName)
|
||||
} : {}, {
|
||||
c: item.status != `-1` && item.status != `2`
|
||||
}, item.status != `-1` && item.status != `2` ? {
|
||||
d: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`
|
||||
} : {}, {
|
||||
e: item.status == `1`
|
||||
c: item.status == `1`
|
||||
}, item.status == `1` ? {
|
||||
f: common_vendor.t(item.comName),
|
||||
g: common_vendor.o(($event) => look(item), index)
|
||||
d: `https://www.focusnu.com/media/directive/index/refresh.png`,
|
||||
e: common_vendor.o(loadingData, index)
|
||||
} : {}, {
|
||||
h: item.status == `3`
|
||||
f: item.status == `1`
|
||||
}, item.status == `1` ? {
|
||||
g: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`,
|
||||
h: common_vendor.t(item.comName),
|
||||
i: common_vendor.o(($event) => look(item), index)
|
||||
} : {}, {
|
||||
j: item.status == `3`
|
||||
}, item.status == `3` ? {
|
||||
i: common_vendor.t(item.comName),
|
||||
j: common_vendor.o(($event) => again(item), index),
|
||||
k: common_vendor.o(($event) => jumptolist(item.content), index)
|
||||
k: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`,
|
||||
l: common_vendor.t(item.comName),
|
||||
m: common_vendor.o(($event) => again(item), index),
|
||||
n: common_vendor.o(($event) => jumptolist(item.content), index)
|
||||
} : {}, {
|
||||
l: item.status == `2`
|
||||
o: item.status == `2`
|
||||
}, item.status == `2` ? {
|
||||
m: common_vendor.f(buttonArray.value, (item2, index2, i1) => {
|
||||
p: 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),
|
||||
|
@ -111,11 +117,11 @@ const _sfc_main = {
|
|||
};
|
||||
})
|
||||
} : {}, {
|
||||
n: item.status == `-1`
|
||||
q: item.status == `-1`
|
||||
}, item.status == `-1` ? {
|
||||
o: common_vendor.o(addjigou, index)
|
||||
r: common_vendor.o(addjigou, index)
|
||||
} : {}, {
|
||||
p: index
|
||||
s: index
|
||||
});
|
||||
}),
|
||||
d: `100vh`,
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-1cf27b2a"><model wx:if="{{b}}" class="data-v-1cf27b2a" bindclose="{{a}}" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{b}}"/><swiper class="data-v-1cf27b2a" duration="{{500}}" style="{{'width:100%' + ';' + ('height:' + d)}}" current="{{e}}" bindchange="{{f}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="p" class="data-v-1cf27b2a"><swiper-item class="data-v-1cf27b2a" style="position:relative"><view class="index-up data-v-1cf27b2a"><image class="index-up-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="white-content-father-time data-v-1cf27b2a"><view wx:if="{{item.a}}" class="white-content data-v-1cf27b2a"><view class="white-bgc data-v-1cf27b2a" style="font-size:32rpx">{{item.b}}</view></view></view><view class="white-content-father data-v-1cf27b2a"><image wx:if="{{item.c}}" class="chuo-img data-v-1cf27b2a" src="{{item.d}}"/><view wx:if="{{item.e}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenhezhong.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.f}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#01A5FF"> 正在审核中 </text></view><view class="button-blue data-v-1cf27b2a" bindtap="{{item.g}}"> 查看 </view></view><view wx:if="{{item.h}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/shenheshibai.png" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.i}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#FF7744"> 审核不通过 </text></view><view class="button-blue-spec data-v-1cf27b2a" bindtap="{{item.j}}"> 重新提交 </view><view class="button-white-spec data-v-1cf27b2a" bindtap="{{item.k}}"> 驳回原因 </view></view><view wx:if="{{item.l}}" class="data-v-1cf27b2a" style="z-index:1;width:100%"><view class="zhiling-box data-v-1cf27b2a"><view class=" data-v-1cf27b2a"> 单元清洁服务指令已执行完毕,点击查看 </view><image class="zhiling-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/index/back.png"/></view><view class="white-box-father data-v-1cf27b2a"><view wx:for="{{item.m}}" wx:for-item="item" wx:key="c" class="white-box data-v-1cf27b2a"><image class="box-img data-v-1cf27b2a" src="{{item.a}}"/><view class="box-font data-v-1cf27b2a">{{item.b}}</view></view><view class="white-box data-v-1cf27b2a"><view class="data-v-1cf27b2a" style="font-weight:600;font-size:80rpx">+</view></view></view></view></view><view wx:if="{{item.n}}" class="white-content data-v-1cf27b2a" style="margin:0 auto;margin-top:110rpx"><image class="white-content-secondimg data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png" lazy-load="false"/><view class="button-blue data-v-1cf27b2a" bindtap="{{item.o}}"> 添加机构 </view></view></swiper-item></view></swiper><view class="data-v-1cf27b2a" style="z-index:999;position:fixed;bottom:70rpx;width:100%;display:flex;justify-content:center;margin-top:-25rpx;height:100rpx"><view class="jia-box data-v-1cf27b2a"><view wx:for="{{g}}" wx:for-item="item" wx:key="f" class="data-v-1cf27b2a" bindtap="{{item.g}}"><view wx:if="{{item.a}}" class="{{['data-v-1cf27b2a', item.b]}}"></view><view wx:if="{{item.c}}" class="jia data-v-1cf27b2a" bindtap="{{item.e}}"><image class="jia-img data-v-1cf27b2a" src="{{item.d}}"/></view></view></view></view><down-menu wx:if="{{h}}" class="data-v-1cf27b2a" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{h}}"/></view>
|
||||
<view class="login-container data-v-1cf27b2a"><model wx:if="{{b}}" class="data-v-1cf27b2a" bindclose="{{a}}" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{b}}"/><swiper class="data-v-1cf27b2a" duration="{{150}}" style="{{'width:100%' + ';' + ('height:' + d)}}" current="{{e}}" bindchange="{{f}}"><view wx:for="{{c}}" wx:for-item="item" wx:key="s" class="data-v-1cf27b2a"><swiper-item class="data-v-1cf27b2a" style="position:relative"><view class="index-up data-v-1cf27b2a"><image class="index-up-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="white-content-father-time data-v-1cf27b2a"><view wx:if="{{item.a}}" class="white-content data-v-1cf27b2a"><view class="white-bgc data-v-1cf27b2a" style="font-size:32rpx">{{item.b}}</view></view></view><view class="white-content-father data-v-1cf27b2a"><view wx:if="{{item.c}}" class="chuo-ball data-v-1cf27b2a" bindtap="{{item.e}}"><image class="ball-img data-v-1cf27b2a" src="{{item.d}}"/></view><view wx:if="{{item.f}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="{{item.g}}" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.h}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#01A5FF"> 正在审核中 </text></view><view class="button-blue data-v-1cf27b2a" bindtap="{{item.i}}"> 查看 </view></view><view wx:if="{{item.j}}" class="white-content data-v-1cf27b2a"><image class="white-content-img data-v-1cf27b2a" src="{{item.k}}" lazy-load="false"/><view class="white-font data-v-1cf27b2a"> 您提交的 </view><view class="second-font data-v-1cf27b2a"><text class="data-v-1cf27b2a"> "{{item.l}}" </text></view><view class="second-font data-v-1cf27b2a"> 加盟申请 <text class="data-v-1cf27b2a" style="color:#FF7744"> 审核不通过 </text></view><view class="button-blue-spec data-v-1cf27b2a" bindtap="{{item.m}}"> 重新提交 </view><view class="button-white-spec data-v-1cf27b2a" bindtap="{{item.n}}"> 驳回原因 </view></view><view wx:if="{{item.o}}" class="data-v-1cf27b2a" style="z-index:1;width:100%"><view class="zhiling-box data-v-1cf27b2a"><view class=" data-v-1cf27b2a"> 单元清洁服务指令已执行完毕,点击查看 </view><image class="zhiling-img data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/mine/more.png"/></view><view class="white-box-father data-v-1cf27b2a"><view wx:for="{{item.p}}" wx:for-item="item" wx:key="c" class="white-box data-v-1cf27b2a"><image class="box-img data-v-1cf27b2a" src="{{item.a}}"/><view class="box-font data-v-1cf27b2a">{{item.b}}</view></view><view class="white-box data-v-1cf27b2a"><view class="data-v-1cf27b2a" style="font-weight:600;font-size:80rpx">+</view></view></view></view></view><view wx:if="{{item.q}}" class="white-content data-v-1cf27b2a" style="margin:0 auto;margin-top:110rpx"><image class="white-content-secondimg data-v-1cf27b2a" src="https://www.focusnu.com/media/directive/index/addjiji/addjigou.png" lazy-load="false"/><view class="button-blue data-v-1cf27b2a" bindtap="{{item.r}}"> 添加机构 </view></view></swiper-item></view></swiper><view class="data-v-1cf27b2a" style="z-index:999;position:fixed;bottom:70rpx;width:100%;display:flex;justify-content:center;margin-top:-25rpx;height:100rpx"><view class="jia-box data-v-1cf27b2a"><view wx:for="{{g}}" wx:for-item="item" wx:key="f" class="data-v-1cf27b2a" bindtap="{{item.g}}"><view wx:if="{{item.a}}" class="{{['data-v-1cf27b2a', item.b]}}"></view><view wx:if="{{item.c}}" class="jia data-v-1cf27b2a" bindtap="{{item.e}}"><image class="jia-img data-v-1cf27b2a" src="{{item.d}}"/></view></view></view></view><down-menu wx:if="{{h}}" class="data-v-1cf27b2a" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{h}}"/></view>
|
|
@ -57,7 +57,6 @@
|
|||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
margin-right: 20rpx;
|
||||
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -68,7 +67,6 @@
|
|||
background-color: #fff;
|
||||
border-radius: 50%;
|
||||
margin-right: 40rpx;
|
||||
box-shadow: 2rpx 2rpx 4rpx rgba(0, 0, 0, 0.1);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
@ -103,7 +101,6 @@
|
|||
height: 650rpx;
|
||||
width: 90%;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 30rpx;
|
||||
z-index: 2;
|
||||
display: flex;
|
||||
|
@ -113,11 +110,11 @@
|
|||
}
|
||||
.white-content .white-content-img.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 90rpx;
|
||||
top: 110rpx;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: 420rpx;
|
||||
height: 320rpx;
|
||||
width: 200rpx;
|
||||
height: 175rpx;
|
||||
}
|
||||
.white-content .white-content-secondimg.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
|
@ -129,12 +126,13 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.white-content .white-font.data-v-1cf27b2a {
|
||||
margin-top: 350rpx;
|
||||
margin-top: 330rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.white-content .second-font.data-v-1cf27b2a {
|
||||
margin-top: 10rpx;
|
||||
font-size: 30rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.white-content-father.data-v-1cf27b2a {
|
||||
width: 100%;
|
||||
|
@ -160,7 +158,6 @@
|
|||
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.data-v-1cf27b2a {
|
||||
|
@ -200,8 +197,8 @@
|
|||
margin-left: 4%;
|
||||
height: 110rpx;
|
||||
background-color: #fff;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
border-radius: 35rpx;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.zhiling-box .zhiling-img.data-v-1cf27b2a {
|
||||
width: 25rpx;
|
||||
|
@ -211,11 +208,12 @@
|
|||
display: flex;
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
margin-left: 1%;
|
||||
}
|
||||
.white-box-father .white-box.data-v-1cf27b2a {
|
||||
margin-top: 35rpx;
|
||||
width: 20%;
|
||||
margin-left: 4%;
|
||||
margin-left: 3%;
|
||||
height: 220rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 35rpx;
|
||||
|
@ -223,7 +221,6 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
box-shadow: 2rpx 2rpx 5rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.white-box-father .white-box .box-img.data-v-1cf27b2a {
|
||||
width: 55rpx;
|
||||
|
@ -278,7 +275,7 @@
|
|||
}
|
||||
.button-blue.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
bottom: 30rpx;
|
||||
bottom: 45rpx;
|
||||
width: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -322,9 +319,26 @@
|
|||
}
|
||||
.chuo-img.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 30rpx;
|
||||
right: 70rpx;
|
||||
width: 160rpx;
|
||||
height: 140rpx;
|
||||
top: 72rpx;
|
||||
right: 235rpx;
|
||||
width: 120rpx;
|
||||
height: 110rpx;
|
||||
z-index: 3;
|
||||
}
|
||||
.chuo-ball.data-v-1cf27b2a {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 60rpx;
|
||||
width: 60rpx;
|
||||
height: 60rpx;
|
||||
z-index: 3;
|
||||
background-color: #f2f2f2;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.chuo-ball .ball-img.data-v-1cf27b2a {
|
||||
width: 37rpx;
|
||||
height: 37rpx;
|
||||
}
|
|
@ -12,27 +12,23 @@ const _sfc_main = {
|
|||
let openid = res2.data.openid;
|
||||
common_vendor.index.setStorageSync("openid", openid);
|
||||
api_loginApi.getMessage(openid).then((res3) => {
|
||||
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.setStorageSync("platId", res3.result.platId);
|
||||
common_vendor.index.setStorageSync("izJg", res3.result.izJg);
|
||||
common_vendor.index.setStorageSync("izJs", res3.result.izJs);
|
||||
common_vendor.index.setStorageSync("izYg", res3.result.izYg);
|
||||
if (!res3.result.tel) {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
} else {
|
||||
if (common_vendor.index.getStorageSync("special")) {
|
||||
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.setStorageSync("platId", res3.result.platId);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/specialloginafther`
|
||||
});
|
||||
} 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.setStorageSync("platId", res3.result.platId);
|
||||
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({
|
||||
|
@ -57,7 +53,7 @@ const _sfc_main = {
|
|||
});
|
||||
},
|
||||
fail(err) {
|
||||
common_vendor.index.__f__("error", "at pages/login/callback.vue:281", "获取 code 失败:", err);
|
||||
common_vendor.index.__f__("error", "at pages/login/callback.vue:76", "获取 code 失败:", err);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
|
|
@ -47,7 +47,7 @@ const _sfc_main = {
|
|||
common_vendor.index.setStorageSync("token", res2.result.token);
|
||||
common_vendor.index.setStorageSync("serverUrl", res2.result.serverUrl);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/specialloginafther`
|
||||
});
|
||||
});
|
||||
} else {
|
||||
|
@ -62,7 +62,7 @@ const _sfc_main = {
|
|||
});
|
||||
}
|
||||
} else {
|
||||
common_vendor.index.__f__("log", "at pages/login/code.vue:216", "验证码未输入完整");
|
||||
common_vendor.index.__f__("log", "at pages/login/code.vue:221", "验证码未输入完整");
|
||||
}
|
||||
};
|
||||
const getcode = () => {
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-7f72106f"><image class="photo-imge data-v-7f72106f" src="https://www.focusnu.com/media/directive/login/bgc.png"/><image class="back-imge data-v-7f72106f" src="https://www.focusnu.com/media/directive/login/back.png" bindtap="{{a}}"/><view class="under-container-title data-v-7f72106f"><view class="code-title data-v-7f72106f"> 请输入验证码 </view><view class="code-number data-v-7f72106f"> 验证码已发送到 <view class="code-font data-v-7f72106f">{{b}}</view></view></view><view class="captcha-container data-v-7f72106f"><u-message-input wx:if="{{d}}" class="data-v-7f72106f" bindchange="{{c}}" u-i="7f72106f-0" bind:__l="__l" u-p="{{d}}"></u-message-input></view><view class="under-view data-v-7f72106f" style="z-index:1"><view wx:if="{{e}}" class="right-blue data-v-7f72106f" bindtap="{{f}}"> 重新发送 </view><view wx:if="{{g}}" class="right-white data-v-7f72106f"><text class="data-v-7f72106f" style="color:#0096FF">{{h}}秒</text>后重新发送 </view><view class="right-black data-v-7f72106f" bindtap="{{i}}"> 收不到验证码? </view></view><view wx:if="{{j}}" class="overlay data-v-7f72106f" bindtap="{{k}}" style="{{'background-color:' + l}}"/><view wx:if="{{m}}" class="modal data-v-7f72106f"><view class="modal-title data-v-7f72106f">收不到验证码</view><view class="model-p data-v-7f72106f"><view class="text-view data-v-7f72106f" style="font-weight:600">手机号可正常使用:</view><view class="text-view data-v-7f72106f">1 是否输错手机号</view><view class="text-view data-v-7f72106f">2 手机是否设置短信拦截/欠费/信号不好</view><view class="text-view data-v-7f72106f">3 手机内存是否满了</view><view class="text-view data-v-7f72106f">4 手机卡是否为物联卡,而非SIM卡</view></view></view></view>
|
||||
<view class="login-container data-v-7f72106f"><image class="photo-imge data-v-7f72106f" src="https://www.focusnu.com/media/directive/login/bgc.png"/><image class="back-img data-v-7f72106f" src="https://www.focusnu.com/media/directive/login/back.png" bindtap="{{a}}"/><view class="under-container-title data-v-7f72106f"><view class="code-title data-v-7f72106f"> 请输入验证码 </view><view class="code-number data-v-7f72106f"> 验证码已发送到 <view class="code-font data-v-7f72106f">{{b}}</view></view></view><view class="captcha-container data-v-7f72106f"><u-message-input wx:if="{{d}}" class="data-v-7f72106f" bindchange="{{c}}" u-i="7f72106f-0" bind:__l="__l" u-p="{{d}}"></u-message-input></view><view class="under-view data-v-7f72106f" style="z-index:1"><view wx:if="{{e}}" class="right-blue data-v-7f72106f" bindtap="{{f}}"> 重新发送 </view><view wx:if="{{g}}" class="right-white data-v-7f72106f"><text class="data-v-7f72106f" style="color:#0096FF">{{h}}秒</text>后重新发送 </view><view class="right-black data-v-7f72106f" bindtap="{{i}}"> 收不到验证码? </view></view><view wx:if="{{j}}" class="overlay data-v-7f72106f" bindtap="{{k}}" style="{{'background-color:' + l}}"/><view wx:if="{{m}}" class="modal data-v-7f72106f"><view class="modal-title data-v-7f72106f">收不到验证码</view><view class="model-p data-v-7f72106f"><view class="text-view data-v-7f72106f" style="font-weight:600">手机号可正常使用:</view><view class="text-view data-v-7f72106f">1 是否输错手机号</view><view class="text-view data-v-7f72106f">2 手机是否设置短信拦截/欠费/信号不好</view><view class="text-view data-v-7f72106f">3 手机内存是否满了</view><view class="text-view data-v-7f72106f">4 手机卡是否为物联卡,而非SIM卡</view></view></view></view>
|
|
@ -270,7 +270,7 @@
|
|||
.text-view.data-v-7f72106f {
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.back-imge.data-v-7f72106f {
|
||||
.back-img.data-v-7f72106f {
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
left: 30rpx;
|
||||
|
|
|
@ -177,30 +177,4 @@
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
/* 动画:遮罩淡入淡出 */
|
||||
.fade-enter-active.data-v-d08ef7d4,
|
||||
.fade-leave-active.data-v-d08ef7d4 {
|
||||
transition: opacity 0.3s;
|
||||
}
|
||||
.fade-enter-from.data-v-d08ef7d4,
|
||||
.fade-leave-to.data-v-d08ef7d4 {
|
||||
opacity: 0;
|
||||
}
|
||||
.fade-enter-to.data-v-d08ef7d4,
|
||||
.fade-leave-from.data-v-d08ef7d4 {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* 动画:弹窗上滑 */
|
||||
.slide-up-enter-active.data-v-d08ef7d4,
|
||||
.slide-up-leave-active.data-v-d08ef7d4 {
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
.slide-up-enter-from.data-v-d08ef7d4,
|
||||
.slide-up-leave-to.data-v-d08ef7d4 {
|
||||
transform: translateY(100%);
|
||||
}
|
||||
.slide-up-enter-to.data-v-d08ef7d4,
|
||||
.slide-up-leave-from.data-v-d08ef7d4 {
|
||||
transform: translateY(0);
|
||||
}
|
||||
/* 动画:遮罩淡入淡出 */
|
|
@ -38,7 +38,6 @@ 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:75", "????", res.detail.value);
|
||||
if (is11DigitNumber(res.detail.value)) {
|
||||
phonenumber.value = res.detail.value;
|
||||
canClick.value = true;
|
||||
|
@ -46,25 +45,21 @@ const _sfc_main = {
|
|||
canClick.value = false;
|
||||
}
|
||||
};
|
||||
const goback = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o(goback),
|
||||
b: common_vendor.o(isRight),
|
||||
c: canClick.value
|
||||
a: common_vendor.o(isRight),
|
||||
b: canClick.value
|
||||
}, canClick.value ? {
|
||||
d: common_vendor.o(jumpto)
|
||||
c: common_vendor.o(jumpto)
|
||||
} : {}, {
|
||||
e: !canClick.value
|
||||
d: !canClick.value
|
||||
}, !canClick.value ? {} : {}, {
|
||||
f: huakuaiOpen.value
|
||||
e: huakuaiOpen.value
|
||||
}, huakuaiOpen.value ? {
|
||||
g: common_vendor.o(() => {
|
||||
f: common_vendor.o(() => {
|
||||
}),
|
||||
h: common_vendor.o(codeIsOk),
|
||||
i: common_vendor.o(($event) => huakuaiOpen.value = false)
|
||||
g: common_vendor.o(codeIsOk),
|
||||
h: common_vendor.o(($event) => huakuaiOpen.value = false)
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-94511ff7"><image class="back-imge data-v-94511ff7" src="https://www.focusnu.com/media/directive/login/back.png" bindtap="{{a}}"/><image class="title-imge data-v-94511ff7" src="https://www.focusnu.com/media/directive/login/icon.png"/><image class="photo-imge data-v-94511ff7" src="https://www.focusnu.com/media/directive/login/bgc.png"/><view class="under-container data-v-94511ff7"><view class="under-container-title data-v-94511ff7"><view class="under-container-input data-v-94511ff7"><view class="input-left data-v-94511ff7">+86</view><input class="data-v-94511ff7" type="number" style="width:600rpx;font-size:33rpx" maxlength="11" placeholder="请输入手机号" bindinput="{{b}}"/></view></view><view wx:if="{{c}}" class="button-blue data-v-94511ff7" bindtap="{{d}}"> 获取验证码 </view><view wx:if="{{e}}" class="button-gray data-v-94511ff7"> 获取验证码 </view></view><view wx:if="{{f}}" class="bg-mask data-v-94511ff7" bindtap="{{i}}"><huakuai class="data-v-94511ff7" catchclick="{{g}}" bindsuccess="{{h}}" u-i="94511ff7-0" bind:__l="__l"/></view></view>
|
||||
<view class="login-container data-v-94511ff7"><image class="title-imge data-v-94511ff7" src="https://www.focusnu.com/media/directive/login/icon.png"/><image class="photo-imge data-v-94511ff7" src="https://www.focusnu.com/media/directive/login/bgc.png"/><view class="under-container data-v-94511ff7"><view class="under-container-title data-v-94511ff7"><view class="under-container-input data-v-94511ff7"><view class="input-left data-v-94511ff7">+86</view><input class="data-v-94511ff7" type="number" style="width:600rpx;font-size:33rpx" maxlength="11" placeholder="请输入手机号" bindinput="{{a}}"/></view></view><view wx:if="{{b}}" class="button-blue data-v-94511ff7" bindtap="{{c}}"> 获取验证码 </view><view wx:if="{{d}}" class="button-gray data-v-94511ff7"> 获取验证码 </view></view><view wx:if="{{e}}" class="bg-mask data-v-94511ff7" bindtap="{{h}}"><huakuai class="data-v-94511ff7" catchclick="{{f}}" bindsuccess="{{g}}" u-i="94511ff7-0" bind:__l="__l"/></view></view>
|
|
@ -28,7 +28,6 @@ const _sfc_main = {
|
|||
];
|
||||
const phonenumber = common_vendor.ref("");
|
||||
const jumpto = () => {
|
||||
common_vendor.index.__f__("log", "at pages/login/special.vue:117", "???");
|
||||
api_loginApi.getMessage(common_vendor.index.getStorageSync("openid")).then((res) => {
|
||||
if (!res.result.tel) {
|
||||
common_vendor.index.redirectTo({
|
||||
|
@ -64,7 +63,6 @@ const _sfc_main = {
|
|||
});
|
||||
};
|
||||
const no = common_vendor.ref(false);
|
||||
const special = common_vendor.ref(false);
|
||||
function maskPhone(phone) {
|
||||
return phone.replace(/^(\d{3})\d{4}(\d{4})$/, "$1****$2");
|
||||
}
|
||||
|
@ -72,16 +70,12 @@ const _sfc_main = {
|
|||
common_vendor.index.navigateBack();
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
common_vendor.index.__f__("log", "at pages/login/special.vue:167", "????", options);
|
||||
if (!options.type) {
|
||||
phonenumber.value = common_vendor.index.getStorageSync("tel");
|
||||
}
|
||||
if (options.no) {
|
||||
no.value = true;
|
||||
}
|
||||
if (options.special == `true`) {
|
||||
special.value = true;
|
||||
}
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
|
@ -90,28 +84,15 @@ const _sfc_main = {
|
|||
b: common_vendor.o(goBack)
|
||||
} : {}, {
|
||||
c: !no.value
|
||||
}, !no.value ? common_vendor.e({
|
||||
}, !no.value ? {
|
||||
d: `https://www.focusnu.com/media/directive/login/introduce/selectbgc.png`,
|
||||
e: phonenumber.value
|
||||
}, phonenumber.value ? {
|
||||
f: common_vendor.t(maskPhone(phonenumber.value))
|
||||
e: common_vendor.t(maskPhone(phonenumber.value)),
|
||||
f: common_vendor.o(jumpto)
|
||||
} : {}, {
|
||||
g: !phonenumber.value
|
||||
}, !phonenumber.value ? {
|
||||
h: common_vendor.t(special.value ? `变更信息申请` : `加盟申请`)
|
||||
} : {}, {
|
||||
i: common_vendor.t(phonenumber.value ? "进入" : "我的"),
|
||||
j: common_vendor.o(jumpto)
|
||||
}) : {}, {
|
||||
k: phonenumber.value
|
||||
}, phonenumber.value ? {
|
||||
l: common_vendor.s(no.value ? {
|
||||
g: common_vendor.s(no.value ? {
|
||||
marginTop: `0rpx`
|
||||
} : {})
|
||||
} : {}, {
|
||||
m: phonenumber.value
|
||||
}, phonenumber.value ? {
|
||||
n: common_vendor.f(cardarray, (item, index, i0) => {
|
||||
} : {}),
|
||||
h: common_vendor.f(cardarray, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.t(item.content),
|
||||
|
@ -119,11 +100,7 @@ const _sfc_main = {
|
|||
d: index
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
o: phonenumber.value
|
||||
}, phonenumber.value ? {} : {}, {
|
||||
p: phonenumber.value
|
||||
}, phonenumber.value ? {} : {});
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="font-father data-v-aaa5af2f"><view wx:if="{{a}}" class="title-back data-v-aaa5af2f"><view class="left-father data-v-aaa5af2f" bindtap="{{b}}"><image class="back-img data-v-aaa5af2f" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-aaa5af2f" style="font-size:30rpx">宣传页</view></view></view><view wx:if="{{c}}" class="fixed data-v-aaa5af2f"><image class="title-img data-v-aaa5af2f" src="{{d}}"/><view wx:if="{{e}}" 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">{{f}}</text></view><view class="big-font data-v-aaa5af2f"> 已成功绑定 </view><view class=" data-v-aaa5af2f"> 欢迎加入护理单元大家庭! </view></view><view wx:if="{{g}}" class="font-title data-v-aaa5af2f"> 尊敬的用户,您的机构{{h}}已成功提交,请耐心等待审核结果,期待您早日加入护理单元大家庭! </view><view class="data-v-aaa5af2f" style="width:100%"><view class="bottom-button data-v-aaa5af2f" bindtap="{{j}}">{{i}}机构 </view></view></view><view wx:if="{{k}}" class="white-father-spec data-v-aaa5af2f" style="{{l}}"><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:if="{{m}}" class=" data-v-aaa5af2f"><view wx:for="{{n}}" 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><view wx:if="{{o}}" 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 wx:if="{{p}}" 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>
|
||||
<view class="font-father data-v-aaa5af2f"><view wx:if="{{a}}" class="title-back data-v-aaa5af2f"><view class="left-father data-v-aaa5af2f" bindtap="{{b}}"><image class="back-img data-v-aaa5af2f" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-aaa5af2f" style="font-size:30rpx">宣传页</view></view></view><view wx:if="{{c}}" class="fixed data-v-aaa5af2f"><image class="title-img data-v-aaa5af2f" src="{{d}}"/><view 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">{{e}}</text></view><view class="big-font data-v-aaa5af2f"> 已成功绑定 </view><view class=" data-v-aaa5af2f"> 欢迎加入护理单元大家庭! </view></view><view class="data-v-aaa5af2f" style="width:100%"><view class="bottom-button data-v-aaa5af2f" bindtap="{{f}}"> 进入机构 </view></view></view><view class="white-father-spec data-v-aaa5af2f" style="{{g}}"><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 class="data-v-aaa5af2f"><view wx:for="{{h}}" 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><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>
|
|
@ -166,7 +166,7 @@
|
|||
z-index: 999;
|
||||
}
|
||||
.title-back .left-father .back-img.data-v-aaa5af2f {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "specialloginafther",
|
||||
setup(__props) {
|
||||
const jumpto = () => {
|
||||
common_vendor.index.__f__("log", "at pages/login/specialloginafther.vue:33", "???");
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/threeselectone`
|
||||
});
|
||||
};
|
||||
const phone = common_vendor.ref("");
|
||||
common_vendor.onLoad((options) => {
|
||||
phone.value = common_vendor.index.getStorageSync("tel");
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: `https://www.focusnu.com/media/directive/login/introduce/allbgc.png`,
|
||||
b: `https://www.focusnu.com/media/directive/index/bluephoto.png`,
|
||||
c: common_vendor.t(phone.value),
|
||||
d: common_vendor.o(jumpto)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-186dd127"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/specialloginafther.js.map
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"navigationBarTitleText": "绑定成功",
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<view class="font-father data-v-186dd127"><image class="title-img data-v-186dd127" src="{{a}}"/><image class="title-photo data-v-186dd127" src="{{b}}"/><view class="small-title data-v-186dd127">尊敬的用户,您的手机</view><view class="small-title data-v-186dd127">{{c}}</view><view class="font-title data-v-186dd127"> 已成功绑定 </view><view class="normal data-v-186dd127"><text class="data-v-186dd127" style="font-weight:600"> 期待您早日加入护理单元大家庭! </text></view><view class="bottom-button data-v-186dd127" bindtap="{{d}}"> 我的机构 </view></view>
|
|
@ -0,0 +1,86 @@
|
|||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果您是插件开发者,建议您使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果您是App开发者(插件使用者),您可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果您的项目同样使用了scss预处理,您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.font-father.data-v-186dd127 {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
padding: 0 100rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.font-father .font-title.data-v-186dd127 {
|
||||
margin-top: 0rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 70rpx;
|
||||
}
|
||||
.font-father .bottom-button.data-v-186dd127 {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
bottom: 0rpx;
|
||||
margin-top: 80rpx;
|
||||
margin-bottom: 170rpx;
|
||||
width: 80%;
|
||||
height: 100rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 3;
|
||||
}
|
||||
.title-img.data-v-186dd127 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
z-index: -1;
|
||||
}
|
||||
.small-title.data-v-186dd127 {
|
||||
margin-bottom: 10rpx;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
.normal.data-v-186dd127 {
|
||||
font-size: 33rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
}
|
||||
.title-photo.data-v-186dd127 {
|
||||
margin-top: 300rpx;
|
||||
width: 350rpx;
|
||||
height: 350rpx;
|
||||
z-index: 1;
|
||||
}
|
|
@ -1,12 +1,22 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const api_loginApi = require("../../api/loginApi.js");
|
||||
const _sfc_main = {
|
||||
__name: "specialsmall",
|
||||
setup(__props) {
|
||||
const special = common_vendor.ref(false);
|
||||
const jumpto = () => {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
api_loginApi.getMessage(common_vendor.index.getStorageSync("openid")).then((res) => {
|
||||
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("platId", res.result.platId);
|
||||
common_vendor.index.setStorageSync("izJg", res.result.izJg);
|
||||
common_vendor.index.setStorageSync("izJs", res.result.izJs);
|
||||
common_vendor.index.setStorageSync("izYg", res.result.izYg);
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/index/index`
|
||||
});
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
|
@ -19,7 +29,9 @@ const _sfc_main = {
|
|||
a: `https://www.focusnu.com/media/directive/login/introduce/allbgc.png`,
|
||||
b: `https://www.focusnu.com/media/directive/index/bluephoto.png`,
|
||||
c: common_vendor.t(special.value ? `变更信息` : `加盟`),
|
||||
d: common_vendor.o(jumpto)
|
||||
d: common_vendor.t(special.value ? `我们将尽快处理并反馈审核结果` : `请耐心等待审核结果`),
|
||||
e: common_vendor.t(special.value ? `期待与您继续携手同行` : `期待您早日加入护理单元大家庭`),
|
||||
f: common_vendor.o(jumpto)
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="font-father data-v-c9ad9bed"><view class="fixed data-v-c9ad9bed"><image class="title-img data-v-c9ad9bed" src="{{a}}"/><image class="title-photo data-v-c9ad9bed" src="{{b}}"/><view class="small-title data-v-c9ad9bed"> 尊敬的用户,您的机构{{c}}</view><view class="font-title data-v-c9ad9bed"> 申请已成功提交 </view><view class="normal data-v-c9ad9bed"><text class="data-v-c9ad9bed"> 请耐心等待审核结果, </text></view><view class="normal data-v-c9ad9bed"><text class="data-v-c9ad9bed" style="font-weight:600"> 期待您早日加入护理单元大家庭! </text></view></view><view class="bottom-button data-v-c9ad9bed" bindtap="{{d}}"> 我的机构 </view></view>
|
||||
<view class="font-father data-v-c9ad9bed"><view class="fixed data-v-c9ad9bed"><image class="title-img data-v-c9ad9bed" src="{{a}}"/><image class="title-photo data-v-c9ad9bed" src="{{b}}"/><view class="small-title data-v-c9ad9bed"> 尊敬的用户,您的机构{{c}}</view><view class="font-title data-v-c9ad9bed"> 申请已成功提交 </view><view class="normal data-v-c9ad9bed"><text class="data-v-c9ad9bed">{{d}}, </text></view><view class="normal data-v-c9ad9bed"><text class="data-v-c9ad9bed">{{e}} ! </text></view></view><view class="bottom-button data-v-c9ad9bed" bindtap="{{f}}"> 我的机构 </view></view>
|
|
@ -37,7 +37,7 @@
|
|||
margin-top: 0rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
font-size: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-size: 80rpx;
|
||||
|
@ -82,10 +82,10 @@
|
|||
}
|
||||
.small-title.data-v-c9ad9bed {
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 38rpx;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
.normal.data-v-c9ad9bed {
|
||||
font-size: 38rpx;
|
||||
font-size: 33rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
@ -6,7 +6,7 @@ const _sfc_main = {
|
|||
common_vendor.ref(0);
|
||||
const ceshi = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/special`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
};
|
||||
const jumpToindex = () => {
|
||||
|
|
|
@ -180,7 +180,7 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.left-father .back-img.data-v-83beea56 {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -9,7 +9,7 @@ const _sfc_main = {
|
|||
};
|
||||
const ceshi = () => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/login/specialsmall`
|
||||
url: `/pages/login/xuanchuan`
|
||||
});
|
||||
};
|
||||
const jumpToindex = () => {
|
||||
|
|
|
@ -31,21 +31,6 @@
|
|||
background-color: #eff1fc;
|
||||
position: relative;
|
||||
}
|
||||
.login-container .title.data-v-f4bd7fdd {
|
||||
margin-top: 180rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.login-container .title .title-imge.data-v-f4bd7fdd {
|
||||
width: 100rpx;
|
||||
height: 105rpx;
|
||||
margin-left: 100rpx;
|
||||
}
|
||||
.login-container .title .title-font.data-v-f4bd7fdd {
|
||||
font-size: 35rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 105rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.login-container .photo-imge.data-v-f4bd7fdd {
|
||||
position: absolute;
|
||||
top: 0rpx;
|
||||
|
@ -60,18 +45,6 @@
|
|||
width: 400rpx;
|
||||
height: 400rpx;
|
||||
}
|
||||
.login-container .under-container.data-v-f4bd7fdd {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 63vh;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.font-father.data-v-f4bd7fdd {
|
||||
width: 100%;
|
||||
color: #666666;
|
||||
|
@ -99,19 +72,6 @@
|
|||
font-size: 33rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.card-title.data-v-f4bd7fdd {
|
||||
z-index: 1;
|
||||
margin-top: 600rpx;
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
height: 100rpx;
|
||||
border-radius: 35rpx;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
.card.data-v-f4bd7fdd {
|
||||
z-index: 1;
|
||||
margin-top: 30rpx;
|
||||
|
@ -150,20 +110,6 @@
|
|||
margin-top: 50rpx;
|
||||
margin-left: 5rpx;
|
||||
}
|
||||
.blue-button.data-v-f4bd7fdd {
|
||||
width: 92%;
|
||||
margin-left: 4%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 90rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 35rpx;
|
||||
margin-bottom: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.title-back.data-v-f4bd7fdd {
|
||||
position: absolute;
|
||||
top: 100rpx;
|
||||
|
@ -180,7 +126,7 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.left-father .back-img.data-v-f4bd7fdd {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -45,14 +45,20 @@ const _sfc_main = {
|
|||
a: common_vendor.t(item.comName),
|
||||
b: item.franchiseTime
|
||||
}, item.franchiseTime ? {} : {}, {
|
||||
c: common_vendor.t(item.franchiseTime),
|
||||
d: !item.franchiseTime
|
||||
c: item.franchiseTime
|
||||
}, item.franchiseTime ? {
|
||||
d: common_vendor.t(item.franchiseTime)
|
||||
} : {}, {
|
||||
e: !item.franchiseTime
|
||||
}, !item.franchiseTime ? {} : {}, {
|
||||
e: common_vendor.t(item.commitTime),
|
||||
f: common_vendor.t(item.auditTime),
|
||||
g: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`,
|
||||
h: common_vendor.o(($event) => jumpToAll(item), index),
|
||||
i: index
|
||||
f: !item.franchiseTime
|
||||
}, !item.franchiseTime ? {
|
||||
g: common_vendor.t(item.commitTime)
|
||||
} : {}, {
|
||||
h: common_vendor.t(item.auditTime),
|
||||
i: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`,
|
||||
j: common_vendor.o(($event) => jumpToAll(item), index),
|
||||
k: index
|
||||
});
|
||||
})
|
||||
};
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-808c8183"><view class="title-back data-v-808c8183"><view class="left-father data-v-808c8183" bindtap="{{a}}"><image class="back-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-808c8183" style="font-size:30rpx">加盟审核</view></view></view><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="under-scroll data-v-808c8183"><view wx:for="{{b}}" wx:for-item="item" wx:key="i" class="data-v-808c8183"><view class="white-small data-v-808c8183" bindtap="{{item.h}}"><view class="data-v-808c8183" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-808c8183"><view class="data-v-808c8183" style="margin-top:45rpx"><view class=" data-v-808c8183"><text wx:if="{{item.b}}" class="data-v-808c8183" style="color:#999"> 加盟日期:</text>{{item.c}} <text wx:if="{{item.d}}" class="data-v-808c8183" style="color:#999"> 申请日期:</text>{{item.e}}</view><view class="data-v-808c8183" style="margin-top:10rpx"><text class="data-v-808c8183" style="color:#999"> 审核日期:</text>{{item.f}}</view></view><view class=" data-v-808c8183"></view><image class="bottom-img data-v-808c8183" src="{{item.g}}"/></view></view></view></view></view></view>
|
||||
<view class="login-container data-v-808c8183"><view class="title-back data-v-808c8183"><view class="left-father data-v-808c8183" bindtap="{{a}}"><image class="back-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-808c8183" style="font-size:30rpx">加盟审核</view></view></view><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="under-scroll data-v-808c8183"><view wx:for="{{b}}" wx:for-item="item" wx:key="k" class="data-v-808c8183"><view class="white-small data-v-808c8183" bindtap="{{item.j}}"><view class="data-v-808c8183" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-808c8183"><view class="data-v-808c8183" style="margin-top:45rpx"><view class=" data-v-808c8183"><text wx:if="{{item.b}}" class="data-v-808c8183" style="color:#999"> 加盟日期:</text><text wx:if="{{item.c}}" class="data-v-808c8183">{{item.d}}</text><text wx:if="{{item.e}}" class="data-v-808c8183" style="color:#999"> 申请日期:</text><text wx:if="{{item.f}}" class="data-v-808c8183">{{item.g}}</text></view><view class="data-v-808c8183" style="margin-top:10rpx"><text class="data-v-808c8183" style="color:#999"> 审核日期:</text>{{item.h}}</view></view><view class=" data-v-808c8183"></view><image class="bottom-img data-v-808c8183" src="{{item.i}}"/></view></view></view></view></view></view>
|
|
@ -71,7 +71,7 @@
|
|||
margin-left: 1%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
min-height: calc(100vh - 650rpx);
|
||||
z-index: 1;
|
||||
}
|
||||
.index-up.data-v-808c8183 {
|
||||
|
@ -119,7 +119,7 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.left-father .back-img.data-v-808c8183 {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
|
|
@ -8,30 +8,61 @@ const _sfc_main = {
|
|||
const workArray = common_vendor.ref([]);
|
||||
common_vendor.ref(false);
|
||||
const statusarray = ["success", "loading", "success", "fail", "loading", "fail"];
|
||||
common_vendor.onLoad((options) => {
|
||||
const getData = () => {
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
const counts = {};
|
||||
res2.result.forEach((item) => {
|
||||
counts[item.pkId] = (counts[item.pkId] || 0) + 1;
|
||||
});
|
||||
const seenFirst = {};
|
||||
const seenCount = {};
|
||||
workArray.value = res2.result.map((item) => {
|
||||
const {
|
||||
pkId
|
||||
} = item;
|
||||
if (counts[pkId] > 1) {
|
||||
if (!seenFirst[pkId]) {
|
||||
item.ischange = true;
|
||||
seenFirst[pkId] = true;
|
||||
} else {
|
||||
item.ischange = false;
|
||||
}
|
||||
} else {
|
||||
item.ischange = true;
|
||||
}
|
||||
seenCount[pkId] = (seenCount[pkId] || 0) + 1;
|
||||
item.isend = seenCount[pkId] === counts[pkId];
|
||||
return item;
|
||||
});
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("error", "at pages/login/workjoinsuccess.vue:130", err);
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
getData();
|
||||
});
|
||||
common_vendor.onPullDownRefresh(() => {
|
||||
common_vendor.index.getStorage({
|
||||
key: "openid",
|
||||
success: function(res) {
|
||||
pages_addjigou_api_addjigou.getMessageListsuccess(res.data).then((res2) => {
|
||||
workArray.value = res2.result;
|
||||
});
|
||||
}
|
||||
});
|
||||
getData();
|
||||
common_vendor.index.stopPullDownRefresh();
|
||||
});
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack();
|
||||
};
|
||||
const again = (item) => {
|
||||
let trans = item;
|
||||
trans.id = null;
|
||||
common_vendor.index.setStorageSync("baddata", trans);
|
||||
common_vendor.index.setStorageSync("specicalid", trans.id);
|
||||
common_vendor.index.setStorageSync("backhuancun", {});
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/addjigou/name`
|
||||
});
|
||||
};
|
||||
const jumpToAll = (element) => {
|
||||
common_vendor.index.navigateTo({
|
||||
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=1`
|
||||
|
@ -43,15 +74,19 @@ const _sfc_main = {
|
|||
b: !workArray.value.length
|
||||
}, !workArray.value.length ? {} : {}, {
|
||||
c: common_vendor.f(workArray.value, (item, index, i0) => {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.comName),
|
||||
b: common_vendor.t(index == workArray.value.length - 1 ? `申请` : `变更`),
|
||||
b: common_vendor.t(item.isend ? `申请` : `变更`),
|
||||
c: common_vendor.t(item.commitTime),
|
||||
d: common_vendor.t(item.auditTime),
|
||||
e: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status)]}.png`,
|
||||
f: common_vendor.o(($event) => jumpToAll(item), index),
|
||||
g: index
|
||||
};
|
||||
f: item.modifyStatus === `0` && item.ischange
|
||||
}, item.modifyStatus === `0` && item.ischange ? {
|
||||
g: common_vendor.o(($event) => again(item), index)
|
||||
} : {}, {
|
||||
h: common_vendor.o(($event) => jumpToAll(item), index),
|
||||
i: index
|
||||
});
|
||||
})
|
||||
});
|
||||
};
|
||||
|
|
|
@ -1 +1 @@
|
|||
<view class="login-container data-v-c1509caf"><view class="title-back data-v-c1509caf"><view class="left-father data-v-c1509caf" bindtap="{{a}}"><image class="back-img data-v-c1509caf" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-c1509caf" style="font-size:30rpx">机构信息</view></view></view><view class="index-up data-v-c1509caf"><image class="index-up-img data-v-c1509caf" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="bgc-card data-v-c1509caf"><view wx:if="{{b}}" class="none data-v-c1509caf"><image class="data-v-c1509caf" style="width:300rpx;height:300rpx" src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false"/><view class=" data-v-c1509caf">暂无机构信息</view></view><view class="under-scroll data-v-c1509caf"><view wx:for="{{c}}" wx:for-item="item" wx:key="g" class="data-v-c1509caf"><view class="white-small data-v-c1509caf" bindtap="{{item.f}}"><view class="data-v-c1509caf" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-c1509caf"><view class="data-v-c1509caf" style="margin-top:45rpx"><view class=" data-v-c1509caf"><text class="data-v-c1509caf" style="color:#999">{{item.b}}日期:</text>{{item.c}}</view><view class="data-v-c1509caf" style="margin-top:10rpx"><text class="data-v-c1509caf" style="color:#999"> 审核日期:</text>{{item.d}}</view></view><view class=" data-v-c1509caf"></view><image class="bottom-img data-v-c1509caf" src="{{item.e}}"/></view></view></view></view></view></view>
|
||||
<view class="login-container data-v-c1509caf"><view class="title-back data-v-c1509caf"><view class="left-father data-v-c1509caf" bindtap="{{a}}"><image class="back-img data-v-c1509caf" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-c1509caf" style="font-size:30rpx">机构信息</view></view></view><view class="index-up data-v-c1509caf"><image class="index-up-img data-v-c1509caf" src="https://www.focusnu.com/media/directive/index/indexgif.gif" mode="widthFix" lazy-load="false"/></view><view class="bgc-card data-v-c1509caf"><view wx:if="{{b}}" class="none data-v-c1509caf"><image class="data-v-c1509caf" style="width:300rpx;height:300rpx" src="https://www.focusnu.com/media/directive/index/none.png" mode="widthFix" lazy-load="false"/><view class=" data-v-c1509caf">暂无机构信息</view></view><view class="under-scroll data-v-c1509caf"><view wx:for="{{c}}" wx:for-item="item" wx:key="i" class="data-v-c1509caf"><view class="white-small data-v-c1509caf" bindtap="{{item.h}}"><view class="data-v-c1509caf" style="font-size:32rpx">{{item.a}}</view><view class="bottom-father data-v-c1509caf"><view class="data-v-c1509caf" style="margin-top:45rpx"><view class=" data-v-c1509caf"><text class="data-v-c1509caf" style="color:#999">{{item.b}}日期:</text>{{item.c}}</view><view class="data-v-c1509caf" style="margin-top:10rpx"><text class="data-v-c1509caf" style="color:#999"> 审核日期:</text>{{item.d}}</view></view><view class=" data-v-c1509caf"></view><image class="bottom-img data-v-c1509caf" src="{{item.e}}"/></view><view wx:if="{{item.f}}" class="blue-button data-v-c1509caf" catchtap="{{item.g}}"> 信息修改 </view></view></view></view></view></view>
|
|
@ -71,7 +71,7 @@
|
|||
margin-left: 1%;
|
||||
border-top-left-radius: 30rpx;
|
||||
border-top-right-radius: 30rpx;
|
||||
min-height: calc(100vh - 550rpx);
|
||||
min-height: calc(100vh - 650rpx);
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
}
|
||||
|
@ -120,7 +120,7 @@
|
|||
z-index: 1;
|
||||
}
|
||||
.left-father .back-img.data-v-c1509caf {
|
||||
width: 40rpx;
|
||||
width: 45rpx;
|
||||
height: 40rpx;
|
||||
margin-left: 40rpx;
|
||||
margin-right: 15rpx;
|
||||
|
@ -141,7 +141,7 @@
|
|||
height: 120rpx;
|
||||
}
|
||||
.blue-button.data-v-c1509caf {
|
||||
margin-top: 60rpx;
|
||||
margin-top: 40rpx;
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
|
|
|
@ -0,0 +1,41 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
__name: "xuanchuan",
|
||||
setup(__props) {
|
||||
const jumpto = () => {
|
||||
common_vendor.index.redirectTo({
|
||||
url: `/pages/login/index`
|
||||
});
|
||||
};
|
||||
const which = common_vendor.ref(0);
|
||||
const swiperchange = (res) => {
|
||||
which.value = res.detail.current;
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: `https://www.focusnu.com/media/directive/login/bgc0.jpg`,
|
||||
b: `https://www.focusnu.com/media/directive/login/bgc1.jpg`,
|
||||
c: `https://www.focusnu.com/media/directive/login/bgc2.jpg`,
|
||||
d: `92vh`,
|
||||
e: which.value,
|
||||
f: common_vendor.o(swiperchange),
|
||||
g: which.value != 2
|
||||
}, which.value != 2 ? {
|
||||
h: common_vendor.f([1, 2, 3], (item, index, i0) => {
|
||||
return {
|
||||
a: index,
|
||||
b: common_vendor.n(which.value === index ? `dian-target` : `dian`)
|
||||
};
|
||||
})
|
||||
} : {}, {
|
||||
i: which.value == 2
|
||||
}, which.value == 2 ? {
|
||||
j: common_vendor.o(jumpto)
|
||||
} : {});
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5699789f"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/xuanchuan.js.map
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"navigationBarTitleText": "宣传页",
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
<view class="font-father data-v-5699789f"><swiper class="data-v-5699789f" duration="{{150}}" style="{{'width:100%' + ';' + ('height:' + d)}}" current="{{e}}" bindchange="{{f}}"><swiper-item class="data-v-5699789f" style="position:relative"><image class="title-img data-v-5699789f" src="{{a}}"/><view class="data-v-5699789f" style="width:100%;padding-left:75rpx;padding-right:75rpx;position:absolute;left:0;bottom:100rpx"><view class="title-name data-v-5699789f"><view class="font-weight data-v-5699789f"> 长者入住 </view></view><view class="yuangong-font data-v-5699789f"> 提供专业照料,涵盖日常、饮食、清洁、排泄等方面,7*24 小时生命体征监测,医护团队协同护航,量身定制科学的护理流程,护理员贴心床前陪伴,让长者感受家的温暖与关怀。 </view></view></swiper-item><swiper-item class="data-v-5699789f" style="position:relative"><image class="title-img data-v-5699789f" src="{{b}}"/><view class="data-v-5699789f" style="width:100%;padding-left:75rpx;padding-right:75rpx;position:absolute;left:0;bottom:100rpx"><view class="title-name data-v-5699789f"><view class="font-weight data-v-5699789f"> 员工入驻 </view></view><view class="yuangong-font data-v-5699789f"> 入驻护理单元,遵循标准护理流程,提供长者床旁照护,用专业技能与人文关怀共同守护长者健康。依托物联设备优化服务流程,依托员工培训提升照护能力,确保服务精准高效。 </view></view></swiper-item><swiper-item class="data-v-5699789f" style="position:relative"><image class="title-img data-v-5699789f" src="{{c}}"/><view class="data-v-5699789f" style="width:100%;padding-left:75rpx;padding-right:75rpx;position:absolute;left:0;bottom:150rpx"><view class="title-name data-v-5699789f"><view class="font-weight data-v-5699789f"> 机构加盟 </view></view><view class="yuangong-font data-v-5699789f"> 加盟护理单元,坐拥成熟运营体系,精简人力配置,降低运营成本。优质资源共享,多重优势协同发力,全方位拓宽利润空间,助力占领银发赛道。 </view></view></swiper-item></swiper><view wx:if="{{g}}" class="dian-father data-v-5699789f"><view wx:for="{{h}}" wx:for-item="item" wx:key="a" class="{{['data-v-5699789f', item.b]}}"></view></view><view wx:if="{{i}}" class="bottom-button data-v-5699789f" bindtap="{{j}}"> 前往注册 </view></view>
|
|
@ -0,0 +1,114 @@
|
|||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果您是插件开发者,建议您使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果您是App开发者(插件使用者),您可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果您的项目同样使用了scss预处理,您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.font-father.data-v-5699789f {
|
||||
width: 100%;
|
||||
min-height: 100vh;
|
||||
background-color: #f4f7f9;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
}
|
||||
.font-father .title-img.data-v-5699789f {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 92vh;
|
||||
z-index: -1;
|
||||
}
|
||||
.font-father .title-name.data-v-5699789f {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
margin-top: 200rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.font-father .title-name .gray-heng.data-v-5699789f {
|
||||
height: 2rpx;
|
||||
width: 200rpx;
|
||||
background-color: #d9d9d9;
|
||||
}
|
||||
.font-father .title-name .font-weight.data-v-5699789f {
|
||||
font-weight: 600;
|
||||
font-size: 35rpx;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.white-imge-spec.data-v-5699789f {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 320rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.duanluo.data-v-5699789f {
|
||||
margin: 18rpx 0;
|
||||
width: 100%;
|
||||
padding: 0 25rpx;
|
||||
}
|
||||
.duanluo .duanluo-title.data-v-5699789f {
|
||||
display: flex;
|
||||
font-size: 32rpx;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
.dian-father.data-v-5699789f {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.dian-father .dian.data-v-5699789f {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin: 0 10rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #CCCCCC;
|
||||
}
|
||||
.dian-father .dian-target.data-v-5699789f {
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
margin: 0 10rpx;
|
||||
border-radius: 50%;
|
||||
background-color: #2792FC;
|
||||
}
|
||||
.yuangong-font.data-v-5699789f {
|
||||
font-size: 32rpx;
|
||||
margin-top: 30rpx;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.bottom-button.data-v-5699789f {
|
||||
margin-top: -20rpx;
|
||||
width: 80%;
|
||||
height: 100rpx;
|
||||
border-radius: 50rpx;
|
||||
background: linear-gradient(to left, #00C9FF, #0076FF);
|
||||
color: #fff;
|
||||
font-size: 40rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
z-index: 3;
|
||||
}
|
|
@ -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": "",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
const base_url = "https://www.focusnu.com/nursingunit";
|
||||
const base_url = "https://www.focusnu.com/opeapi";
|
||||
const timeout = 5e3;
|
||||
const request = (params) => {
|
||||
let url = params.url;
|
||||
|
|
|
@ -53,17 +53,17 @@ const _sfc_main = {
|
|||
/** 图片最小缩放倍数 */
|
||||
minScale: {
|
||||
type: Number,
|
||||
default: 1
|
||||
default: 0.3
|
||||
},
|
||||
/** 图片最大缩放倍数 */
|
||||
maxScale: {
|
||||
type: Number,
|
||||
default: 5
|
||||
default: 2
|
||||
},
|
||||
/** 检查图片位置是否超出裁剪边界,如果超出则会矫正位置 */
|
||||
checkRange: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
default: false
|
||||
},
|
||||
/** 生成图片背景色:如果裁剪区域没有完全包含在图片中时,不设置该属性生成图片存在一定的透明块 */
|
||||
backgroundColor: {
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-loading",
|
||||
props: {
|
||||
// 动画的类型
|
||||
mode: {
|
||||
type: String,
|
||||
default: "circle"
|
||||
},
|
||||
// 动画的颜色
|
||||
color: {
|
||||
type: String,
|
||||
default: "#c7c7c7"
|
||||
},
|
||||
// 加载图标的大小,单位rpx
|
||||
size: {
|
||||
type: [String, Number],
|
||||
default: "34"
|
||||
},
|
||||
// 是否显示动画
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 加载中圆圈动画的样式
|
||||
cricleStyle() {
|
||||
let style = {};
|
||||
style.width = this.size + "rpx";
|
||||
style.height = this.size + "rpx";
|
||||
if (this.mode == "circle")
|
||||
style.borderColor = `#e4e4e4 #e4e4e4 #e4e4e4 ${this.color ? this.color : "#c7c7c7"}`;
|
||||
return style;
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $props.show
|
||||
}, $props.show ? {
|
||||
b: common_vendor.n($props.mode == "circle" ? "u-loading-circle" : "u-loading-flower"),
|
||||
c: common_vendor.s($options.cricleStyle)
|
||||
} : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-32db0ed8"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-loading/u-loading.js.map
|
|
@ -1,4 +0,0 @@
|
|||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
<view wx:if="{{a}}" class="{{['u-loading', 'data-v-32db0ed8', b]}}" style="{{c}}"></view>
|
|
@ -1,61 +0,0 @@
|
|||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果您是插件开发者,建议您使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果您是App开发者(插件使用者),您可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果您的项目同样使用了scss预处理,您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-loading-circle.data-v-32db0ed8 {
|
||||
display: inline-flex;
|
||||
vertical-align: middle;
|
||||
width: 28rpx;
|
||||
height: 28rpx;
|
||||
background: 0 0;
|
||||
border-radius: 50%;
|
||||
border: 2px solid;
|
||||
border-color: #e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;
|
||||
animation: u-circle-32db0ed8 1s linear infinite;
|
||||
}
|
||||
.u-loading-flower.data-v-32db0ed8 {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
animation: u-flower-32db0ed8 1s steps(12) infinite;
|
||||
background: transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
@keyframes u-flower-32db0ed8 {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
@keyframes u-circle-32db0ed8 {
|
||||
0% {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
|
@ -1,269 +0,0 @@
|
|||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-modal",
|
||||
emits: ["update:modelValue", "input", "confirm", "cancel"],
|
||||
props: {
|
||||
// 是否显示Modal
|
||||
value: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
modelValue: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 层级z-index
|
||||
zIndex: {
|
||||
type: [Number, String],
|
||||
default: ""
|
||||
},
|
||||
// 标题
|
||||
title: {
|
||||
type: [String],
|
||||
default: "提示"
|
||||
},
|
||||
// 弹窗宽度,可以是数值(rpx),百分比,auto等
|
||||
width: {
|
||||
type: [Number, String],
|
||||
default: 600
|
||||
},
|
||||
// 弹窗内容
|
||||
content: {
|
||||
type: String,
|
||||
default: "内容"
|
||||
},
|
||||
// 是否显示标题
|
||||
showTitle: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否显示确认按钮
|
||||
showConfirmButton: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否显示取消按钮
|
||||
showCancelButton: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 确认文案
|
||||
confirmText: {
|
||||
type: String,
|
||||
default: "确认"
|
||||
},
|
||||
// 取消文案
|
||||
cancelText: {
|
||||
type: String,
|
||||
default: "取消"
|
||||
},
|
||||
// 确认按钮颜色
|
||||
confirmColor: {
|
||||
type: String,
|
||||
default: "#2979ff"
|
||||
},
|
||||
// 取消文字颜色
|
||||
cancelColor: {
|
||||
type: String,
|
||||
default: "#606266"
|
||||
},
|
||||
// 圆角值
|
||||
borderRadius: {
|
||||
type: [Number, String],
|
||||
default: 16
|
||||
},
|
||||
// 标题的样式
|
||||
titleStyle: {
|
||||
type: Object,
|
||||
default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 内容的样式
|
||||
contentStyle: {
|
||||
type: Object,
|
||||
default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 取消按钮的样式
|
||||
cancelStyle: {
|
||||
type: Object,
|
||||
default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 确定按钮的样式
|
||||
confirmStyle: {
|
||||
type: Object,
|
||||
default() {
|
||||
return {};
|
||||
}
|
||||
},
|
||||
// 是否开启缩放效果
|
||||
zoom: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
// 是否异步关闭,只对确定按钮有效
|
||||
asyncClose: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 是否允许点击遮罩关闭modal
|
||||
maskCloseAble: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
// 给一个负的margin-top,往上偏移,避免和键盘重合的情况
|
||||
negativeTop: {
|
||||
type: [String, Number],
|
||||
default: 0
|
||||
},
|
||||
// 遮罩的模糊度
|
||||
blur: {
|
||||
type: [Number, String],
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
// 确认按钮是否正在加载中
|
||||
popupValue: false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
valueCom() {
|
||||
return this.modelValue;
|
||||
},
|
||||
cancelBtnStyle() {
|
||||
return Object.assign(
|
||||
{
|
||||
color: this.cancelColor
|
||||
},
|
||||
this.cancelStyle
|
||||
);
|
||||
},
|
||||
confirmBtnStyle() {
|
||||
return Object.assign(
|
||||
{
|
||||
color: this.confirmColor
|
||||
},
|
||||
this.confirmStyle
|
||||
);
|
||||
},
|
||||
uZIndex() {
|
||||
return this.zIndex ? this.zIndex : this.$u.zIndex.popup;
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
// 如果是异步关闭时,外部修改v-model的值为false时,重置内部的loading状态
|
||||
// 避免下次打开的时候,状态混乱
|
||||
valueCom: {
|
||||
immediate: true,
|
||||
handler(n) {
|
||||
if (n === true)
|
||||
this.loading = false;
|
||||
this.popupValue = n;
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
confirm() {
|
||||
if (this.asyncClose) {
|
||||
this.loading = true;
|
||||
} else {
|
||||
this.$emit("input", false);
|
||||
this.$emit("update:modelValue", false);
|
||||
}
|
||||
this.$emit("confirm");
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancel");
|
||||
this.$emit("input", false);
|
||||
this.$emit("update:modelValue", false);
|
||||
setTimeout(() => {
|
||||
this.loading = false;
|
||||
}, 300);
|
||||
},
|
||||
// 点击遮罩关闭modal,设置v-model的值为false,否则无法第二次弹起modal
|
||||
popupClose() {
|
||||
this.$emit("input", false);
|
||||
this.$emit("update:modelValue", false);
|
||||
},
|
||||
// 清除加载中的状态
|
||||
clearLoading() {
|
||||
this.loading = false;
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_u_loading2 = common_vendor.resolveComponent("u-loading");
|
||||
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
|
||||
(_easycom_u_loading2 + _easycom_u_popup2)();
|
||||
}
|
||||
const _easycom_u_loading = () => "../u-loading/u-loading.js";
|
||||
const _easycom_u_popup = () => "../u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_loading + _easycom_u_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $props.showTitle
|
||||
}, $props.showTitle ? {
|
||||
b: common_vendor.t($props.title),
|
||||
c: common_vendor.s($props.titleStyle)
|
||||
} : {}, {
|
||||
d: _ctx.$slots.default || _ctx.$slots.$default
|
||||
}, _ctx.$slots.default || _ctx.$slots.$default ? {
|
||||
e: common_vendor.s($props.contentStyle)
|
||||
} : {
|
||||
f: common_vendor.t($props.content),
|
||||
g: common_vendor.s($props.contentStyle)
|
||||
}, {
|
||||
h: $props.showCancelButton || $props.showConfirmButton
|
||||
}, $props.showCancelButton || $props.showConfirmButton ? common_vendor.e({
|
||||
i: $props.showCancelButton
|
||||
}, $props.showCancelButton ? {
|
||||
j: common_vendor.t($props.cancelText),
|
||||
k: common_vendor.s($options.cancelBtnStyle),
|
||||
l: common_vendor.o((...args) => $options.cancel && $options.cancel(...args))
|
||||
} : {}, {
|
||||
m: $props.showConfirmButton || _ctx.$slots["confirm-button"]
|
||||
}, $props.showConfirmButton || _ctx.$slots["confirm-button"] ? common_vendor.e({
|
||||
n: _ctx.$slots["confirm-button"]
|
||||
}, _ctx.$slots["confirm-button"] ? {} : common_vendor.e({
|
||||
o: $data.loading
|
||||
}, $data.loading ? {
|
||||
p: common_vendor.p({
|
||||
mode: "circle",
|
||||
color: $props.confirmColor
|
||||
})
|
||||
} : {
|
||||
q: common_vendor.t($props.confirmText)
|
||||
}), {
|
||||
r: $props.asyncClose ? "none" : "u-model__btn--hover",
|
||||
s: common_vendor.s($options.confirmBtnStyle),
|
||||
t: common_vendor.o((...args) => $options.confirm && $options.confirm(...args))
|
||||
}) : {}) : {}, {
|
||||
v: common_vendor.o($options.popupClose),
|
||||
w: common_vendor.o(($event) => $data.popupValue = $event),
|
||||
x: common_vendor.p({
|
||||
blur: $props.blur,
|
||||
zoom: $props.zoom,
|
||||
mode: "center",
|
||||
popup: false,
|
||||
["z-index"]: $options.uZIndex,
|
||||
length: $props.width,
|
||||
["mask-close-able"]: $props.maskCloseAble,
|
||||
["border-radius"]: $props.borderRadius,
|
||||
["negative-top"]: $props.negativeTop,
|
||||
modelValue: $data.popupValue
|
||||
})
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-5708b0b9"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/uni_modules/vk-uview-ui/components/u-modal/u-modal.js.map
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-loading": "../u-loading/u-loading",
|
||||
"u-popup": "../u-popup/u-popup"
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
<view class="data-v-5708b0b9"><u-popup wx:if="{{x}}" class="data-v-5708b0b9" u-s="{{['d']}}" bindclose="{{v}}" u-i="5708b0b9-0" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"><view class="u-model data-v-5708b0b9"><view wx:if="{{a}}" class="u-model__title u-line-1 data-v-5708b0b9" style="{{c}}">{{b}}</view><view class="u-model__content data-v-5708b0b9"><view wx:if="{{d}}" class="data-v-5708b0b9" style="{{e}}"><slot/></view><view wx:else class="u-model__content__message data-v-5708b0b9" style="{{g}}">{{f}}</view></view><view wx:if="{{h}}" class="u-model__footer u-border-top data-v-5708b0b9"><view wx:if="{{i}}" hover-stay-time="{{100}}" hover-class="u-model__btn--hover" class="u-model__footer__button data-v-5708b0b9" style="{{k}}" bindtap="{{l}}">{{j}}</view><view wx:if="{{m}}" hover-stay-time="{{100}}" hover-class="{{r}}" class="u-model__footer__button hairline-left data-v-5708b0b9" style="{{s}}" bindtap="{{t}}"><slot wx:if="{{n}}" name="confirm-button"></slot><block wx:else><u-loading wx:if="{{o}}" class="data-v-5708b0b9" u-i="5708b0b9-1,5708b0b9-0" bind:__l="__l" u-p="{{p}}"></u-loading><block wx:else>{{q}}</block></block></view></view></view></u-popup></view>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue