|
|
@ -1,7 +1,7 @@
|
|
|
|
<script setup>
|
|
|
|
<script setup>
|
|
|
|
// 引入依赖
|
|
|
|
// 引入依赖
|
|
|
|
import uniDatetimePicker from '@/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue'
|
|
|
|
import uniDatetimePicker from '@/uni_modules/uni-datetime-picker/components/uni-datetime-picker/uni-datetime-picker.vue'
|
|
|
|
import uniEasyinput from '@/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue'
|
|
|
|
import uniEasyinput from '@/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput.vue'
|
|
|
|
import { onLoad } from "@dcloudio/uni-app"
|
|
|
|
import { onLoad } from "@dcloudio/uni-app"
|
|
|
|
// import mySwiper from "@/components/mySwiper.vue"
|
|
|
|
// import mySwiper from "@/components/mySwiper.vue"
|
|
|
|
import {ref,onMounted,nextTick} from "vue"
|
|
|
|
import {ref,onMounted,nextTick} from "vue"
|
|
|
@ -17,10 +17,10 @@
|
|
|
|
const res_ = ref(null)
|
|
|
|
const res_ = ref(null)
|
|
|
|
const userInfo = ref(null)
|
|
|
|
const userInfo = ref(null)
|
|
|
|
const bg_imgs = ref([
|
|
|
|
const bg_imgs = ref([
|
|
|
|
'/static/result1.jpg',
|
|
|
|
'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result1.jpg',
|
|
|
|
'/static/result2.jpg',
|
|
|
|
'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result2.jpg',
|
|
|
|
'/static/result3.jpg',
|
|
|
|
'https://jmyl-app.oss-cn-chengdu.aliyuncs.com/miniapp/result/result3.jpg',
|
|
|
|
])
|
|
|
|
])
|
|
|
|
const bg_index = ref(0)
|
|
|
|
const bg_index = ref(0)
|
|
|
|
const avatarUrl = ref(null)
|
|
|
|
const avatarUrl = ref(null)
|
|
|
|
const info = ref({left:'',right:''})
|
|
|
|
const info = ref({left:'',right:''})
|
|
|
@ -40,8 +40,8 @@
|
|
|
|
console.log(err)
|
|
|
|
console.log(err)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<view class="visionTestBox page-box">
|
|
|
|
<view class="visionTestBox page-box">
|
|
|
|
<!-- <view class="actionBox" :style="{background:`url(${bg_imgs[bg_index]})`}">
|
|
|
|
<!-- <view class="actionBox" :style="{background:`url(${bg_imgs[bg_index]})`}">
|
|
|
@ -59,8 +59,8 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<style scoped lang="scss">
|
|
|
|
<style scoped lang="scss">
|
|
|
|
.avatar-box{
|
|
|
|
.avatar-box{
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
@ -159,5 +159,5 @@
|
|
|
|
width: 80%;
|
|
|
|
width: 80%;
|
|
|
|
margin: 0 auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
border-radius: 20rpx;
|
|
|
|
border-radius: 20rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|