This commit is contained in:
Teng 2025-07-01 17:29:13 +08:00
parent 6ae1709602
commit 8d14740214
75 changed files with 1300 additions and 433 deletions

View File

@ -1,7 +1,7 @@
<template>
<view>
<!-- https://ext.dcloud.net.cn/plugin?id=10333 -->
<qf-image-cropper :src="src" :width="width" :height="height" :radius="0" @crop="handleCrop" />
<qf-image-cropper :src="src" :width="width" :height="height" :radius="10" @crop="handleCrop" />
</view>
</template>

113
compontent/public/model.vue Normal file
View File

@ -0,0 +1,113 @@
<template>
<!-- 通过 v-show 控制显隐并根据 show 添加 is-active 类触发 CSS 过渡 -->
<view :class="['neuro-wrapper', show ? 'is-active' : '']" v-show="show">
<!-- 遮罩层点击触发关闭 -->
<view class="neuro-mask" @click="handleClose"></view>
<!-- 拟态框阻止冒泡点击 -->
<view class="neuro-box" @click.stop>
<view class="tittle-bgc">
<view class="text">提示</view>
</view>
<view class="button" @click="handleClose">确定</view>
<view style="font-size: 35rpx;">{{ content }}</view>
</view>
</view>
</template>
<script setup>
// show update:show
const props = defineProps({
show: {
type: Boolean,
default: true
},
content: {
type: String,
default: ''
}
});
const emit = defineEmits(["close"]);
// show
function handleClose() {
emit('close');
}
</script>
<style lang="scss" scoped>
/* 容器默认隐藏,透明度为 0不接受点击 */
.neuro-wrapper {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
/* 显示时透明度过渡到 1可接受点击 */
.neuro-wrapper.is-active {
opacity: 1;
pointer-events: auto;
}
/* 遮罩层,半透明黑色 */
.neuro-mask {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.3);
}
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
.neuro-box {
position: relative;
width: 550rpx;
height: 600rpx;
border-radius: 20rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
padding: 0 10%;
}
.tittle-bgc {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 300rpx;
background-image: url('https://www.focusnu.com/media/directive/index/modelbgc.png');
background-size: 100% auto;
background-position: top center;
background-repeat: no-repeat;
.text {
color: #47526F;
font-size: 40rpx;
margin: 40rpx 0 0 50rpx;
font-weight: 600;
}
}
.button {
position: absolute;
bottom: 50rpx;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 80rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 35rpx;
border-radius: 35rpx;
}
</style>

View File

@ -62,6 +62,12 @@
"navigationBarTitleText": "绑定成功"
}
},
{
"path": "pages/login/specialsmall",
"style": {
"navigationBarTitleText": "绑定成功"
}
},
{
"path": "pages/index/index",
"style": {

View File

@ -1,6 +1,7 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<image class="greenbgc" src="https://www.focusnu.com/media/directive/index/greenbgc.png" />
<view class="title-back">
<view class="left-father" @click="goBack">
@ -8,13 +9,13 @@
<view style="font-size: 30rpx;">机构加盟</view>
</view>
</view>
<view class="contentred" v-if="statesTarget==3||alldata.status==`5`">
<view class="contentred" v-if="statesTarget==3||alldata.status==`5`||alldata.status==`3`">
<view class="contentred-bgc">
驳回原因{{contentred}}
</view>
</view>
<view class="finish-button" @click="next" v-if="special && alldata.status ==2 && modifyStatus != 4" >
<view class="finish-button" @click="next" v-if="special && alldata.modifyStatus != `1`" >
修改信息
</view>
<view class="white-content">
@ -138,7 +139,8 @@
import {
base_url
} from '@/request/index.js';
import { getrel } from '@/pages/addjigou/api/addjigou.js'
import { getrel } from '@/pages/addjigou/api/addjigou.js';
import model from "@/compontent/public/model.vue"
const show = ref(false);
const content = ref("");
@ -208,9 +210,11 @@
// url: `/pages/addjigou/name`
// });
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}
@ -230,7 +234,7 @@
// console.log("????",alldata.value,statesTarget.value)
let data = alldata.value
console.log("????",data.content)
// console.log("????",data)
if(data.content){
contentred.value = data.content
}

View File

@ -1,6 +1,7 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
@ -80,6 +81,7 @@
import {
changemessage
} from './api/addjigou.js'
import model from "@/compontent/public/model.vue"
const show = ref(false);
const content = ref("");
@ -246,8 +248,12 @@
}
})
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}

View File

@ -1,6 +1,7 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<view class="title-back">
<view class="left-father" @click="goBack">
<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
@ -91,6 +92,7 @@
import {
changemessage
} from './api/addjigou.js'
import model from "@/compontent/public/model.vue"
const show = ref(false);
const content = ref("");
@ -290,8 +292,12 @@
}
})
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}

View File

