This commit is contained in:
Teng 2025-05-20 16:10:53 +08:00
parent a032a01544
commit b5e08d151d
480 changed files with 37090 additions and 3696 deletions

View File

@ -0,0 +1,261 @@
<template>
<view class="plsbuy-contain">
<view class="draw-title">
<view class="draw-flex">
<view class="draw-title-gun"></view>
<view class="draw-title-font">货品价格</view>
</view>
</view>
<view class="calculator-father">
<view v-for="(item, index) in calculatorArray" :key="index">
<view :class="blueNumber === index ? 'calculator-kuai-target' : 'calculator-kuai'"
@click="clickKuai(item, index)">
{{ item }}
</view>
</view>
</view>
<view class="qinggou-font">货品价格</view>
<view class="stringShow-father">
<view v-for="(char, idx) in stringShowChars" :key="idx">
<view class="stringShow-kuai">{{ char }}</view>
</view>
</view>
<view class="plsbuy-bottom">
<view class="plsbuy-bottom-blue" @click="closeIt">确认</view>
</view>
</view>
</template>
<script setup lang="ts">
import { ref, watch } from 'vue'
const emit = defineEmits(['right'])
const props = defineProps({ doOnce: { type: Number, required: true }, translateNumber: { type: [Number, String], required: true } })
//
const inputString = ref('')
const stringShowChars = ref<string[]>([])
const blueNumber = ref(-1)
const calculatorArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, '.', 'CE', 'AC']
// props.doOnce props.translateNumber
watch(
() => props.doOnce,
() => {
//
inputString.value = String(props.translateNumber)
updateDisplay()
},
{ immediate: true }
)
function clickKuai(item : any, index : number) {
blueNumber.value = index
setTimeout(() => { blueNumber.value = -1 }, 300)
if (item === 'AC') {
inputString.value = ''
} else if (item === 'CE') {
inputString.value = inputString.value.slice(0, -1)
} else if (item === '.') {
if (!inputString.value.includes('.') && inputString.value.length < 7) {
inputString.value = inputString.value || '0'
inputString.value += '.'
}
} else {
const char = item.toString()
if (canAppend(char)) {
inputString.value += char
}
}
updateDisplay()
}
function closeIt() {
const val = parseFloat(inputString.value) || 0
emit('right', val)
}
function updateDisplay() {
// "0"
if (inputString.value === '0') {
stringShowChars.value = Array(7).fill(' ')
return
}
//
if (!inputString.value) {
stringShowChars.value = Array(7).fill(' ')
return
}
//
const padded = padToSeven(inputString.value)
stringShowChars.value = padded.split('')
}
//
function canAppend(char : string) {
const newStr = inputString.value + char
const parts = newStr.split('.')
if (parts[1] && parts[1].length > 2) return false
return newStr.length <= 7
}
function padToSeven(str : string) {
// 1.
let [intPart, decPart] = str.split('.');
// 2.
if (decPart !== undefined) {
decPart = decPart.slice(0, 2);
}
// 3. "0" "0.56" ".56"
// "0"
intPart = intPart.replace(/^0+/, '');
if (intPart === '') {
intPart = '0';
}
// 4.
let newStr = decPart !== undefined ? `${intPart}.${decPart}` : intPart;
// 5. 7
if (newStr.length > 7) {
newStr = newStr.slice(0, 7);
}
// 6. 7
return newStr.padStart(7, ' ');
}
</script>
<style lang="less" scoped>
.plsbuy-contain {
display: flex;
// align-items: center;
flex-direction: column;
width: 100%;
height: 100%;
background: url("/static/index/pink.png") center/cover;
overflow: hidden;
}
.draw-title {
width: 100%;
height: 60rpx;
display: flex;
justify-content: space-between;
padding-top: 30rpx;
.draw-flex {
display: flex;
}
.draw-title-gun {
margin-left: 20rpx;
margin-right: 20rpx;
width: 13rpx;
height: 40rpx;
background: linear-gradient(to bottom, #04BCED, #0160CE);
border-radius: 10rpx;
}
.draw-title-font {
font-size: 35rpx;
font-weight: 700;
}
}
.plsbuy-bottom {
width: 100%;
margin-top: 20rpx;
height: 70rpx;
display: flex;
justify-content: center;
font-size: 35rpx;
.plsbuy-bottom-blue {
display: flex;
justify-content: center;
align-items: center;
width: 230rpx;
height: 80rpx;
border-radius: 20rpx;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
border: 1rpx #fff solid;
// margin-right: 20rpx;
box-shadow: 2rpx 2rpx 4rpx 0rpx rgba(0, 0, 0, 0.3);
}
}
.calculator-father {
width: 600rpx;
height: 500rpx;
margin-top: 20rpx;
flex-wrap: wrap;
display: flex;
margin-left: 45rpx;
.calculator-kuai {
display: flex;
justify-content: center;
align-items: center;
background-color: #DCDCEE;
border-radius: 25rpx;
font-size: 45rpx;
font-weight: 500;
margin: 15rpx 20rpx 0 20rpx;
width: 100rpx;
height: 100rpx;
}
.calculator-kuai-target {
background: linear-gradient(to bottom, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
background-color: #DCDCEE;
border-radius: 25rpx;
font-size: 45rpx;
font-weight: 500;
margin: 15rpx 20rpx 0 20rpx;
width: 100rpx;
height: 100rpx;
}
}
.stringShow-father {
width: 420rpx;
height: 70rpx;
margin-top: 20rpx;
margin-left: 25rpx;
// flex-wrap: wrap;
display: flex;
.stringShow-kuai {
display: flex;
justify-content: center;
align-items: center;
// background-color: #DCDCEE;
border-radius: 20rpx;
// border-radius: 15rpx;
font-size: 45rpx;
font-weight: 500;
margin: 0 15rpx;
width: 55rpx;
height: 55rpx;
border: 3rpx solid #303C57;
}
}
.qinggou-font {
font-size: 35rpx;
font-weight: 500;
margin-top: 10rpx;
display: flex;
justify-content: center;
}
</style>

View File

@ -0,0 +1,287 @@
<!-- 入库单 -->
<template>
<view class="draw-all">
<view class="draw-contain">
<view class="draw-title-father">
<view class="draw-title">
<view class="draw-font">货品名称:</view>
<view class="draw-weight">留置针敷贴(医用透明敷料)</view>
</view>
</view>
<view class="swiper-card">
<view class="swiper-card-top">
<view class="swiper-card-top-card">
<view class="card-img-father">
<image class="card-img" src="/static/index/guan.png" />
</view>
<view class="card-right">
<view class="card-right-title">
<view class="draw-flex">
<view class="title-gray">
货品名称
</view>
<view class="title-black">
引流袋医用透明
</view>
</view>
</view>
<view class="card-right-other">
<view class="draw-flex" style="width: 300rpx;">
<view class="title-gray">
货品编码
</view>
<view class="title-black">
FLYPO01
</view>
</view>
<view class="draw-flex" style="width: 300rpx;">
<view class="title-gray">
规格型号
</view>
<view class="title-black">
6cm*7cm
</view>
</view>
<view class="draw-flex" style="">
<view class="title-gray">
采购单位
</view>
<view class="title-black">
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="contant-mid">
<view class="">改价前到货单价:</view>
<view class="contant-mid-wight">{{savePrice}}</view>
</view>
<view class="contant-mid">
<view class="">改价后到货单价:</view>
<view class="contant-mid-wight-target" @click="openCal(changePrice)" >{{changePrice}}</view>
</view>
<view class="button-card">
<view class="swiper-button-white" @click="close()">
关闭
</view>
<view class="swiper-button-blue" @click="rightclose()">
确定
</view>
</view>
</view>
</view>
</template>
<script setup lang="ts">
import {
ref,
onMounted,
onBeforeUnmount,
computed,
nextTick,
watch
} from 'vue';
const emit = defineEmits(['right', "close","openCal","closeCal","rightclose"])
const blueNumber = ref(-1);
const props = defineProps({
savePrice: {
type: Number,
required: true,
},
changePrice: {
type: Number,
required: true,
},
});
const close = () =>{
emit('close')
emit("closeCal")
}
const openCal = (many:any) =>{
emit("openCal",many)
}
const closeCal = () =>{
emit("closeCal")
}
const rightclose = () =>{
emit('close')
emit("closeCal")
emit("rightclose",props.changePrice)
}
// const close
</script>
<style lang="less" scoped>
.draw-all {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background-color: #fff;
overflow: hidden;
.draw-contain {
width: 100%;
height: calc(100vh);
background-image: url("/static/index/fanpink.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
.draw-title-father {
width: 100%;
height: 150rpx;
display: flex;
justify-content: center;
align-items: center;
.draw-title {
display: flex;
font-size: 35rpx;
.draw-weight {
font-weight: 700;
}
}
}
}
}
.swiper-card {
margin: 0 0 30rpx 30rpx;
width: 1130rpx;
height: 170rpx;
border: 2rpx solid #fff;
border-radius: 30rpx;
background: url("/static/index/blueMountain.png") center/cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 5rpx 5rpx 10rpx 0rpx #839fcc;
overflow: hidden;
padding: 0 40rpx;
position: relative;
.swiper-card-top {
width: 100%;
height: 270rpx;
.swiper-card-top-card {
width: 100%;
height: 100%;
display: flex;
}
}
}
.card-img-father {
height: 200rpx;
width: 160rpx;
display: flex;
align-items: center;
// background-color: #fff;
.card-img {
margin-top: -15rpx;
//
width: 70%;
height: 70%;
}
}
.card-right-title {
width: 100%;
display: flex;
justify-content: space-between;
font-weight: 700;
margin: 30rpx 0;
.title-gray {
color: #596278;
font-size: 30rpx;
}
.title-black {
font-size: 30rpx;
}
}
.card-right-other {
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
font-size: 25rpx;
// background-color: red;
.title-gray {
color: #596278;
}
.title-green {
color: #647900;
}
.title-red {
color: #FF4A27;
}
}
.draw-flex {
display: flex;
}
.card-right {
width: 800rpx;
height: 100%;
}
.contant-mid{
padding: 30rpx 50rpx;
display: flex;
justify-content: space-between;
font-size: 32rpx;
.contant-mid-wight{
font-weight: 700;
}
.contant-mid-wight-target{
font-weight: 700;
border: 2rpx solid;
padding: 5rpx 10rpx;
border-radius: 10rpx;
margin-top: -10rpx;
}
}
.button-card {
margin-top: 30rpx;
display: flex;
justify-content: flex-end;
}
.swiper-button-blue {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
border: 2rpx solid #fff;
border-radius: 20rpx;
width: 200rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10rpx;
color: #fff;
margin-right: 40rpx;
}
.swiper-button-white {
background: linear-gradient(to bottom, #D5E0F8, #ECF6FF);
border: 2rpx solid #fff;
border-radius: 20rpx;
width: 200rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
// margin: 0 10rpx;
margin-right: 20rpx;
}
</style>

View File

@ -0,0 +1,716 @@
<!-- 详情按钮 -->
<template>
<view class="draw-all">
<view class="draw-contain">
<!-- 解决margin重叠问题 -->
<view class="draw-title">
<view class="draw-flex">
<view class="draw-title-gun"></view>
<view class="draw-title-font">采购单</view>
</view>
<view :class="openType ? `title-button`:`title-button-red`">
{{stateArray[openType]}}
</view>
</view>
<view class="swiper-card-once">
<view class="swiper-card-top">
<view class="swiper-card-top-card">
<view class="swiper-card-top-card-weight">
<view class="weight-left">
<view class="">采购单号</view>
<view class="" style="font-weight: 700;">A0120250301001</view>
</view>
<view class="weight-left">
<view class="">总金额</view>
<view class="">100.00</view>
</view>
</view>
<view class="weight-boom">
<view class="swiper-card-top-card-noral">
<view class="swiper-all-flex">
<view class="swiper-gray">
采购人
</view>
<view class="swiper-black">
王法
</view>
</view>
<view class="swiper-all-flex" style="width: 55%;">
<view class="swiper-gray">
采购日期
</view>
<view class="swiper-black">
2025.03.02
</view>
</view>
</view>
<view class="swiper-card-top-card-noral" style="margin-top: 15rpx;">
<view class="swiper-all-flex">
<view class="swiper-gray">
付款方式
</view>
<view class="swiper-black">
月结
</view>
</view>
<view class="swiper-all-flex" style="width: 55%;">
<view class="swiper-gray">
供应商
</view>
<view class="swiper-black">
宽城区珂爱个人卫生用品店
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="draw-title" style="margin-top: 25rpx;">
<view class="draw-flex">
<view class="draw-title-gun"></view>
<view class="draw-title-font">物料信息</view>
</view>
<view class="draw-flex" style="margin-top: -10rpx;">
<view class="button-blue" @click="openDrawer(4)">
随行单
</view>
</view>
</view>
<view class="scroll-view">
<scroll-view scroll-y style="height: 93%;margin-top: 2%;" :show-scrollbar="false">
<view class="swiper-flex">
<view v-for="(item,index) in cardArray" :key="index">
<view class="swiper-card">
<view class="swiper-card-rightbox">
<view class="vertical-line"></view>
<view class="rightbox-other">
<view class="boom-other-card">
<image class="boom-other-img" src="/static/index/Warehousing/goku.png" />
<view class="boom-other-font">入库数量:</view>
<view class="boom-other-weight">10</view>
</view>
<view class="boom-other-card">
<image class="boom-other-img"
src="/static/index/Warehousing/guazhang.png" />
<view class="boom-other-font">入库数量:</view>
<view class="boom-other-weight">0</view>
</view>
<view class="boom-other-card">
<image class="boom-other-img" src="/static/index/Warehousing/hexiao.png" />
<view class="boom-other-font">销账数量:</view>
<view class="boom-other-weight">0</view>
</view>
</view>
</view>
<view class="swiper-card-top">
<view class="swiper-card-top-card">
<view class="card-img-father">
<image class="card-img" src="/static/index/guan.png" />
</view>
<view class="card-right">
<view class="card-right-title">
<view class="draw-flex">
<view class="title-gray">
货品名称
</view>
<view class="title-black">
{{item.name}}
</view>
</view>
</view>
<view class="card-right-other">
<view class="draw-flex" style="width: 35%;">
<view class="title-gray">
货品编码
</view>
<view class="title-black">
FLYPO01
</view>
</view>
<view class="draw-flex" style="width: 35%;">
<view class="title-gray">
规格型号
</view>
<view class="title-black">
6cm*7cm
</view>
</view>
<view class="draw-flex" style="width: 30%;">
<view class="title-gray">
采购单位
</view>
<view class="title-black">
</view>
</view>
</view>
<view class="card-right-other">
<view class="draw-flex" style="width: 35%;">
<view class="title-gray">
参考单价
</view>
<view class="title-green">
0.1
</view>
</view>
<view class="draw-flex" style="width: 35%;">
<view class="title-gray">
采购单价
</view>
<view class="title-black">
{{item.price}}
</view>
<image class="title-img" src="/static/index/Warehousing/pen.png" @click="openPen(index)" />
</view>
<view class="draw-flex" style="width: 30%;">
<view class="title-gray">
采购金额
</view>
<view class="title-black">
10.12
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps, defineEmits, watch } from 'vue';
const note = ref("");
const calendarShow = ref(false);
const stateTarget = ref("");
const props = defineProps({
openType: {
type: Number,
required: true,
},
valueBack:{
type: Number,
required: true,
}
});
const cardArray = [
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
{
name: "引流袋(医用透明)",
price: 0.1
},
]
const stateArray = ['已作废', '未确认', '已确认', '未完结', '待结账', '已结账'];
//
const buttonList = ref([
{ url: '/static/index/Warehousing/sousuo.png', name: '查询' },
{ url: '/static/index/Warehousing/chongzhi.png', name: '重置' },
]);
const emit = defineEmits(['closedetail', 'openDrawer',"openPen"])
const calendarchange = (e : any) => {
stateTarget.value = e.result
}
const closedetail = () => {
emit('closedetail')
}
const openDrawer = (index : number) => {
emit('openDrawer', index)
}
const savePenIndex = ref(0);
const openPen = (index:number) => {
savePenIndex.value = index;
emit("openPen",cardArray[index].price)
}
watch(
() => props.valueBack,
() => {
if(props.valueBack!=-1){
cardArray[savePenIndex.value].price = props.valueBack
}
},
{ immediate: true }
)
</script>
<style lang="less" scoped>
.draw-all {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background-color: #fff;
border-top-left-radius: 80rpx;
border-bottom-left-radius: 80rpx;
overflow: hidden;
.draw-flex {
display: flex;
}
.draw-contain {
width: 100%;
height: calc(100vh);
background-image: url("/static/index/fanpink.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
}
.swiper-gray {
color: #596278;
}
.draw-title {
width: 100%;
height: 60rpx;
display: flex;
justify-content: space-between;
margin-top: 80rpx;
margin-left: 20rpx;
.draw-flex {
display: flex;
.button-first {
width: 120rpx;
height: 60rpx;
border-radius: 20rpx;
margin-right: 15rpx;
background: linear-gradient(to bottom right, #00C3AC, #28CFB3);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.button-second {
width: 120rpx;
height: 60rpx;
border-radius: 20rpx;
margin-right: 15rpx;
background: linear-gradient(to bottom right, #869AF3, #8296E9);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.button-third {
width: 120rpx;
height: 60rpx;
border-radius: 20rpx;
margin-right: 60rpx;
background: linear-gradient(to bottom right, #FF7A95, #FF9D94);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
}
.draw-title-gun {
margin-left: 20rpx;
margin-right: 20rpx;
width: 13rpx;
height: 40rpx;
background: linear-gradient(to bottom, #04BCED, #0160CE);
border-radius: 10rpx;
}
.draw-title-font {
font-size: 35rpx;
font-weight: 700;
margin-top: -3rpx;
}
.draw-title-blue {
height: 50rpx;
width: 120rpx;
margin-right: 50rpx;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10rpx;
border: 1rpx solid #fff;
}
}
.scroll-view {
height: 950rpx;
width: calc(100% - 80rpx);
margin-left: 40rpx;
border-radius: 40rpx;
border: 2rpx solid #fff;
box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc;
overflow: hidden;
}
.swiper-card-once {
margin: 0 0 30rpx 30rpx;
width: 1340rpx;
height: 270rpx;
border: 2rpx solid #fff;
border-radius: 30rpx;
background: url("/static/index/blueMountain.png") center/cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 5rpx 5rpx 10rpx 0rpx #839fcc;
overflow: hidden;
padding: 0 40rpx;
.swiper-card-top {
width: 100%;
height: 270rpx;
display: flex;
.swiper-card-top-card {
width: 100%;
height: 100%;
.swiper-card-top-card-weight {
display: flex;
justify-content: space-between;
margin: 25rpx 0;
font-size: 30rpx;
font-weight: 500;
.weight-left {
display: flex;
.blue-number {
font-size: 32rpx;
font-weight: 700;
color: #017DE9;
margin-top: 10rpx;
}
}
.weight-right {
color: #FF6000;
font-weight: 500;
font-size: 30rpx;
}
}
.weight-boom {
width: 1270rpx;
margin-left: -10rpx;
height: 140rpx;
background-color: rgba(131, 159, 204, 0.2);
border: 2rpx solid #fff;
box-shadow: 5rpx 5rpx 10rpx 0rpx #839fcc;
border-radius: 25rpx;
}
.swiper-card-top-card-noral {
margin-left: 50rpx;
display: flex;
justify-content: space-between;
margin-top: 30rpx;
font-size: 25rpx;
}
}
}
}
.swiper-flex {
display: flex;
flex-wrap: wrap;
margin-left: 0rpx;
.swiper-card {
margin: 0 0 30rpx 30rpx;
width: 1250rpx;
height: 230rpx;
border: 2rpx solid #fff;
border-radius: 30rpx;
background: url("/static/index/blueMountain.png") center/cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 5rpx 5rpx 10rpx 0rpx #839fcc;
overflow: hidden;
padding: 0 40rpx;
position: relative;
.swiper-card-rightbox {
position: absolute;
top: 0;
right: 0;
width: 220rpx;
height: 100%;
background-color: rgb(211, 238, 254);
display: flex;
.vertical-line {
height: 100%;
width: 2rpx;
background: linear-gradient(to bottom,
rgba(255, 255, 255, 0) 0%,
#ffffff 50%,
rgba(255, 255, 255, 0) 100%);
}
.rightbox-other {
width: 99%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
}
.swiper-card-top {
width: 100%;
height: 270rpx;
.swiper-card-top-card {
width: 100%;
height: 100%;
display: flex;
}
}
}
}
.index-right-button-blue {
height: 50rpx;
width: 100rpx;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 10rpx;
border: 1rpx solid #fff;
}
.swiper-all-flex {
display: flex;
}
.card-img-father {
height: 100%;
width: 230rpx;
display: flex;
align-items: center;
.card-img {
margin-top: -15rpx;
width: 70%;
height: 70%;
}
}
.card-right {
width: 800rpx;
height: 100%;
.card-right-title {
width: 100%;
display: flex;
justify-content: space-between;
font-weight: 700;
margin: 30rpx 0;
.title-gray {
color: #596278;
font-size: 30rpx;
}
.title-black {
font-size: 30rpx;
}
}
.card-right-other {
margin-top: 20rpx;
width: 100%;
display: flex;
justify-content: space-between;
font-size: 25rpx;
.title-gray {
color: #596278;
}
.title-green {
color: #647900;
}
.title-red {
color: #FF4A27;
}
}
}
.swiper-button-white {
background: linear-gradient(to bottom, #D5E0F8, #ECF6FF);
border: 2rpx solid #fff;
border-radius: 20rpx;
width: 200rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10rpx;
margin-right: 40rpx;
}
.swiper-button-blue {
background: linear-gradient(to bottom, #00C9FF, #0076FF);
border: 2rpx solid #fff;
border-radius: 20rpx;
width: 200rpx;
height: 80rpx;
display: flex;
justify-content: center;
align-items: center;
margin: 0 10rpx;
color: #fff;
}
.button-card {
margin-top: 30rpx;
display: flex;
justify-content: flex-end;
}
.down-note {
width: 100%;
overflow: hidden;
height: 170rpx;
display: flex;
align-items: center;
position: relative;
margin-top: -10rpx;
}
.down-note-title-input {
width: calc(100% - 100rpx);
margin-left: 40rpx;
height: 120rpx;
font-size: 27rpx;
border: 2rpx #a0adc8 solid;
padding: 15rpx 0 15rpx 20rpx;
background-color: rgba(234, 243, 254, 0.6);
border-radius: 30rpx;
}
.char-count {
position: absolute;
bottom: 30rpx;
right: 70rpx;
color: #999;
font-size: 25rpx;
}
.title-button {
height: 50rpx;
width: 120rpx;
margin-right: 50rpx;
border: 2rpx solid #fff;
border-radius: 15rpx;
background: #00AEFF;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.title-button-red {
height: 50rpx;
width: 120rpx;
margin-right: 50rpx;
border: 2rpx solid #fff;
border-radius: 15rpx;
background: linear-gradient(to bottom, #FF8251, #F52E2C);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.draw-red {
color: red;
font-size: 40rpx;
margin-top: -10rpx;
}
.button-blue {
width: 140rpx;
height: 60rpx;
border-radius: 20rpx;
margin-right: 50rpx;
background: linear-gradient(to bottom right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.boom-other-card {
width: 250rpx;
display: flex;
align-items: center;
margin: 10rpx 0;
.boom-other-img {
width: 30rpx;
height: 30rpx;
margin-left: 30rpx;
}
.boom-other-font {
margin-left: 5rpx;
font-size: 25rpx;
}
.boom-other-weight {
font-weight: 700;
margin-left: 5rpx;
}
}
.title-img{
width: 30rpx;
height: 30rpx;
margin-left: 20rpx;
}
</style>

View File

@ -450,7 +450,7 @@
width: 300rpx; width: 300rpx;
height: 180rpx; height: 180rpx;
border-radius: 25rpx; border-radius: 25rpx;
box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc; box-shadow: 2rpx 4rpx 8rpx 2rpx #839fcc;
background: linear-gradient(to bottom right, #eae7fa, #dadbf9); background: linear-gradient(to bottom right, #eae7fa, #dadbf9);
margin-left: 50rpx; margin-left: 50rpx;
display: flex; display: flex;
@ -463,7 +463,7 @@
width: 300rpx; width: 300rpx;
height: 180rpx; height: 180rpx;
border-radius: 25rpx; border-radius: 25rpx;
box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc; box-shadow: 2rpx 4rpx 8rpx 2rpx #839fcc;
background: linear-gradient(to bottom right, #bcf3f1, #9de9ee); background: linear-gradient(to bottom right, #bcf3f1, #9de9ee);
margin-left: 50rpx; margin-left: 50rpx;
display: flex; display: flex;
@ -477,7 +477,7 @@
width: 300rpx; width: 300rpx;
height: 180rpx; height: 180rpx;
border-radius: 25rpx; border-radius: 25rpx;
box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc; box-shadow: 2rpx 4rpx 8rpx 2rpx #839fcc;
background: linear-gradient(to bottom right, #ffcccc, #ffccff); background: linear-gradient(to bottom right, #ffcccc, #ffccff);
margin-left: 50rpx; margin-left: 50rpx;
display: flex; display: flex;

View File

@ -68,34 +68,36 @@
<view class="draw-title-font">随行单</view> <view class="draw-title-font">随行单</view>
</view> </view>
</view> </view>
<view class="scroll-view"> <view class="scroll-view">
<scroll-view scroll-y style="height: 100%;" :show-scrollbar="false"> <scroll-view scroll-y style="height: 100%;" :show-scrollbar="false">
<view v-for="(item,index) in photoArray" :key="index"> <view v-for="(item,index) in photoArray" :key="index">
<view class="card-father" @click="openPhoto(index)"> <view class="card-father" @click="openPhoto(index)">
<view class="card-white"> <view class="card-white">
<image class="card-white-photo" :src="item" /> <image class="card-white-photo" :src="item" />
</view> </view>
<view class="down-title" v-if="index!==photoArray.length-1"> <view class="down-title" v-if="index!==photoArray.length-1">
<view class="down-title-flex"> <view class="down-title-flex">
<image class="down-title-photo" src="/static/index/Warehousing/shangchuanpeople.png" /> <image class="down-title-photo"
src="/static/index/Warehousing/shangchuanpeople.png" />
<view style="margin-left: 10rpx;">上传人:</view> <view style="margin-left: 10rpx;">上传人:</view>
<view style="font-weight: 700;">王法</view> <view style="font-weight: 700;">王法</view>
</view> </view>
<view class="down-title-flex"> <view class="down-title-flex">
<image class="down-title-photo" src="/static/index/Warehousing/shangchuantime.png" /> <image class="down-title-photo"
src="/static/index/Warehousing/shangchuantime.png" />
<view style="margin-left: 10rpx;">上传时间:</view> <view style="margin-left: 10rpx;">上传时间:</view>
<view style="font-weight: 500;">2025.03.01 10:00:00</view> <view style="font-weight: 500;">2025.03.01 10:00:00</view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
</view> </view>
<view class="button-card"> <view class="button-card">
<!-- <view class="swiper-button-white" @click="closevoid"> <!-- <view class="swiper-button-white" @click="closevoid">
关闭 关闭
</view> --> </view> -->
<!-- <view class="swiper-button-blue" @click="voidIt()"> <!-- <view class="swiper-button-blue" @click="voidIt()">
@ -117,7 +119,7 @@
}); });
const postItems = ref(0); const postItems = ref(0);
const photoArray = ref([`https://img-s.msn.cn/tenant/amp/entityid/AA1ECZ6y.img?w=768&h=960&m=6&x=355&y=171&s=47&d=47`, `https://img-s.msn.cn/tenant/amp/entityid/AA1ECtEb.img?w=768&h=436&m=6&x=280&y=134&s=200&d=200`,"/static/index/addphoto.png"]) const photoArray = ref([`https://img-s.msn.cn/tenant/amp/entityid/AA1ECZ6y.img?w=768&h=960&m=6&x=355&y=171&s=47&d=47`, `https://img-s.msn.cn/tenant/amp/entityid/AA1ECtEb.img?w=768&h=436&m=6&x=280&y=134&s=200&d=200`, "/static/index/addphoto.png"])
// const stateArray = ['', '', '', '', '', '']; // const stateArray = ['', '', '', '', '', ''];
// //
const buttonList = ref([ const buttonList = ref([
@ -134,6 +136,33 @@
photoArray.value.pop() photoArray.value.pop()
photoArray.value = [...photoArray.value, ...res.tempFilePaths]; photoArray.value = [...photoArray.value, ...res.tempFilePaths];
photoArray.value.push("/static/index/addphoto.png") photoArray.value.push("/static/index/addphoto.png")
// uni.uploadFile({
// url: 'http://192.168.2.22:8080/nursing-unit/api/ocr/medicalCard',
// filePath: res.tempFilePaths[0],
// name: 'file',
// header: {
// 'Authorization': 'Bearer '
// },
// success: (uploadRes) => {
// console.log("!!!!!!!!",uploadRes)
// const result = JSON.parse(uploadRes.data);
// if (result.success) {
// console.log(':', result.data);
// //
// // this.idCardInfo = result.data;
// } else {
// uni.showToast({ title: result.message, icon: 'none' });
// }
// },
// fail: (err) => {
// console.log("????",err)
// uni.showToast({ title: '', icon: 'none' });
// },
// complete: () => {
// uni.hideLoading();
// },
// });
} }
}); });
}; };
@ -240,7 +269,8 @@
border: 2rpx solid #fff; border: 2rpx solid #fff;
box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc; box-shadow: 4rpx 8rpx 16rpx 4rpx #839fcc;
overflow: hidden; overflow: hidden;
.card-father{
.card-father {
margin: 10rpx 0 20rpx 23rpx; margin: 10rpx 0 20rpx 23rpx;
width: 800rpx; width: 800rpx;
height: 350rpx; height: 350rpx;
@ -252,23 +282,27 @@
// justify-content: center; // justify-content: center;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
.down-title{
.down-title {
width: 100%; width: 100%;
height: 80rpx; height: 80rpx;
// background-color: red; // background-color: red;
padding: 0 50rpx; padding: 0 50rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.down-title-flex{
.down-title-flex {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.down-title-photo{
.down-title-photo {
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
} }
} }
.card-white{
.card-white {
width: 740rpx; width: 740rpx;
height: 250rpx; height: 250rpx;
margin-top: 20rpx; margin-top: 20rpx;
@ -278,7 +312,8 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.card-white-photo{
.card-white-photo {
width: 260rpx; width: 260rpx;
height: 180rpx; height: 180rpx;
} }
@ -476,7 +511,7 @@
align-items: center; align-items: center;
// margin: 0 10rpx; // margin: 0 10rpx;
margin-right: 20rpx; margin-right: 20rpx;
} }
.swiper-button-blue { .swiper-button-blue {
@ -508,11 +543,13 @@
position: relative; position: relative;
margin-top: -10rpx; margin-top: -10rpx;
display: flex; display: flex;
.down-note-img{
.down-note-img {
width: 60rpx; width: 60rpx;
height: 60rpx; height: 60rpx;
} }
.down-note-photo{
.down-note-photo {
height: 150rpx; height: 150rpx;
width: 200rpx; width: 200rpx;
margin: 0 10rpx; margin: 0 10rpx;
@ -644,32 +681,38 @@
// border: 2rpx solid #fff; // border: 2rpx solid #fff;
border: 2rpx solid #fff; border: 2rpx solid #fff;
} }
.boom-other{
.boom-other {
width: 727rpx; width: 727rpx;
height: 55rpx; height: 55rpx;
// background-color: red; // background-color: red;
display: flex; display: flex;
.boom-other-card{
.boom-other-card {
width: 250rpx; width: 250rpx;
display: flex; display: flex;
align-items: center; align-items: center;
// background-color: #fff; // background-color: #fff;
.boom-other-img{ .boom-other-img {
width: 30rpx; width: 30rpx;
height: 30rpx; height: 30rpx;
margin-left: 15rpx; margin-left: 15rpx;
// margin-top: -5rpx; // margin-top: -5rpx;
} }
.boom-other-font{
.boom-other-font {
margin-left: 5rpx; margin-left: 5rpx;
font-size: 25rpx; font-size: 25rpx;
} }
.boom-other-weight{
.boom-other-weight {
font-weight: 700; font-weight: 700;
margin-left: 30rpx; margin-left: 30rpx;
} }
} }
} }
.card-boom { .card-boom {
margin-top: -15rpx; margin-top: -15rpx;
width: 727rpx; width: 727rpx;
@ -677,11 +720,12 @@
border-radius: 25rpx; border-radius: 25rpx;
background-color: rgb(218, 226, 245); background-color: rgb(218, 226, 245);
} }
.white-shu{
.white-shu {
width: 2rpx; width: 2rpx;
// margin-top: 5rpx; // margin-top: 5rpx;
height: 40rpx; height: 40rpx;
background-color: #fff; background-color: #fff;
margin: 8rpx 5rpx 0 5rpx ; margin: 8rpx 5rpx 0 5rpx;
} }
</style> </style>

View File

@ -142,19 +142,18 @@
详情 详情
</view> </view>
<view class="swiper-button-blue" v-show="item.cardType==4" <view class="swiper-button-blue" v-show="item.cardType==4"
@click="isRight(index)"> @click="openfinish(item.cardType)">
结账 结账
</view> </view>
<view class="swiper-button-blue" <view class="swiper-button-blue" v-show="item.cardType==3||item.cardType==2"
v-show="item.cardType==3||item.cardType==2"
@click="pickingGoodclick"> @click="pickingGoodclick">
拣货 拣货
</view> </view>
<!-- <view class="swiper-button-blue" v-show="item.cardType==2"> <!-- <view class="swiper-button-blue" v-show="item.cardType==2">
分享 分享
</view> --> </view> -->
<view class="swiper-button-white" v-show="item.cardType>=2" <view class="swiper-button-white"
@click="isBack(index)"> v-show="item.cardType>=2&&item.cardType!==5" @click="isBack(index)">
回退 回退
</view> </view>
@ -203,18 +202,32 @@
<Drawer ref="detaildrawer" :widNumber="60"> <Drawer ref="detaildrawer" :widNumber="60">
<otherDetail :openType="openType" @closedetail="closedetaildrawer" @openDrawer="openDrawer" /> <otherDetail :openType="openType" @closedetail="closedetaildrawer" @openDrawer="openDrawer" />
</Drawer> </Drawer>
<!-- 改价弹窗 -->
<view v-show="pricedrawer && isShow" class="popup-detail-finish" @click="pricedrawer=false">
<view class="popup-detail-content" :style="{ opacity: detailisopacity ? 1 : 0 }" @click.stop>
<finish :changePrice="changePrice" :savePrice="savePrice" @rightclose="rightclose" @close="pricedrawer=false" @openCal="openCalsec" @closeCal="isopenCalsec=false" />
</view>
<view v-show="isopenCalsec" class="popup-detail-content-calculator" :style="{ opacity: detailisopacity ? 1 : 0 }" @click.stop>
<calculatorfly :doOnce="doOnce" :translateNumber="translateNumber" @right="rightchangePrice" />
</view>
</view>
<!-- 结账的抽屉 -->
<Drawer ref="finishAccountdrawer" :widNumber="60">
<finishAccount :valueBack="valueBack" :openType="openType" @closedetail="closedetaildrawer" @openDrawer="openDrawer" @openPen="openPen" />
</Drawer>
<!-- 入库单的抽屉 --> <!-- 入库单的抽屉 -->
<Drawer ref="storagedrawer" :widNumber="50" style="z-index: 1000;"> <Drawer ref="storagedrawer" :widNumber="50" style="z-index: 1000;">
<storage :dantype="dantype" @opensuixing="opensuixing" @closevoid="closestorage" /> <storage :dantype="dantype" @opensuixing="opensuixing" @closevoid="closestorage" />
</Drawer> </Drawer>
<!-- 核销单的抽屉 --> <!-- 核销单的抽屉 -->
<Drawer ref="verificationdrawer" :widNumber="50" style="z-index: 1000;"> <Drawer ref="verificationdrawer" :widNumber="50" style="z-index: 1000;">
<verification @closehexiao="closehexiao"/> <verification @closehexiao="closehexiao" />
</Drawer> </Drawer>
<!-- 随行单的抽屉 --> <!-- 随行单的抽屉 -->
<Drawer ref="suixingdrawer" :widNumber="40" style="z-index: 1001;"> <Drawer ref="suixingdrawer" :widNumber="40" style="z-index: 1001;">
<suixing /> <suixing />
</Drawer> </Drawer>
<!-- 计算器弹窗 -->
<view v-show="caldrawer && isShow" class="popup-detail-cal" @click="caldrawer=false"> <view v-show="caldrawer && isShow" class="popup-detail-cal" @click="caldrawer=false">
<view class="popup-detail-content" :style="{ opacity: detailisopacity ? 1 : 0 }" @click.stop> <view class="popup-detail-content" :style="{ opacity: detailisopacity ? 1 : 0 }" @click.stop>
<calculator :doOnce="doOnce" :translateNumber="translateNumber" @close="closeCal" @right="rightCal" /> <calculator :doOnce="doOnce" :translateNumber="translateNumber" @close="closeCal" @right="rightCal" />
@ -245,10 +258,13 @@
import otherVoid from "@/component/storeroom/drawer/otherVoid/index.vue" import otherVoid from "@/component/storeroom/drawer/otherVoid/index.vue"
import storage from "@/component/storeroom/drawer/storage/index.vue" import storage from "@/component/storeroom/drawer/storage/index.vue"
import suixing from "@/component/storeroom/drawer/suixing/index.vue" import suixing from "@/component/storeroom/drawer/suixing/index.vue"
import verification from "@/component/storeroom/drawer/verification/index.vue" import verification from "@/component/storeroom/drawer/verification/index.vue"
import pickingGood from "@/component/storeroom/drawer/pickingGood/index.vue" import pickingGood from "@/component/storeroom/drawer/pickingGood/index.vue"
import picking from "@/component/storeroom/drawer/picking/index.vue" import picking from "@/component/storeroom/drawer/picking/index.vue"
import calculator from "@/component/storeroom/drawer/calculator/index.vue" import calculator from "@/component/storeroom/drawer/calculator/index.vue"
import finish from "@/component/storeroom/drawer/finish/index.vue"
import finishAccount from "@/component/storeroom/drawer/finishAccount/index.vue"
import calculatorfly from "@/component/storeroom/components/calculatorfly.vue"
const props = defineProps({ const props = defineProps({
isShow: { isShow: {
@ -309,79 +325,103 @@
} }
} }
) )
const detaildrawer = ref(null); const detaildrawer = ref(null);
const voiddrawer = ref(null); const voiddrawer = ref(null);
const storagedrawer = ref(null); const storagedrawer = ref(null);
const verificationdrawer = ref(null); const verificationdrawer = ref(null);
const pricedrawer = ref(false);
const firstBall = ref(0); const firstBall = ref(0);
const secondBall = ref(0); const secondBall = ref(0);
const thirdBall = ref(0); const thirdBall = ref(0);
const calendarShow = ref(false); const calendarShow = ref(false);
// //
const openType = ref(-1); const openType = ref(-1);
const openDetailDrawer = (type:number) =>{ const openDetailDrawer = (type : number) => {
openType.value = type; openType.value = type;
detaildrawer.value.openDrawer(); detaildrawer.value.openDrawer();
} }
const pickingGooddrawer = ref(null); const pickingGooddrawer = ref(null);
const pickingGoodclick = () =>{ const pickingGoodclick = () => {
pickingGooddrawer.value.openDrawer(); pickingGooddrawer.value.openDrawer();
} }
const saveVoidIndex = ref(-1); const saveVoidIndex = ref(-1);
const openVoidDrawer = (index:number) =>{ const openVoidDrawer = (index : number) => {
// openType.value = type; // openType.value = type;
saveVoidIndex.value = index saveVoidIndex.value = index
voiddrawer.value.openDrawer(); voiddrawer.value.openDrawer();
} }
const suixingdrawer = ref(null); const suixingdrawer = ref(null);
const opensuixing = () =>{ const opensuixing = () => {
suixingdrawer.value.openDrawer(); suixingdrawer.value.openDrawer();
} }
const dantype = ref(0); const dantype = ref(0);
const pickingdrawer =ref(null); const pickingdrawer = ref(null);
const openDrawer = (index:number) =>{ const openDrawer = (index : number) => {
if(!index){ if (!index) {
storagedrawer.value.openDrawer(); storagedrawer.value.openDrawer();
dantype.value = 0; dantype.value = 0;
}else if(index===1){ } else if (index === 1) {
storagedrawer.value.openDrawer(); storagedrawer.value.openDrawer();
dantype.value = 1; dantype.value = 1;
} }
else if(index===2){ else if (index === 2) {
dantype.value = 2; dantype.value = 2;
verificationdrawer.value.openDrawer(); verificationdrawer.value.openDrawer();
}else if(index===3){ } else if (index === 3) {
pickingdrawer.value.openDrawer(); pickingdrawer.value.openDrawer();
}else if(index===4){ } else if (index === 4) {
// console.log("?????")
suixingdrawer.value.openDrawer(); suixingdrawer.value.openDrawer();
} }
}
const savePrice = ref(0);
const changePrice = ref(0);
const valueBack = ref(-1);
const rightclose = (number:number) =>{
valueBack.value = number;
}
const rightchangePrice = (price:number) =>{
isopenCalsec.value = false;
changePrice.value = price
}
const openPen = (price:number) =>{
savePrice.value = price;
changePrice.value = price;
pricedrawer.value = true;
detailisopacity.value = true
} }
const translateNumber = ref(0); const translateNumber = ref(0);
const doOnce = ref(0); const doOnce = ref(0);
const caldrawer = ref(false); const caldrawer = ref(false);
const closeCal = () =>{ const closeCal = () => {
caldrawer.value = false; caldrawer.value = false;
}
const isopenCalsec = ref(false);
const openCalsec = (many:number) =>{
isopenCalsec.value = true;
doOnce.value++
translateNumber.value = many
} }
const backnumber = ref(0); const backnumber = ref(0);
const rightCal = (number:number) =>{ const rightCal = (number : number) => {
caldrawer.value = false; caldrawer.value = false;
backnumber.value = number backnumber.value = number
} }
const openCal = (number:number) =>{ const openCal = (number : number) => {
translateNumber.value = number; translateNumber.value = number;
caldrawer.value = true; caldrawer.value = true;
detailisopacity.value = false; detailisopacity.value = false;
setTimeout(() => { setTimeout(() => {
detailisopacity.value = true detailisopacity.value = true
}, 100) }, 100)
doOnce.value ++ doOnce.value++
} }
const closepickingdrawer = () =>{ const closepickingdrawer = () => {
pickingdrawer.value.closeDrawer() pickingdrawer.value.closeDrawer()
} }
const isDelete = (index : number) => { const isDelete = (index : number) => {
@ -392,6 +432,11 @@
sliceArray.value = cardArray.value; sliceArray.value = cardArray.value;
voiddrawer.value.closeDrawer() voiddrawer.value.closeDrawer()
} }
const finishAccountdrawer = ref(null);
const openfinish = (index : number) => {
openType.value = index;
finishAccountdrawer.value.openDrawer();
}
const isRight = (index : number) => { const isRight = (index : number) => {
firstBall.value = 0 firstBall.value = 0
secondBall.value = 0 secondBall.value = 0
@ -399,6 +444,7 @@
cardArray.value[index].cardType++ cardArray.value[index].cardType++
sliceArray.value = cardArray.value; sliceArray.value = cardArray.value;
} }
const isBack = (index : number) => { const isBack = (index : number) => {
firstBall.value = 0 firstBall.value = 0
secondBall.value = 0 secondBall.value = 0
@ -547,16 +593,16 @@
detailisopacity.value = true detailisopacity.value = true
}, 200) }, 200)
} }
const closedetaildrawer = () =>{ const closedetaildrawer = () => {
detaildrawer.value.closeDrawer() detaildrawer.value.closeDrawer()
} }
const closestorage = () =>{ const closestorage = () => {
storagedrawer.value.closeDrawer() storagedrawer.value.closeDrawer()
} }
const closevoid = () =>{ const closevoid = () => {
voiddrawer.value.closeDrawer() voiddrawer.value.closeDrawer()
} }
const closehexiao = () =>{ const closehexiao = () => {
verificationdrawer.value.closeDrawer() verificationdrawer.value.closeDrawer()
} }
const calendarchange = (e : any) => { const calendarchange = (e : any) => {
@ -773,8 +819,24 @@
backdrop-filter: blur(1rpx); backdrop-filter: blur(1rpx);
background-color: rgba(89, 109, 154, 0.4); background-color: rgba(89, 109, 154, 0.4);
/* 添加毛玻璃效果 */ /* 添加毛玻璃效果 */
z-index: 999;
.popup-detail-price{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 1000rpx;
height: 1000rpx;
background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
border: 2rpx solid #fff;
/* 使用 screen 混合模式,让图像与白色混合变淡 */
border-radius: 30rpx;
box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
z-index: 1005;
}
.popup-detail-content { .popup-detail-content {
display: flex; display: flex;
width: 1500rpx; width: 1500rpx;
@ -848,6 +910,7 @@
color: #A53600; color: #A53600;
font-size: 25rpx; font-size: 25rpx;
} }
.ball-yellow-big { .ball-yellow-big {
background: linear-gradient(to top right, #FF9F00, #FFDF2A); background: linear-gradient(to top right, #FF9F00, #FFDF2A);
width: 100rpx; width: 100rpx;
@ -859,6 +922,7 @@
color: #A53600; color: #A53600;
font-size: 35rpx; font-size: 35rpx;
} }
.ball-red-big { .ball-red-big {
background: #FF642F; background: #FF642F;
color: #fff; color: #fff;
@ -1034,6 +1098,7 @@
} }
} }
} }
.popup-detail-cal { .popup-detail-cal {
position: fixed; position: fixed;
top: 0; top: 0;
@ -1047,7 +1112,7 @@
background-color: rgba(89, 109, 154, 0.4); background-color: rgba(89, 109, 154, 0.4);
/* 添加毛玻璃效果 */ /* 添加毛玻璃效果 */
z-index: 999; z-index: 999;
.popup-detail-content { .popup-detail-content {
position: absolute; position: absolute;
right: 330rpx; right: 330rpx;
@ -1066,4 +1131,51 @@
} }
} }
.popup-detail-finish {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
// display: flex;
// justify-content: center;
// align-items: center;
backdrop-filter: blur(1rpx);
background-color: rgba(89, 109, 154, 0.4);
/* 添加毛玻璃效果 */
z-index: 1001;
.popup-detail-content {
position: absolute;
left: 350rpx;
top: 400rpx;
// left: 0;
// bottom: 0;
display: flex;
width: 1200rpx;
height: 700rpx;
background: url("/static/index/lightbgcnew.png") center/cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
border: 2rpx solid #fff;
/* 使用 screen 混合模式,让图像与白色混合变淡 */
border-radius: 40rpx;
box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
overflow: hidden;
}
}
.popup-detail-content-calculator {
position: absolute;
right: 100rpx;
top: 310rpx;
display: flex;
width: 650rpx;
height: 850rpx;
background-color: #fff;
border: 2rpx solid #fff;
border-radius: 30rpx;
box-shadow: 10rpx 10rpx 20rpx rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
overflow: hidden;
}
</style> </style>

View File

@ -2,8 +2,8 @@
"name" : "养老App", "name" : "养老App",
"appid" : "__UNI__FB2D473", "appid" : "__UNI__FB2D473",
"description" : "养老App", "description" : "养老App",
"versionName" : "1.2.0", "versionName" : "1.2.1",
"versionCode" : 120, "versionCode" : 121,
"transformPx" : false, "transformPx" : false,
/* 5+App */ /* 5+App */
"app-plus" : { "app-plus" : {

View File

@ -1,19 +0,0 @@
// 引入 request 文件
import request from './index.js'
// 分页查询学习列表
// export const pageStudyInfo = (params) => {
// return request({
// url: '/study/studyInfo/page',
// method: 'get',
// data: params,
// header: {} // 自定义
// })
// }
// // 获取学习列表详细信息
// export const studyInfoById = (id) => {
// return request({
// url: `/study/studyInfo/${id}`,
// method: 'get',
// })
// }

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

View File

@ -1,7 +1,7 @@
;(function(){ ;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","bounce":"none","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app x","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"养老App","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.64","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}}; const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","bounce":"none","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app x","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"养老App","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.65","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Nursing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Warehousing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/assess/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/indexnew","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Nursing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Warehousing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/assess/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/indexnew","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[];//styles __uniConfig.styles=[];//styles
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});

File diff suppressed because one or more lines are too long

View File

@ -7,8 +7,8 @@
"id": "__UNI__FB2D473", "id": "__UNI__FB2D473",
"name": "养老App", "name": "养老App",
"version": { "version": {
"name": "1.2.0", "name": "1.2.1",
"code": 120 "code": 121
}, },
"description": "养老App", "description": "养老App",
"developer": { "developer": {
@ -130,7 +130,7 @@
"uni-app": { "uni-app": {
"control": "uni-v3", "control": "uni-v3",
"vueVersion": "3", "vueVersion": "3",
"compilerVersion": "4.64", "compilerVersion": "4.65",
"nvueCompiler": "uni-app", "nvueCompiler": "uni-app",
"renderer": "auto", "renderer": "auto",
"nvue": { "nvue": {

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

View File

@ -1 +1 @@
{"version":3,"file":"app.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"} {"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@import \"./uni_modules/vk-uview-ui/index.scss\";\r\n\t/*每个页面公共css */\r\n\t\r\n</style>\n","import App from './App'\r\n// 引入 uView UI\nimport uView from './uni_modules/vk-uview-ui';\r\n\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n \n // 使用 uView UI\n app.use(uView)\n \n return { app }\n}\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;ACOM,SAAS,YAAY;AAC1B,QAAM,MAAOC,cAAY,aAACC,SAAG;AAG7B,MAAI,IAAIC,iCAAK;AAEb,SAAO,EAAE,IAAK;AAChB;;;"}

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":"Drawer.js","sources":["component/public/Drawer.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9EcmF3ZXIudnVl"],"sourcesContent":["<template>\r\n\t<view>\r\n\t\t<!-- 遮罩层display 由 v-show 控制opacity 由 overlay-show 类控制 -->\r\n\t\t<view v-show=\"isVisible\" :class=\"['overlay', { 'overlay-show': isVisible }]\" @click=\"whiteDrawer\" />\r\n\r\n\t\t<!-- 抽屉 -->\r\n\t\t<view :class=\"['drawer', { 'drawer-open': isVisible }]\" :style=\"drawerStyle\">\r\n\t\t\t<view class=\"drawer-content\">\r\n\t\t\t\t<!-- 抽屉中间的半圆 -->\r\n\t\t\t\t<view v-show=\"isVisible && canclose\" class=\"drawer-content-circle\" @click=\"whiteDrawer\">\r\n\t\t\t\t\t<image class=\"drawer-img\" src=\"/static/index/zuoyuan.png\" />\r\n\t\t\t\t</view>\r\n\t\t\t\t<!-- 抽屉内容 -->\r\n\t\t\t\t<slot />\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup>\r\n\timport {\r\n\t\tref,\r\n\t\tdefineProps,\r\n\t\tcomputed\r\n\t} from 'vue'\r\n\r\n\t// 控制抽屉显示隐藏\r\n\tconst isVisible = ref(false)\r\n\r\n\t// 接收父组件传入的宽度百分比\r\n\tconst props = defineProps({\r\n\t\twidNumber: {\r\n\t\t\ttype: Number,\r\n\t\t\tdefault: 85\r\n\t\t},\r\n\t\tcanclose: {\r\n\t\t\ttype:Boolean,\r\n\t\t\tdefault:true\r\n\t\t}\r\n\t})\r\n\r\n\t// 仅动态设置宽度,位置由 transform 控制\r\n\tconst drawerStyle = computed(() => ({\r\n\t\twidth: `${props.widNumber}%`\r\n\t}))\r\n\r\n\t// 对外暴露打开方法\r\n\tfunction openDrawer() {\r\n\t\tisVisible.value = true\r\n\t}\r\n\t// 点击空白关闭方法\r\n\tfunction whiteDrawer() {\r\n\t\tif(props.canclose){\r\n\t\t\tisVisible.value = false\r\n\t\t}\r\n\t}\r\n\t// 对外暴露关闭方法\r\n\tfunction closeDrawer() {\r\n\t\tisVisible.value = false\r\n\t}\r\n\r\n\tdefineExpose({\r\n\t\topenDrawer,\r\n\t\tcloseDrawer\r\n\t})\r\n</script>\r\n\r\n<style lang=\"less\" scoped>\r\n\t/* 遮罩层样式 */\r\n\t.overlay {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tleft: 0;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tbackground: rgba(0, 0, 0, 0.5);\r\n\t\tz-index: 999;\r\n\t\twill-change: opacity;\r\n\t\ttransition: opacity 0.3s ease;\r\n\t\topacity: 0;\r\n\t\tdisplay: block;\r\n\t\t/* 由 v-show 控制 */\r\n\t}\r\n\r\n\t/* 当 isVisible 为 true 时,添加 overlay-show 类,触发遮罩渐显 */\r\n\t.overlay-show {\r\n\t\topacity: 1;\r\n\t}\r\n\r\n\t/* 抽屉整体样式 */\r\n\t.drawer {\r\n\t\tposition: fixed;\r\n\t\ttop: 0;\r\n\t\tright: 0;\r\n\t\theight: 100vh;\r\n\t\tbackground: #fff;\r\n\t\tz-index: 1000;\r\n\t\tborder-top-left-radius: 80rpx;\r\n\t\tborder-bottom-left-radius: 80rpx;\r\n\r\n\t\t/* 使用 transform 做动画,避免布局重排 */\r\n\t\ttransform: translateX(100%);\r\n\t\ttransition: transform 0.4s ease;\r\n\t\twill-change: transform;\r\n\t}\r\n\r\n\t/* 抽屉打开时 */\r\n\t.drawer-open {\r\n\t\ttransform: translateX(0);\r\n\t}\r\n\r\n\t.drawer-content {\r\n\t\tposition: relative;\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t}\r\n\r\n\t.drawer-content-circle {\r\n\t\tposition: absolute;\r\n\t\ttop: calc(50% - 55rpx);\r\n\t\tleft: -40rpx;\r\n\t\twidth: 100rpx;\r\n\t\theight: 110rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tz-index: -1;\r\n\t\tbackground: linear-gradient(to bottom, #dfecfa, #c9dbee);\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tclip-path: inset(0 60% 0 0);\r\n\t}\r\n\r\n\t.drawer-img {\r\n\t\twidth: 25rpx;\r\n\t\theight: 25rpx;\r\n\t\tmargin-left: 10rpx;\r\n\t\ttransform: rotate(180deg);\r\n\t}\r\n</style>","import Component from 'D:/hldy_app/component/public/Drawer.vue'\nwx.createComponent(Component)"],"names":["ref","computed"],"mappings":";;;;;;;;;;;;;;;;AA2BC,UAAM,YAAYA,cAAG,IAAC,KAAK;AAG3B,UAAM,QAAQ;AAYd,UAAM,cAAcC,cAAAA,SAAS,OAAO;AAAA,MACnC,OAAO,GAAG,MAAM,SAAS;AAAA,IAC3B,EAAG;AAGF,aAAS,aAAa;AACrB,gBAAU,QAAQ;AAAA,IAClB;AAED,aAAS,cAAc;AACtB,UAAG,MAAM,UAAS;AACjB,kBAAU,QAAQ;AAAA,MAClB;AAAA,IACD;AAED,aAAS,cAAc;AACtB,gBAAU,QAAQ;AAAA,IAClB;AAED,aAAa;AAAA,MACZ;AAAA,MACA;AAAA,IACF,CAAE;;;;;;;;;;;;;;;;;;;;AC/DF,GAAG,gBAAgB,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"joystick.js","sources":["component/public/game/joystick.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9nYW1lL2pveXN0aWNrLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"move-circle\">\r\n\t\t<image v-show=\"key === 0\" src=\"/static/index/keyimg/where10.png\" class=\"container-img-up\" />\r\n\t\t<image v-show=\"key === 2\" src=\"/static/index/keyimg/where10.png\" class=\"container-img-down\" />\r\n\t\t<image v-show=\"key === 3\" src=\"/static/index/keyimg/where10.png\" class=\"container-img-left\" />\r\n\t\t<image v-show=\"key === 1\" src=\"/static/index/keyimg/where10.png\" class=\"container-img-right\" />\r\n\t\t<!-- 上 -->\r\n\t\t<view class=\"up-container\" @click=\"handleClick(0)\">\r\n\t\t\t<image :src=\"icons.up\" class=\"container-img\" />\r\n\t\t</view>\r\n\t\t<!-- 右 -->\r\n\t\t<view class=\"right-container\" @click=\"handleClick(1)\">\r\n\t\t\t<image :src=\"icons.right\" class=\"container-img-shu\" />\r\n\t\t</view>\r\n\t\t<!-- 下 -->\r\n\t\t<view class=\"down-container\" @click=\"handleClick(2)\">\r\n\t\t\t<image :src=\"icons.down\" class=\"container-img\" />\r\n\t\t</view>\r\n\t\t<!-- 左 -->\r\n\t\t<view class=\"left-container\" @click=\"handleClick(3)\">\r\n\t\t\t<image :src=\"icons.left\" class=\"container-img-shu\" />\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\nimport { reactive, ref } from 'vue'\nconst emit = defineEmits(['movecard'])\n\nconst icons = reactive({\n up: '/static/index/keyimg/up1.png',\n right: '/static/index/keyimg/where2.png',\n down: '/static/index/keyimg/down1.png',\n left: '/static/index/keyimg/where1.png'\n})\nconst key = ref(-1)\n\n// 保存当前定时器 ID\nlet resetTimer = null\n\nfunction handleClick(dir: number) {\n // 清除上一次定时器\n if (resetTimer !== null) {\n clearTimeout(resetTimer)\n }\n\n // 显示当前方向\n key.value = dir\n emit('movecard', dir)\n\n // 重新开启 800ms 定时器\n resetTimer = setTimeout(() => {\n key.value = -1\n resetTimer = null\n }, 500)\n}\n</script>\n\r\n\r\n\r\n<style lang=\"less\" scoped>\r\n\t.move-circle {\r\n\t\tposition: absolute;\r\n\t\tbottom: 300rpx;\r\n\t\tleft: 0;\r\n\t\twidth: 330rpx;\r\n\t\theight: 330rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tbackground: radial-gradient(circle at center,\r\n\t\t\t\t/* 圆形渐变,中心点在元素正中 */\r\n\t\t\t\trgba(110, 149, 217, 0.2) 0%,\r\n\t\t\t\t/* 中心处纯色 */\r\n\t\t\t\trgba(149, 177, 227, 0.2) 100%\r\n\t\t\t\t/* 边缘颜色 */\r\n\t\t\t);\r\n\t\tborder: 5rpx rgba(148, 181, 229, 0.5) solid;\r\n\t\t// opacity: 0.1;\t\r\n\t\tz-index: 9999;\r\n\t}\r\n\r\n\t.container-img-up {\r\n\t\tposition: absolute;\r\n\t\ttop: -48rpx;\r\n\t\tleft: 50rpx;\r\n\t\twidth: 220rpx;\r\n\t\theight: 120rpx;\r\n\t}\r\n\r\n\t.container-img-down {\r\n\t\tposition: absolute;\r\n\t\tbottom: -48rpx;\r\n\t\tleft: 50rpx;\r\n\t\ttransform: rotate(180deg);\r\n\t\twidth: 220rpx;\r\n\t\theight: 120rpx;\r\n\t}\r\n\r\n\t.container-img-left {\r\n\t\tposition: absolute;\r\n\t\tleft: -97rpx;\r\n\t\ttop: 95rpx;\r\n\t\ttransform: rotate(270deg);\r\n\t\twidth: 220rpx;\r\n\t\theight: 120rpx;\r\n\t}\r\n\r\n\t.container-img-right {\r\n\t\tposition: absolute;\r\n\t\tright: -97rpx;\r\n\t\ttransform: rotate(90deg);\r\n\t\ttop: 95rpx;\r\n\t\twidth: 220rpx;\r\n\t\theight: 120rpx;\r\n\t}\r\n\r\n\t.container-img {\r\n\t\twidth: 170rpx;\r\n\t\theight: 70rpx;\r\n\t}\r\n\r\n\t.container-img-shu {\r\n\t\twidth: 70rpx;\r\n\t\theight: 170rpx;\r\n\t}\r\n\r\n\t.up-container {\r\n\t\tposition: absolute;\r\n\t\ttop: 30rpx;\r\n\t\tleft: 75rpx;\r\n\t}\r\n\r\n\t.down-container {\r\n\t\tposition: absolute;\r\n\t\tbottom: 30rpx;\r\n\t\tleft: 75rpx;\r\n\t}\r\n\r\n\t.right-container {\r\n\t\tposition: absolute;\r\n\t\ttop: 75rpx;\r\n\t\tright: 30rpx;\r\n\t}\r\n\r\n\t.left-container {\r\n\t\tposition: absolute;\r\n\t\ttop: 75rpx;\r\n\t\tleft: 30rpx;\r\n\t}\r\n</style>","import Component from 'D:/hldy_app/component/public/game/joystick.vue'\nwx.createComponent(Component)"],"names":["reactive","ref"],"mappings":";;;;;;;AA2BA,UAAM,OAAO;AAEb,UAAM,QAAQA,cAAAA,SAAS;AAAA,MACrB,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,IAAA,CACP;AACK,UAAA,MAAMC,cAAAA,IAAI,EAAE;AAGlB,QAAI,aAAa;AAEjB,aAAS,YAAY,KAAa;AAEhC,UAAI,eAAe,MAAM;AACvB,qBAAa,UAAU;AAAA,MACzB;AAGA,UAAI,QAAQ;AACZ,WAAK,YAAY,GAAG;AAGpB,mBAAa,WAAW,MAAM;AAC5B,YAAI,QAAQ;AACC,qBAAA;AAAA,SACZ,GAAG;AAAA,IACR;;;;;;;;;;;;;;;;;;;;;;;;ACtDA,GAAG,gBAAgB,SAAS;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"skill.js","sources":["component/public/game/skill.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9nYW1lL3NraWxsLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"all-circle\">\r\n\t\t<view class=\"circle-rightup\">\r\n\t\t\t<view @click=\"clickCircle(`rightup`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"upmenuIndex==0?`/static/index/keyimg/white.png`: `/static/index/keyimg/white.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t确认\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"circle-leftbottom\">\r\n\t\t\t<view @click=\"clickCircle(`leftbottom`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"upmenuIndex==0?`/static/index/keyimg/key1.png`: `/static/index/keyimg/back.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t返回\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\tconst emit = defineEmits(['clickcircle']);\r\n\tconst upmenuIndex = ref(-1)\r\n\r\n\tconst isClick = ref(true);\r\n\tconst clickCircle = (type : string) => {\r\n\t\tif (isClick.value) {\r\n\t\t\tswitch (type) {\r\n\t\t\t\tcase \"rightup\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickcircle',0)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"leftbottom\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickcircle',1)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.all-circle {\r\n\t\tposition: absolute;\r\n\t\tbottom: 300rpx;\r\n\t\tright: 80rpx;\r\n\t\twidth: 330rpx;\r\n\t\theight: 330rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tz-index: 9999;\r\n\t\tdisplay: flex;\r\n\r\n\t\t.circle-rightup {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tright: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgb(197, 220, 255);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.circle-leftbottom {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tleft: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgb(197, 220, 255);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.circle-up-target {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 170rpx;\r\n\t\t\theight: 170rpx;\r\n\t\t\ttop: -60rpx;\r\n\t\t\tleft: 89rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgba(110, 149, 217, 0.2);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\r\n\t.circle-img {\r\n\t\twidth: 130rpx;\r\n\t\theight: 130rpx;\r\n\t}\r\n\r\n\t.circle-img-target {\r\n\t\twidth: 140rpx;\r\n\t\theight: 140rpx;\r\n\t}\r\n\r\n\t.circle-font {\r\n\t\tposition: absolute;\r\n\t\tbottom: 25rpx;\r\n\t\tleft: 45rpx;\r\n\t\tcolor: #fff;\r\n\t}\r\n\r\n\t.solveclick {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n</style>\r\n","import Component from 'D:/hldy_app/component/public/game/skill.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;AA2BC,UAAM,OAAO;AACP,UAAA,cAAcA,cAAAA,IAAI,EAAE;AAEpB,UAAA,UAAUA,kBAAI,IAAI;AAClB,UAAA,cAAc,CAAC,SAAkB;AACtC,UAAI,QAAQ,OAAO;AAClB,gBAAQ,MAAM;AAAA,UACb,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,eAAc,CAAC;AAAA,eAClB,CAAC;AACJ;AAAA,UACD,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,eAAc,CAAC;AAAA,eAClB,CAAC;AACJ;AAAA,QACF;AAAA,MACD;AAAA,IAAA;;;;;;;;;;;;;;AClDF,GAAG,gBAAgB,SAAS;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"skilmove.js","sources":["component/public/game/skilmove.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9nYW1lL3NraWxtb3ZlLnZ1ZQ"],"sourcesContent":["\r\n<template>\r\n\t<view class=\"all-circle\">\r\n\t\t<view class=\"circle-rightup\">\r\n\t\t\t<view @click=\"clickCircle(`rightup`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"ismove?`/static/index/keyimg/white.png`: `/static/index/keyimg/move.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t{{ismove? `确定`:`移动`}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"circle-leftbottom\">\r\n\t\t\t<view @click=\"clickCircle(`leftbottom`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"ismove?`/static/index/keyimg/back.png`: `/static/index/keyimg/delete.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t{{ismove? `取消`:`删除`}}\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\tconst emit = defineEmits(['clickcard']);\r\n\tconst upmenuIndex = ref(-1)\r\n\tconst props = defineProps({\r\n\t\tismove: {\r\n\t\t\ttype: Boolean,\r\n\t\t\trequired: true,\r\n\t\t},\r\n\t\r\n\t});\r\n\tconst isClick = ref(true);\r\n\tconst clickCircle = (type : string) => {\r\n\t\tif (isClick.value) {\r\n\t\t\tswitch (type) {\r\n\t\t\t\tcase \"rightup\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickcard',0)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"leftbottom\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickcard',1)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.all-circle {\r\n\t\tposition: absolute;\r\n\t\tbottom: 300rpx;\r\n\t\tright: 80rpx;\r\n\t\twidth: 330rpx;\r\n\t\theight: 330rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tz-index: 9999;\r\n\t\tdisplay: flex;\r\n\r\n\t\t.circle-rightup {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tright: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgba(110, 149, 217, 0.2);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.circle-leftbottom {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tleft: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgba(110, 149, 217, 0.2);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.circle-up-target {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 170rpx;\r\n\t\t\theight: 170rpx;\r\n\t\t\ttop: -60rpx;\r\n\t\t\tleft: 89rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgba(110, 149, 217, 0.2);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\r\n\t.circle-img {\r\n\t\twidth: 130rpx;\r\n\t\theight: 130rpx;\r\n\t}\r\n\r\n\t.circle-img-target {\r\n\t\twidth: 140rpx;\r\n\t\theight: 140rpx;\r\n\t}\r\n\r\n\t.circle-font {\r\n\t\tposition: absolute;\r\n\t\tbottom: 25rpx;\r\n\t\tleft: 45rpx;\r\n\t\tcolor: #fff;\r\n\t}\r\n\r\n\t.solveclick {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n</style>","import Component from 'D:/hldy_app/component/public/game/skilmove.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;;;;;;;AA4BC,UAAM,OAAO;AACP,UAAA,cAAcA,cAAAA,IAAI,EAAE;AAQpB,UAAA,UAAUA,kBAAI,IAAI;AAClB,UAAA,cAAc,CAAC,SAAkB;AACtC,UAAI,QAAQ,OAAO;AAClB,gBAAQ,MAAM;AAAA,UACb,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,aAAY,CAAC;AAAA,eAChB,CAAC;AACJ;AAAA,UACD,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,aAAY,CAAC;AAAA,eAChB,CAAC;AACJ;AAAA,QACF;AAAA,MACD;AAAA,IAAA;;;;;;;;;;;;;;;;ACzDF,GAAG,gBAAgB,SAAS;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"skilmovedelete.js","sources":["component/public/game/skilmovedelete.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9nYW1lL3NraWxtb3ZlZGVsZXRlLnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"all-circle\">\r\n\t\t<view class=\"circle-rightup\">\r\n\t\t\t<view @click=\"clickCircle(`rightup`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"upmenuIndex==0?`/static/index/keyimg/key1.png`: `/static/index/keyimg/white.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t确认\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"circle-leftbottom\">\r\n\t\t\t<view @click=\"clickCircle(`leftbottom`)\" class=\"solveclick\">\r\n\t\t\t\t<image :class=\"upmenuIndex==0?`circle-img-target` :`circle-img`\"\r\n\t\t\t\t\t:src=\"upmenuIndex==0?`/static/index/keyimg/key1.png`: `/static/index/keyimg/back.png`\" />\r\n\t\t\t\t<view class=\"circle-font\">\r\n\t\t\t\t\t取消\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n\timport {\r\n\t\tref\r\n\t} from 'vue'\r\n\tconst emit = defineEmits(['clickdelete']);\r\n\tconst upmenuIndex = ref(-1)\r\n\r\n\tconst isClick = ref(true);\r\n\tconst clickCircle = (type : string) => {\r\n\t\tif (isClick.value) {\r\n\t\t\tswitch (type) {\r\n\t\t\t\tcase \"rightup\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickdelete',0)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase \"leftbottom\":\r\n\t\t\t\t\tisClick.value = false;\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tupmenuIndex.value = -1;\r\n\t\t\t\t\t\tisClick.value = true;\r\n\t\t\t\t\t\temit('clickdelete',1)\r\n\t\t\t\t\t}, 0)\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.all-circle {\r\n\t\tposition: absolute;\r\n\t\tbottom: 300rpx;\r\n\t\tright: 80rpx;\r\n\t\twidth: 330rpx;\r\n\t\theight: 330rpx;\r\n\t\tborder-radius: 50%;\r\n\t\tz-index: 9999;\r\n\t\tdisplay: flex;\r\n\t\r\n\t\t.circle-rightup {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tright: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgb(197, 220, 255);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t.circle-leftbottom {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 155rpx;\r\n\t\t\theight: 155rpx;\r\n\t\t\tleft: 0rpx;\r\n\t\t\tbottom: -30rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgb(197, 220, 255);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\r\n\t\t\r\n\r\n\t\t.circle-up-target {\r\n\t\t\tposition: absolute;\r\n\t\t\twidth: 170rpx;\r\n\t\t\theight: 170rpx;\r\n\t\t\ttop: -60rpx;\r\n\t\t\tleft: 89rpx;\r\n\t\t\tborder-radius: 50%;\r\n\t\t\tborder: 4rpx solid rgba(110, 149, 217, 0.2);\r\n\t\t\tdisplay: flex;\r\n\t\t\tjustify-content: center;\r\n\t\t\talign-items: center;\r\n\t\t}\r\n\t}\r\n\r\n\t.circle-img {\r\n\t\twidth: 130rpx;\r\n\t\theight: 130rpx;\r\n\t}\r\n\r\n\t.circle-img-target {\r\n\t\twidth: 140rpx;\r\n\t\theight: 140rpx;\r\n\t}\r\n\r\n\t.circle-font {\r\n\t\tposition: absolute;\r\n\t\tbottom: 25rpx;\r\n\t\tleft: 45rpx;\r\n\t\tcolor: #fff;\r\n\t}\r\n\r\n\t.solveclick {\r\n\t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n</style>","import Component from 'D:/hldy_app/component/public/game/skilmovedelete.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;AA2BC,UAAM,OAAO;AACP,UAAA,cAAcA,cAAAA,IAAI,EAAE;AAEpB,UAAA,UAAUA,kBAAI,IAAI;AAClB,UAAA,cAAc,CAAC,SAAkB;AACtC,UAAI,QAAQ,OAAO;AAClB,gBAAQ,MAAM;AAAA,UACb,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,eAAc,CAAC;AAAA,eAClB,CAAC;AACJ;AAAA,UACD,KAAK;AACJ,oBAAQ,QAAQ;AAChB,uBAAW,MAAM;AAChB,0BAAY,QAAQ;AACpB,sBAAQ,QAAQ;AAChB,mBAAK,eAAc,CAAC;AAAA,eAClB,CAAC;AACJ;AAAA,QACF;AAAA,MACD;AAAA,IAAA;;;;;;;;;;;;;;AClDF,GAAG,gBAAgB,SAAS;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"joysticknew.js","sources":["component/public/newgame/joysticknew.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovaGxkeV9hcHAvY29tcG9uZW50L3B1YmxpYy9uZXdnYW1lL2pveXN0aWNrbmV3LnZ1ZQ"],"sourcesContent":["<template>\r\n\t<view class=\"move-circle\">\r\n\t\t<image src=\"/static/index/keyimg/yaogan.png\" class=\"move-circle-all\" />\r\n\t\t<view class=\"click-box-top\" @click=\"handleClick(0)\">\r\n\t\t</view>\r\n\t\t<view class=\"click-box-left\" @click=\"handleClick(3)\">\r\n\t\t</view>\r\n\t\t<view class=\"click-box-bottom\" @click=\"handleClick(2)\">\r\n\t\t</view>\r\n\t\t<view class=\"click-box-right\" @click=\"handleClick(1)\">\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\nimport { reactive, ref } from 'vue'\nconst emit = defineEmits(['movecard'])\n\nconst key = ref(-1)\n\n// 保存当前定时器 ID\nlet resetTimer = null\n\nfunction handleClick(dir: number) {\n // 清除上一次定时器\n if (resetTimer !== null) {\n clearTimeout(resetTimer)\n }\n\n // 显示当前方向\n key.value = dir\n emit('movecard', dir)\n\n // 重新开启 800ms 定时器\n resetTimer = setTimeout(() => {\n key.value = -1\n resetTimer = null\n }, 500)\n}\n</script>\n\r\n\r\n\r\n<style lang=\"less\" scoped>\r\n\t.move-circle {\r\n\t\tposition: absolute;\r\n\t\tbottom: 93rpx;\r\n\t\tleft: 130rpx;\r\n\t\twidth: 250rpx;\r\n\t\theight: 250rpx;\r\n\t\t// border-radius: 50%;\t\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tz-index: 9999;\r\n\t\t.click-box-top{\r\n\t\t\tposition: absolute;\r\n\t\t\ttop: 0;\r\n\t\t\tleft: 70rpx;\r\n\t\t\twidth: 110rpx;\r\n\t\t\theight: 70rpx;\r\n\t\t\t// background-color: red;\r\n\t\t}\r\n\t\t.click-box-bottom{\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 0;\r\n\t\t\tleft: 70rpx;\r\n\t\t\twidth: 110rpx;\r\n\t\t\theight: 70rpx;\r\n\t\t\t// background-color: blue;\r\n\t\t}\r\n\t\t.click-box-left{\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 75rpx;\r\n\t\t\tleft: 0;\r\n\t\t\twidth: 70rpx;\r\n\t\t\theight: 100rpx;\r\n\t\t\t// background-color: yellow;\r\n\t\t}\r\n\t\t.click-box-right{\r\n\t\t\tposition: absolute;\r\n\t\t\tbottom: 75rpx;\r\n\t\t\tright: 0;\r\n\t\t\twidth: 70rpx;\r\n\t\t\theight: 100rpx;\r\n\t\t\t// background-color: green;\r\n\t\t}\r\n\t}\r\n\t.move-circle-all{\r\n\t\twidth: 250rpx;\r\n\t\theight: 250rpx;\r\n\t}\r\n\t\r\n</style>","import Component from 'D:/hldy_app/component/public/newgame/joysticknew.vue'\nwx.createComponent(Component)"],"names":["ref"],"mappings":";;;;;;;AAgBA,UAAM,OAAO;AAEP,UAAA,MAAMA,cAAAA,IAAI,EAAE;AAGlB,QAAI,aAAa;AAEjB,aAAS,YAAY,KAAa;AAEhC,UAAI,eAAe,MAAM;AACvB,qBAAa,UAAU;AAAA,MACzB;AAGA,UAAI,QAAQ;AACZ,WAAK,YAAY,GAAG;AAGpB,mBAAa,WAAW,MAAM;AAC5B,YAAI,QAAQ;AACC,qBAAA;AAAA,SACZ,GAAG;AAAA,IACR;;;;;;;;;;;;;ACrCA,GAAG,gBAAgB,SAAS;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"file":"index.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"} {"version":3,"file":"index.js","sources":["pages/index/index.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"backgroundContainer\">\r\n\t\t<view v-for=\"(item,index) in menuArray\" :key=\"index\">\r\n\t\t\t<view class=\"menuCard\" @click=\"jumpTo(item.url)\">\r\n\t\t\t\t{{item.name}}\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<!-- 服务考核页面要保留啊啊啊 -->\r\n\t\t<!-- <view class=\"small-button\" @click=\"jumpTo(`/pages/assess/index`)\">\r\n\t\t\t服务考核\r\n\t\t</view> -->\r\n\t</view>\r\n\t<!-- 自动更新组件 -->\r\n\t<zy-update ref=\"zyupgrade\" :noticeflag=\"true\" theme=\"blue\" :h5preview=\"false\" oldversion=\"1.0.0\"\r\n\t\t:appstoreflag=\"true\" :autocheckupdate=\"true\"></zy-update>\r\n</template>\r\n\r\n<script setup lang=\"ts\">\r\n\timport { ref, onMounted, onBeforeUnmount, computed, nextTick, } from 'vue';\r\n\timport { onLoad, onShow } from '@dcloudio/uni-app';\r\n\timport ZyUpdate from '@/component/zy-upgrade/zy-upgrade.vue'\r\n\t// 暗黑模式\r\n\tconst darkFans = ref(false);\r\n\tconst zyupgrade = ref(null)\r\n\ttype darkFanstype = {\r\n\t\tdarkFans : boolean\r\n\t}\r\n\tconst menuArray = [\r\n\t\t{\r\n\t\t\tname: \"护理单元\",\r\n\t\t\turl: \"/pages/Nursing/index\"\r\n\t\t},\r\n\t\t{\r\n\t\t\tname: \"仓库\",\r\n\t\t\turl: \"/pages/Warehousing/index\"\r\n\t\t},\r\n\t]\r\n\tconst jumpTo = (url : string) => {\r\n\t\tuni.navigateTo({\r\n\t\t\turl: url\r\n\t\t});\r\n\t}\r\n\t// 生命周期钩子\r\n\tonLoad((options : darkFanstype) => {\r\n\t\t// 为uni.navigateBack()啥这么写因为options给我返回的是字符串这个`false`,只能这么写,前端中`false`是true\r\n\t\t// uni.navigateBack()\r\n\t});\r\n\r\n\t// 生命周期钩子\r\n\tonShow(() => {\r\n\t\tzyupgrade.value?.check_update()\r\n\t});\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n\t.backgroundContainer {\r\n\t\tdisplay: flex;\r\n\t\tposition: relative;\r\n\t\twidth: 100%;\r\n\t\theight: 100vh;\r\n\t\tbackground-image: url('/static/index/lightbgcnew.png');\r\n\t\tbackground-size: cover;\r\n\t\tbackground-position: center center;\r\n\t\toverflow: hidden;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.menuCard {\r\n\t\twidth: 600rpx;\r\n\t\tmargin: 0 100rpx;\r\n\t\theight: 400rpx;\r\n\t\tbackground: linear-gradient(to bottom, #04BCED, #0160CE);\r\n\t\tcolor: #fff;\r\n\t\tfont-size: 50rpx;\r\n\t\tborder-radius: 10%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n\t.small-button{\r\n\t\tposition: absolute;\r\n\t\twidth: 300rpx;\r\n\t\ttop: 200rpx;\r\n\t\tleft: 600rpx;\r\n\t\theight: 200rpx;\r\n\t\tbackground: linear-gradient(to bottom, #04BCED, #0160CE);\r\n\t\tborder-radius: 30rpx;\r\n\t\tcolor: #fff;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n\t// //暗黑模式\r\n\t// .darkbackgroundContainer {\r\n\t// \tdisplay: flex;\r\n\t// \tposition: relative;\r\n\t// \twidth: 100%;\r\n\t// \theight: 100vh;\r\n\t// \tbackground-image: url('/static/index/background.png');\r\n\t// \tbackground-size: cover;\r\n\t// \tbackground-position: center center;\r\n\t// \toverflow: hidden;\r\n\t// }\r\n</style>","import MiniProgramPage from 'D:/hldy_app/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","uni","onLoad","onShow"],"mappings":";;;;;AAoBC,MAAA,WAAqB,MAAA;;;;AAEJA,kBAAAA,IAAI,KAAK;AACpB,UAAA,YAAYA,kBAAI,IAAI;AAI1B,UAAM,YAAY;AAAA,MACjB;AAAA,QACC,MAAM;AAAA,QACN,KAAK;AAAA,MACN;AAAA,MACA;AAAA,QACC,MAAM;AAAA,QACN,KAAK;AAAA,MACN;AAAA,IAAA;AAEK,UAAA,SAAS,CAAC,QAAiB;AAChCC,oBAAAA,MAAI,WAAW;AAAA,QACd;AAAA,MAAA,CACA;AAAA,IAAA;AAGFC,kBAAA,OAAO,CAAC,YAA2B;AAAA,IAAA,CAGlC;AAGDC,kBAAAA,OAAO,MAAM;;AACZ,sBAAU,UAAV,mBAAiB;AAAA,IAAa,CAC9B;;;;;;;;;;;;;;;;;;;;;;;;;;AClDF,GAAG,WAAW,eAAe;"}

View File

@ -1 +1 @@
{"version":3,"file":"login.js","sources":["../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vbG9naW4udnVl"],"sourcesContent":["import MiniProgramPage from 'D:/hldy_app/pages/login/login.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"} {"version":3,"file":"login.js","sources":["pages/login/login.vue","../Hbuilder/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvbG9naW4vbG9naW4udnVl"],"sourcesContent":["<template>\n <view class=\"container\" @touchstart=\"onTouchStart\" @touchmove=\"onTouchMove\" @touchend=\"onTouchEnd\">\n <swiper class=\"swiper\" indicator-dots=\"true\" autoplay=\"true\" interval=\"3000\" duration=\"500\">\n <swiper-item>\n 1\n </swiper-item>\n <swiper-item>\n 2\n </swiper-item>\n <swiper-item>\n 3\n </swiper-item>\n </swiper>\n </view>\n</template>\n\n<script>\nexport default {\n data() {\n return {\n startX: 0,\n startY: 0,\n isDragging: false\n };\n },\n methods: {\n // 手指触摸开始\n onTouchStart(e) {\n this.startX = e.touches[0].clientX;\n this.startY = e.touches[0].clientY;\n this.isDragging = false;\n },\n // 手指滑动\n onTouchMove(e) {\n const moveX = e.touches[0].clientX - this.startX;\n const moveY = e.touches[0].clientY - this.startY;\n\n if (Math.abs(moveX) > Math.abs(moveY)) {\n // 横向滑动\n this.isDragging = true;\n } else {\n // 纵向滑动\n this.isDragging = true;\n }\n\n if (this.isDragging) {\n e.preventDefault(); // 防止页面默认滑动\n }\n },\n // 手指抬起\n onTouchEnd() {\n this.isDragging = false;\n }\n }\n};\n</script>\n\n<style scoped>\n.container {\n position: relative;\n width: 100%;\n height: 300px;\n}\n\n.swiper {\n width: 100%;\n height: 100%;\n}\n</style>\n","import MiniProgramPage from 'D:/hldy_app/pages/login/login.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;AAiBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,YAAY;AAAA;EAEf;AAAA,EACD,SAAS;AAAA;AAAA,IAEP,aAAa,GAAG;AACd,WAAK,SAAS,EAAE,QAAQ,CAAC,EAAE;AAC3B,WAAK,SAAS,EAAE,QAAQ,CAAC,EAAE;AAC3B,WAAK,aAAa;AAAA,IACnB;AAAA;AAAA,IAED,YAAY,GAAG;AACb,YAAM,QAAQ,EAAE,QAAQ,CAAC,EAAE,UAAU,KAAK;AAC1C,YAAM,QAAQ,EAAE,QAAQ,CAAC,EAAE,UAAU,KAAK;AAE1C,UAAI,KAAK,IAAI,KAAK,IAAI,KAAK,IAAI,KAAK,GAAG;AAErC,aAAK,aAAa;AAAA,aACb;AAEL,aAAK,aAAa;AAAA,MACpB;AAEA,UAAI,KAAK,YAAY;AACnB,UAAE,eAAc;AAAA,MAClB;AAAA,IACD;AAAA;AAAA,IAED,aAAa;AACX,WAAK,aAAa;AAAA,IACpB;AAAA,EACF;AACF;;;;;;;;;ACrDA,GAAG,WAAW,eAAe;"}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

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":"config.js","sources":["uni_modules/vk-uview-ui/libs/config/config.js"],"sourcesContent":["// 第一版 1.10.1 版本发布于2021-11-18\r\nlet version = '1.10.1';\r\n\r\nexport default {\r\n\tv: version,\r\n\tversion: version,\r\n\t// 主题名称\r\n\ttype: [\r\n\t\t'primary',\r\n\t\t'success',\r\n\t\t'info',\r\n\t\t'error',\r\n\t\t'warning'\r\n\t]\r\n}"],"names":[],"mappings":";AACA,IAAI,UAAU;AAEd,MAAe,SAAA;AAAA,EACd,GAAG;AAAA,EACH;AAAA;AAAA,EAEA,MAAM;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACA;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"zIndex.js","sources":["uni_modules/vk-uview-ui/libs/config/zIndex.js"],"sourcesContent":["// uniapp在H5中各API的z-index值如下\r\n/**\r\n * actionsheet: 999\r\n * modal: 999\r\n * navigate: 998\r\n * tabbar: 998\r\n * toast: 999\r\n */\r\n\r\nexport default {\r\n\ttoast: 10090,\r\n\tnoNetwork: 10080,\r\n\t// popup包含popupactionsheetkeyboardpicker的值\r\n\tpopup: 10075,\r\n\tmask: 10070,\r\n\tnavbar: 980,\r\n\ttopTips: 975,\r\n\tsticky: 970,\r\n\tindexListSticky: 965,\r\n}"],"names":[],"mappings":";AASA,MAAe,SAAA;AAAA,EACd,OAAO;AAAA,EACP,WAAW;AAAA;AAAA,EAEX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,iBAAiB;AAClB;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"_parent.js","sources":["uni_modules/vk-uview-ui/libs/function/$parent.js"],"sourcesContent":["// 获取父组件的参数因为支付宝小程序不支持provide/inject的写法\r\n// this.$parent在非H5中可以准确获取到父组件但是在H5中需要多次this.$parent.$parent.xxx\r\n// 这里默认值等于undefined有它的含义因为最顶层元素(组件)的$parent就是undefined意味着不传name\r\n// 值(默认为undefined),就是查找最顶层的$parent\r\nexport default function $parent(name = undefined) {\r\n\tlet parent = this.$parent;\r\n\t// 通过while历遍这里主要是为了H5需要多层解析的问题\r\n\twhile (parent) {\r\n\t\t// 父组件\r\n\t\tif (parent.$options && parent.$options.name !== name) {\r\n\t\t\t// 如果组件的name不相等继续上一级寻找\r\n\t\t\tparent = parent.$parent;\r\n\t\t} else {\r\n\t\t\treturn parent;\r\n\t\t}\r\n\t}\r\n\treturn false;\r\n}"],"names":[],"mappings":";AAIe,SAAS,QAAQ,OAAO,QAAW;AACjD,MAAI,SAAS,KAAK;AAElB,SAAO,QAAQ;AAEd,QAAI,OAAO,YAAY,OAAO,SAAS,SAAS,MAAM;AAErD,eAAS,OAAO;AAAA,IACnB,OAAS;AACN,aAAO;AAAA,IACP;AAAA,EACD;AACD,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"addStyle.js","sources":["uni_modules/vk-uview-ui/libs/function/addStyle.js"],"sourcesContent":["import test from './test.js'\r\n\r\n/**\r\n * @description 去除空格\r\n * @param String str 需要去除空格的字符串\r\n * @param String pos both(左右)|left|right|all 默认both\r\n */\r\nfunction trim(str, pos = 'both') {\r\n\tstr = String(str)\r\n\tif (pos == 'both') {\r\n\t\treturn str.replace(/^\\s+|\\s+$/g, '')\r\n\t}\r\n\tif (pos == 'left') {\r\n\t\treturn str.replace(/^\\s*/, '')\r\n\t}\r\n\tif (pos == 'right') {\r\n\t\treturn str.replace(/(\\s*$)/g, '')\r\n\t}\r\n\tif (pos == 'all') {\r\n\t\treturn str.replace(/\\s+/g, '')\r\n\t}\r\n\treturn str\r\n}\r\n\r\n/**\r\n * @description 样式转换\r\n * 对象转字符串,或者字符串转对象\r\n * @param {object | string} customStyle 需要转换的目标\r\n * @param {String} target 转换的目的object-转为对象string-转为字符串\r\n * @returns {object|string}\r\n */\r\nfunction addStyle(customStyle, target = 'object') {\r\n\t// 字符串转字符串,对象转对象情形,直接返回\r\n\tif (test.empty(customStyle) || typeof(customStyle) === 'object' && target === 'object' || target === 'string' && typeof(customStyle) === 'string') {\r\n\t\treturn customStyle\r\n\t}\r\n\t// 字符串转对象\r\n\tif (target === 'object') {\r\n\t\t// 去除字符串样式中的两端空格(中间的空格不能去掉比如padding: 20px 0如果去掉了就错了),空格是无用的\r\n\t\tcustomStyle = trim(customStyle)\r\n\t\t// 根据\";\"将字符串转为数组形式\r\n\t\tconst styleArray = customStyle.split(';')\r\n\t\tconst style = {}\r\n\t\t// 历遍数组,拼接成对象\r\n\t\tfor (let i = 0; i < styleArray.length; i++) {\r\n\t\t\t// 'font-size:20px;color:red;',如此最后字符串有\";\"的话会导致styleArray最后一个元素为空字符串这里需要过滤\r\n\t\t\tif (styleArray[i]) {\r\n\t\t\t\tconst item = styleArray[i].split(':')\r\n\t\t\t\tstyle[trim(item[0])] = trim(item[1])\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn style\r\n\t}\r\n\t// 这里为对象转字符串形式\r\n\tlet string = ''\r\n\tfor (const i in customStyle) {\r\n\t\t// 驼峰转为中划线的形式否则css内联样式无法识别驼峰样式属性名\r\n\t\tconst key = i.replace(/([A-Z])/g, '-$1').toLowerCase()\r\n\t\tstring += `${key}:${customStyle[i]};`\r\n\t}\r\n\t// 去除两端空格\r\n\treturn trim(string)\r\n}\r\n\r\nexport default addStyle\r\n"],"names":["test"],"mappings":";;AAOA,SAAS,KAAK,KAAK,MAAM,QAAQ;AAChC,QAAM,OAAO,GAAG;AAChB,MAAI,OAAO,QAAQ;AAClB,WAAO,IAAI,QAAQ,cAAc,EAAE;AAAA,EACnC;AACD,MAAI,OAAO,QAAQ;AAClB,WAAO,IAAI,QAAQ,QAAQ,EAAE;AAAA,EAC7B;AACD,MAAI,OAAO,SAAS;AACnB,WAAO,IAAI,QAAQ,WAAW,EAAE;AAAA,EAChC;AACD,MAAI,OAAO,OAAO;AACjB,WAAO,IAAI,QAAQ,QAAQ,EAAE;AAAA,EAC7B;AACD,SAAO;AACR;AASA,SAAS,SAAS,aAAa,SAAS,UAAU;AAEjD,MAAIA,yCAAI,KAAC,MAAM,WAAW,KAAK,OAAO,gBAAiB,YAAY,WAAW,YAAY,WAAW,YAAY,OAAO,gBAAiB,UAAU;AAClJ,WAAO;AAAA,EACP;AAED,MAAI,WAAW,UAAU;AAExB,kBAAc,KAAK,WAAW;AAE9B,UAAM,aAAa,YAAY,MAAM,GAAG;AACxC,UAAM,QAAQ,CAAE;AAEhB,aAAS,IAAI,GAAG,IAAI,WAAW,QAAQ,KAAK;AAE3C,UAAI,WAAW,CAAC,GAAG;AAClB,cAAM,OAAO,WAAW,CAAC,EAAE,MAAM,GAAG;AACpC,cAAM,KAAK,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC;AAAA,MACnC;AAAA,IACD;AACD,WAAO;AAAA,EACP;AAED,MAAI,SAAS;AACb,aAAW,KAAK,aAAa;AAE5B,UAAM,MAAM,EAAE,QAAQ,YAAY,KAAK,EAAE,YAAa;AACtD,cAAU,GAAG,GAAG,IAAI,YAAY,CAAC,CAAC;AAAA,EAClC;AAED,SAAO,KAAK,MAAM;AACnB;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"addUnit.js","sources":["uni_modules/vk-uview-ui/libs/function/addUnit.js"],"sourcesContent":["import validation from './test.js';\r\n\r\n// 添加单位如果有rpx%px等单位结尾或者值为auto直接返回否则加上rpx单位结尾\r\nconst addUnit = function(value = 'auto', unit = 'rpx') {\r\n\tvalue = String(value);\r\n\t// 用uView内置验证规则中的number判断是否为数值\r\n\treturn validation.number(value) ? `${value}${unit}` : value;\r\n}\r\n\r\nexport default addUnit;"],"names":["validation"],"mappings":";;AAGK,MAAC,UAAU,SAAS,QAAQ,QAAQ,OAAO,OAAO;AACtD,UAAQ,OAAO,KAAK;AAEpB,SAAOA,yCAAU,KAAC,OAAO,KAAK,IAAI,GAAG,KAAK,GAAG,IAAI,KAAK;AACvD;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"color.js","sources":["uni_modules/vk-uview-ui/libs/function/color.js"],"sourcesContent":["// 为了让用户能够自定义主题会逐步弃用此文件各颜色通过css提供\r\n// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)\r\nlet color = {\r\n\tprimary: \"#2979ff\",\r\n\tprimaryDark: \"#2b85e4\",\r\n\tprimaryDisabled: \"#a0cfff\",\r\n\tprimaryLight: \"#ecf5ff\",\r\n\tbgColor: \"#f3f4f6\",\r\n\t\r\n\tinfo: \"#909399\",\r\n\tinfoDark: \"#82848a\",\r\n\tinfoDisabled: \"#c8c9cc\",\r\n\tinfoLight: \"#f4f4f5\",\r\n\t\r\n\twarning: \"#ff9900\",\r\n\twarningDark: \"#f29100\",\r\n\twarningDisabled: \"#fcbd71\",\r\n\twarningLight: \"#fdf6ec\",\r\n\t\r\n\terror: \"#fa3534\",\r\n\terrorDark: \"#dd6161\",\r\n\terrorDisabled: \"#fab6b6\",\r\n\terrorLight: \"#fef0f0\",\r\n\t\r\n\tsuccess: \"#19be6b\",\r\n\tsuccessDark: \"#18b566\",\r\n\tsuccessDisabled: \"#71d5a1\",\r\n\tsuccessLight: \"#dbf1e1\",\r\n\t\r\n\tmainColor: \"#303133\",\r\n\tcontentColor: \"#606266\",\r\n\ttipsColor: \"#909399\",\r\n\tlightColor: \"#c0c4cc\",\r\n\tborderColor: \"#e4e7ed\"\r\n}\r\n\r\nexport default color;"],"names":[],"mappings":";AAEG,IAAC,QAAQ;AAAA,EACX,SAAS;AAAA,EACT,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,SAAS;AAAA,EAET,MAAM;AAAA,EACN,UAAU;AAAA,EACV,cAAc;AAAA,EACd,WAAW;AAAA,EAEX,SAAS;AAAA,EACT,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EAEd,OAAO;AAAA,EACP,WAAW;AAAA,EACX,eAAe;AAAA,EACf,YAAY;AAAA,EAEZ,SAAS;AAAA,EACT,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,cAAc;AAAA,EAEd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AACd;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"debounce.js","sources":["uni_modules/vk-uview-ui/libs/function/debounce.js"],"sourcesContent":["let timeout = null;\r\n\r\n/**\r\n * 防抖原理一定时间内只有最后一次操作再过wait毫秒后才执行函数\r\n * \r\n * @param {Function} func 要执行的回调函数 \r\n * @param {Number} wait 延时的时间\r\n * @param {Boolean} immediate 是否立即执行 \r\n * @return null\r\n */\r\nfunction debounce(func, wait = 500, immediate = false) {\r\n\t// 清除定时器\r\n\tif (timeout !== null) clearTimeout(timeout);\r\n\t// 立即执行,此类情况一般用不到\r\n\tif (immediate) {\r\n\t\tvar callNow = !timeout;\r\n\t\ttimeout = setTimeout(function() {\r\n\t\t\ttimeout = null;\r\n\t\t}, wait);\r\n\t\tif (callNow) typeof func === 'function' && func();\r\n\t} else {\r\n\t\t// 设置定时器当最后一次操作后timeout不会再被清除所以在延时wait毫秒后执行func回调方法\r\n\t\ttimeout = setTimeout(function() {\r\n\t\t\ttypeof func === 'function' && func();\r\n\t\t}, wait);\r\n\t}\r\n}\r\n\r\nexport default debounce\r\n"],"names":[],"mappings":";AAAA,IAAI,UAAU;AAUd,SAAS,SAAS,MAAM,OAAO,KAAK,YAAY,OAAO;AAEtD,MAAI,YAAY;AAAM,iBAAa,OAAO;AAE1C,MAAI,WAAW;AACd,QAAI,UAAU,CAAC;AACf,cAAU,WAAW,WAAW;AAC/B,gBAAU;AAAA,IACV,GAAE,IAAI;AACP,QAAI;AAAS,aAAO,SAAS,cAAc,KAAI;AAAA,EACjD,OAAQ;AAEN,cAAU,WAAW,WAAW;AAC/B,aAAO,SAAS,cAAc;IAC9B,GAAE,IAAI;AAAA,EACP;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"deepClone.js","sources":["uni_modules/vk-uview-ui/libs/function/deepClone.js"],"sourcesContent":["// 判断arr是否为一个数组返回一个bool值\r\nfunction isArray (arr) {\r\n return Object.prototype.toString.call(arr) === '[object Array]';\r\n}\r\n\r\n// 深度克隆\r\nfunction deepClone (obj) {\r\n\t// 对常见的“非”值,直接返回原来值\r\n\tif([null, undefined, NaN, false].includes(obj)) return obj;\r\n if(typeof obj !== \"object\" && typeof obj !== 'function') {\r\n\t\t//原始类型直接返回\r\n return obj;\r\n }\r\n var o = isArray(obj) ? [] : {};\r\n for(let i in obj) {\r\n if(obj.hasOwnProperty(i)){\r\n o[i] = typeof obj[i] === \"object\" ? deepClone(obj[i]) : obj[i];\r\n }\r\n }\r\n return o;\r\n}\r\n\r\nexport default deepClone;\r\n"],"names":[],"mappings":";AACA,SAAS,QAAS,KAAK;AACnB,SAAO,OAAO,UAAU,SAAS,KAAK,GAAG,MAAM;AACnD;AAGA,SAAS,UAAW,KAAK;AAExB,MAAG,CAAC,MAAM,QAAW,KAAK,KAAK,EAAE,SAAS,GAAG;AAAG,WAAO;AACpD,MAAG,OAAO,QAAQ,YAAY,OAAO,QAAQ,YAAY;AAErD,WAAO;AAAA,EACV;AACD,MAAI,IAAI,QAAQ,GAAG,IAAI,CAAA,IAAK,CAAA;AAC5B,WAAQ,KAAK,KAAK;AACd,QAAG,IAAI,eAAe,CAAC,GAAE;AACrB,QAAE,CAAC,IAAI,OAAO,IAAI,CAAC,MAAM,WAAW,UAAU,IAAI,CAAC,CAAC,IAAI,IAAI,CAAC;AAAA,IAChE;AAAA,EACJ;AACD,SAAO;AACX;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"deepMerge.js","sources":["uni_modules/vk-uview-ui/libs/function/deepMerge.js"],"sourcesContent":["import deepClone from \"./deepClone\";\r\n\r\n// JS对象深度合并\r\nfunction deepMerge(target = {}, source = {}) {\r\n\ttarget = deepClone(target);\r\n\tif (typeof target !== 'object' || typeof source !== 'object') return false;\r\n\tfor (var prop in source) {\r\n\t\tif (!source.hasOwnProperty(prop)) continue;\r\n\t\tif (prop in target) {\r\n\t\t\tif (typeof target[prop] !== 'object') {\r\n\t\t\t\ttarget[prop] = source[prop];\r\n\t\t\t} else {\r\n\t\t\t\tif (typeof source[prop] !== 'object') {\r\n\t\t\t\t\ttarget[prop] = source[prop];\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (target[prop].concat && source[prop].concat) {\r\n\t\t\t\t\t\ttarget[prop] = target[prop].concat(source[prop]);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\ttarget[prop] = deepMerge(target[prop], source[prop]);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\ttarget[prop] = source[prop];\r\n\t\t}\r\n\t}\r\n\treturn target;\r\n}\r\n\r\nexport default deepMerge;"],"names":["deepClone"],"mappings":";;AAGA,SAAS,UAAU,SAAS,IAAI,SAAS,CAAA,GAAI;AAC5C,WAASA,8CAAAA,UAAU,MAAM;AACzB,MAAI,OAAO,WAAW,YAAY,OAAO,WAAW;AAAU,WAAO;AACrE,WAAS,QAAQ,QAAQ;AACxB,QAAI,CAAC,OAAO,eAAe,IAAI;AAAG;AAClC,QAAI,QAAQ,QAAQ;AACnB,UAAI,OAAO,OAAO,IAAI,MAAM,UAAU;AACrC,eAAO,IAAI,IAAI,OAAO,IAAI;AAAA,MAC9B,OAAU;AACN,YAAI,OAAO,OAAO,IAAI,MAAM,UAAU;AACrC,iBAAO,IAAI,IAAI,OAAO,IAAI;AAAA,QAC/B,OAAW;AACN,cAAI,OAAO,IAAI,EAAE,UAAU,OAAO,IAAI,EAAE,QAAQ;AAC/C,mBAAO,IAAI,IAAI,OAAO,IAAI,EAAE,OAAO,OAAO,IAAI,CAAC;AAAA,UACrD,OAAY;AACN,mBAAO,IAAI,IAAI,UAAU,OAAO,IAAI,GAAG,OAAO,IAAI,CAAC;AAAA,UACnD;AAAA,QACD;AAAA,MACD;AAAA,IACJ,OAAS;AACN,aAAO,IAAI,IAAI,OAAO,IAAI;AAAA,IAC1B;AAAA,EACD;AACD,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"getParent.js","sources":["uni_modules/vk-uview-ui/libs/function/getParent.js"],"sourcesContent":["// 获取父组件的参数因为支付宝小程序不支持provide/inject的写法\r\n// this.$parent在非H5中可以准确获取到父组件但是在H5中需要多次this.$parent.$parent.xxx\r\nexport default function getParent(name, keys) {\r\n\tlet parent = this.$parent;\r\n\t// 通过while历遍这里主要是为了H5需要多层解析的问题\r\n\twhile (parent) {\r\n\t\t// 父组件\r\n\t\tif (parent.$options.name !== name) {\r\n\t\t\t// 如果组件的name不相等继续上一级寻找\r\n\t\t\tparent = parent.$parent;\r\n\t\t} else {\r\n\t\t\tlet data = {};\r\n\t\t\t// 判断keys是否数组如果传过来的是一个数组那么直接使用数组元素值当做键值去父组件寻找\r\n\t\t\tif(Array.isArray(keys)) {\r\n\t\t\t\tkeys.map(val => {\r\n\t\t\t\t\tdata[val] = parent[val] ? parent[val] : '';\r\n\t\t\t\t})\r\n\t\t\t} else {\r\n\t\t\t\t// 历遍传过来的对象参数\r\n\t\t\t\tfor(let i in keys) {\r\n\t\t\t\t\t// 如果子组件有此值则用,无此值则用父组件的值\r\n\t\t\t\t\t// 判断是否空数组,如果是,则用父组件的值,否则用子组件的值\r\n\t\t\t\t\tif(Array.isArray(keys[i])) {\r\n\t\t\t\t\t\tif(keys[i].length) {\r\n\t\t\t\t\t\t\tdata[i] = keys[i];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tdata[i] = parent[i];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else if(keys[i].constructor === Object) {\r\n\t\t\t\t\t\t// 判断是否对象,如果是对象,且有属性,那么使用子组件的值,否则使用父组件的值\r\n\t\t\t\t\t\tif(Object.keys(keys[i]).length) {\r\n\t\t\t\t\t\t\tdata[i] = keys[i];\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tdata[i] = parent[i];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// 只要子组件有传值即使是false值也是“传值”了也需要覆盖父组件的同名参数\r\n\t\t\t\t\t\tdata[i] = (keys[i] || keys[i] === false) ? keys[i] : parent[i];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn data;\r\n\t\t}\r\n\t}\r\n\r\n\treturn {};\r\n}"],"names":[],"mappings":";AAEe,SAAS,UAAU,MAAM,MAAM;AAC7C,MAAI,SAAS,KAAK;AAElB,SAAO,QAAQ;AAEd,QAAI,OAAO,SAAS,SAAS,MAAM;AAElC,eAAS,OAAO;AAAA,IACnB,OAAS;AACN,UAAI,OAAO,CAAA;AAEX,UAAG,MAAM,QAAQ,IAAI,GAAG;AACvB,aAAK,IAAI,SAAO;AACf,eAAK,GAAG,IAAI,OAAO,GAAG,IAAI,OAAO,GAAG,IAAI;AAAA,QAC7C,CAAK;AAAA,MACL,OAAU;AAEN,iBAAQ,KAAK,MAAM;AAGlB,cAAG,MAAM,QAAQ,KAAK,CAAC,CAAC,GAAG;AAC1B,gBAAG,KAAK,CAAC,EAAE,QAAQ;AAClB,mBAAK,CAAC,IAAI,KAAK,CAAC;AAAA,YACvB,OAAa;AACN,mBAAK,CAAC,IAAI,OAAO,CAAC;AAAA,YAClB;AAAA,UACD,WAAS,KAAK,CAAC,EAAE,gBAAgB,QAAQ;AAEzC,gBAAG,OAAO,KAAK,KAAK,CAAC,CAAC,EAAE,QAAQ;AAC/B,mBAAK,CAAC,IAAI,KAAK,CAAC;AAAA,YACvB,OAAa;AACN,mBAAK,CAAC,IAAI,OAAO,CAAC;AAAA,YAClB;AAAA,UACP,OAAY;AAEN,iBAAK,CAAC,IAAK,KAAK,CAAC,KAAK,KAAK,CAAC,MAAM,QAAS,KAAK,CAAC,IAAI,OAAO,CAAC;AAAA,UAC7D;AAAA,QACD;AAAA,MACD;AACD,aAAO;AAAA,IACP;AAAA,EACD;AAED,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"guid.js","sources":["uni_modules/vk-uview-ui/libs/function/guid.js"],"sourcesContent":["/**\r\n * 本算法来源于简书开源代码详见https://www.jianshu.com/p/fdbf293d0a85\r\n * 全局唯一标识符uuidGlobally Unique Identifier,也称作 uuid(Universally Unique IDentifier) \r\n * 一般用于多个组件之间,给它一个唯一的标识符,或者v-for循环的时候,如果使用数组的index可能会导致更新列表出现问题\r\n * 最可能的情况是左滑删除item或者对某条信息流\"不喜欢\"并去掉它的时候,会导致组件内的数据可能出现错乱\r\n * v-for的时候,推荐使用后端返回的id而不是循环的index\r\n * @param {Number} len uuid的长度\r\n * @param {Boolean} firstU 将返回的首字母置为\"u\"\r\n * @param {Nubmer} radix 生成uuid的基数(意味着返回的字符串都是这个基数),2-二进制,8-八进制,10-十进制,16-十六进制\r\n */\r\nfunction guid(len = 32, firstU = true, radix = null) {\r\n\tlet chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');\r\n\tlet uuid = [];\r\n\tradix = radix || chars.length;\r\n\r\n\tif (len) {\r\n\t\t// 如果指定uuid长度,只是取随机的字符,0|x为位运算,能去掉x的小数位,返回整数位\r\n\t\tfor (let i = 0; i < len; i++) uuid[i] = chars[0 | Math.random() * radix];\r\n\t} else {\r\n\t\tlet r;\r\n\t\t// rfc4122标准要求返回的uuid中,某些位为固定的字符\r\n\t\tuuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';\r\n\t\tuuid[14] = '4';\r\n\r\n\t\tfor (let i = 0; i < 36; i++) {\r\n\t\t\tif (!uuid[i]) {\r\n\t\t\t\tr = 0 | Math.random() * 16;\r\n\t\t\t\tuuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t// 移除第一个字符,并用u替代,因为第一个字符为数值时,该guuid不能用作id或者class\r\n\tif (firstU) {\r\n\t\tuuid.shift();\r\n\t\treturn 'u' + uuid.join('');\r\n\t} else {\r\n\t\treturn uuid.join('');\r\n\t}\r\n}\r\n\r\nexport default guid;\r\n"],"names":[],"mappings":";AAUA,SAAS,KAAK,MAAM,IAAI,SAAS,MAAM,QAAQ,MAAM;AACpD,MAAI,QAAQ,iEAAiE,MAAM,EAAE;AACrF,MAAI,OAAO,CAAA;AACX,UAAQ,SAAS,MAAM;AAEvB,MAAI,KAAK;AAER,aAAS,IAAI,GAAG,IAAI,KAAK;AAAK,WAAK,CAAC,IAAI,MAAM,IAAI,KAAK,OAAM,IAAK,KAAK;AAAA,EACzE,OAAQ;AACN,QAAI;AAEJ,SAAK,CAAC,IAAI,KAAK,EAAE,IAAI,KAAK,EAAE,IAAI,KAAK,EAAE,IAAI;AAC3C,SAAK,EAAE,IAAI;AAEX,aAAS,IAAI,GAAG,IAAI,IAAI,KAAK;AAC5B,UAAI,CAAC,KAAK,CAAC,GAAG;AACb,YAAI,IAAI,KAAK,OAAM,IAAK;AACxB,aAAK,CAAC,IAAI,MAAO,KAAK,KAAO,IAAI,IAAO,IAAM,CAAC;AAAA,MAC/C;AAAA,IACD;AAAA,EACD;AAED,MAAI,QAAQ;AACX,SAAK,MAAK;AACV,WAAO,MAAM,KAAK,KAAK,EAAE;AAAA,EAC3B,OAAQ;AACN,WAAO,KAAK,KAAK,EAAE;AAAA,EACnB;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"queryParams.js","sources":["uni_modules/vk-uview-ui/libs/function/queryParams.js"],"sourcesContent":["/**\r\n * 对象转url参数\r\n * @param {*} data,对象\r\n * @param {*} isPrefix,是否自动加上\"?\"\r\n */\r\nfunction queryParams(data = {}, isPrefix = true, arrayFormat = 'brackets') {\r\n\tlet prefix = isPrefix ? '?' : ''\r\n\tlet _result = []\r\n\tif (['indices', 'brackets', 'repeat', 'comma'].indexOf(arrayFormat) == -1) arrayFormat = 'brackets';\r\n\tfor (let key in data) {\r\n\t\tlet value = data[key]\r\n\t\t// 去掉为空的参数\r\n\t\tif (['', undefined, null].indexOf(value) >= 0) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\t\t// 如果值为数组,另行处理\r\n\t\tif (value.constructor === Array) {\r\n\t\t\t// e.g. {ids: [1, 2, 3]}\r\n\t\t\tswitch (arrayFormat) {\r\n\t\t\t\tcase 'indices':\r\n\t\t\t\t\t// 结果: ids[0]=1&ids[1]=2&ids[2]=3\r\n\t\t\t\t\tfor (let i = 0; i < value.length; i++) {\r\n\t\t\t\t\t\t_result.push(key + '[' + i + ']=' + value[i])\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'brackets':\r\n\t\t\t\t\t// 结果: ids[]=1&ids[]=2&ids[]=3\r\n\t\t\t\t\tvalue.forEach(_value => {\r\n\t\t\t\t\t\t_result.push(key + '[]=' + _value)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'repeat':\r\n\t\t\t\t\t// 结果: ids=1&ids=2&ids=3\r\n\t\t\t\t\tvalue.forEach(_value => {\r\n\t\t\t\t\t\t_result.push(key + '=' + _value)\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'comma':\r\n\t\t\t\t\t// 结果: ids=1,2,3\r\n\t\t\t\t\tlet commaStr = \"\";\r\n\t\t\t\t\tvalue.forEach(_value => {\r\n\t\t\t\t\t\tcommaStr += (commaStr ? \",\" : \"\") + _value;\r\n\t\t\t\t\t})\r\n\t\t\t\t\t_result.push(key + '=' + commaStr)\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tvalue.forEach(_value => {\r\n\t\t\t\t\t\t_result.push(key + '[]=' + _value)\r\n\t\t\t\t\t})\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\t_result.push(key + '=' + value)\r\n\t\t}\r\n\t}\r\n\treturn _result.length ? prefix + _result.join('&') : ''\r\n}\r\n\r\nexport default queryParams;\r\n"],"names":[],"mappings":";AAKA,SAAS,YAAY,OAAO,CAAE,GAAE,WAAW,MAAM,cAAc,YAAY;AAC1E,MAAI,SAAS,WAAW,MAAM;AAC9B,MAAI,UAAU,CAAE;AAChB,MAAI,CAAC,WAAW,YAAY,UAAU,OAAO,EAAE,QAAQ,WAAW,KAAK;AAAI,kBAAc;AACzF,WAAS,OAAO,MAAM;AACrB,QAAI,QAAQ,KAAK,GAAG;AAEpB,QAAI,CAAC,IAAI,QAAW,IAAI,EAAE,QAAQ,KAAK,KAAK,GAAG;AAC9C;AAAA,IACA;AAED,QAAI,MAAM,gBAAgB,OAAO;AAEhC,cAAQ,aAAW;AAAA,QAClB,KAAK;AAEJ,mBAAS,IAAI,GAAG,IAAI,MAAM,QAAQ,KAAK;AACtC,oBAAQ,KAAK,MAAM,MAAM,IAAI,OAAO,MAAM,CAAC,CAAC;AAAA,UAC5C;AACD;AAAA,QACD,KAAK;AAEJ,gBAAM,QAAQ,YAAU;AACvB,oBAAQ,KAAK,MAAM,QAAQ,MAAM;AAAA,UACvC,CAAM;AACD;AAAA,QACD,KAAK;AAEJ,gBAAM,QAAQ,YAAU;AACvB,oBAAQ,KAAK,MAAM,MAAM,MAAM;AAAA,UACrC,CAAM;AACD;AAAA,QACD,KAAK;AAEJ,cAAI,WAAW;AACf,gBAAM,QAAQ,YAAU;AACvB,yBAAa,WAAW,MAAM,MAAM;AAAA,UAC1C,CAAM;AACD,kBAAQ,KAAK,MAAM,MAAM,QAAQ;AACjC;AAAA,QACD;AACC,gBAAM,QAAQ,YAAU;AACvB,oBAAQ,KAAK,MAAM,QAAQ,MAAM;AAAA,UACvC,CAAM;AAAA,MACF;AAAA,IACJ,OAAS;AACN,cAAQ,KAAK,MAAM,MAAM,KAAK;AAAA,IAC9B;AAAA,EACD;AACD,SAAO,QAAQ,SAAS,SAAS,QAAQ,KAAK,GAAG,IAAI;AACtD;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"random.js","sources":["uni_modules/vk-uview-ui/libs/function/random.js"],"sourcesContent":["function random(min, max) {\r\n\tif (min >= 0 && max > 0 && max >= min) {\r\n\t\tlet gab = max - min + 1;\r\n\t\treturn Math.floor(Math.random() * gab + min);\r\n\t} else {\r\n\t\treturn 0;\r\n\t}\r\n}\r\n\r\nexport default random;\r\n"],"names":[],"mappings":";AAAA,SAAS,OAAO,KAAK,KAAK;AACzB,MAAI,OAAO,KAAK,MAAM,KAAK,OAAO,KAAK;AACtC,QAAI,MAAM,MAAM,MAAM;AACtB,WAAO,KAAK,MAAM,KAAK,OAAM,IAAK,MAAM,GAAG;AAAA,EAC7C,OAAQ;AACN,WAAO;AAAA,EACP;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"randomArray.js","sources":["uni_modules/vk-uview-ui/libs/function/randomArray.js"],"sourcesContent":["// 打乱数组\r\nfunction randomArray(array = []) {\r\n\t// 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0\r\n\treturn array.sort(() => Math.random() - 0.5);\r\n}\r\n\r\nexport default randomArray\r\n"],"names":[],"mappings":";AACA,SAAS,YAAY,QAAQ,IAAI;AAEhC,SAAO,MAAM,KAAK,MAAM,KAAK,OAAM,IAAK,GAAG;AAC5C;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"sys.js","sources":["uni_modules/vk-uview-ui/libs/function/sys.js"],"sourcesContent":["export function os() {\r\n\treturn uni.getSystemInfoSync().platform;\r\n};\r\n\r\nexport function sys() {\r\n\treturn uni.getSystemInfoSync();\r\n}\r\n\r\n\r\n"],"names":["uni"],"mappings":";;AAAO,SAAS,KAAK;AACpB,SAAOA,cAAG,MAAC,kBAAmB,EAAC;AAChC;AAEO,SAAS,MAAM;AACrB,SAAOA,cAAAA,MAAI;AACZ;;;"}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"version":3,"file":"throttle.js","sources":["uni_modules/vk-uview-ui/libs/function/throttle.js"],"sourcesContent":["let timeoutArr = [];\r\nlet flagArr = [];\r\n/**\r\n * 节流函数\r\n * 节流原理:在一定时间内,只能触发一次\r\n * @param {Function} fn 要执行的回调函数 \r\n * @param {Number} time 延时的时间\r\n * @param {Boolean} isImmediate 是否立即执行\r\n * @param {String} timeoutName 定时器ID\r\n * @return null\r\n */\r\nfunction throttle(fn, time = 500, isImmediate = true, timeoutName = \"default\") {\r\n\tif(!timeoutArr[timeoutName]) timeoutArr[timeoutName] = null;\r\n\tif (isImmediate) {\r\n\t\tif (!flagArr[timeoutName]) {\r\n\t\t\tflagArr[timeoutName] = true;\r\n\t\t\t// 如果是立即执行则在time毫秒内开始时执行\r\n\t\t\tif(typeof fn === 'function') fn();\r\n\t\t\ttimeoutArr[timeoutName] = setTimeout(() => {\r\n\t\t\t\tflagArr[timeoutName] = false;\r\n\t\t\t}, time);\r\n\t\t}\r\n\t} else {\r\n\t\tif (!flagArr[timeoutName]) {\r\n\t\t\tflagArr[timeoutName] = true;\r\n\t\t\t// 如果是非立即执行则在time毫秒内的结束处执行\r\n\t\t\ttimeoutArr[timeoutName] = setTimeout(() => {\r\n\t\t\t\tflagArr[timeoutName] = false;\r\n\t\t\t\tif(typeof fn === 'function') fn();\r\n\t\t\t}, time);\r\n\t\t}\r\n\t}\r\n};\r\nexport default throttle"],"names":[],"mappings":";AAAA,IAAI,aAAa,CAAA;AACjB,IAAI,UAAU,CAAA;AAUd,SAAS,SAAS,IAAI,OAAO,KAAK,cAAc,MAAM,cAAc,WAAW;AAC9E,MAAG,CAAC,WAAW,WAAW;AAAG,eAAW,WAAW,IAAI;AACvD,MAAI,aAAa;AAChB,QAAI,CAAC,QAAQ,WAAW,GAAG;AAC1B,cAAQ,WAAW,IAAI;AAEvB,UAAG,OAAO,OAAO;AAAY;AAC7B,iBAAW,WAAW,IAAI,WAAW,MAAM;AAC1C,gBAAQ,WAAW,IAAI;AAAA,MACvB,GAAE,IAAI;AAAA,IACP;AAAA,EACH,OAAQ;AACN,QAAI,CAAC,QAAQ,WAAW,GAAG;AAC1B,cAAQ,WAAW,IAAI;AAEvB,iBAAW,WAAW,IAAI,WAAW,MAAM;AAC1C,gBAAQ,WAAW,IAAI;AACvB,YAAG,OAAO,OAAO;AAAY;MAC7B,GAAE,IAAI;AAAA,IACP;AAAA,EACD;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"timeFormat.js","sources":["uni_modules/vk-uview-ui/libs/function/timeFormat.js"],"sourcesContent":["// padStart 的 polyfill因为某些机型或情况还无法支持es7的padStart比如电脑版的微信小程序\r\n// 所以这里做一个兼容polyfill的兼容处理\r\nif (!String.prototype.padStart) {\r\n\t// 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解\r\n\tString.prototype.padStart = function(maxLength, fillString = ' ') {\r\n\t\tif (Object.prototype.toString.call(fillString) !== \"[object String]\") throw new TypeError(\r\n\t\t\t'fillString must be String')\r\n\t\tlet str = this\r\n\t\t// 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉\r\n\t\tif (str.length >= maxLength) return String(str)\r\n\r\n\t\tlet fillLength = maxLength - str.length,\r\n\t\t\ttimes = Math.ceil(fillLength / fillString.length)\r\n\t\twhile (times >>= 1) {\r\n\t\t\tfillString += fillString\r\n\t\t\tif (times === 1) {\r\n\t\t\t\tfillString += fillString\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn fillString.slice(0, fillLength) + str;\r\n\t}\r\n}\r\n\r\n// 其他更多是格式化有如下:\r\n// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合\r\nfunction timeFormat(dateTime = null, fmt = 'yyyy-mm-dd') {\r\n\t// 如果为null,则格式化当前时间\r\n\tif (!dateTime) dateTime = Number(new Date());\r\n\t// 如果dateTime长度为10或者13则为秒和毫秒的时间戳如果超过13位则为其他的时间格式\r\n\tif (dateTime.toString().length == 10) dateTime *= 1000;\r\n\tlet date = new Date(dateTime);\r\n\tlet ret;\r\n\tlet opt = {\r\n\t\t\"y+\": date.getFullYear().toString(), // 年\r\n\t\t\"m+\": (date.getMonth() + 1).toString(), // 月\r\n\t\t\"d+\": date.getDate().toString(), // 日\r\n\t\t\"h+\": date.getHours().toString(), // 时\r\n\t\t\"M+\": date.getMinutes().toString(), // 分\r\n\t\t\"s+\": date.getSeconds().toString() // 秒\r\n\t\t// 有其他格式化字符需求可以继续添加,必须转化成字符串\r\n\t};\r\n\tfor (let k in opt) {\r\n\t\tret = new RegExp(\"(\" + k + \")\").exec(fmt);\r\n\t\tif (ret) {\r\n\t\t\tfmt = fmt.replace(ret[1], (ret[1].length == 1) ? (opt[k]) : (opt[k].padStart(ret[1].length, \"0\")))\r\n\t\t};\r\n\t};\r\n\treturn fmt;\r\n}\r\n\r\nexport default timeFormat\r\n"],"names":[],"mappings":";AAEA,IAAI,CAAC,OAAO,UAAU,UAAU;AAE/B,SAAO,UAAU,WAAW,SAAS,WAAW,aAAa,KAAK;AACjE,QAAI,OAAO,UAAU,SAAS,KAAK,UAAU,MAAM;AAAmB,YAAM,IAAI;AAAA,QAC/E;AAAA,MAA2B;AAC5B,QAAI,MAAM;AAEV,QAAI,IAAI,UAAU;AAAW,aAAO,OAAO,GAAG;AAE9C,QAAI,aAAa,YAAY,IAAI,QAChC,QAAQ,KAAK,KAAK,aAAa,WAAW,MAAM;AACjD,WAAO,UAAU,GAAG;AACnB,oBAAc;AACd,UAAI,UAAU,GAAG;AAChB,sBAAc;AAAA,MACd;AAAA,IACD;AACD,WAAO,WAAW,MAAM,GAAG,UAAU,IAAI;AAAA,EACzC;AACF;AAIA,SAAS,WAAW,WAAW,MAAM,MAAM,cAAc;AAExD,MAAI,CAAC;AAAU,eAAW,OAAO,oBAAI,KAAM,CAAA;AAE3C,MAAI,SAAS,SAAU,EAAC,UAAU;AAAI,gBAAY;AAClD,MAAI,OAAO,IAAI,KAAK,QAAQ;AAC5B,MAAI;AACJ,MAAI,MAAM;AAAA,IACT,MAAM,KAAK,YAAa,EAAC,SAAU;AAAA;AAAA,IACnC,OAAO,KAAK,SAAQ,IAAK,GAAG,SAAU;AAAA;AAAA,IACtC,MAAM,KAAK,QAAS,EAAC,SAAU;AAAA;AAAA,IAC/B,MAAM,KAAK,SAAU,EAAC,SAAU;AAAA;AAAA,IAChC,MAAM,KAAK,WAAY,EAAC,SAAU;AAAA;AAAA,IAClC,MAAM,KAAK,WAAY,EAAC,SAAU;AAAA;AAAA;AAAA,EAEpC;AACC,WAAS,KAAK,KAAK;AAClB,UAAM,IAAI,OAAO,MAAM,IAAI,GAAG,EAAE,KAAK,GAAG;AACxC,QAAI,KAAK;AACR,YAAM,IAAI,QAAQ,IAAI,CAAC,GAAI,IAAI,CAAC,EAAE,UAAU,IAAM,IAAI,CAAC,IAAM,IAAI,CAAC,EAAE,SAAS,IAAI,CAAC,EAAE,QAAQ,GAAG,CAAE;AAAA,IACpG;AAAA,EAEA;AAAC,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"timeFrom.js","sources":["uni_modules/vk-uview-ui/libs/function/timeFrom.js"],"sourcesContent":["import timeFormat from '../../libs/function/timeFormat.js';\r\n\r\n/**\r\n * 时间戳转为多久之前\r\n * @param String timestamp 时间戳\r\n * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;\r\n * 如果为布尔值false无论什么时间都返回多久以前的格式\r\n */\r\nfunction timeFrom(dateTime = null, format = 'yyyy-mm-dd') {\r\n\t// 如果为null,则格式化当前时间\r\n\tif (!dateTime) dateTime = Number(new Date());\r\n\t// 如果dateTime长度为10或者13则为秒和毫秒的时间戳如果超过13位则为其他的时间格式\r\n\tif (dateTime.toString().length == 10) dateTime *= 1000;\r\n\tlet timestamp = + new Date(Number(dateTime));\r\n\r\n\tlet timer = (Number(new Date()) - timestamp) / 1000;\r\n\t// 如果小于5分钟,则返回\"刚刚\",其他以此类推\r\n\tlet tips = '';\r\n\tswitch (true) {\r\n\t\tcase timer < 300:\r\n\t\t\ttips = '刚刚';\r\n\t\t\tbreak;\r\n\t\tcase timer >= 300 && timer < 3600:\r\n\t\t\ttips = parseInt(timer / 60) + '分钟前';\r\n\t\t\tbreak;\r\n\t\tcase timer >= 3600 && timer < 86400:\r\n\t\t\ttips = parseInt(timer / 3600) + '小时前';\r\n\t\t\tbreak;\r\n\t\tcase timer >= 86400 && timer < 2592000:\r\n\t\t\ttips = parseInt(timer / 86400) + '天前';\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\t// 如果format为false则无论什么时间戳都显示xx之前\r\n\t\t\tif(format === false) {\r\n\t\t\t\tif(timer >= 2592000 && timer < 365 * 86400) {\r\n\t\t\t\t\ttips = parseInt(timer / (86400 * 30)) + '个月前';\r\n\t\t\t\t} else {\r\n\t\t\t\t\ttips = parseInt(timer / (86400 * 365)) + '年前';\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\ttips = timeFormat(timestamp, format);\r\n\t\t\t}\r\n\t}\r\n\treturn tips;\r\n}\r\n\r\nexport default timeFrom;\r\n"],"names":["timeFormat"],"mappings":";;AAQA,SAAS,SAAS,WAAW,MAAM,SAAS,cAAc;AAEzD,MAAI,CAAC;AAAU,eAAW,OAAO,oBAAI,KAAM,CAAA;AAE3C,MAAI,SAAS,SAAU,EAAC,UAAU;AAAI,gBAAY;AAClD,MAAI,YAAY,CAAE,IAAI,KAAK,OAAO,QAAQ,CAAC;AAE3C,MAAI,SAAS,OAAO,oBAAI,KAAI,CAAE,IAAI,aAAa;AAE/C,MAAI,OAAO;AACX,UAAQ,MAAI;AAAA,IACX,KAAK,QAAQ;AACZ,aAAO;AACP;AAAA,IACD,MAAK,SAAS,OAAO,QAAQ;AAC5B,aAAO,SAAS,QAAQ,EAAE,IAAI;AAC9B;AAAA,IACD,MAAK,SAAS,QAAQ,QAAQ;AAC7B,aAAO,SAAS,QAAQ,IAAI,IAAI;AAChC;AAAA,IACD,MAAK,SAAS,SAAS,QAAQ;AAC9B,aAAO,SAAS,QAAQ,KAAK,IAAI;AACjC;AAAA,IACD;AAEC,UAAG,WAAW,OAAO;AACpB,YAAG,SAAS,UAAW,QAAQ,MAAM,OAAO;AAC3C,iBAAO,SAAS,SAAS,QAAQ,GAAG,IAAI;AAAA,QAC7C,OAAW;AACN,iBAAO,SAAS,SAAS,QAAQ,IAAI,IAAI;AAAA,QACzC;AAAA,MACL,OAAU;AACN,eAAOA,+CAAU,WAAC,WAAW,MAAM;AAAA,MACnC;AAAA,EACF;AACD,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"toast.js","sources":["uni_modules/vk-uview-ui/libs/function/toast.js"],"sourcesContent":["function toast(title, duration = 1500) {\r\n\tuni.showToast({\r\n\t\ttitle: title,\r\n\t\ticon: 'none',\r\n\t\tduration: duration\r\n\t})\r\n}\r\n\r\nexport default toast\r\n"],"names":["uni"],"mappings":";;AAAA,SAAS,MAAM,OAAO,WAAW,MAAM;AACtCA,gBAAAA,MAAI,UAAU;AAAA,IACb;AAAA,IACA,MAAM;AAAA,IACN;AAAA,EACF,CAAE;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"trim.js","sources":["uni_modules/vk-uview-ui/libs/function/trim.js"],"sourcesContent":["function trim(str, pos = 'both') {\r\n\tif (pos == 'both') {\r\n\t\treturn str.replace(/^\\s+|\\s+$/g, \"\");\r\n\t} else if (pos == \"left\") {\r\n\t\treturn str.replace(/^\\s*/, '');\r\n\t} else if (pos == 'right') {\r\n\t\treturn str.replace(/(\\s*$)/g, \"\");\r\n\t} else if (pos == 'all') {\r\n\t\treturn str.replace(/\\s+/g, \"\");\r\n\t} else {\r\n\t\treturn str;\r\n\t}\r\n}\r\n\r\nexport default trim\r\n"],"names":[],"mappings":";AAAA,SAAS,KAAK,KAAK,MAAM,QAAQ;AAChC,MAAI,OAAO,QAAQ;AAClB,WAAO,IAAI,QAAQ,cAAc,EAAE;AAAA,EACrC,WAAY,OAAO,QAAQ;AACzB,WAAO,IAAI,QAAQ,QAAQ,EAAE;AAAA,EAC/B,WAAY,OAAO,SAAS;AAC1B,WAAO,IAAI,QAAQ,WAAW,EAAE;AAAA,EAClC,WAAY,OAAO,OAAO;AACxB,WAAO,IAAI,QAAQ,QAAQ,EAAE;AAAA,EAC/B,OAAQ;AACN,WAAO;AAAA,EACP;AACF;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"type2icon.js","sources":["uni_modules/vk-uview-ui/libs/function/type2icon.js"],"sourcesContent":["/**\r\n * 根据主题type值,获取对应的图标\r\n * @param String type 主题名称,primary|info|error|warning|success\r\n * @param String fill 是否使用fill填充实体的图标 \r\n */\r\nfunction type2icon(type = 'success', fill = false) {\r\n\t// 如果非预置值,默认为success\r\n\tif (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';\r\n\tlet iconName = '';\r\n\t// 目前(2019-12-12),info和primary使用同一个图标\r\n\tswitch (type) {\r\n\t\tcase 'primary':\r\n\t\t\ticonName = 'info-circle';\r\n\t\t\tbreak;\r\n\t\tcase 'info':\r\n\t\t\ticonName = 'info-circle';\r\n\t\t\tbreak;\r\n\t\tcase 'error':\r\n\t\t\ticonName = 'close-circle';\r\n\t\t\tbreak;\r\n\t\tcase 'warning':\r\n\t\t\ticonName = 'error-circle';\r\n\t\t\tbreak;\r\n\t\tcase 'success':\r\n\t\t\ticonName = 'checkmark-circle';\r\n\t\t\tbreak;\r\n\t\tdefault:\r\n\t\t\ticonName = 'checkmark-circle';\r\n\t}\r\n\t// 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的\r\n\tif (fill) iconName += '-fill';\r\n\treturn iconName;\r\n}\r\n\r\nexport default type2icon\r\n"],"names":[],"mappings":";AAKA,SAAS,UAAU,OAAO,WAAW,OAAO,OAAO;AAElD,MAAI,CAAC,WAAW,QAAQ,SAAS,WAAW,SAAS,EAAE,QAAQ,IAAI,KAAK;AAAI,WAAO;AACnF,MAAI,WAAW;AAEf,UAAQ,MAAI;AAAA,IACX,KAAK;AACJ,iBAAW;AACX;AAAA,IACD,KAAK;AACJ,iBAAW;AACX;AAAA,IACD,KAAK;AACJ,iBAAW;AACX;AAAA,IACD,KAAK;AACJ,iBAAW;AACX;AAAA,IACD,KAAK;AACJ,iBAAW;AACX;AAAA,IACD;AACC,iBAAW;AAAA,EACZ;AAED,MAAI;AAAM,gBAAY;AACtB,SAAO;AACR;;"}

View File

@ -0,0 +1 @@
{"version":3,"file":"mixin.js","sources":["uni_modules/vk-uview-ui/libs/mixin/mixin.js"],"sourcesContent":["export default {\r\n\tdata() {\r\n\t\treturn {}\r\n\t},\r\n\tonLoad() {\r\n\t\t// getRect挂载到$u上因为这方法需要使用in(this),所以无法把它独立成一个单独的文件导出\r\n\t\tthis.$u.getRect = this.$uGetRect\r\n\t},\r\n\tmethods: {\r\n\t\t// 查询节点信息\r\n\t\t// 目前此方法在支付宝小程序中无法获取组件跟接点的尺寸为支付宝的bug(2020-07-21)\r\n\t\t// 解决办法为在组件根部再套一个没有任何作用的view元素\r\n\t\t$uGetRect(selector, all) {\r\n\t\t\treturn new Promise(resolve => {\r\n\t\t\t\tuni.createSelectorQuery().\r\n\t\t\t\tin(this)[all ? 'selectAll' : 'select'](selector)\r\n\t\t\t\t\t.boundingClientRect(rect => {\r\n\t\t\t\t\t\tif (all && Array.isArray(rect) && rect.length) {\r\n\t\t\t\t\t\t\tresolve(rect)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (!all && rect) {\r\n\t\t\t\t\t\t\tresolve(rect)\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.exec()\r\n\t\t\t})\r\n\t\t},\r\n\t\tgetParentData(parentName = '') {\r\n\t\t\t// 避免在created中去定义parent变量\r\n\t\t\tif(!this.parent) this.parent = false;\r\n\t\t\t// 这里的本质原理是,通过获取父组件实例(也即u-radio-group的this)\r\n\t\t\t// 将父组件this中对应的参数赋值给本组件(u-radio的this)的parentData对象中对应的属性\r\n\t\t\t// 之所以需要这么做是因为所有端中头条小程序不支持通过this.parent.xxx去监听父组件参数的变化\r\n\t\t\tthis.parent = this.$u.$parent.call(this, parentName);\r\n\t\t\tif(this.parent) {\r\n\t\t\t\t// 历遍parentData中的属性将parent中的同名属性赋值给parentData\r\n\t\t\t\tObject.keys(this.parentData).map(key => {\r\n\t\t\t\t\tthis.parentData[key] = this.parent[key];\r\n\t\t\t\t});\r\n\t\t\t\t// #ifdef VUE3\r\n\t\t\t\tthis.parentData.value = this.parent.modelValue;\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t},\r\n\t\t// 阻止事件冒泡\r\n\t\tpreventEvent(e) {\r\n\t\t\te && e.stopPropagation && e.stopPropagation()\r\n\t\t}\r\n\t},\r\n\tonReachBottom() {\r\n\t\tuni.$emit('uOnReachBottom')\r\n\t},\r\n\t// #ifdef VUE2\r\n\tbeforeDestroy() {\r\n\t\t// 判断当前页面是否存在parent和chldren一般在checkbox和checkbox-group父子联动的场景会有此情况\r\n\t\t// 组件销毁时移除子组件在父组件children数组中的实例释放资源避免数据混乱\r\n\t\tif(this.parent && uni.$u.test.array(this.parent.children)) {\r\n\t\t\t// 组件销毁时移除父组件中的children数组中对应的实例\r\n\t\t\tconst childrenList = this.parent.children\r\n\t\t\tchildrenList.map((child, index) => {\r\n\t\t\t\t// 如果相等,则移除\r\n\t\t\t\tif(child === this) {\r\n\t\t\t\t\tchildrenList.splice(index, 1)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t},\r\n\t// #endif\r\n\t\r\n\t// #ifdef VUE3\r\n\tbeforeUnmount() {\r\n\t\t// 判断当前页面是否存在parent和chldren一般在checkbox和checkbox-group父子联动的场景会有此情况\r\n\t\t// 组件销毁时移除子组件在父组件children数组中的实例释放资源避免数据混乱\r\n\t\tif(this.parent && uni.$u.test.array(this.parent.children)) {\r\n\t\t\t// 组件销毁时移除父组件中的children数组中对应的实例\r\n\t\t\tconst childrenList = this.parent.children\r\n\t\t\tchildrenList.map((child, index) => {\r\n\t\t\t\t// 如果相等,则移除\r\n\t\t\t\tif(child === this) {\r\n\t\t\t\t\tchildrenList.splice(index, 1)\r\n\t\t\t\t}\r\n\t\t\t})\r\n\t\t}\r\n\t},\r\n\t// #endif\r\n}\r\n"],"names":["uni"],"mappings":";;AAAA,MAAe,QAAA;AAAA,EACd,OAAO;AACN,WAAO,CAAE;AAAA,EACT;AAAA,EACD,SAAS;AAER,SAAK,GAAG,UAAU,KAAK;AAAA,EACvB;AAAA,EACD,SAAS;AAAA;AAAA;AAAA;AAAA,IAIR,UAAU,UAAU,KAAK;AACxB,aAAO,IAAI,QAAQ,aAAW;AAC7BA,sBAAAA,MAAI,oBAAqB,EACzB,GAAG,IAAI,EAAE,MAAM,cAAc,QAAQ,EAAE,QAAQ,EAC7C,mBAAmB,UAAQ;AAC3B,cAAI,OAAO,MAAM,QAAQ,IAAI,KAAK,KAAK,QAAQ;AAC9C,oBAAQ,IAAI;AAAA,UACZ;AACD,cAAI,CAAC,OAAO,MAAM;AACjB,oBAAQ,IAAI;AAAA,UACZ;AAAA,QACP,CAAM,EACA,KAAM;AAAA,MACZ,CAAI;AAAA,IACD;AAAA,IACD,cAAc,aAAa,IAAI;AAE9B,UAAG,CAAC,KAAK;AAAQ,aAAK,SAAS;AAI/B,WAAK,SAAS,KAAK,GAAG,QAAQ,KAAK,MAAM,UAAU;AACnD,UAAG,KAAK,QAAQ;AAEf,eAAO,KAAK,KAAK,UAAU,EAAE,IAAI,SAAO;AACvC,eAAK,WAAW,GAAG,IAAI,KAAK,OAAO,GAAG;AAAA,QAC3C,CAAK;AAED,aAAK,WAAW,QAAQ,KAAK,OAAO;AAAA,MAEpC;AAAA,IACD;AAAA;AAAA,IAED,aAAa,GAAG;AACf,WAAK,EAAE,mBAAmB,EAAE,gBAAiB;AAAA,IAC7C;AAAA,EACD;AAAA,EACD,gBAAgB;AACfA,kBAAG,MAAC,MAAM,gBAAgB;AAAA,EAC1B;AAAA,EAmBD,gBAAgB;AAGf,QAAG,KAAK,UAAUA,cAAAA,MAAI,GAAG,KAAK,MAAM,KAAK,OAAO,QAAQ,GAAG;AAE1D,YAAM,eAAe,KAAK,OAAO;AACjC,mBAAa,IAAI,CAAC,OAAO,UAAU;AAElC,YAAG,UAAU,MAAM;AAClB,uBAAa,OAAO,OAAO,CAAC;AAAA,QAC5B;AAAA,MACL,CAAI;AAAA,IACD;AAAA,EACD;AAEF;;"}

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
;(function(){ ;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[]; let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","bounce":"none","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app x","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"养老App","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.64","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}}; const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","bounce":"none","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app x","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"养老App","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.65","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Nursing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Warehousing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/assess/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/indexnew","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute)); const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Nursing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Warehousing/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/assess/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/timeMatrix/indexnew","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[];//styles __uniConfig.styles=[];//styles
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}}); __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@
"id": "__UNI__FB2D473", "id": "__UNI__FB2D473",
"name": "养老App", "name": "养老App",
"version": { "version": {
"name": "1.2.0", "name": "1.2.1",
"code": 120 "code": 121
}, },
"description": "养老App", "description": "养老App",
"developer": { "developer": {
@ -130,7 +130,7 @@
"uni-app": { "uni-app": {
"control": "uni-v3", "control": "uni-v3",
"vueVersion": "3", "vueVersion": "3",
"compilerVersion": "4.64", "compilerVersion": "4.65",
"nvueCompiler": "uni-app", "nvueCompiler": "uni-app",
"renderer": "auto", "renderer": "auto",
"nvue": { "nvue": {

View File

@ -5797,7 +5797,7 @@ to {
width: 9.375rem; width: 9.375rem;
height: 5.625rem; height: 5.625rem;
border-radius: 0.78125rem; border-radius: 0.78125rem;
box-shadow: 0.125rem 0.25rem 0.5rem 0.125rem #839fcc; box-shadow: 0.0625rem 0.125rem 0.25rem 0.0625rem #839fcc;
background: linear-gradient(to bottom right, #eae7fa, #dadbf9); background: linear-gradient(to bottom right, #eae7fa, #dadbf9);
margin-left: 1.5625rem; margin-left: 1.5625rem;
display: flex; display: flex;
@ -5808,7 +5808,7 @@ to {
width: 9.375rem; width: 9.375rem;
height: 5.625rem; height: 5.625rem;
border-radius: 0.78125rem; border-radius: 0.78125rem;
box-shadow: 0.125rem 0.25rem 0.5rem 0.125rem #839fcc; box-shadow: 0.0625rem 0.125rem 0.25rem 0.0625rem #839fcc;
background: linear-gradient(to bottom right, #bcf3f1, #9de9ee); background: linear-gradient(to bottom right, #bcf3f1, #9de9ee);
margin-left: 1.5625rem; margin-left: 1.5625rem;
display: flex; display: flex;
@ -5819,7 +5819,7 @@ to {
width: 9.375rem; width: 9.375rem;
height: 5.625rem; height: 5.625rem;
border-radius: 0.78125rem; border-radius: 0.78125rem;
box-shadow: 0.125rem 0.25rem 0.5rem 0.125rem #839fcc; box-shadow: 0.0625rem 0.125rem 0.25rem 0.0625rem #839fcc;
background: linear-gradient(to bottom right, #ffcccc, #ffccff); background: linear-gradient(to bottom right, #ffcccc, #ffccff);
margin-left: 1.5625rem; margin-left: 1.5625rem;
display: flex; display: flex;
@ -6125,6 +6125,654 @@ to {
margin-bottom: 0.625rem; margin-bottom: 0.625rem;
} }
.draw-all[data-v-16ee5128] {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background-color: #fff;
overflow: hidden;
}
.draw-all .draw-contain[data-v-16ee5128] {
width: 100%;
height: calc(100vh);
background-image: url("../../static/index/fanpink.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.draw-all .draw-contain .draw-title-father[data-v-16ee5128] {
width: 100%;
height: 4.6875rem;
display: flex;
justify-content: center;
align-items: center;
}
.draw-all .draw-contain .draw-title-father .draw-title[data-v-16ee5128] {
display: flex;
font-size: 1.09375rem;
}
.draw-all .draw-contain .draw-title-father .draw-title .draw-weight[data-v-16ee5128] {
font-weight: 700;
}
.swiper-card[data-v-16ee5128] {
margin: 0 0 0.9375rem 0.9375rem;
width: 35.3125rem;
height: 5.3125rem;
border: 0.0625rem solid #fff;
border-radius: 0.9375rem;
background: url("../../static/index/blueMountain.png") center / cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 0.15625rem 0.15625rem 0.3125rem 0 #839fcc;
overflow: hidden;
padding: 0 1.25rem;
position: relative;
}
.swiper-card .swiper-card-top[data-v-16ee5128] {
width: 100%;
height: 8.4375rem;
}
.swiper-card .swiper-card-top .swiper-card-top-card[data-v-16ee5128] {
width: 100%;
height: 100%;
display: flex;
}
.card-img-father[data-v-16ee5128] {
height: 6.25rem;
width: 5rem;
display: flex;
align-items: center;
}
.card-img-father .card-img[data-v-16ee5128] {
margin-top: -0.46875rem;
width: 70%;
height: 70%;
}
.card-right-title[data-v-16ee5128] {
width: 100%;
display: flex;
justify-content: space-between;
font-weight: 700;
margin: 0.9375rem 0;
}
.card-right-title .title-gray[data-v-16ee5128] {
color: #596278;
font-size: 0.9375rem;
}
.card-right-title .title-black[data-v-16ee5128] {
font-size: 0.9375rem;
}
.card-right-other[data-v-16ee5128] {
margin-top: 0.625rem;
width: 100%;
display: flex;
justify-content: space-between;
font-size: 0.78125rem;
}
.card-right-other .title-gray[data-v-16ee5128] {
color: #596278;
}
.card-right-other .title-green[data-v-16ee5128] {
color: #647900;
}
.card-right-other .title-red[data-v-16ee5128] {
color: #FF4A27;
}
.draw-flex[data-v-16ee5128] {
display: flex;
}
.card-right[data-v-16ee5128] {
width: 25rem;
height: 100%;
}
.contant-mid[data-v-16ee5128] {
padding: 0.9375rem 1.5625rem;
display: flex;
justify-content: space-between;
font-size: 1rem;
}
.contant-mid .contant-mid-wight[data-v-16ee5128] {
font-weight: 700;
}
.contant-mid .contant-mid-wight-target[data-v-16ee5128] {
font-weight: 700;
border: 0.0625rem solid;
padding: 0.15625rem 0.3125rem;
border-radius: 0.3125rem;
margin-top: -0.3125rem;
}
.button-card[data-v-16ee5128] {
margin-top: 0.9375rem;
display: flex;
justify-content: flex-end;
}
.swiper-button-blue[data-v-16ee5128] {
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
border: 0.0625rem solid #fff;
border-radius: 0.625rem;
width: 6.25rem;
height: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
margin: 0 0.3125rem;
color: #fff;
margin-right: 1.25rem;
}
.swiper-button-white[data-v-16ee5128] {
background: linear-gradient(to bottom, #D5E0F8, #ECF6FF);
border: 0.0625rem solid #fff;
border-radius: 0.625rem;
width: 6.25rem;
height: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
margin-right: 0.625rem;
}
.draw-all[data-v-6607863e] {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
background-color: #fff;
border-top-left-radius: 2.5rem;
border-bottom-left-radius: 2.5rem;
overflow: hidden;
}
.draw-all .draw-flex[data-v-6607863e] {
display: flex;
}
.draw-all .draw-contain[data-v-6607863e] {
width: 100%;
height: calc(100vh);
background-image: url("../../static/index/fanpink.png");
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
.swiper-gray[data-v-6607863e] {
color: #596278;
}
.draw-title[data-v-6607863e] {
width: 100%;
height: 1.875rem;
display: flex;
justify-content: space-between;
margin-top: 2.5rem;
margin-left: 0.625rem;
}
.draw-title .draw-flex[data-v-6607863e] {
display: flex;
}
.draw-title .draw-flex .button-first[data-v-6607863e] {
width: 3.75rem;
height: 1.875rem;
border-radius: 0.625rem;
margin-right: 0.46875rem;
background: linear-gradient(to bottom right, #00C3AC, #28CFB3);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.draw-title .draw-flex .button-second[data-v-6607863e] {
width: 3.75rem;
height: 1.875rem;
border-radius: 0.625rem;
margin-right: 0.46875rem;
background: linear-gradient(to bottom right, #869AF3, #8296E9);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.draw-title .draw-flex .button-third[data-v-6607863e] {
width: 3.75rem;
height: 1.875rem;
border-radius: 0.625rem;
margin-right: 1.875rem;
background: linear-gradient(to bottom right, #FF7A95, #FF9D94);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.draw-title .draw-title-gun[data-v-6607863e] {
margin-left: 0.625rem;
margin-right: 0.625rem;
width: 0.40625rem;
height: 1.25rem;
background: linear-gradient(to bottom, #04BCED, #0160CE);
border-radius: 0.3125rem;
}
.draw-title .draw-title-font[data-v-6607863e] {
font-size: 1.09375rem;
font-weight: 700;
margin-top: -0.09375rem;
}
.draw-title .draw-title-blue[data-v-6607863e] {
height: 1.5625rem;
width: 3.75rem;
margin-right: 1.5625rem;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.3125rem;
border: 0.03125rem solid #fff;
}
.scroll-view[data-v-6607863e] {
height: 29.6875rem;
width: calc(100% - 2.5rem);
margin-left: 1.25rem;
border-radius: 1.25rem;
border: 0.0625rem solid #fff;
box-shadow: 0.125rem 0.25rem 0.5rem 0.125rem #839fcc;
overflow: hidden;
}
.swiper-card-once[data-v-6607863e] {
margin: 0 0 0.9375rem 0.9375rem;
width: 41.875rem;
height: 8.4375rem;
border: 0.0625rem solid #fff;
border-radius: 0.9375rem;
background: url("../../static/index/blueMountain.png") center / cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 0.15625rem 0.15625rem 0.3125rem 0 #839fcc;
overflow: hidden;
padding: 0 1.25rem;
}
.swiper-card-once .swiper-card-top[data-v-6607863e] {
width: 100%;
height: 8.4375rem;
display: flex;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card[data-v-6607863e] {
width: 100%;
height: 100%;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .swiper-card-top-card-weight[data-v-6607863e] {
display: flex;
justify-content: space-between;
margin: 0.78125rem 0;
font-size: 0.9375rem;
font-weight: 500;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .swiper-card-top-card-weight .weight-left[data-v-6607863e] {
display: flex;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .swiper-card-top-card-weight .weight-left .blue-number[data-v-6607863e] {
font-size: 1rem;
font-weight: 700;
color: #017DE9;
margin-top: 0.3125rem;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .swiper-card-top-card-weight .weight-right[data-v-6607863e] {
color: #FF6000;
font-weight: 500;
font-size: 0.9375rem;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .weight-boom[data-v-6607863e] {
width: 39.6875rem;
margin-left: -0.3125rem;
height: 4.375rem;
background-color: rgba(131, 159, 204, 0.2);
border: 0.0625rem solid #fff;
box-shadow: 0.15625rem 0.15625rem 0.3125rem 0 #839fcc;
border-radius: 0.78125rem;
}
.swiper-card-once .swiper-card-top .swiper-card-top-card .swiper-card-top-card-noral[data-v-6607863e] {
margin-left: 1.5625rem;
display: flex;
justify-content: space-between;
margin-top: 0.9375rem;
font-size: 0.78125rem;
}
.swiper-flex[data-v-6607863e] {
display: flex;
flex-wrap: wrap;
margin-left: 0;
}
.swiper-flex .swiper-card[data-v-6607863e] {
margin: 0 0 0.9375rem 0.9375rem;
width: 39.0625rem;
height: 7.1875rem;
border: 0.0625rem solid #fff;
border-radius: 0.9375rem;
background: url("../../static/index/blueMountain.png") center / cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
isolation: isolate;
box-shadow: 0.15625rem 0.15625rem 0.3125rem 0 #839fcc;
overflow: hidden;
padding: 0 1.25rem;
position: relative;
}
.swiper-flex .swiper-card .swiper-card-rightbox[data-v-6607863e] {
position: absolute;
top: 0;
right: 0;
width: 6.875rem;
height: 100%;
background-color: #d3eefe;
display: flex;
}
.swiper-flex .swiper-card .swiper-card-rightbox .vertical-line[data-v-6607863e] {
height: 100%;
width: 0.0625rem;
background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 50%, rgba(255, 255, 255, 0) 100%);
}
.swiper-flex .swiper-card .swiper-card-rightbox .rightbox-other[data-v-6607863e] {
width: 99%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.swiper-flex .swiper-card .swiper-card-top[data-v-6607863e] {
width: 100%;
height: 8.4375rem;
}
.swiper-flex .swiper-card .swiper-card-top .swiper-card-top-card[data-v-6607863e] {
width: 100%;
height: 100%;
display: flex;
}
.index-right-button-blue[data-v-6607863e] {
height: 1.5625rem;
width: 3.125rem;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
border-radius: 0.3125rem;
border: 0.03125rem solid #fff;
}
.swiper-all-flex[data-v-6607863e] {
display: flex;
}
.card-img-father[data-v-6607863e] {
height: 100%;
width: 7.1875rem;
display: flex;
align-items: center;
}
.card-img-father .card-img[data-v-6607863e] {
margin-top: -0.46875rem;
width: 70%;
height: 70%;
}
.card-right[data-v-6607863e] {
width: 25rem;
height: 100%;
}
.card-right .card-right-title[data-v-6607863e] {
width: 100%;
display: flex;
justify-content: space-between;
font-weight: 700;
margin: 0.9375rem 0;
}
.card-right .card-right-title .title-gray[data-v-6607863e] {
color: #596278;
font-size: 0.9375rem;
}
.card-right .card-right-title .title-black[data-v-6607863e] {
font-size: 0.9375rem;
}
.card-right .card-right-other[data-v-6607863e] {
margin-top: 0.625rem;
width: 100%;
display: flex;
justify-content: space-between;
font-size: 0.78125rem;
}
.card-right .card-right-other .title-gray[data-v-6607863e] {
color: #596278;
}
.card-right .card-right-other .title-green[data-v-6607863e] {
color: #647900;
}
.card-right .card-right-other .title-red[data-v-6607863e] {
color: #FF4A27;
}
.swiper-button-white[data-v-6607863e] {
background: linear-gradient(to bottom, #D5E0F8, #ECF6FF);
border: 0.0625rem solid #fff;
border-radius: 0.625rem;
width: 6.25rem;
height: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
margin: 0 0.3125rem;
margin-right: 1.25rem;
}
.swiper-button-blue[data-v-6607863e] {
background: linear-gradient(to bottom, #00C9FF, #0076FF);
border: 0.0625rem solid #fff;
border-radius: 0.625rem;
width: 6.25rem;
height: 2.5rem;
display: flex;
justify-content: center;
align-items: center;
margin: 0 0.3125rem;
color: #fff;
}
.button-card[data-v-6607863e] {
margin-top: 0.9375rem;
display: flex;
justify-content: flex-end;
}
.down-note[data-v-6607863e] {
width: 100%;
overflow: hidden;
height: 5.3125rem;
display: flex;
align-items: center;
position: relative;
margin-top: -0.3125rem;
}
.down-note-title-input[data-v-6607863e] {
width: calc(100% - 3.125rem);
margin-left: 1.25rem;
height: 3.75rem;
font-size: 0.84375rem;
border: 0.0625rem #a0adc8 solid;
padding: 0.46875rem 0 0.46875rem 0.625rem;
background-color: rgba(234, 243, 254, 0.6);
border-radius: 0.9375rem;
}
.char-count[data-v-6607863e] {
position: absolute;
bottom: 0.9375rem;
right: 2.1875rem;
color: #999;
font-size: 0.78125rem;
}
.title-button[data-v-6607863e] {
height: 1.5625rem;
width: 3.75rem;
margin-right: 1.5625rem;
border: 0.0625rem solid #fff;
border-radius: 0.46875rem;
background: #00AEFF;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.title-button-red[data-v-6607863e] {
height: 1.5625rem;
width: 3.75rem;
margin-right: 1.5625rem;
border: 0.0625rem solid #fff;
border-radius: 0.46875rem;
background: linear-gradient(to bottom, #FF8251, #F52E2C);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.draw-red[data-v-6607863e] {
color: red;
font-size: 1.25rem;
margin-top: -0.3125rem;
}
.button-blue[data-v-6607863e] {
width: 4.375rem;
height: 1.875rem;
border-radius: 0.625rem;
margin-right: 1.5625rem;
background: linear-gradient(to bottom right, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.boom-other-card[data-v-6607863e] {
width: 7.8125rem;
display: flex;
align-items: center;
margin: 0.3125rem 0;
}
.boom-other-card .boom-other-img[data-v-6607863e] {
width: 0.9375rem;
height: 0.9375rem;
margin-left: 0.9375rem;
}
.boom-other-card .boom-other-font[data-v-6607863e] {
margin-left: 0.15625rem;
font-size: 0.78125rem;
}
.boom-other-card .boom-other-weight[data-v-6607863e] {
font-weight: 700;
margin-left: 0.15625rem;
}
.title-img[data-v-6607863e] {
width: 0.9375rem;
height: 0.9375rem;
margin-left: 0.625rem;
}
.plsbuy-contain[data-v-68a68174] {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
background: url("../../static/index/pink.png") center / cover;
overflow: hidden;
}
.draw-title[data-v-68a68174] {
width: 100%;
height: 1.875rem;
display: flex;
justify-content: space-between;
padding-top: 0.9375rem;
}
.draw-title .draw-flex[data-v-68a68174] {
display: flex;
}
.draw-title .draw-title-gun[data-v-68a68174] {
margin-left: 0.625rem;
margin-right: 0.625rem;
width: 0.40625rem;
height: 1.25rem;
background: linear-gradient(to bottom, #04BCED, #0160CE);
border-radius: 0.3125rem;
}
.draw-title .draw-title-font[data-v-68a68174] {
font-size: 1.09375rem;
font-weight: 700;
}
.plsbuy-bottom[data-v-68a68174] {
width: 100%;
margin-top: 0.625rem;
height: 2.1875rem;
display: flex;
justify-content: center;
font-size: 1.09375rem;
}
.plsbuy-bottom .plsbuy-bottom-blue[data-v-68a68174] {
display: flex;
justify-content: center;
align-items: center;
width: 7.1875rem;
height: 2.5rem;
border-radius: 0.625rem;
background: linear-gradient(to right bottom, #00c9ff, #0076ff);
color: #fff;
border: 0.03125rem #fff solid;
box-shadow: 0.0625rem 0.0625rem 0.125rem 0 rgba(0, 0, 0, 0.3);
}
.calculator-father[data-v-68a68174] {
width: 18.75rem;
height: 15.625rem;
margin-top: 0.625rem;
flex-wrap: wrap;
display: flex;
margin-left: 1.40625rem;
}
.calculator-father .calculator-kuai[data-v-68a68174] {
display: flex;
justify-content: center;
align-items: center;
background-color: #DCDCEE;
border-radius: 0.78125rem;
font-size: 1.40625rem;
font-weight: 500;
margin: 0.46875rem 0.625rem 0 0.625rem;
width: 3.125rem;
height: 3.125rem;
}
.calculator-father .calculator-kuai-target[data-v-68a68174] {
background: linear-gradient(to bottom, #00C9FF, #0076FF);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
background-color: #DCDCEE;
border-radius: 0.78125rem;
font-size: 1.40625rem;
font-weight: 500;
margin: 0.46875rem 0.625rem 0 0.625rem;
width: 3.125rem;
height: 3.125rem;
}
.stringShow-father[data-v-68a68174] {
width: 13.125rem;
height: 2.1875rem;
margin-top: 0.625rem;
margin-left: 0.78125rem;
display: flex;
}
.stringShow-father .stringShow-kuai[data-v-68a68174] {
display: flex;
justify-content: center;
align-items: center;
border-radius: 0.625rem;
font-size: 1.40625rem;
font-weight: 500;
margin: 0 0.46875rem;
width: 1.71875rem;
height: 1.71875rem;
border: 0.09375rem solid #303C57;
}
.qinggou-font[data-v-68a68174] {
font-size: 1.09375rem;
font-weight: 500;
margin-top: 0.3125rem;
display: flex;
justify-content: center;
}
.index-content-other[data-v-a2a18362] { .index-content-other[data-v-a2a18362] {
width: calc(100% - 5.3125rem); width: calc(100% - 5.3125rem);
height: 100%; height: 100%;
@ -6302,7 +6950,23 @@ to {
backdrop-filter: blur(0.03125rem); backdrop-filter: blur(0.03125rem);
background-color: rgba(89, 109, 154, 0.4); background-color: rgba(89, 109, 154, 0.4);
/* 添加毛玻璃效果 */ /* 添加毛玻璃效果 */
z-index: 999; }
.popup-detail .popup-detail-price[data-v-a2a18362] {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 31.25rem;
height: 31.25rem;
background: url("../../static/index/lightbgcnew.png") center / cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
border: 0.0625rem solid #fff;
/* 使用 screen 混合模式,让图像与白色混合变淡 */
border-radius: 0.9375rem;
box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
z-index: 1005;
} }
.popup-detail .popup-detail-content[data-v-a2a18362] { .popup-detail .popup-detail-content[data-v-a2a18362] {
display: flex; display: flex;
@ -6559,6 +7223,48 @@ to {
transition: opacity 0.4s ease; transition: opacity 0.4s ease;
overflow: hidden; overflow: hidden;
} }
.popup-detail-finish[data-v-a2a18362] {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-backdrop-filter: blur(0.03125rem);
backdrop-filter: blur(0.03125rem);
background-color: rgba(89, 109, 154, 0.4);
/* 添加毛玻璃效果 */
z-index: 1001;
}
.popup-detail-finish .popup-detail-content[data-v-a2a18362] {
position: absolute;
left: 10.9375rem;
top: 12.5rem;
display: flex;
width: 37.5rem;
height: 21.875rem;
background: url("../../static/index/lightbgcnew.png") center / cover, rgba(255, 255, 255, 0.5);
background-blend-mode: screen;
border: 0.0625rem solid #fff;
/* 使用 screen 混合模式,让图像与白色混合变淡 */
border-radius: 1.25rem;
box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
overflow: hidden;
}
.popup-detail-content-calculator[data-v-a2a18362] {
position: absolute;
right: 3.125rem;
top: 9.6875rem;
display: flex;
width: 20.3125rem;
height: 26.5625rem;
background-color: #fff;
border: 0.0625rem solid #fff;
border-radius: 0.9375rem;
box-shadow: 0.3125rem 0.3125rem 0.625rem rgba(0, 0, 0, 0.1);
transition: opacity 0.4s ease;
overflow: hidden;
}
.backgroundContainer[data-v-82a72f7e] { .backgroundContainer[data-v-82a72f7e] {
display: flex; display: flex;

Binary file not shown.

After

Width:  |  Height:  |  Size: 682 B

View File

@ -1,10 +1,15 @@
"use strict"; "use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js"); const common_vendor = require("./common/vendor.js");
const uni_modules_vkUviewUi_index = require("./uni_modules/vk-uview-ui/index.js");
if (!Math) { if (!Math) {
"./pages/index/index.js"; "./pages/index/index.js";
"./pages/Nursing/index.js";
"./pages/Warehousing/index.js";
"./pages/assess/index.js";
"./pages/login/login.js"; "./pages/login/login.js";
"./pages/somethingmove/index.js"; "./pages/timeMatrix/index.js";
"./pages/timeMatrix/indexnew.js";
} }
const _sfc_main = { const _sfc_main = {
onLaunch: function() { onLaunch: function() {
@ -19,9 +24,8 @@ const _sfc_main = {
}; };
function createApp() { function createApp() {
const app = common_vendor.createSSRApp(_sfc_main); const app = common_vendor.createSSRApp(_sfc_main);
return { app.use(uni_modules_vkUviewUi_index.uView);
app return { app };
};
} }
createApp().app.mount("#app"); createApp().app.mount("#app");
exports.createApp = createApp; exports.createApp = createApp;

Some files were not shown because too many files have changed in this diff Show More