diff --git a/components/GetHivePupop.vue b/components/GetHivePupop.vue index eff97ff..8b49d48 100644 --- a/components/GetHivePupop.vue +++ b/components/GetHivePupop.vue @@ -25,22 +25,22 @@ const props = defineProps({ const hives = ref([ { - image: '/static/images/hive1.png', + image: '/static/images/apiculture.png', name: '标准蜂箱', beeName: '意大利蜜蜂' }, { - image: '/static/images/hive2.png', + image: '/static/images/apiculture.png', name: '高级蜂箱', beeName: '卡尼鄂拉蜂' }, { - image: '/static/images/hive3.png', + image: '/static/images/apiculture.png', name: '豪华蜂箱', beeName: '高加索蜂' }, { - image: '/static/images/hive4.png', + image: '/static/images/apiculture.png', name: '定制蜂箱', beeName: '中华蜜蜂' } diff --git a/components/Introduction.vue b/components/Introduction.vue index e528117..a99f39c 100644 --- a/components/Introduction.vue +++ b/components/Introduction.vue @@ -1,7 +1,7 @@ - + } + \ No newline at end of file diff --git a/pages/myPage/myPage.vue b/pages/myPage/myPage.vue index 264ea5d..7f56cc3 100644 --- a/pages/myPage/myPage.vue +++ b/pages/myPage/myPage.vue @@ -152,393 +152,235 @@ @@ -144,12 +145,11 @@ const closeDetail = () => { } .popup-content { - background: #fff; - padding: 40rpx; - border-radius: 16rpx; - max-width: 80vw; - max-height: 70vh; - + width: 600rpx; + background: #fff; + border-radius: 24rpx; + padding: 20rpx; + .detail-scroll { max-height: 60vh; @@ -159,15 +159,25 @@ const closeDetail = () => { color: #333; } } - - .close-btn { - margin-top: 30rpx; - background: #f0f0f0; - color: #666; - font-size: 28rpx; - padding: 10rpx 30rpx; - border-radius: 8rpx; - float: right; - } + + + .popup-title { + font-weight: bold; + font-size: 40rpx; + color: #ff7f00; + text-align: center; + margin-bottom: 20rpx; + } + + + .close-btn { + + height: 80rpx; + background: #ff6f0e; + color: #fff; + border-radius: 40rpx; + font-size: 30rpx; + } } + \ No newline at end of file diff --git a/pages/surveyList/surveyList.vue b/pages/surveyList/surveyList.vue index 50af20e..c0fdac5 100644 --- a/pages/surveyList/surveyList.vue +++ b/pages/surveyList/surveyList.vue @@ -35,6 +35,7 @@ import { ref, onMounted } from 'vue' import { request } from '@/utils/request' import TransNavVue from '../../components/TransNav.vue'; +import { onShow } from '@dcloudio/uni-app' const surveyList = ref([ @@ -48,7 +49,7 @@ const handleSurveyClick = (id) => { }) } -onMounted(() => { +onShow(() => { getQuestionList() }) diff --git a/pages/traceabilityManagement/addProduct.vue b/pages/traceabilityManagement/addProduct.vue index f97a1e2..cc97482 100644 --- a/pages/traceabilityManagement/addProduct.vue +++ b/pages/traceabilityManagement/addProduct.vue @@ -69,10 +69,11 @@ @@ -150,66 +90,68 @@ const showCashWithdraw = () => {