@ -1,33 +1,35 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<u-popup v-model="popupshow" mode="bottom" border-radius="20" height="600px">
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<u-popup v-model="popupshow" mode="bottom" border-radius="40" height="600px">
<view class="popup-father">
<view class="popup-title">
<view
style="display: flex; justify-content: center;align-items: center;height: 100rpx;width: 100%;position: relative;">
<view class="all-bgc"
style="display: flex; justify-content: center;align-items: center;height: 180rpx;width: 100%;position: relative;">
<view class="title-font">
请选择所在地区
</view>
<image class="title-imge" src="https://www.focusnu.com/media/directive/index/workjoin/x.png"
@click="popupshow=false" />
<image class="title-imge-title" src="https://www.focusnu.com/media/directive/index/mark.png" />
</view>
<view
style="height: 80rpx;width: 100%;display: flex; align-items: center;justify-content: space-between;position: relative;"
v-for="(item,index) in address">
<view style="margin-left: 60rpx;">
{{item.name}}
<view style="display: flex;">
<view class="button-father" v-for="(item,index) in address"
:style="index==address.length-1?{backgroundColor:`#ffeedd`,color:`#ff5d00`}:{}">
<view>
{{item.name}}
</view>
<image class="title-imge"
:src="`https://www.focusnu.com/media/directive/index/workjoin/${index==address.length-1?`redcha`:`x`}.png`"
@click="deleteUP(index)" />
</view>
<image class="title-imge" style="width: 25rpx;height: 25rpx;"
src="https://www.focusnu.com/media/directive/index/workjoin/x.png"
@click="deleteUP(index)" />
</view>
</view>
<view style="height: 100rpx;width: 100%;">
</view>
<view style="height: 80rpx;width: 100%;" v-for="(item) in address">
<view style="height: 180rpx;width: 100%;">
</view>
<view style="height: 80rpx;width: 100%;" v-if="address.length">
</view>
<view class="other-title">
@ -143,6 +145,7 @@
changemessage,
getdate
} from './api/addjigou.js'
import model from "@/compontent/public/model.vue"
const address = ref([])
const show = ref(false);
@ -207,8 +210,11 @@
const headImge = ref("");
const backImge = ref("");
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}
@ -223,7 +229,11 @@
const deleteUP = (index) => {
address.value = takeFirst(address.value, index);
if (index) {
clickcard(list.value[index - 1])
// clickcard(address.value[0])
list.value = [];
getdate(address.value[0].id).then(res => {
list.value = dedupeFirstLetter(res.result)
})
} else {
list.value = [];
getdate(`xzqhdm`).then(res => {
@ -321,15 +331,17 @@
changemessage(uni.getStorageSync('backhuancun')).then(res => {
if (res.success) {
console.log("????", uni.getStorageSync('backhuancun').id)
if (res.message == `保存成功!`) {
uni.setStorageSync('specicalid', "");
if (uni.getStorageSync('backhuancun').id === null) {}
uni.reLaunch({
url: `/pages/login/special?type=1&special=${uni.getStorageSync('backhuancun').id==null}`
url: `/pages/login/specialsmall?type=1&special=${uni.getStorageSync('backhuancun').id===null}`
});
} else {
uni.setStorageSync('specicalid', res.result.id);
uni.reLaunch({
url: `/pages/login/special?type=1&special=${uni.getStorageSync('backhuancun').id==null}`
url: `/pages/login/specialsmall?type=1&special=${uni.getStorageSync('backhuancun').id===null}`
});
}
@ -374,7 +386,10 @@
const clickcard = (element) => {
if (address.value.length < 3) {
list.value = [];
address.value.push(element)
getdate(element.id).then(res => {
if (res.result.length) {
list.value = dedupeFirstLetter(res.result)
@ -438,29 +453,29 @@
}
function formatArea() {
const value = form.orgBuildingArea;
const firstDot = value.indexOf('.');
const lastDot = value.lastIndexOf('.');
const value = form.orgBuildingArea;
const firstDot = value.indexOf('.');
const lastDot = value.lastIndexOf('.');
let cleaned = value;
let cleaned = value;
//
if (firstDot !== lastDot) {
cleaned = value.slice(0, lastDot);
}
//
if (firstDot !== lastDot) {
cleaned = value.slice(0, lastDot);
}
// 4
if (cleaned.includes('.')) {
const [intPart, decimalPart] = cleaned.split('.');
cleaned = intPart + '.' + decimalPart.slice(0, 4);
}
// 4
if (cleaned.includes('.')) {
const [intPart, decimalPart] = cleaned.split('.');
cleaned = intPart + '.' + decimalPart.slice(0, 4);
}
//
if (cleaned !== value) {
nextTick(() => {
form.orgBuildingArea = cleaned;
});
}
//
if (cleaned !== value) {
nextTick(() => {
form.orgBuildingArea = cleaned;
});
}
}
onLoad(() => {
getdate(`xzqhdm`).then(res => {
@ -483,7 +498,8 @@
} else if (uni.getStorageSync('baddata')) {
let data = uni.getStorageSync('baddata');
if (data.orgProvince_dictText) {
form.address = data.orgProvince_dictText + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``)
form.address = data.orgProvince_dictText + (data.orgCity_dictText != null ? data.orgCity_dictText :
``) + (data.orgDistrict_dictText != null ? data.orgDistrict_dictText : ``)
// textArray1[0] = (data.orgProvince_dictText || "") + (data.orgCity_dictText!=null?data.orgCity_dictText:``) + (data.orgDistrict_dictText!=null?data.orgDistrict_dictText:``);
}
form.orgProvince = data.orgProvince;
@ -686,17 +702,15 @@
width: 100%;
.title-font {
font-size: 35rpx;
font-size: 38rpx;
font-weight: 600;
}
.title-imge {
width: 35rpx;
height: 35rpx;
position: absolute;
top: 50%;
right: 40rpx;
transform: translateY(-50%);
width: 20rpx;
height: 20rpx;
margin-left: 10rpx;
margin-top: 5rpx;
}
background-color: #fff;
@ -789,6 +803,38 @@
font-size: 30rpx;
color: #999999;
}
.all-bgc {
background-image: url('https://www.focusnu.com/media/directive/index/where.png');
background-size: 100% auto;
/* 宽度占满,高度自动 */
background-position: top center;
background-repeat: no-repeat;
}
.title-imge-title {
width: 100rpx;
height: 120rpx;
position: absolute;
// top: 50%;
top: 10rpx;
right: 80rpx;
// transform: translateY(-50%);
}
.button-father {
height: 60rpx;
width: 23%;
display: flex;
align-items: center;
justify-content: center;
// justify-content: space-between;
position: relative;
background-color: #F5F5F5;
color: #666666;
border-radius: 30rpx;
margin-left: 30rpx;
}
</style>
<style>
.uni-scroll-view {

View File

@ -1,6 +1,7 @@
<template>
<div class="container">
<u-modal v-model="show" :content="content"></u-modal>
<!-- <u-modal v-model="show" :content="content"></u-modal> -->
<model :show="show" @close="show=false" :content="content" />
<view class="white-content">
<view class="content-title">
<view class="content-weight">身份证上传</view>
@ -12,8 +13,11 @@
<view class="photo-font">请上传身份证人像面</view>
</view>
<view style="position: relative;">
<image class="photo" :src="headImge ? headImge : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
<image v-if="!headImge" style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);" src="https://www.focusnu.com/media/directive/index/takephoto.png" />
<image class="photo"
:src="headImge ? headImge : `https://www.focusnu.com/media/directive/index/IDcard.png`" />
<image v-if="!headImge"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
</view>
</view>
@ -23,8 +27,11 @@
<view class="photo-font">请上传身份证国徽面</view>
</view>
<view style="position: relative;">
<image class="photo" :src="backImge ? backImge : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
<image v-if="!backImge" style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);" src="https://www.focusnu.com/media/directive/index/takephoto.png" />
<image class="photo"
:src="backImge ? backImge : `https://www.focusnu.com/media/directive/index/backIDcard.png`" />
<image v-if="!backImge"
style="position: absolute;top: 50%;left: 50%;width: 70rpx;height: 60rpx;transform: translate(-50%,-50%);"
src="https://www.focusnu.com/media/directive/index/takephoto.png" />
</view>
</view>
@ -61,6 +68,7 @@
ref,
reactive
} from 'vue'
import model from "@/compontent/public/model.vue"
const show = ref(false);
const content = ref("");
@ -148,8 +156,12 @@
}
})
}
function isAtLeastEightChars(str) {
return typeof str === 'string' && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true
}

View File

@ -1,6 +1,7 @@
<template>
<view class="login-container">
<u-modal title="驳回原因" v-model="show" :content="content"></u-modal>
<!-- <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">
<view v-for="(item,index) in menuArray" :key="index">
@ -167,6 +168,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"
const tu = 'https://www.focusnu.com/media/directive/index/tu.png'
const show = ref(false);
@ -617,8 +619,9 @@
}
.jia {
width: 30rpx;
height: 30rpx;
margin-top: -5rpx;
width: 25rpx;
height: 25rpx;
border-radius: 50%;
// background-color: rgb(1, 168, 255);
background-color: #fff;
@ -630,17 +633,16 @@
font-size: 30rpx;
.jia-img {
width: 20rpx;
height: 20rpx;
width: 18rpx;
height: 18rpx;
z-index: 2;
}
}
.gray-box {
border-radius: 20rpx;
height: 30rpx;
width: 50rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: #fff;
// border: 1rpx black solid;
@ -648,8 +650,8 @@
.black-box {
border-radius: 20rpx;
height: 30rpx;
width: 50rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: black;
}

View File

@ -12,10 +12,10 @@
</view>
</view>
<view class="button-blue" v-if="canClick" @click="jumpto">
验证码
验证码
</view>
<view class="button-gray" v-if="!canClick">
验证码
验证码
</view>
</view>
<view class="bg-mask" v-if="huakuaiOpen" @click="huakuaiOpen=false">

View File

@ -171,7 +171,7 @@
if (options.no) {
no.value = true
}
if(options.special){
if(options.special==`true`){
special.value = true
}
})

View File

@ -0,0 +1,159 @@
<template>
<view class="font-father">
<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>
<view class="font-title">
申请已成功提交
</view>
<view class="normal">
<text>
请耐心等待审核结果
</text>
</view>
<view class="normal">
<text style="font-weight: 600;">
期待您早日加入护理单元大家庭
</text>
</view>
</view>
<view class="bottom-button" @click="jumpto">
我的机构
</view>
</view>
</template>
<script setup>
import {
onLoad
} from '@dcloudio/uni-app'
import {
reactive,
ref
} from 'vue';
import {
getMessage
} from '@/api/loginApi.js'
const special = ref(false);
const jumpto = () => {
uni.redirectTo({
url: `/pages/index/index`
});
}
onLoad((options) => {
if (options.special == `true`) {
special.value = true
}
})
</script>
<style lang="scss" scoped>
.font-father {
width: 100%;
min-height: 100vh;
padding: 0 30rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
background-color: rgb(239, 239, 239);
.font-title {
margin-top: 0rpx;
margin-bottom: 30rpx;
font-weight: 600;
font-size: 32rpx;
// padding: 0 30rpx;
display: flex;
flex-direction: column;
// width: 100%;
font-size: 80rpx;
// margin-left: -5rpx;
}
.bottom-button {
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 0rpx;
margin-top: 80rpx;
margin-bottom: 170rpx;
width: 80%;
// margin-left: 30rpx;
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;
}
.fixed {
position: fixed;
top: 0;
left: 0;
background-color: #fff;
width: 100%;
z-index: 2;
padding: 0 70rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.small-title {
// margin-top: 30rpx;
margin-bottom: 30rpx;
font-size: 38rpx;
// font-weight: 600;
}
.normal {
font-size: 38rpx;
margin-bottom: 20rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.title-photo{
margin-top: 300rpx;
// margin-bottom: 30rpx;
width: 350rpx;
height: 350rpx;
z-index: 1;
}
</style>

View File

@ -141,7 +141,7 @@
// url: `/pages/login/phonebumber`
// });
uni.navigateTo({
url: `/pages/login/special`
url: `/pages/login/specialsmall`
});
// uni.navigateTo({
// url: `/pages/addjigou/all`

View File

@ -24,11 +24,17 @@
<view style="font-size: 32rpx;">
{{item.comName}}
</view>
<image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" />
<!-- <image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" /> -->
<view class="bottom-father">
<!-- <view style="font-weight: 600;margin-top: 5rpx;">
申请加盟
</view> -->
<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}}
</view>
<view style="margin-top: 10rpx;">
<text style="color: #999;"> 审核日期</text>{{item.auditTime}}
</view>
</view>
<view class=""></view>
<image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status)-1)]}.png`" />
</view>
@ -234,8 +240,8 @@
justify-content: space-between;
}
.bottom-img{
width: 140rpx;
height: 120rpx;
width: 160rpx;
height: 140rpx;
}
.blue-button {
margin-top: 20rpx;

View File

@ -30,13 +30,25 @@
<view style="font-size: 32rpx;">
{{item.comName}}
</view>
<image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" />
<view class="bottom-father">
<view style="font-weight: 600;margin-top: 5rpx;" :style="item.status==`5`?{color:`red`}:{}">
{{ item.status? namearraay[Number(item.status)] :"" }}
<view style="margin-top: 45rpx;">
<view class="">
<text style="color: #999;"> {{(index == workArray.length-1)?`申请`: `变更` }}日期</text>{{item.commitTime}}
</view>
<view style="margin-top: 10rpx;">
<text style="color: #999;"> 审核日期</text>{{item.auditTime}}
</view>
</view>
<!-- <image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status)-1)]}.png`" /> -->
<view class=""></view>
<image class="bottom-img" :src="`https://www.focusnu.com/media/directive/index/${statusarray[(Number(item.status))]}.png`" />
</view>
<!-- <image class="enter-img" src="https://www.focusnu.com/media/directive/index/right.png" /> -->
<!-- <view class="bottom-father">
<view style="font-weight: 600;margin-top: 5rpx;" :style="item.status==`5`?{color:`red`}:{}">
{{ item.status ? namearraay[Number(item.status)] :"" }}
</view>
</view> -->
<!-- <view class="blue-button" v-if="item.modifyStatus==null || item.modifyStatus==`5` || item.modifyStatus==`2`" @click.stop="again(item)">
信息修改
</view> -->
@ -67,8 +79,8 @@
const type = ref(0)
const workArray = ref([])
const special = ref(false);
const statusarray = ["loading","success","fail"]
const namearraay = ["","","变更完成","","变更申请中","变更驳回"]
const statusarray = ["success","loading","success","fail","loading","fail"]
const namearraay = ["审核通过","审核中","审核通过","审核不通过","审核中","审核不通过"]
// URL
onLoad((options) => {
uni.getStorage({
@ -111,7 +123,7 @@
const jumpToAll = (element) => {
// console.log("?????",element)
uni.navigateTo({
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=true`
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=1`
});
}

View File

@ -8,27 +8,40 @@
width: `${canvansWidth}px`,
height: `${canvansHeight}px`
}"></canvas>
<view class="whitefont">
请调整图片尺寸放入取景框内
<view class="whitefont" >
<view class="action-bar-special">
<view class="rotate-icon" @click=""></view>
</view>
<view class="">
请调整图片尺寸放入取景框内
</view>
</view>
<view id="pic-preview" class="pic-preview" :change:init="cropper.initObserver" :init="initData" @touchstart="cropper.touchstart" @touchmove="cropper.touchmove" @touchend="cropper.touchend">
<image v-if="imgSrc" id="crop-image" class="crop-image" :style="cropper.imageStyles" :src="imgSrc" webp></image>
<view v-for="(item, index) in maskList" :key="item.id" :id="item.id" class="crop-mask-block" :style="cropper.maskStylesList[index]"></view>
<view v-if="showBorder" id="crop-border" class="crop-border" :style="cropper.borderStyles"></view>
<view id="pic-preview" class="pic-preview" :change:init="cropper.initObserver" :init="initData"
@touchstart="cropper.touchstart" @touchmove="cropper.touchmove" @touchend="cropper.touchend">
<image v-if="imgSrc" id="crop-image" class="crop-image" :style="cropper.imageStyles" :src="imgSrc" webp>
</image>
<view v-for="(item, index) in maskList" :key="item.id" :id="item.id" class="crop-mask-block"
:style="cropper.maskStylesList[index]"></view>
<view v-if="showBorder" id="crop-border" class="crop-border">
<view class="border-son"></view>
</view>
<view v-if="radius > 0" id="crop-circle-box" class="crop-circle-box" :style="cropper.circleBoxStyles">
<view class="crop-circle" id="crop-circle" :style="cropper.circleStyles"></view>
</view>
<block v-if="showGrid">
<view v-for="(item, index) in gridList" :key="item.id" :id="item.id" class="crop-grid" :style="cropper.gridStylesList[index]"></view>
<view v-for="(item, index) in gridList" :key="item.id" :id="item.id" class="crop-grid"
:style="cropper.gridStylesList[index]"></view>
</block>
<block v-if="showAngle">
<view v-for="(item, index) in angleList" :key="item.id" :id="item.id" class="crop-angle" :style="cropper.angleStylesList[index]">
<!-- <block v-if="showAngle">
<view v-for="(item, index) in angleList" :key="item.id" :id="item.id" class="crop-angle"
:style="cropper.angleStylesList[index]">
<view :style="[{
width: `${angleSize}px`,
height: `${angleSize}px`
}]"></view>
</view>
</block>
</block> -->
</view>
<slot />
<view class="fixed-bottom safe-area-inset-bottom" :style="{ zIndex: initData.area.zIndex + 99 }">
@ -61,7 +74,7 @@
// vue3 app renderjs
cropper.setPlatform('APP');
export default {
mixins: [ cropper ]
mixins: [cropper]
}
</script>
<!-- #endif -->
@ -69,7 +82,7 @@
<script module="cropper" lang="renderjs">
import cropper from './qf-image-cropper.render.js';
export default {
mixins: [ cropper ]
mixins: [cropper]
}
</script>
<!-- #endif -->
@ -83,7 +96,7 @@
const IMG_SIZE = 300;
export default {
name:"qf-image-cropper",
name: "qf-image-cropper",
// #ifdef MP-WEIXIN
options: {
// 使 class
@ -186,7 +199,7 @@
/** 裁剪图片圆角半径单位px */
radius: {
type: Number,
default: 0
default: 60
},
/** 生成文件的类型,只支持 'jpg' 或 'png'。默认为 'png' */
fileType: {
@ -218,23 +231,44 @@
data() {
return {
// id 使 v-for key
maskList: [
{ id: 'crop-mask-block-1' },
{ id: 'crop-mask-block-2' },
{ id: 'crop-mask-block-3' },
{ id: 'crop-mask-block-4' },
maskList: [{
id: 'crop-mask-block-1'
},
{
id: 'crop-mask-block-2'
},
{
id: 'crop-mask-block-3'
},
{
id: 'crop-mask-block-4'
},
],
gridList: [
{ id: 'crop-grid-1' },
{ id: 'crop-grid-2' },
{ id: 'crop-grid-3' },
{ id: 'crop-grid-4' },
gridList: [{
id: 'crop-grid-1'
},
{
id: 'crop-grid-2'
},
{
id: 'crop-grid-3'
},
{
id: 'crop-grid-4'
},
],
angleList: [
{ id: 'crop-angle-1' },
{ id: 'crop-angle-2' },
{ id: 'crop-angle-3' },
{ id: 'crop-angle-4' },
angleList: [{
id: 'crop-angle-1'
},
{
id: 'crop-angle-2'
},
{
id: 'crop-angle-3'
},
{
id: 'crop-angle-4'
},
],
/** 本地缓存的图片路径 */
imgSrc: '',
@ -329,7 +363,7 @@
let canvansHeight = this.imgHeight;
let size = Math.max(canvansWidth, canvansHeight)
let scalc = 1;
if(size > 1365) {
if (size > 1365) {
scalc = 1365 / size;
}
this.canvansWidth = canvansWidth * scalc;
@ -379,14 +413,21 @@
const right = left + width;
const top = (this.sys.windowHeight + this.sys.windowTop - this.sys.offsetBottom - height) / 2;
const bottom = this.sys.windowHeight + this.sys.windowTop - this.sys.offsetBottom - top;
this.area = { width, height, left, right, top, bottom };
this.area = {
width,
height,
left,
right,
top,
bottom
};
this.scaleWidth = width;
this.scaleHeight = height;
},
/** 从本地选取图片 */
chooseImage(options) {
// #ifdef MP-WEIXIN || MP-JD
if(uni.chooseMedia) {
if (uni.chooseMedia) {
uni.chooseMedia({
...options,
count: 1,
@ -424,19 +465,22 @@
uni.getImageInfo({
src: url,
success: async (res) => {
if (isFirst && this.src === url) await (new Promise((resolve) => setTimeout(resolve, 50)));
if (isFirst && this.src === url) await (new Promise((resolve) => setTimeout(resolve,
50)));
this.imgSrc = res.path;
let scale = res.width / res.height;
let areaScale = this.area.width / this.area.height;
if (scale > 1) { //
if (scale >= areaScale) { //
this.scaleWidth = (this.scaleHeight / res.height) * this.scaleWidth * (res.width / this.scaleWidth);
this.scaleWidth = (this.scaleHeight / res.height) * this.scaleWidth * (res
.width / this.scaleWidth);
} else { //
this.scaleHeight = res.height * this.scaleWidth / res.width;
}
} else { //
if (scale <= areaScale) { //
this.scaleHeight = (this.scaleWidth / res.width) * this.scaleHeight / (this.scaleHeight / res.height);
this.scaleHeight = (this.scaleWidth / res.width) * this.scaleHeight / (this
.scaleHeight / res.height);
} else { //
this.scaleWidth = res.width * this.scaleHeight / res.height;
}
@ -458,15 +502,15 @@
* @param {Function} drawImage 执行剪切时所调用的绘图方法入参为是否执行了剪切
*/
drawClipImage(ctx, radius, scale, drawImage) {
if(radius > 0) {
if (radius > 0) {
ctx.save();
ctx.beginPath();
const w = this.canvansWidth;
const h = this.canvansHeight;
if(w === h && radius >= w / 2) { //
if (w === h && radius >= w / 2) { //
ctx.arc(w / 2, h / 2, w / 2, 0, 2 * Math.PI);
} else { //
if(w !== h) { //
if (w !== h) { //
radius = Math.min(w / 2, h / 2, radius);
// radius = Math.min(Math.max(w, h) / 2, radius);
}
@ -491,7 +535,7 @@
* @param {Number} scale 生成图片的实际尺寸与截取区域比
*/
drawRotateImage(ctx, rotate, scale) {
if(rotate !== 0) {
if (rotate !== 0) {
// 1.
const x = this.scaleWidth * scale / 2;
const y = this.scaleHeight * scale / 2;
@ -505,8 +549,8 @@
drawImage(ctx, image, callback) {
//
const scale = this.canvansWidth / this.area.width;
if(this.backgroundColor) {
if(ctx.setFillStyle) ctx.setFillStyle(this.backgroundColor);
if (this.backgroundColor) {
if (ctx.setFillStyle) ctx.setFillStyle(this.backgroundColor);
else ctx.fillStyle = this.backgroundColor;
ctx.fillRect(0, 0, this.canvansWidth, this.canvansHeight);
}
@ -541,7 +585,7 @@
*/
draw2DImage(canvas, ctx, src, callback) {
// console.log('draw2DImage', canvas, ctx, src, callback)
if(canvas) {
if (canvas) {
const image = canvas.createImage();
image.onload = () => {
this.drawImage(ctx, image);
@ -583,14 +627,20 @@
},
fail: (err) => {
uni.hideLoading();
uni.showToast({ title: '裁剪失败,生成图片异常!', icon: 'none' });
uni.showToast({
title: '裁剪失败,生成图片异常!',
icon: 'none'
});
}
}, this);
},
/** 确认裁剪 */
cropClick() {
uni.showLoading({ title: '裁剪中...', mask: true });
if(!this.use2d) {
uni.showLoading({
title: '裁剪中...',
mask: true
});
if (!this.use2d) {
const ctx = uni.createCanvasContext('imgCanvas', this);
ctx.clearRect(0, 0, this.canvansWidth, this.canvansHeight);
this.draw2DImage(null, ctx, this.imgSrc, () => {
@ -601,7 +651,10 @@
// #ifdef MP-WEIXIN
const query = uni.createSelectorQuery().in(this);
query.select('#imgCanvas')
.fields({ node: true, size: true })
.fields({
node: true,
size: true
})
.exec((res) => {
const canvas = res[0].node;
@ -618,11 +671,13 @@
});
// #endif
},
handleImage(tempFilePath){
handleImage(tempFilePath) {
// H5tempFilePath base64
// console.log(tempFilePath)
uni.hideLoading();
this.$emit('crop', { tempFilePath });
this.$emit('crop', {
tempFilePath
});
}
}
}
@ -639,10 +694,12 @@
display: flex;
flex-direction: column;
background-color: #000;
.img-canvas {
position: absolute !important;
transform: translateX(-100%);
}
.pic-preview {
width: 100%;
flex: 1;
@ -655,17 +712,20 @@
box-sizing: border-box;
pointer-events: none;
}
.crop-circle-box {
position: fixed;
box-sizing: border-box;
z-index: 2;
pointer-events: none;
overflow: hidden;
.crop-circle {
width: 100%;
height: 100%;
}
}
.crop-image {
padding: 0 !important;
margin: 0 !important;
@ -673,13 +733,33 @@
display: block !important;
backface-visibility: hidden;
}
.crop-border {
position: fixed;
border: 1px solid #fff;
// border: 1px solid #fff;
box-sizing: border-box;
z-index: 3;
pointer-events: none;
// border-radius: 50rpx;
// margin-left: 200rpx;
// padding: 20rpx;
.border-son{
width: 625rpx;
height: 440rpx;
margin-top: -33rpx;
margin-left: -34rpx;
// border: 1px solid #fff;
border-radius: 30rpx;
background-image: url('https://www.focusnu.com/media/directive/login/border.png');
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
// width: 65rpx;
// height: 65rpx;
}
}
.crop-grid {
position: fixed;
z-index: 3;
@ -688,6 +768,7 @@
pointer-events: none;
opacity: 0.5;
}
.crop-angle {
position: fixed;
z-index: 3;
@ -709,7 +790,7 @@
// border-top-right-radius: 30rpx;
// border-top-left-radius: 30rpx;
.action-bar-anther{
.action-bar-anther {
position: absolute;
top: -110rpx;
left: 170rpx;
@ -718,8 +799,9 @@
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63,63,63);
background-color: rgb(63, 63, 63);
border-radius: 50%;
.rotate-icon {
background-image: url('https://www.focusnu.com/media/directive/login/smallicon.png');
background-size: 60% 60%;
@ -727,50 +809,56 @@
background-position: center;
width: 65rpx;
height: 65rpx;
&.is-reverse {
transform: rotateY(0deg);
}
}
}
.action-bar {
position: absolute;
top: -110rpx;
left: 40rpx;
display: flex;
width: 100rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63,63,63);
border-radius: 50%;
.rotate-icon {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCFJREFUaEPtml3IpVMUx3//ko/ChTIyiGFSMyhllI8bc4F85yuNC2FCqLmQC1+FZORiEkUMNW7UjKjJULgxV+NzSkxDhEkZgwsyigv119J63p7zvOc8z37OmXdOb51dz82711r7/99r7bXXXucVi3xokeNnRqCvB20fDmwAlgK/5bcD+FTSr33tHXQP2H4MeHQE0A+B5yRtLiUyDQJrgVc6AAaBpyV93kXkoBMIQLbfBS5NcK8BRwDXNcD+AdwnaVMbiWkRCPBBohpxHuK7M7865sclRdgNHVMhkF6IMIpwirFEUhzo8M7lwIvASTXEqyVtH8ZgagQSbOzsDknv18HZXpHn5IL8+94IOUm7miSmSqAttjPdbgGuTrnNktYsGgLpoYuAD2qg1zRTbG8P2D4SOC6/Q7vSHPALsE/S7wWy80RsPw/ckxMfSTq/LtRJwPbxwF3ASiCUTxwHCPAnEBfVF8AWSTtL7Ng+LfWOTfmlkn6udFsJ5K15R6a4kvX6yGyUFBvTOWzHXXFzCt4g6c1OArYj9iIGh43YgR+BvztXh1PSa4cMkd0jaVmXDduPAE+k3HpJD7cSGFKvfAc8FQUX8IOk/V2L1udtB/hTgdOBW4Aba/M7Ja1qs2f7euCNlHlZUlx4/495IWQ7Jl+qGbxX0gt9AHfJ2o6zFBVoNVrDKe+F3Sm8VdK1bQQ+A85JgXckXdkFaJx527cC9TpnVdvBtl3h2iapuhsGPdBw1b9xnUvaNw7AEh3bnwDnpuwGSfeP0rN9NvAMELXRXFkxEEK2nwQeSiOtRVQJwC4Z29cAW1Nuu6TVXTrN+SaBt4ErUug2Sa/2NdhH3vZy4NvU2S/p6D768w5xI3WOrAD7LtISFpGdIhVXKfaYvjd20wP13L9M0p4DBbaFRKToSLExVkr6qs+aIwlI6iwz+izUQqC+ab29PiMwqRcmPXczD8w8MFj1zg7xXEqbpdHCw7FgWSjafZL+KcQxtpjteCeflwYulFR/J3TabSslVkj6utPChAK2f6q9uZdLitKieLQRuExSvX9ZbLRUMFs09efpUZL+KtUfVo1GW/umNHC3pOhRLtiwfSbwZS6wV9IJfRdreuBBYH0a2STp9r4G+8jbXgc8mzoDT8VSO00ClwDv1ZR7XyylC4ec7ejaLUmdsV6Aw7oSbwFXpdFdks7qA6pU1na0aR6owgeIR/1cx63UzjAC0YXYVjMQHlkn6ZtSo21ytuPZGKFagQ/xsXZ/3iGuFrYdjafXG0DiQMeBi47c9/GV3BO247UV38n5o0UAP6xmu7jFOGxjRr66On5NPBDOCBsDTapxjHY1dyOcolNXnYlx1himE53p2PmNkxosevfavhg4Izt2k7TXPwZ2S6p6QZPin/2rwcQ7OKmBohCadJGF1P8PG6aaQBKVX/8AAAAASUVORK5CYII=');
background-size: 60% 60%;
background-repeat: no-repeat;
background-position: center;
width: 70rpx;
height: 70rpx;
&.is-reverse {
transform: rotateY(180deg);
}
}
}
.action-bar-right {
position: absolute;
top: -110rpx;
right: 50rpx;
display: flex;
width:240rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63,63,63);
border-radius: 50rpx;
color: #fff;
.action-bar {
position: absolute;
top: -110rpx;
left: 40rpx;
display: flex;
width: 100rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63, 63, 63);
border-radius: 50%;
.rotate-icon {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABCFJREFUaEPtml3IpVMUx3//ko/ChTIyiGFSMyhllI8bc4F85yuNC2FCqLmQC1+FZORiEkUMNW7UjKjJULgxV+NzSkxDhEkZgwsyigv119J63p7zvOc8z37OmXdOb51dz82711r7/99r7bXXXucVi3xokeNnRqCvB20fDmwAlgK/5bcD+FTSr33tHXQP2H4MeHQE0A+B5yRtLiUyDQJrgVc6AAaBpyV93kXkoBMIQLbfBS5NcK8BRwDXNcD+AdwnaVMbiWkRCPBBohpxHuK7M7865sclRdgNHVMhkF6IMIpwirFEUhzo8M7lwIvASTXEqyVtH8ZgagQSbOzsDknv18HZXpHn5IL8+94IOUm7miSmSqAttjPdbgGuTrnNktYsGgLpoYuAD2qg1zRTbG8P2D4SOC6/Q7vSHPALsE/S7wWy80RsPw/ckxMfSTq/LtRJwPbxwF3ASiCUTxwHCPAnEBfVF8AWSTtL7Ng+LfWOTfmlkn6udFsJ5K15R6a4kvX6yGyUFBvTOWzHXXFzCt4g6c1OArYj9iIGh43YgR+BvztXh1PSa4cMkd0jaVmXDduPAE+k3HpJD7cSGFKvfAc8FQUX8IOk/V2L1udtB/hTgdOBW4Aba/M7Ja1qs2f7euCNlHlZUlx4/495IWQ7Jl+qGbxX0gt9AHfJ2o6zFBVoNVrDKe+F3Sm8VdK1bQQ+A85JgXckXdkFaJx527cC9TpnVdvBtl3h2iapuhsGPdBw1b9xnUvaNw7AEh3bnwDnpuwGSfeP0rN9NvAMELXRXFkxEEK2nwQeSiOtRVQJwC4Z29cAW1Nuu6TVXTrN+SaBt4ErUug2Sa/2NdhH3vZy4NvU2S/p6D768w5xI3WOrAD7LtISFpGdIhVXKfaYvjd20wP13L9M0p4DBbaFRKToSLExVkr6qs+aIwlI6iwz+izUQqC+ab29PiMwqRcmPXczD8w8MFj1zg7xXEqbpdHCw7FgWSjafZL+KcQxtpjteCeflwYulFR/J3TabSslVkj6utPChAK2f6q9uZdLitKieLQRuExSvX9ZbLRUMFs09efpUZL+KtUfVo1GW/umNHC3pOhRLtiwfSbwZS6wV9IJfRdreuBBYH0a2STp9r4G+8jbXgc8mzoDT8VSO00ClwDv1ZR7XyylC4ec7ejaLUmdsV6Aw7oSbwFXpdFdks7qA6pU1na0aR6owgeIR/1cx63UzjAC0YXYVjMQHlkn6ZtSo21ytuPZGKFagQ/xsXZ/3iGuFrYdjafXG0DiQMeBi47c9/GV3BO247UV38n5o0UAP6xmu7jFOGxjRr66On5NPBDOCBsDTapxjHY1dyOcolNXnYlx1himE53p2PmNkxosevfavhg4Izt2k7TXPwZ2S6p6QZPin/2rwcQ7OKmBohCadJGF1P8PG6aaQBKVX/8AAAAASUVORK5CYII=');
background-size: 60% 60%;
background-repeat: no-repeat;
background-position: center;
width: 70rpx;
height: 70rpx;
&.is-reverse {
transform: rotateY(180deg);
}
}
}
.action-bar-right {
position: absolute;
top: -110rpx;
right: 50rpx;
display: flex;
width: 240rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63, 63, 63);
border-radius: 50rpx;
color: #fff;
font-size: 30rpx;
}
}
.rechoose {
color: rgb(51,51,51);
color: rgb(51, 51, 51);
padding: 0 $uni-spacing-row-lg;
line-height: 100rpx;
}
@ -800,17 +888,45 @@
}
}
.whitefont{
.action-bar-special {
display: flex;
width: 100rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: rgb(63, 63, 63);
border-radius: 50%;
z-index: 3;
z-index: 999;
margin-top: 0rpx;
margin-bottom: 35rpx;
.rotate-icon {
background-image: url('https://www.focusnu.com/media/directive/login/jietu.png');
background-size: 60% 60%;
background-repeat: no-repeat;
background-position: center;
width: 65rpx;
height: 65rpx;
&.is-reverse {
transform: rotateY(0deg);
}
}
}
.whitefont {
font-size: 25rpx;
color: #fff;
width: 100%;
z-index: 3;
// z-index: 998;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 60%;
top: 72%;
left: 50%;
transform: translate(-50%,-60%);
transform: translate(-50%, -72%);
flex-direction: column;
}
</style>

View File

@ -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;;;"}

View File

@ -1 +1 @@
{"version":3,"file":"camera.js","sources":["compontent/public/camera.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/Y29tcG9udGVudC9wdWJsaWMvY2FtZXJhLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<!-- https://ext.dcloud.net.cn/plugin?id=10333文档在这里自己看 -->\r\n\t\t<qf-image-cropper :src=\"src\" :width=\"width\" :height=\"height\" :radius=\"0\" @crop=\"handleCrop\" />\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\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app';\r\n\timport QfImageCropper from '@/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue'\r\n\r\n\t// 图片源\r\n\tconst src = ref('') // 可以根据需要动态设置图片路径\r\n\tconst type = ref(0);\r\n\tconst width = ref(900);\r\n\tconst height = ref(600);\r\n\t// 裁剪完成的回调\r\n\tconst handleCrop = (e) => {\r\n\t\t// console.log(\"剪切完了\")\r\n\t\tuni.setStorageSync(`imgkey${type.value}`, e.tempFilePath);\r\n\t\tuni.navigateBack()\r\n\t}\r\n\tonLoad((options) => {\r\n\t\tsrc.value = options.url\r\n\t\t//type是一个页面有两个照相的时候做个类型区分\r\n\t\ttype.value = options.type\r\n\t\tif(options.size){\r\n\t\t\twidth.value = 1500;\r\n\t\t\theight.value = 1000;\r\n\t\t}\r\n\t});\r\n</script>","import MiniProgramPage from 'D:/hldy_xcx/compontent/public/camera.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad","MiniProgramPage"],"mappings":";;;;;AAcC,MAAM,iBAAiB,MAAW;;;;AAGlC,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClB,UAAM,OAAOA,kBAAI,CAAC;AAClB,UAAM,QAAQA,kBAAI,GAAG;AACrB,UAAM,SAASA,kBAAI,GAAG;AAEtB,UAAM,aAAa,CAAC,MAAM;AAEzBC,0BAAI,eAAe,SAAS,KAAK,KAAK,IAAI,EAAE,YAAY;AACxDA,oBAAAA,MAAI,aAAc;AAAA,IAClB;AACDC,kBAAM,OAAC,CAAC,YAAY;AACnB,UAAI,QAAQ,QAAQ;AAEpB,WAAK,QAAQ,QAAQ;AACrB,UAAG,QAAQ,MAAK;AACf,cAAM,QAAQ;AACd,eAAO,QAAQ;AAAA,MACf;AAAA,IACH,CAAE;;;;;;;;;;;;;;AClCF,GAAG,WAAWC,SAAe;"}
{"version":3,"file":"camera.js","sources":["compontent/public/camera.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/Y29tcG9udGVudC9wdWJsaWMvY2FtZXJhLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<!-- https://ext.dcloud.net.cn/plugin?id=10333文档在这里自己看 -->\r\n\t\t<qf-image-cropper :src=\"src\" :width=\"width\" :height=\"height\" :radius=\"10\" @crop=\"handleCrop\" />\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\timport {\r\n\t\tonLoad\r\n\t} from '@dcloudio/uni-app';\r\n\timport QfImageCropper from '@/uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue'\r\n\r\n\t// 图片源\r\n\tconst src = ref('') // 可以根据需要动态设置图片路径\r\n\tconst type = ref(0);\r\n\tconst width = ref(900);\r\n\tconst height = ref(600);\r\n\t// 裁剪完成的回调\r\n\tconst handleCrop = (e) => {\r\n\t\t// console.log(\"剪切完了\")\r\n\t\tuni.setStorageSync(`imgkey${type.value}`, e.tempFilePath);\r\n\t\tuni.navigateBack()\r\n\t}\r\n\tonLoad((options) => {\r\n\t\tsrc.value = options.url\r\n\t\t//type是一个页面有两个照相的时候做个类型区分\r\n\t\ttype.value = options.type\r\n\t\tif(options.size){\r\n\t\t\twidth.value = 1500;\r\n\t\t\theight.value = 1000;\r\n\t\t}\r\n\t});\r\n</script>","import MiniProgramPage from 'D:/hldy_xcx/compontent/public/camera.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad","MiniProgramPage"],"mappings":";;;;;AAcC,MAAM,iBAAiB,MAAW;;;;AAGlC,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClB,UAAM,OAAOA,kBAAI,CAAC;AAClB,UAAM,QAAQA,kBAAI,GAAG;AACrB,UAAM,SAASA,kBAAI,GAAG;AAEtB,UAAM,aAAa,CAAC,MAAM;AAEzBC,0BAAI,eAAe,SAAS,KAAK,KAAK,IAAI,EAAE,YAAY;AACxDA,oBAAAA,MAAI,aAAc;AAAA,IAClB;AACDC,kBAAM,OAAC,CAAC,YAAY;AACnB,UAAI,QAAQ,QAAQ;AAEpB,WAAK,QAAQ,QAAQ;AACrB,UAAG,QAAQ,MAAK;AACf,cAAM,QAAQ;AACd,eAAO,QAAQ;AAAA,MACf;AAAA,IACH,CAAE;;;;;;;;;;;;;;AClCF,GAAG,WAAWC,SAAe;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"model.js","sources":["compontent/public/model.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV94Y3gvY29tcG9udGVudC9wdWJsaWMvbW9kZWwudnVl"],"sourcesContent":["<template>\n <!-- 通过 v-show 控制显隐,并根据 show 添加 is-active 类触发 CSS 过渡 -->\n <view :class=\"['neuro-wrapper', show ? 'is-active' : '']\" v-show=\"show\">\n <!-- 遮罩层,点击触发关闭 -->\n <view class=\"neuro-mask\" @click=\"handleClose\"></view>\n <!-- 拟态框,阻止冒泡点击 -->\n <view class=\"neuro-box\" @click.stop>\n <view class=\"tittle-bgc\">\n <view class=\"text\">提示</view>\n </view>\n <view class=\"button\" @click=\"handleClose\">确定</view>\n <view style=\"font-size: 35rpx;\">{{ content }}</view>\n </view>\n </view>\n</template>\n\n<script setup>\r\n\t\r\n\t\n// 接收 show 属性并支持 update:show 事件\nconst props = defineProps({\n show: {\n type: Boolean,\n default: true\n },\n content: {\n type: String,\n default: ''\n }\n});\nconst emit = defineEmits([\"close\"]);\n\n// 关闭方法,通知父组件更新 show\nfunction handleClose() {\n emit('close');\n}\n</script>\n\n<style lang=\"scss\" scoped>\n/* 容器默认隐藏,透明度为 0不接受点击 */\n.neuro-wrapper {\n position: fixed;\n inset: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 999;\n opacity: 0;\n pointer-events: none;\n transition: opacity 0.3s ease;\n}\n/* 显示时透明度过渡到 1可接受点击 */\n.neuro-wrapper.is-active {\n opacity: 1;\n pointer-events: auto;\n}\n\n/* 遮罩层,半透明黑色 */\n.neuro-mask {\n position: absolute;\n inset: 0;\n background-color: rgba(0, 0, 0, 0.3);\n}\n\n/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */\n.neuro-box {\n position: relative;\n width: 550rpx;\n height: 600rpx;\n border-radius: 20rpx;\n background-color: #fff;\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 1;\r\n padding: 0 10%;\n}\n\n.tittle-bgc {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 300rpx;\n background-image: url('https://www.focusnu.com/media/directive/index/modelbgc.png');\n background-size: 100% auto;\n background-position: top center;\n background-repeat: no-repeat;\n\n .text {\n color: #47526F;\n font-size: 40rpx;\n margin: 40rpx 0 0 50rpx;\n font-weight: 600;\n }\n}\n\n.button {\n position: absolute;\n bottom: 50rpx;\n left: 50%;\n transform: translateX(-50%);\n width: 80%;\n height: 80rpx;\n background: linear-gradient(to right, #00C9FF, #0076FF);\n display: flex;\n justify-content: center;\n align-items: center;\n color: #fff;\n font-size: 35rpx;\n border-radius: 35rpx;\n}\n</style>\n","import Component from 'D:/hldy_xcx/compontent/public/model.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA8BA,UAAM,OAAO;AAGb,aAAS,cAAc;AACrB,WAAK,OAAO;AAAA,IACd;;;;;;;;;;;;;;;AClCA,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

View File

@ -0,0 +1 @@
{"version":3,"file":"specialsmall.js","sources":["pages/login/specialsmall.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vc3BlY2lhbHNtYWxsLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"font-father\">\r\n\r\n\t\t<view class=\"fixed\">\r\n\r\n\t\t\t<image class=\"title-img\" :src=\"`https://www.focusnu.com/media/directive/login/introduce/allbgc.png`\" />\r\n\t\t\t\r\n\t\t\t<image class=\"title-photo\" :src=\"`https://www.focusnu.com/media/directive/index/bluephoto.png`\" />\r\n\t\t\t\r\n\t\t\t<view class=\"small-title\">\r\n\t\t\t\t尊敬的用户您的机构{{ special?`变更信息`:`加盟` }}\r\n\t\t\t</view>\r\n\t\t\t<view class=\"font-title\">\r\n\t\t\t\t申请已成功提交\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\t\t\t\t<text>\r\n\t\t\t\t\t请耐心等待审核结果\r\n\t\t\t\t</text>\r\n\r\n\r\n\r\n\t\t\t</view>\r\n\t\t\t<view class=\"normal\">\r\n\r\n\r\n\t\t\t\t<text style=\"font-weight: 600;\">\r\n\t\t\t\t\t期待您早日加入护理单元大家庭\r\n\t\t\t\t</text>\r\n\r\n\t\t\t</view>\r\n\r\n\r\n\t\t\t\r\n\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</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\timport {\r\n\t\tgetMessage\r\n\t} from '@/api/loginApi.js'\r\n\tconst special = ref(false);\r\n\r\n\tconst jumpto = () => {\r\n\t\tuni.redirectTo({\r\n\t\t\turl: `/pages/index/index`\r\n\t\t});\r\n\t}\r\n\r\n\r\n\tonLoad((options) => {\r\n\t\tif (options.special == `true`) {\r\n\t\t\tspecial.value = true\r\n\t\t}\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 30rpx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tflex-direction: column;\r\n\t\tposition: relative;\r\n\t\tbackground-color: rgb(239, 239, 239);\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\t// padding: 0 30rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tflex-direction: column;\r\n\t\t\t// width: 100%;\r\n\t\t\tfont-size: 80rpx;\r\n\t\t\t// margin-left: -5rpx;\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\t// margin-left: 30rpx;\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.fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\tbackground-color: #fff;\r\n\t\twidth: 100%;\r\n\t\tz-index: 2;\r\n\t\tpadding: 0 70rpx;\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.small-title {\r\n\t\t// margin-top: 30rpx;\r\n\t\tmargin-bottom: 30rpx;\r\n\t\tfont-size: 38rpx;\r\n\t\t// font-weight: 600;\r\n\t}\r\n\r\n\t.normal {\r\n\t\tfont-size: 38rpx;\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\t.title-photo{\r\n\t\tmargin-top: 300rpx;\r\n\t\t// margin-bottom: 30rpx;\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/specialsmall.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad"],"mappings":";;;;;AAqDC,UAAM,UAAUA,kBAAI,KAAK;AAEzB,UAAM,SAAS,MAAM;AACpBC,oBAAAA,MAAI,WAAW;AAAA,QACd,KAAK;AAAA,MACR,CAAG;AAAA,IACD;AAGDC,kBAAM,OAAC,CAAC,YAAY;AACnB,UAAI,QAAQ,WAAW,QAAQ;AAC9B,gBAAQ,QAAQ;AAAA,MAChB;AAAA,IACH,CAAE;;;;;;;;;;;;ACjEF,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

View File

@ -13,6 +13,7 @@ if (!Math) {
"./pages/login/code.js";
"./pages/login/protocol.js";
"./pages/login/special.js";
"./pages/login/specialsmall.js";
"./pages/index/index.js";
"./pages/index/mine.js";
"./pages/addoldman/hukou.js";

View File

@ -10,6 +10,7 @@
"pages/login/code",
"pages/login/protocol",
"pages/login/special",
"pages/login/specialsmall",
"pages/index/index",
"pages/index/mine",
"pages/addoldman/hukou",

View File

@ -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_Oh43R7";
const id = "mp-weixin_m0Sg2X";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();

View File

@ -30,7 +30,7 @@ const _sfc_main = {
src: src.value,
width: width.value,
height: height.value,
radius: 0
radius: 10
})
};
};

View File

@ -0,0 +1,36 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "model",
props: {
show: {
type: Boolean,
default: true
},
content: {
type: String,
default: ""
}
},
emits: ["close"],
setup(__props, { emit: __emit }) {
const emit = __emit;
function handleClose() {
emit("close");
}
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleClose),
b: common_vendor.o(handleClose),
c: common_vendor.t(__props.content),
d: common_vendor.o(() => {
}),
e: common_vendor.n(__props.show ? "is-active" : ""),
f: __props.show
};
};
}
};
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5994d25c"]]);
wx.createComponent(Component);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/compontent/public/model.js.map

View File

@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@ -0,0 +1 @@
<view class="{{['data-v-5994d25c', 'neuro-wrapper', e]}}" hidden="{{!f}}"><view class="neuro-mask data-v-5994d25c" bindtap="{{a}}"></view><view class="neuro-box data-v-5994d25c" catchtap="{{d}}"><view class="tittle-bgc data-v-5994d25c"><view class="text data-v-5994d25c">提示</view></view><view class="button data-v-5994d25c" bindtap="{{b}}">确定</view><view class="data-v-5994d25c" style="font-size:35rpx">{{c}}</view></view></view>

View File

@ -0,0 +1,96 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
/* 容器默认隐藏,透明度为 0不接受点击 */
.neuro-wrapper.data-v-5994d25c {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 999;
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease;
}
/* 显示时透明度过渡到 1可接受点击 */
.neuro-wrapper.is-active.data-v-5994d25c {
opacity: 1;
pointer-events: auto;
}
/* 遮罩层,半透明黑色 */
.neuro-mask.data-v-5994d25c {
position: absolute;
inset: 0;
background-color: rgba(0, 0, 0, 0.3);
}
/* 拟态框 固定尺寸 + 阴影样式 + 相对定位于 wrapper */
.neuro-box.data-v-5994d25c {
position: relative;
width: 550rpx;
height: 600rpx;
border-radius: 20rpx;
background-color: #fff;
display: flex;
justify-content: center;
align-items: center;
z-index: 1;
padding: 0 10%;
}
.tittle-bgc.data-v-5994d25c {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 300rpx;
background-image: url("https://www.focusnu.com/media/directive/index/modelbgc.png");
background-size: 100% auto;
background-position: top center;
background-repeat: no-repeat;
}
.tittle-bgc .text.data-v-5994d25c {
color: #47526F;
font-size: 40rpx;
margin: 40rpx 0 0 50rpx;
font-weight: 600;
}
.button.data-v-5994d25c {
position: absolute;
bottom: 50rpx;
left: 50%;
transform: translateX(-50%);
width: 80%;
height: 80rpx;
background: linear-gradient(to right, #00C9FF, #0076FF);
display: flex;
justify-content: center;
align-items: center;
color: #fff;
font-size: 35rpx;
border-radius: 35rpx;
}

View File

@ -1,14 +1,10 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
if (!Math) {
_easycom_u_modal();
model();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "all",
setup(__props) {
@ -41,10 +37,10 @@ const _sfc_main = {
longPressActions: {
itemList: ["保存图片"],
success: (data) => {
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:183", "长按操作成功", data);
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:185", "长按操作成功", data);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/all.vue:186", "长按操作失败", err);
common_vendor.index.__f__("error", "at pages/addjigou/all.vue:188", "长按操作失败", err);
}
}
});
@ -59,8 +55,11 @@ const _sfc_main = {
url: `/pages/addjigou/name`
});
};
function isAtLeastEightChars(str) {
return typeof str === "string" && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true;
}
@ -78,7 +77,6 @@ const _sfc_main = {
alldata.value = JSON.parse(options.element);
statesTarget.value = Number(alldata.value.status);
let data = alldata.value;
common_vendor.index.__f__("log", "at pages/addjigou/all.vue:233", "????", data.content);
if (data.content) {
contentred.value = data.content;
}
@ -108,18 +106,18 @@ const _sfc_main = {
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(($event) => show.value = $event),
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: common_vendor.o(goBack),
d: statesTarget.value == 3 || alldata.value.status == `5`
}, statesTarget.value == 3 || alldata.value.status == `5` ? {
d: statesTarget.value == 3 || alldata.value.status == `5` || alldata.value.status == `3`
}, statesTarget.value == 3 || alldata.value.status == `5` || alldata.value.status == `3` ? {
e: common_vendor.t(contentred.value)
} : {}, {
f: special.value && alldata.value.status == 2 && _ctx.modifyStatus != 4
}, special.value && alldata.value.status == 2 && _ctx.modifyStatus != 4 ? {
f: special.value && alldata.value.modifyStatus != `1`
}, special.value && alldata.value.modifyStatus != `1` ? {
g: common_vendor.o(next)
} : {}, {
h: !special.value ? `https://www.focusnu.com/media/directive/index/${statusarray[statesTarget.value - 1]}.png` : ``,

View File

@ -1,6 +1,6 @@
{
"navigationBarTitleText": "审核详情",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal"
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="container data-v-9afbabf9"><u-modal wx:if="{{b}}" class="data-v-9afbabf9" u-i="9afbabf9-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><image class="greenbgc data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/greenbgc.png"/><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">机构加盟</view></view></view><view wx:if="{{d}}" class="contentred data-v-9afbabf9"><view class="contentred-bgc data-v-9afbabf9"> 驳回原因:{{e}}</view></view><view wx:if="{{f}}" class="finish-button data-v-9afbabf9" bindtap="{{g}}"> 修改信息 </view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="position:relative;height:140rpx;margin-bottom:20rpx;z-index:999"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">身份证</view><image class="shu-img data-v-9afbabf9" src="{{h}}"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{n}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{l}}"/><image wx:if="{{m}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-9afbabf9" style="margin:20rpx 0"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">确认身份证信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="margin-bottom:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">营业执照</view></view><view class="white-photo data-v-9afbabf9" bindtap="{{r}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{p}}"/><image wx:if="{{q}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-9afbabf9" style="margin-top:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">企业信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{s}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view><view class="content-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">机构信息</view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:0rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{t}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"></view></view>
<view class="container data-v-9afbabf9"><model wx:if="{{b}}" class="data-v-9afbabf9" bindclose="{{a}}" u-i="9afbabf9-0" bind:__l="__l" u-p="{{b}}"/><image class="greenbgc data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/greenbgc.png"/><view class="title-back data-v-9afbabf9"><view class="left-father data-v-9afbabf9" bindtap="{{c}}"><image class="back-img data-v-9afbabf9" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-9afbabf9" style="font-size:30rpx">机构加盟</view></view></view><view wx:if="{{d}}" class="contentred data-v-9afbabf9"><view class="contentred-bgc data-v-9afbabf9"> 驳回原因:{{e}}</view></view><view wx:if="{{f}}" class="finish-button data-v-9afbabf9" bindtap="{{g}}"> 修改信息 </view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="position:relative;height:140rpx;margin-bottom:20rpx;z-index:999"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">身份证</view><image class="shu-img data-v-9afbabf9" src="{{h}}"/></view><view class="white-photo data-v-9afbabf9" bindtap="{{k}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">人像面</view><view class="photo-font data-v-9afbabf9">请上传身份证人像面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{i}}"/><image wx:if="{{j}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-9afbabf9" style="margin-top:30rpx" bindtap="{{n}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">国徽面</view><view class="photo-font data-v-9afbabf9">请上传身份证国徽面</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{l}}"/><image wx:if="{{m}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-9afbabf9" style="margin:20rpx 0"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">确认身份证信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="white-content data-v-9afbabf9"><view class="content-title data-v-9afbabf9" style="margin-bottom:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">营业执照</view></view><view class="white-photo data-v-9afbabf9" bindtap="{{r}}"><view class="photo-left data-v-9afbabf9"><view class="photo-weight data-v-9afbabf9">营业执照</view><view class="photo-font data-v-9afbabf9">请上传营业执照</view></view><view class="data-v-9afbabf9" style="position:relative"><image class="photo data-v-9afbabf9" src="{{p}}"/><image wx:if="{{q}}" class="data-v-9afbabf9" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-9afbabf9" style="margin-top:30rpx"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">企业信息</view></view><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9"><view wx:for="{{s}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view><view class="content-title data-v-9afbabf9"><view class="shu data-v-9afbabf9"></view><view class="content-weight data-v-9afbabf9">机构信息</view></view></view><view class="white-content data-v-9afbabf9" style="margin-top:0rpx"><view class="white-message data-v-9afbabf9"><view class="data-v-9afbabf9" style="margin-bottom:20rpx"><view wx:for="{{t}}" wx:for-item="item" wx:key="c" class="one data-v-9afbabf9" bindtap="{{item.d}}"><view class="one-left data-v-9afbabf9">{{item.a}}</view><view class="one-right data-v-9afbabf9">{{item.b}}</view></view></view></view></view><view class="data-v-9afbabf9" style="display:flex;width:100%;margin-top:40rpx"></view></view>

View File

@ -2,15 +2,14 @@
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
(_easycom_u_modal2 + _easycom_u_action_sheet2)();
_easycom_u_action_sheet2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
const _easycom_u_action_sheet = () => "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js";
if (!Math) {
(_easycom_u_modal + _easycom_u_action_sheet)();
(model + _easycom_u_action_sheet)();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "card",
setup(__props) {
@ -66,7 +65,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:142", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/card.vue:144", "拍照失败:", err);
}
});
}
@ -97,7 +96,7 @@ const _sfc_main = {
uping.value = true;
return;
}
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:175", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
common_vendor.index.__f__("log", "at pages/addjigou/card.vue:177", "营业执照", JSON.parse(JSON.parse(uploadRes.data).result.data).data);
if (JSON.parse(JSON.parse(uploadRes.data).result.data).data.companyName) {
let father = JSON.parse(JSON.parse(uploadRes.data).result.data).data;
textArray[0] = father.companyName;
@ -153,8 +152,11 @@ const _sfc_main = {
}
});
};
function isAtLeastEightChars(str) {
return typeof str === "string" && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true;
}
@ -236,10 +238,10 @@ const _sfc_main = {
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(($event) => show.value = $event),
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: common_vendor.o(goBack),
d: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/zhizhao.png`,

View File

@ -1,7 +1,7 @@
{
"navigationBarTitleText": "企业实名认证",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"u-action-sheet": "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
"u-action-sheet": "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet",
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="container data-v-402780bb"><u-modal wx:if="{{b}}" class="data-v-402780bb" u-i="402780bb-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-402780bb"><view class="left-father data-v-402780bb" bindtap="{{c}}"><image class="back-img data-v-402780bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-402780bb" style="font-size:30rpx">营业执照</view></view></view><view class="white-content data-v-402780bb"><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">营业执照</view></view><view class="white-photo data-v-402780bb" bindtap="{{f}}"><view class="photo-left data-v-402780bb"><view class="photo-weight data-v-402780bb">营业执照</view><view class="photo-font data-v-402780bb">请上传营业执照</view></view><view class="data-v-402780bb" style="position:relative"><image class="photo data-v-402780bb" src="{{d}}"/><image wx:if="{{e}}" class="data-v-402780bb" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">企业信息</view></view><view class="white-message data-v-402780bb"><view class="data-v-402780bb"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="one data-v-402780bb" bindtap="{{item.d}}"><view class="one-left data-v-402780bb">{{item.a}}</view><view class="one-right data-v-402780bb">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-402780bb"><view class="data-v-402780bb" style="color:#333333;margin-bottom:30rpx">注意事项:</view><view class="gray-text data-v-402780bb"> 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 </view><view class="gray-text data-v-402780bb"> 2.一个企业信息主体默认可认证1个账号。 </view><view class="gray-text data-v-402780bb"> 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 </view></view><view class="data-v-402780bb" style="display:flex;width:100%;padding:0 20rpx"><view class="back-button data-v-402780bb" bindtap="{{h}}"> 返回上一步 </view><view class="finish-button data-v-402780bb" bindtap="{{i}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{l}}" class="data-v-402780bb" bindclick="{{j}}" u-i="402780bb-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-action-sheet></view>
<view class="container data-v-402780bb"><model wx:if="{{b}}" class="data-v-402780bb" bindclose="{{a}}" u-i="402780bb-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-402780bb"><view class="left-father data-v-402780bb" bindtap="{{c}}"><image class="back-img data-v-402780bb" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-402780bb" style="font-size:30rpx">营业执照</view></view></view><view class="white-content data-v-402780bb"><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">营业执照</view></view><view class="white-photo data-v-402780bb" bindtap="{{f}}"><view class="photo-left data-v-402780bb"><view class="photo-weight data-v-402780bb">营业执照</view><view class="photo-font data-v-402780bb">请上传营业执照</view></view><view class="data-v-402780bb" style="position:relative"><image class="photo data-v-402780bb" src="{{d}}"/><image wx:if="{{e}}" class="data-v-402780bb" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-402780bb"><view class="shu data-v-402780bb"></view><view class="content-weight data-v-402780bb">企业信息</view></view><view class="white-message data-v-402780bb"><view class="data-v-402780bb"><view wx:for="{{g}}" wx:for-item="item" wx:key="c" class="one data-v-402780bb" bindtap="{{item.d}}"><view class="one-left data-v-402780bb">{{item.a}}</view><view class="one-right data-v-402780bb">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-402780bb"><view class="data-v-402780bb" style="color:#333333;margin-bottom:30rpx">注意事项:</view><view class="gray-text data-v-402780bb"> 1. 运用企业、个体工商户、政府、事业单位、学校、组织等,账号归属企业。 </view><view class="gray-text data-v-402780bb"> 2.一个企业信息主体默认可认证1个账号。 </view><view class="gray-text data-v-402780bb"> 3.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给其他第三方。 </view></view><view class="data-v-402780bb" style="display:flex;width:100%;padding:0 20rpx"><view class="back-button data-v-402780bb" bindtap="{{h}}"> 返回上一步 </view><view class="finish-button data-v-402780bb" bindtap="{{i}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{l}}" class="data-v-402780bb" bindclick="{{j}}" u-i="402780bb-1" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></u-action-sheet></view>

View File

@ -2,15 +2,14 @@
const common_vendor = require("../../common/vendor.js");
const request_index = require("../../request/index.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
const _easycom_u_action_sheet2 = common_vendor.resolveComponent("u-action-sheet");
(_easycom_u_modal2 + _easycom_u_action_sheet2)();
_easycom_u_action_sheet2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
const _easycom_u_action_sheet = () => "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet.js";
if (!Math) {
(_easycom_u_modal + _easycom_u_action_sheet)();
(model + _easycom_u_action_sheet)();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "name",
setup(__props) {
@ -71,7 +70,7 @@ const _sfc_main = {
});
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:166", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addjigou/name.vue:168", "拍照失败:", err);
}
});
}
@ -91,7 +90,7 @@ const _sfc_main = {
},
formData: {},
success: (uploadRes) => {
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:204", "token", common_vendor.index.getStorageSync("token"));
common_vendor.index.__f__("log", "at pages/addjigou/name.vue:206", "token", common_vendor.index.getStorageSync("token"));
if (!JSON.parse(uploadRes.data).success) {
common_vendor.index.hideLoading();
common_vendor.index.showToast({
@ -176,8 +175,11 @@ const _sfc_main = {
}
});
};
function isAtLeastEightChars(str) {
return typeof str === "string" && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true;
}
@ -258,10 +260,10 @@ const _sfc_main = {
});
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(($event) => show.value = $event),
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: common_vendor.o(goBack),
d: fontphoto.value ? `${common_vendor.unref(request_index.base_url)}/sys/common/static/${fontphoto.value}` : `https://www.focusnu.com/media/directive/index/IDcard.png`,

View File

@ -1,7 +1,7 @@
{
"navigationBarTitleText": "企业实名认证",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"u-action-sheet": "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet"
"u-action-sheet": "../../uni_modules/vk-uview-ui/components/u-action-sheet/u-action-sheet",
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="container data-v-4363d488"><u-modal wx:if="{{b}}" class="data-v-4363d488" u-i="4363d488-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{c}}"><image class="back-img data-v-4363d488" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-4363d488" style="font-size:30rpx">身份证</view></view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">身份证</view></view><view class="white-photo data-v-4363d488" bindtap="{{f}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{d}}"/><image wx:if="{{e}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{i}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{g}}"/><image wx:if="{{h}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-4363d488" style="margin:20rpx 0"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">确认身份证信息</view></view><view class="white-message data-v-4363d488"><view class="data-v-4363d488"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class="data-v-4363d488" style="color:#333333">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx;font-size:28rpx"><view class="line data-v-4363d488">1.同一个身份证号只能认证一个账号。</view><view class="line data-v-4363d488">2.国徽与正面信息应为同一身份证的信息且在有效期内。</view><view class="line data-v-4363d488">3.所有上传照片需清晰且未遮挡,请勿进行美化和修改。</view><view class="line data-v-4363d488">4.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{k}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{n}}" class="data-v-4363d488" bindclick="{{l}}" u-i="4363d488-1" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-action-sheet></view>
<view class="container data-v-4363d488"><model wx:if="{{b}}" class="data-v-4363d488" bindclose="{{a}}" u-i="4363d488-0" bind:__l="__l" u-p="{{b}}"/><view class="title-back data-v-4363d488"><view class="left-father data-v-4363d488" bindtap="{{c}}"><image class="back-img data-v-4363d488" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-4363d488" style="font-size:30rpx">身份证</view></view></view><view class="white-content data-v-4363d488"><view class="content-title data-v-4363d488"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">身份证</view></view><view class="white-photo data-v-4363d488" bindtap="{{f}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">人像面</view><view class="photo-font data-v-4363d488">请上传身份证人像面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{d}}"/><image wx:if="{{e}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-4363d488" style="margin-top:30rpx" bindtap="{{i}}"><view class="photo-left data-v-4363d488"><view class="photo-weight data-v-4363d488">国徽面</view><view class="photo-font data-v-4363d488">请上传身份证国徽面</view></view><view class="data-v-4363d488" style="position:relative"><image class="photo data-v-4363d488" src="{{g}}"/><image wx:if="{{h}}" class="data-v-4363d488" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="content-title data-v-4363d488" style="margin:20rpx 0"><view class="shu data-v-4363d488"></view><view class="content-weight data-v-4363d488">确认身份证信息</view></view><view class="white-message data-v-4363d488"><view class="data-v-4363d488"><view wx:for="{{j}}" wx:for-item="item" wx:key="c" class="one data-v-4363d488" bindtap="{{item.d}}"><view class="one-left data-v-4363d488">{{item.a}}</view><view class="one-right data-v-4363d488">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-4363d488"><view class="data-v-4363d488" style="color:#333333">注意事项:</view><view class="data-v-4363d488" style="margin-top:30rpx;font-size:28rpx"><view class="line data-v-4363d488">1.同一个身份证号只能认证一个账号。</view><view class="line data-v-4363d488">2.国徽与正面信息应为同一身份证的信息且在有效期内。</view><view class="line data-v-4363d488">3.所有上传照片需清晰且未遮挡,请勿进行美化和修改。</view><view class="line data-v-4363d488">4.所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view></view><view class="data-v-4363d488" style="display:flex;width:100%"><view class="finish-button data-v-4363d488" bindtap="{{k}}"> 确认并继续 </view></view><u-action-sheet wx:if="{{n}}" class="data-v-4363d488" bindclick="{{l}}" u-i="4363d488-1" bind:__l="__l" bindupdateModelValue="{{m}}" u-p="{{n}}"></u-action-sheet></view>

View File

@ -2,17 +2,16 @@
const common_vendor = require("../../common/vendor.js");
const pages_addjigou_api_addjigou = require("./api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
const _easycom_u_popup2 = common_vendor.resolveComponent("u-popup");
const _easycom_u_select2 = common_vendor.resolveComponent("u-select");
(_easycom_u_modal2 + _easycom_u_popup2 + _easycom_u_select2)();
(_easycom_u_popup2 + _easycom_u_select2)();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
const _easycom_u_popup = () => "../../uni_modules/vk-uview-ui/components/u-popup/u-popup.js";
const _easycom_u_select = () => "../../uni_modules/vk-uview-ui/components/u-select/u-select.js";
if (!Math) {
(_easycom_u_modal + _easycom_u_popup + _easycom_u_select)();
(model + _easycom_u_popup + _easycom_u_select)();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "where",
setup(__props) {
@ -81,14 +80,17 @@ const _sfc_main = {
const deleteUP = (index) => {
address.value = takeFirst(address.value, index);
if (index) {
clickcard(list.value[index - 1]);
list.value = [];
pages_addjigou_api_addjigou.getdate(address.value[0].id).then((res) => {
list.value = dedupeFirstLetter(res.result);
});
} else {
list.value = [];
pages_addjigou_api_addjigou.getdate(`xzqhdm`).then((res) => {
list.value = dedupeFirstLetter(res.result);
});
}
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:234", "删除了", index);
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:244", "删除了", index);
};
function isValid11DigitNumber(val) {
return /^(\d{11})$/.test(val);
@ -158,15 +160,18 @@ const _sfc_main = {
if (allNonEmpty) {
pages_addjigou_api_addjigou.changemessage(common_vendor.index.getStorageSync("backhuancun")).then((res) => {
if (res.success) {
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:334", "????", common_vendor.index.getStorageSync("backhuancun").id);
if (res.message == `保存成功!`) {
common_vendor.index.setStorageSync("specicalid", "");
if (common_vendor.index.getStorageSync("backhuancun").id === null)
;
common_vendor.index.reLaunch({
url: `/pages/login/special?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id == null}`
url: `/pages/login/specialsmall?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id === null}`
});
} else {
common_vendor.index.setStorageSync("specicalid", res.result.id);
common_vendor.index.reLaunch({
url: `/pages/login/special?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id == null}`
url: `/pages/login/specialsmall?type=1&special=${common_vendor.index.getStorageSync("backhuancun").id === null}`
});
}
} else {
@ -232,7 +237,7 @@ const _sfc_main = {
common_vendor.onShow(() => {
const data = common_vendor.index.getStorageSync("dingwei");
if (data) {
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:413", "data", data);
common_vendor.index.__f__("log", "at pages/addjigou/where.vue:428", "data", data);
jigouweizhi.value = data.name;
form.orgAddress = data.name;
form.orgCoordinateLo = data.lng;
@ -304,23 +309,26 @@ const _sfc_main = {
}
});
return (_ctx, _cache) => {
return {
a: common_vendor.o(($event) => show.value = $event),
return common_vendor.e({
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: common_vendor.o(($event) => popupshow.value = false),
d: common_vendor.f(address.value, (item, index, i0) => {
c: common_vendor.f(address.value, (item, index, i0) => {
return {
a: common_vendor.t(item.name),
b: common_vendor.o(($event) => deleteUP(index))
b: `https://www.focusnu.com/media/directive/index/workjoin/${index == address.value.length - 1 ? `redcha` : `x`}.png`,
c: common_vendor.o(($event) => deleteUP(index)),
d: common_vendor.s(index == address.value.length - 1 ? {
backgroundColor: `#ffeedd`,
color: `#ff5d00`
} : {})
};
}),
e: common_vendor.f(address.value, (item, k0, i0) => {
return {};
}),
f: common_vendor.f(list.value, (item, index, i0) => {
d: address.value.length
}, address.value.length ? {} : {}, {
e: common_vendor.f(list.value, (item, index, i0) => {
return {
a: common_vendor.t(item.firstLetter),
b: common_vendor.t(item.name),
@ -328,37 +336,37 @@ const _sfc_main = {
d: common_vendor.o(($event) => clickcard(item), index)
};
}),
g: common_vendor.o(($event) => popupshow.value = $event),
h: common_vendor.p({
f: common_vendor.o(($event) => popupshow.value = $event),
g: common_vendor.p({
mode: "bottom",
["border-radius"]: "20",
["border-radius"]: "40",
height: "600px",
modelValue: popupshow.value
}),
i: common_vendor.o(goBack),
j: form.address,
k: common_vendor.o(($event) => form.address = $event.detail.value),
l: common_vendor.o(openpopupshow),
m: form.orgAddress,
n: common_vendor.o(($event) => form.orgAddress = $event.detail.value),
o: form.orgLeader,
p: common_vendor.o(($event) => form.orgLeader = $event.detail.value),
q: form.orgLeaderPhone,
r: common_vendor.o(($event) => form.orgLeaderPhone = $event.detail.value),
s: form.orgPropertyType,
t: common_vendor.o(($event) => form.orgPropertyType = $event.detail.value),
v: common_vendor.o(($event) => showselect.value = true),
w: common_vendor.o(onSelect1),
x: common_vendor.o(($event) => showselect.value = $event),
y: common_vendor.p({
h: common_vendor.o(goBack),
i: form.address,
j: common_vendor.o(($event) => form.address = $event.detail.value),
k: common_vendor.o(openpopupshow),
l: form.orgAddress,
m: common_vendor.o(($event) => form.orgAddress = $event.detail.value),
n: form.orgLeader,
o: common_vendor.o(($event) => form.orgLeader = $event.detail.value),
p: form.orgLeaderPhone,
q: common_vendor.o(($event) => form.orgLeaderPhone = $event.detail.value),
r: form.orgPropertyType,
s: common_vendor.o(($event) => form.orgPropertyType = $event.detail.value),
t: common_vendor.o(($event) => showselect.value = true),
v: common_vendor.o(onSelect1),
w: common_vendor.o(($event) => showselect.value = $event),
x: common_vendor.p({
list: showlist,
modelValue: showselect.value
}),
z: common_vendor.o([($event) => form.orgBuildingArea = $event.detail.value, formatArea]),
A: form.orgBuildingArea,
B: common_vendor.o(goBack),
C: common_vendor.o(next)
};
y: common_vendor.o([($event) => form.orgBuildingArea = $event.detail.value, formatArea]),
z: form.orgBuildingArea,
A: common_vendor.o(goBack),
B: common_vendor.o(next)
});
};
}
};

View File

@ -1,8 +1,8 @@
{
"navigationBarTitleText": "企业实名认证",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"u-popup": "../../uni_modules/vk-uview-ui/components/u-popup/u-popup",
"u-select": "../../uni_modules/vk-uview-ui/components/u-select/u-select"
"u-select": "../../uni_modules/vk-uview-ui/components/u-select/u-select",
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="container data-v-549d1cee"><u-modal wx:if="{{b}}" class="data-v-549d1cee" u-i="549d1cee-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><u-popup wx:if="{{h}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:100rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{c}}"/></view><view wx:for="{{d}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%;display:flex;align-items:center;justify-content:space-between;position:relative"><view class="data-v-549d1cee" style="margin-left:60rpx">{{item.a}}</view><image class="title-imge data-v-549d1cee" style="width:25rpx;height:25rpx" src="https://www.focusnu.com/media/directive/index/workjoin/x.png" bindtap="{{item.b}}"/></view></view><view class="data-v-549d1cee" style="height:100rpx;width:100%"></view><view wx:for="{{e}}" wx:for-item="item" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{f}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{i}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">机构信息</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{l}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{j}}" bindinput="{{k}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{m}}" bindinput="{{n}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{o}}" bindinput="{{p}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{q}}" bindinput="{{r}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{v}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择房屋性质" value="{{s}}" bindinput="{{t}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{y}}" class="data-v-549d1cee" style="font-size:35rpx" bindconfirm="{{w}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{x}}" u-p="{{y}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积" bindinput="{{z}}" value="{{A}}"/><view class="triangle-down-mi data-v-549d1cee"> 平方米 </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{B}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{C}}"> 确认并提交 </view></view></view>
<view class="container data-v-549d1cee"><model wx:if="{{b}}" class="data-v-549d1cee" bindclose="{{a}}" u-i="549d1cee-0" bind:__l="__l" u-p="{{b}}"/><u-popup wx:if="{{g}}" class="data-v-549d1cee" u-s="{{['d']}}" u-i="549d1cee-1" bind:__l="__l" bindupdateModelValue="{{f}}" u-p="{{g}}"><view class="popup-father data-v-549d1cee"><view class="popup-title data-v-549d1cee"><view class="all-bgc data-v-549d1cee" style="display:flex;justify-content:center;align-items:center;height:180rpx;width:100%;position:relative"><view class="title-font data-v-549d1cee"> 请选择所在地区 </view><image class="title-imge-title data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/mark.png"/></view><view class="data-v-549d1cee" style="display:flex"><view wx:for="{{c}}" wx:for-item="item" class="button-father data-v-549d1cee" style="{{item.d}}"><view class="data-v-549d1cee">{{item.a}}</view><image class="title-imge data-v-549d1cee" src="{{item.b}}" bindtap="{{item.c}}"/></view></view></view><view class="data-v-549d1cee" style="height:180rpx;width:100%"></view><view wx:if="{{d}}" class="data-v-549d1cee" style="height:80rpx;width:100%"></view><view class="other-title data-v-549d1cee"> 选择地区 </view><view wx:for="{{e}}" wx:for-item="item" wx:key="c" class="data-v-549d1cee" bindtap="{{item.d}}"><view class="cards data-v-549d1cee"><view class="zimu data-v-549d1cee">{{item.a}}</view><view class="font data-v-549d1cee">{{item.b}}</view></view></view></view></u-popup><view class="title-back data-v-549d1cee"><view class="left-father data-v-549d1cee" bindtap="{{h}}"><image class="back-img data-v-549d1cee" src="https://www.focusnu.com/media/directive/index/left.png"/><view class="data-v-549d1cee" style="font-size:30rpx">机构信息</view></view></view><view class="white-content data-v-549d1cee"><view class="content-title data-v-549d1cee"><view class="shu data-v-549d1cee"></view><view class="content-weight data-v-549d1cee">机构信息</view></view><view class="white-message data-v-549d1cee"><view class="data-v-549d1cee" bindtap="{{k}}"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">机构位置</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择机构位置" value="{{i}}" bindinput="{{j}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="overflow:hidden"><view class="one-left data-v-549d1cee">详细地址</view><input class="one-right data-v-549d1cee" placeholder="请输入详细地址" value="{{l}}" bindinput="{{m}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人</view><input class="one-right data-v-549d1cee" type="text" placeholder="请输入机构负责人姓名" value="{{n}}" bindinput="{{o}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee"><view class="one-left data-v-549d1cee">机构负责人电话</view><input class="one-right data-v-549d1cee" type="number" maxlength="11" placeholder="请输入机构负责人电话" value="{{p}}" bindinput="{{q}}"/></view></view><view class="data-v-549d1cee"><view class="one data-v-549d1cee" style="position:relative" bindtap="{{t}}"><view class="one-left data-v-549d1cee">房屋性质</view><input disabled style="cursor:not-allowed;pointer-events:none" class="one-right data-v-549d1cee" type="text" placeholder="请选择房屋性质" value="{{r}}" bindinput="{{s}}"/><image class="triangle-down data-v-549d1cee" src="https://www.focusnu.com/media/directive/login/xia.png"/></view></view><u-select wx:if="{{x}}" class="data-v-549d1cee" style="font-size:35rpx" bindconfirm="{{v}}" u-i="549d1cee-2" bind:__l="__l" bindupdateModelValue="{{w}}" u-p="{{x}}"></u-select><view class="data-v-549d1cee" style="margin-bottom:20rpx"><view class="one data-v-549d1cee" style="position:relative"><view class="one-left data-v-549d1cee">建筑面积</view><input class="one-right data-v-549d1cee" type="digit" placeholder="请输入建筑面积" bindinput="{{y}}" value="{{z}}"/><view class="triangle-down-mi data-v-549d1cee"> 平方米 </view></view></view></view></view><view class="data-v-549d1cee" style="display:flex;width:100%;margin-top:10rpx;padding:0 20rpx"><view class="back-button data-v-549d1cee" bindtap="{{A}}"> 返回上一步 </view><view class="finish-button data-v-549d1cee" bindtap="{{B}}"> 确认并提交 </view></view></view>

View File

@ -171,16 +171,14 @@
z-index: 1;
}
.popup-father .popup-title .title-font.data-v-549d1cee {
font-size: 35rpx;
font-size: 38rpx;
font-weight: 600;
}
.popup-father .popup-title .title-imge.data-v-549d1cee {
width: 35rpx;
height: 35rpx;
position: absolute;
top: 50%;
right: 40rpx;
transform: translateY(-50%);
width: 20rpx;
height: 20rpx;
margin-left: 10rpx;
margin-top: 5rpx;
}
.popup-father .other-title.data-v-549d1cee {
font-size: 32rpx;
@ -256,6 +254,32 @@
font-size: 30rpx;
color: #999999;
}
.all-bgc.data-v-549d1cee {
background-image: url("https://www.focusnu.com/media/directive/index/where.png");
background-size: 100% auto;
/* 宽度占满,高度自动 */
background-position: top center;
background-repeat: no-repeat;
}
.title-imge-title.data-v-549d1cee {
width: 100rpx;
height: 120rpx;
position: absolute;
top: 10rpx;
right: 80rpx;
}
.button-father.data-v-549d1cee {
height: 60rpx;
width: 23%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background-color: #F5F5F5;
color: #666666;
border-radius: 30rpx;
margin-left: 30rpx;
}
.uni-scroll-view {
height: auto;

View File

@ -1,13 +1,9 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
if (!Math) {
_easycom_u_modal();
model();
}
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "IDcard",
setup(__props) {
@ -25,7 +21,7 @@ const _sfc_main = {
uploadImage(tempImagePath.value);
},
fail: (err) => {
common_vendor.index.__f__("error", "at pages/addoldman/IDcard.vue:89", "拍照失败:", err);
common_vendor.index.__f__("error", "at pages/addoldman/IDcard.vue:97", "拍照失败:", err);
}
});
}
@ -85,8 +81,11 @@ const _sfc_main = {
}
});
}
function isAtLeastEightChars(str) {
return typeof str === "string" && str.length >= 8;
}
const openLook = (res) => {
if (res) {
if (isAtLeastEightChars(res)) {
content.value = res;
show.value = true;
}
@ -98,10 +97,10 @@ const _sfc_main = {
};
return (_ctx, _cache) => {
return common_vendor.e({
a: common_vendor.o(($event) => show.value = $event),
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: headImge.value ? headImge.value : `https://www.focusnu.com/media/directive/index/IDcard.png`,
d: !headImge.value

View File

@ -1,6 +1,6 @@
{
"navigationBarTitleText": "长者信息采集",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal"
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="container data-v-5fcb8e22"><u-modal wx:if="{{b}}" class="data-v-5fcb8e22" u-i="5fcb8e22-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><view class="white-content data-v-5fcb8e22"><view class="content-title data-v-5fcb8e22"><view class="content-weight data-v-5fcb8e22">身份证上传</view><image class="content-img data-v-5fcb8e22" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-5fcb8e22" bindtap="{{e}}"><view class="photo-left data-v-5fcb8e22"><view class="photo-weight data-v-5fcb8e22">人像面</view><view class="photo-font data-v-5fcb8e22">请上传身份证人像面</view></view><view class="data-v-5fcb8e22" style="position:relative"><image class="photo data-v-5fcb8e22" src="{{c}}"/><image wx:if="{{d}}" class="data-v-5fcb8e22" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-5fcb8e22" style="margin-top:30rpx" bindtap="{{h}}"><view class="photo-left data-v-5fcb8e22"><view class="photo-weight data-v-5fcb8e22">国徽面</view><view class="photo-font data-v-5fcb8e22">请上传身份证国徽面</view></view><view class="data-v-5fcb8e22" style="position:relative"><image class="photo data-v-5fcb8e22" src="{{f}}"/><image wx:if="{{g}}" class="data-v-5fcb8e22" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-5fcb8e22"><view class="message-title data-v-5fcb8e22"><view class="shu data-v-5fcb8e22"></view><view class="message-weight data-v-5fcb8e22"> 确认户口本本人页信息 </view></view><view class="data-v-5fcb8e22" style="margin-bottom:20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="one data-v-5fcb8e22" bindtap="{{item.d}}"><view class="one-left data-v-5fcb8e22">{{item.a}}</view><view class="one-right data-v-5fcb8e22">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-5fcb8e22"><view class=" data-v-5fcb8e22">注意事项:</view><view class=" data-v-5fcb8e22"> 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view><view class="finish-button data-v-5fcb8e22" bindtap="{{j}}"> 下一步 </view></view>
<view class="container data-v-5fcb8e22"><model wx:if="{{b}}" class="data-v-5fcb8e22" bindclose="{{a}}" u-i="5fcb8e22-0" bind:__l="__l" u-p="{{b}}"/><view class="white-content data-v-5fcb8e22"><view class="content-title data-v-5fcb8e22"><view class="content-weight data-v-5fcb8e22">身份证上传</view><image class="content-img data-v-5fcb8e22" src="https://www.focusnu.com/media/directive/index/bian.png"/></view><view class="white-photo data-v-5fcb8e22" bindtap="{{e}}"><view class="photo-left data-v-5fcb8e22"><view class="photo-weight data-v-5fcb8e22">人像面</view><view class="photo-font data-v-5fcb8e22">请上传身份证人像面</view></view><view class="data-v-5fcb8e22" style="position:relative"><image class="photo data-v-5fcb8e22" src="{{c}}"/><image wx:if="{{d}}" class="data-v-5fcb8e22" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-photo data-v-5fcb8e22" style="margin-top:30rpx" bindtap="{{h}}"><view class="photo-left data-v-5fcb8e22"><view class="photo-weight data-v-5fcb8e22">国徽面</view><view class="photo-font data-v-5fcb8e22">请上传身份证国徽面</view></view><view class="data-v-5fcb8e22" style="position:relative"><image class="photo data-v-5fcb8e22" src="{{f}}"/><image wx:if="{{g}}" class="data-v-5fcb8e22" style="position:absolute;top:50%;left:50%;width:70rpx;height:60rpx;transform:translate(-50%,-50%)" src="https://www.focusnu.com/media/directive/index/takephoto.png"/></view></view><view class="white-message data-v-5fcb8e22"><view class="message-title data-v-5fcb8e22"><view class="shu data-v-5fcb8e22"></view><view class="message-weight data-v-5fcb8e22"> 确认户口本本人页信息 </view></view><view class="data-v-5fcb8e22" style="margin-bottom:20rpx"><view wx:for="{{i}}" wx:for-item="item" wx:key="c" class="one data-v-5fcb8e22" bindtap="{{item.d}}"><view class="one-left data-v-5fcb8e22">{{item.a}}</view><view class="one-right data-v-5fcb8e22">{{item.b}}</view></view></view></view></view><view class="gray-font data-v-5fcb8e22"><view class=" data-v-5fcb8e22">注意事项:</view><view class=" data-v-5fcb8e22"> 同一个身份证号只能认证一个账号国徽而与正面信息应为同一身份证的信息目在有效期内,所有上传照片需清晰且未遮挡,请勿进行美化和修改,所有上传信息均会被妥善保管,不会用于其他商业用途或传输给第三方。</view></view><view class="finish-button data-v-5fcb8e22" bindtap="{{j}}"> 下一步 </view></view>

View File

@ -1,15 +1,11 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const pages_addjigou_api_addjigou = require("../addjigou/api/addjigou.js");
if (!Array) {
const _easycom_u_modal2 = common_vendor.resolveComponent("u-modal");
_easycom_u_modal2();
}
const _easycom_u_modal = () => "../../uni_modules/vk-uview-ui/components/u-modal/u-modal.js";
if (!Math) {
(_easycom_u_modal + downMenu)();
(model + downMenu)();
}
const downMenu = () => "../../compontent/public/downmenu.js";
const model = () => "../../compontent/public/model.js";
const _sfc_main = {
__name: "index",
setup(__props) {
@ -46,7 +42,7 @@ const _sfc_main = {
}
};
const again = (item) => {
common_vendor.index.__f__("log", "at pages/index/index.vue:216", "????", item);
common_vendor.index.__f__("log", "at pages/index/index.vue:218", "????", item);
common_vendor.index.setStorageSync("baddata", item);
common_vendor.index.setStorageSync("specicalid", item.id);
common_vendor.index.setStorageSync("backhuancun", {});
@ -79,11 +75,10 @@ const _sfc_main = {
});
return (_ctx, _cache) => {
return {
a: common_vendor.o(($event) => show.value = $event),
a: common_vendor.o(($event) => show.value = false),
b: common_vendor.p({
title: "驳回原因",
content: content.value,
modelValue: show.value
show: show.value,
content: content.value
}),
c: common_vendor.f(menuArray.value, (item, index, i0) => {
return common_vendor.e({

View File

@ -1,7 +1,7 @@
{
"navigationBarTitleText": "首页",
"usingComponents": {
"u-modal": "../../uni_modules/vk-uview-ui/components/u-modal/u-modal",
"down-menu": "../../compontent/public/downmenu"
"down-menu": "../../compontent/public/downmenu",
"model": "../../compontent/public/model"
}
}

View File

@ -1 +1 @@
<view class="login-container data-v-1cf27b2a"><u-modal wx:if="{{b}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" bindupdateModelValue="{{a}}" u-p="{{b}}"></u-modal><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="{{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 File

@ -246,8 +246,9 @@
justify-content: center;
}
.jia.data-v-1cf27b2a {
width: 30rpx;
height: 30rpx;
margin-top: -5rpx;
width: 25rpx;
height: 25rpx;
border-radius: 50%;
background-color: #fff;
color: #fff;
@ -257,21 +258,21 @@
font-size: 30rpx;
}
.jia .jia-img.data-v-1cf27b2a {
width: 20rpx;
height: 20rpx;
width: 18rpx;
height: 18rpx;
z-index: 2;
}
.gray-box.data-v-1cf27b2a {
border-radius: 20rpx;
height: 30rpx;
width: 50rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: #fff;
}
.black-box.data-v-1cf27b2a {
border-radius: 20rpx;
height: 30rpx;
width: 50rpx;
height: 20rpx;
width: 35rpx;
margin-right: 15rpx;
background-color: black;
}

View File

@ -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="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 File

@ -79,7 +79,7 @@ const _sfc_main = {
if (options.no) {
no.value = true;
}
if (options.special) {
if (options.special == `true`) {
special.value = true;
}
});

View File

@ -0,0 +1,29 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "specialsmall",
setup(__props) {
const special = common_vendor.ref(false);
const jumpto = () => {
common_vendor.index.redirectTo({
url: `/pages/index/index`
});
};
common_vendor.onLoad((options) => {
if (options.special == `true`) {
special.value = true;
}
});
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(special.value ? `变更信息` : `加盟`),
d: common_vendor.o(jumpto)
};
};
}
};
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c9ad9bed"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/login/specialsmall.js.map

View File

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "绑定成功",
"usingComponents": {}
}

View File

@ -0,0 +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 File

@ -0,0 +1,99 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果您是插件开发者建议您使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果您是App开发者插件使用者您可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果您的项目同样使用了scss预处理您也可以直接在您的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.font-father.data-v-c9ad9bed {
width: 100%;
min-height: 100vh;
padding: 0 30rpx;
display: flex;
align-items: center;
flex-direction: column;
position: relative;
background-color: #efefef;
}
.font-father .font-title.data-v-c9ad9bed {
margin-top: 0rpx;
margin-bottom: 30rpx;
font-weight: 600;
font-size: 32rpx;
display: flex;
flex-direction: column;
font-size: 80rpx;
}
.font-father .bottom-button.data-v-c9ad9bed {
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-c9ad9bed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100vh;
z-index: -1;
}
.fixed.data-v-c9ad9bed {
position: fixed;
top: 0;
left: 0;
background-color: #fff;
width: 100%;
z-index: 2;
padding: 0 70rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.small-title.data-v-c9ad9bed {
margin-bottom: 30rpx;
font-size: 38rpx;
}
.normal.data-v-c9ad9bed {
font-size: 38rpx;
margin-bottom: 20rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.title-photo.data-v-c9ad9bed {
margin-top: 300rpx;
width: 350rpx;
height: 350rpx;
z-index: 1;
}

View File

@ -9,7 +9,7 @@ const _sfc_main = {
};
const ceshi = () => {
common_vendor.index.navigateTo({
url: `/pages/login/special`
url: `/pages/login/specialsmall`
});
};
const jumpToindex = () => {

View File

@ -41,12 +41,19 @@ const _sfc_main = {
return {
a: common_vendor.o(goBack),
b: common_vendor.f(workArray.value, (item, index, i0) => {
return {
return common_vendor.e({
a: common_vendor.t(item.comName),
b: `https://www.focusnu.com/media/directive/index/${statusarray[Number(item.status) - 1]}.png`,
c: common_vendor.o(($event) => jumpToAll(item), index),
d: index
};
b: item.franchiseTime
}, item.franchiseTime ? {} : {}, {
c: common_vendor.t(item.franchiseTime),
d: !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
});
})
};
};

View File

@ -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="d" class="data-v-808c8183"><view class="white-small data-v-808c8183" bindtap="{{item.c}}"><view class="data-v-808c8183" style="font-size:32rpx">{{item.a}}</view><image class="enter-img data-v-808c8183" src="https://www.focusnu.com/media/directive/index/right.png"/><view class="bottom-father data-v-808c8183"><view class=" data-v-808c8183"></view><image class="bottom-img data-v-808c8183" src="{{item.b}}"/></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="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 File

@ -136,8 +136,8 @@
justify-content: space-between;
}
.bottom-img.data-v-808c8183 {
width: 140rpx;
height: 120rpx;
width: 160rpx;
height: 140rpx;
}
.blue-button.data-v-808c8183 {
margin-top: 20rpx;

View File

@ -7,7 +7,7 @@ const _sfc_main = {
common_vendor.ref(0);
const workArray = common_vendor.ref([]);
common_vendor.ref(false);
const namearraay = ["", "", "变更完成", "", "变更申请中", "变更驳回"];
const statusarray = ["success", "loading", "success", "fail", "loading", "fail"];
common_vendor.onLoad((options) => {
common_vendor.index.getStorage({
key: "openid",
@ -34,7 +34,7 @@ const _sfc_main = {
};
const jumpToAll = (element) => {
common_vendor.index.navigateTo({
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=true`
url: `/pages/addjigou/all?element=${JSON.stringify(element)}&special=1`
});
};
return (_ctx, _cache) => {
@ -45,12 +45,12 @@ const _sfc_main = {
c: common_vendor.f(workArray.value, (item, index, i0) => {
return {
a: common_vendor.t(item.comName),
b: common_vendor.t(item.status ? namearraay[Number(item.status)] : ""),
c: common_vendor.s(item.status == `5` ? {
color: `red`
} : {}),
d: common_vendor.o(($event) => jumpToAll(item), index),
e: index
b: common_vendor.t(index == workArray.value.length - 1 ? `申请` : `变更`),
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
};
})
});

View File

@ -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="e" class="data-v-c1509caf"><view class="white-small data-v-c1509caf" bindtap="{{item.d}}"><view class="data-v-c1509caf" style="font-size:32rpx">{{item.a}}</view><image class="enter-img data-v-c1509caf" src="https://www.focusnu.com/media/directive/index/right.png"/><view class="bottom-father data-v-c1509caf"><view class="data-v-c1509caf" style="{{'font-weight:600;margin-top:5rpx' + ';' + item.c}}">{{item.b}}</view></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="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 File

@ -110,7 +110,7 @@ const _sfc_main = {
/** 裁剪图片圆角半径单位px */
radius: {
type: Number,
default: 0
default: 60
},
/** 生成文件的类型,只支持 'jpg' 或 'png'。默认为 'png' */
fileType: {
@ -132,22 +132,46 @@ const _sfc_main = {
return {
// 用不同 id 使 v-for key 不重复
maskList: [
{ id: "crop-mask-block-1" },
{ id: "crop-mask-block-2" },
{ id: "crop-mask-block-3" },
{ id: "crop-mask-block-4" }
{
id: "crop-mask-block-1"
},
{
id: "crop-mask-block-2"
},
{
id: "crop-mask-block-3"
},
{
id: "crop-mask-block-4"
}
],
gridList: [
{ id: "crop-grid-1" },
{ id: "crop-grid-2" },
{ id: "crop-grid-3" },
{ id: "crop-grid-4" }
{
id: "crop-grid-1"
},
{
id: "crop-grid-2"
},
{
id: "crop-grid-3"
},
{
id: "crop-grid-4"
}
],
angleList: [
{ id: "crop-angle-1" },
{ id: "crop-angle-2" },
{ id: "crop-angle-3" },
{ id: "crop-angle-4" }
{
id: "crop-angle-1"
},
{
id: "crop-angle-2"
},
{
id: "crop-angle-3"
},
{
id: "crop-angle-4"
}
],
/** 本地缓存的图片路径 */
imgSrc: "",
@ -275,7 +299,14 @@ const _sfc_main = {
const right = left + width;
const top = (this.sys.windowHeight + this.sys.windowTop - this.sys.offsetBottom - height) / 2;
const bottom = this.sys.windowHeight + this.sys.windowTop - this.sys.offsetBottom - top;
this.area = { width, height, left, right, top, bottom };
this.area = {
width,
height,
left,
right,
top,
bottom
};
this.scaleWidth = width;
this.scaleHeight = height;
},
@ -319,7 +350,10 @@ const _sfc_main = {
src: url,
success: async (res) => {
if (isFirst && this.src === url)
await new Promise((resolve) => setTimeout(resolve, 50));
await new Promise((resolve) => setTimeout(
resolve,
50
));
this.imgSrc = res.path;
let scale = res.width / res.height;
let areaScale = this.area.width / this.area.height;
@ -340,7 +374,7 @@ const _sfc_main = {
this.oldHeight = +this.scaleHeight.toFixed(2);
},
fail: (err) => {
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:449", err);
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:493", err);
}
});
},
@ -438,7 +472,7 @@ const _sfc_main = {
callback && setTimeout(callback, this.delay);
};
image.onerror = (err) => {
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:552", err);
common_vendor.index.__f__("error", "at uni_modules/qf-image-cropper/components/qf-image-cropper/qf-image-cropper.vue:596", err);
common_vendor.index.hideLoading();
};
image.src = src;
@ -473,13 +507,19 @@ const _sfc_main = {
},
fail: (err) => {
common_vendor.index.hideLoading();
common_vendor.index.showToast({ title: "裁剪失败,生成图片异常!", icon: "none" });
common_vendor.index.showToast({
title: "裁剪失败,生成图片异常!",
icon: "none"
});
}
}, this);
},
/** 确认裁剪 */
cropClick() {
common_vendor.index.showLoading({ title: "裁剪中...", mask: true });
common_vendor.index.showLoading({
title: "裁剪中...",
mask: true
});
if (!this.use2d) {
const ctx = common_vendor.index.createCanvasContext("imgCanvas", this);
ctx.clearRect(0, 0, this.canvansWidth, this.canvansHeight);
@ -489,7 +529,10 @@ const _sfc_main = {
return;
}
const query = common_vendor.index.createSelectorQuery().in(this);
query.select("#imgCanvas").fields({ node: true, size: true }).exec((res) => {
query.select("#imgCanvas").fields({
node: true,
size: true
}).exec((res) => {
const canvas = res[0].node;
const dpr = common_vendor.index.getSystemInfoSync().pixelRatio;
canvas.width = res[0].width * dpr;
@ -504,7 +547,9 @@ const _sfc_main = {
},
handleImage(tempFilePath) {
common_vendor.index.hideLoading();
this.$emit("crop", { tempFilePath });
this.$emit("crop", {
tempFilePath
});
}
}
};
@ -518,65 +563,54 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
d: `${$data.canvansWidth}px`,
e: `${$data.canvansHeight}px`
}, {
f: $data.imgSrc
}, $data.imgSrc ? {
f: common_vendor.o(() => {
}),
g: $data.imgSrc
}, $data.imgSrc ? {
h: $data.imgSrc
} : {}, {
h: common_vendor.f($data.maskList, (item, index, i0) => {
i: common_vendor.f($data.maskList, (item, index, i0) => {
return {
a: item.id,
b: item.id
};
}),
i: $props.showBorder
j: $props.showBorder
}, $props.showBorder ? {} : {}, {
j: $props.radius > 0
k: $props.radius > 0
}, $props.radius > 0 ? {} : {}, {
k: $props.showGrid
l: $props.showGrid
}, $props.showGrid ? {
l: common_vendor.f($data.gridList, (item, index, i0) => {
m: common_vendor.f($data.gridList, (item, index, i0) => {
return {
a: item.id,
b: item.id
};
})
} : {}, {
m: $props.showAngle
}, $props.showAngle ? {
n: common_vendor.f($data.angleList, (item, index, i0) => {
return {
a: item.id,
b: item.id
};
}),
o: common_vendor.s({
width: `${$props.angleSize}px`,
height: `${$props.angleSize}px`
})
} : {}, {
p: $options.initData,
q: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
n: $options.initData,
o: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
}, ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc ? common_vendor.e({
r: $props.reverseRotatable
p: $props.reverseRotatable
}, $props.reverseRotatable ? {} : {}, {
s: $props.rotatable
q: $props.rotatable
}, $props.rotatable ? {} : {}) : {}, {
t: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
r: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
}, ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc ? common_vendor.e({
v: $props.reverseRotatable
s: $props.reverseRotatable
}, $props.reverseRotatable ? {
w: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
t: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
} : {}, {
x: $props.rotatable
v: $props.rotatable
}, $props.rotatable ? {
y: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
w: common_vendor.o((...args) => $options.chooseImage && $options.chooseImage(...args))
} : {}) : {}, {
z: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
x: ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc
}, ($props.rotatable || $props.reverseRotatable) && !!$data.imgSrc ? {
A: common_vendor.o((...args) => $options.cropClick && $options.cropClick(...args))
y: common_vendor.o((...args) => $options.cropClick && $options.cropClick(...args))
} : {}, {
B: $options.initData.area.zIndex + 99,
C: $props.zIndex
z: $options.initData.area.zIndex + 99,
A: $props.zIndex
});
}
if (typeof block0 === "function")

View File

@ -727,4 +727,4 @@ module.exports = {
circleStyles: '',
}
</wxs>
<view class="image-cropper data-v-7129956f" style="{{'z-index:' + C}}" bindwheel="{{cropper.mousewheel}}"><canvas wx:if="{{a}}" type="2d" id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + b + ';' + ('height:' + c)}}"></canvas><canvas wx:else id="imgCanvas" canvas-id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + d + ';' + ('height:' + e)}}"></canvas><view class="whitefont data-v-7129956f"> 请调整图片尺寸,放入取景框内 </view><view id="pic-preview" class="pic-preview data-v-7129956f" change:init="{{cropper.initObserver}}" init="{{p}}" bindtouchstart="{{cropper.touchstart}}" bindtouchmove="{{cropper.touchmove}}" bindtouchend="{{cropper.touchend}}"><image wx:if="{{f}}" id="crop-image" class="crop-image data-v-7129956f" style="{{_s(cropper.imageStyles)}}" src="{{g}}" webp></image><view wx:for="{{h}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-mask-block data-v-7129956f" style="{{_s(cropper.maskStylesList[index])}}"></view><view wx:if="{{i}}" id="crop-border" class="crop-border data-v-7129956f" style="{{_s(cropper.borderStyles)}}"></view><view wx:if="{{j}}" id="crop-circle-box" class="crop-circle-box data-v-7129956f" style="{{_s(cropper.circleBoxStyles)}}"><view class="crop-circle data-v-7129956f" id="crop-circle" style="{{_s(cropper.circleStyles)}}"></view></view><block wx:if="{{k}}"><view wx:for="{{l}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-grid data-v-7129956f" style="{{_s(cropper.gridStylesList[index])}}"></view></block><block wx:if="{{m}}"><view wx:for="{{n}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-angle data-v-7129956f" style="{{_s(cropper.angleStylesList[index])}}"><view class="data-v-7129956f" style="{{o}}"></view></view></block></view><slot/><view class="fixed-bottom safe-area-inset-bottom data-v-7129956f" style="{{'z-index:' + B}}"><view wx:if="{{q}}" class="action-bar data-v-7129956f"><view wx:if="{{r}}" class="rotate-icon data-v-7129956f" bindtap="{{cropper.rotateImage270}}"></view><view wx:if="{{s}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{cropper.rotateImage90}}"></view></view><view wx:if="{{t}}" class="action-bar-anther data-v-7129956f"><view wx:if="{{v}}" class="rotate-icon data-v-7129956f" bindtap="{{w}}"></view><view wx:if="{{x}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{y}}"></view></view><view wx:if="{{z}}" class="action-bar-right data-v-7129956f" bindtap="{{A}}"> 确认 </view></view></view>
<view class="image-cropper data-v-7129956f" style="{{'z-index:' + A}}" bindwheel="{{cropper.mousewheel}}"><canvas wx:if="{{a}}" type="2d" id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + b + ';' + ('height:' + c)}}"></canvas><canvas wx:else id="imgCanvas" canvas-id="imgCanvas" class="img-canvas data-v-7129956f" style="{{'width:' + d + ';' + ('height:' + e)}}"></canvas><view class="whitefont data-v-7129956f"><view class="action-bar-special data-v-7129956f"><view class="rotate-icon data-v-7129956f" bindtap="{{f}}"></view></view><view class=" data-v-7129956f"> 请调整图片尺寸,放入取景框内 </view></view><view id="pic-preview" class="pic-preview data-v-7129956f" change:init="{{cropper.initObserver}}" init="{{n}}" bindtouchstart="{{cropper.touchstart}}" bindtouchmove="{{cropper.touchmove}}" bindtouchend="{{cropper.touchend}}"><image wx:if="{{g}}" id="crop-image" class="crop-image data-v-7129956f" style="{{_s(cropper.imageStyles)}}" src="{{h}}" webp></image><view wx:for="{{i}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-mask-block data-v-7129956f" style="{{_s(cropper.maskStylesList[index])}}"></view><view wx:if="{{j}}" id="crop-border" class="crop-border data-v-7129956f"><view class="border-son data-v-7129956f"></view></view><view wx:if="{{k}}" id="crop-circle-box" class="crop-circle-box data-v-7129956f" style="{{_s(cropper.circleBoxStyles)}}"><view class="crop-circle data-v-7129956f" id="crop-circle" style="{{_s(cropper.circleStyles)}}"></view></view><block wx:if="{{l}}"><view wx:for="{{m}}" wx:for-item="item" wx:key="a" id="{{item.b}}" class="crop-grid data-v-7129956f" style="{{_s(cropper.gridStylesList[index])}}"></view></block></view><slot/><view class="fixed-bottom safe-area-inset-bottom data-v-7129956f" style="{{'z-index:' + z}}"><view wx:if="{{o}}" class="action-bar data-v-7129956f"><view wx:if="{{p}}" class="rotate-icon data-v-7129956f" bindtap="{{cropper.rotateImage270}}"></view><view wx:if="{{q}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{cropper.rotateImage90}}"></view></view><view wx:if="{{r}}" class="action-bar-anther data-v-7129956f"><view wx:if="{{s}}" class="rotate-icon data-v-7129956f" bindtap="{{t}}"></view><view wx:if="{{v}}" class="rotate-icon is-reverse data-v-7129956f" bindtap="{{w}}"></view></view><view wx:if="{{x}}" class="action-bar-right data-v-7129956f" bindtap="{{y}}"> 确认 </view></view></view>

View File

@ -71,11 +71,21 @@
}
.image-cropper .pic-preview .crop-border.data-v-7129956f {
position: fixed;
border: 1px solid #fff;
box-sizing: border-box;
z-index: 3;
pointer-events: none;
}
.image-cropper .pic-preview .crop-border .border-son.data-v-7129956f {
width: 625rpx;
height: 440rpx;
margin-top: -33rpx;
margin-left: -34rpx;
border-radius: 30rpx;
background-image: url("https://www.focusnu.com/media/directive/login/border.png");
background-size: 100% 100%;
background-repeat: no-repeat;
background-position: center;
}
.image-cropper .pic-preview .crop-grid.data-v-7129956f {
position: fixed;
z-index: 3;
@ -183,15 +193,40 @@
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.action-bar-special.data-v-7129956f {
display: flex;
width: 100rpx;
height: 100rpx;
justify-content: center;
align-items: center;
background-color: #3f3f3f;
border-radius: 50%;
z-index: 3;
z-index: 999;
margin-top: 0rpx;
margin-bottom: 35rpx;
}
.action-bar-special .rotate-icon.data-v-7129956f {
background-image: url("https://www.focusnu.com/media/directive/login/jietu.png");
background-size: 60% 60%;
background-repeat: no-repeat;
background-position: center;
width: 65rpx;
height: 65rpx;
}
.action-bar-special .rotate-icon.is-reverse.data-v-7129956f {
transform: rotateY(0deg);
}
.whitefont.data-v-7129956f {
font-size: 25rpx;
color: #fff;
width: 100%;
z-index: 3;
display: flex;
justify-content: center;
align-items: center;
position: absolute;
top: 60%;
top: 72%;
left: 50%;
transform: translate(-50%, -60%);
transform: translate(-50%, -72%);
flex-direction: column;
}