Compare commits

..

No commits in common. "94d7d1a7aed4c7bf6265d3b5dd4432b32b7c3ba4" and "7c4cedaeff83bb277e08beb5a29cc064849bcca3" have entirely different histories.

12 changed files with 56 additions and 35 deletions

2
env/.env vendored
View File

@ -1,4 +1,4 @@
VITE_APP_TITLE = '六纬升学' VITE_APP_TITLE = '六纬志愿'
VITE_APP_PORT = 9000 VITE_APP_PORT = 9000
VITE_UNI_APPID = 'H57F2ACE4' VITE_UNI_APPID = 'H57F2ACE4'

View File

@ -2,7 +2,22 @@
"name": "volunteer-4", "name": "volunteer-4",
"type": "commonjs", "type": "commonjs",
"version": "2.5.5", "version": "2.5.5",
"description": "unibest - 最好的 uniapp 开发模板",
"author": {
"name": "feige996",
"zhName": "菲鸽",
"email": "1020103647@qq.com",
"github": "https://github.com/feige996",
"gitee": "https://gitee.com/feige996"
},
"license": "MIT", "license": "MIT",
"repository": "https://github.com/feige996/unibest",
"repository-gitee": "https://gitee.com/feige996/unibest",
"repository-deprecated": "https://github.com/codercup/unibest",
"bugs": {
"url": "https://github.com/feige996/unibest/issues"
},
"homepage": "https://feige996.github.io/unibest/",
"engines": { "engines": {
"node": ">=18", "node": ">=18",
"pnpm": ">=7.30" "pnpm": ">=7.30"

View File

@ -3,7 +3,7 @@ import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({ export default defineUniPages({
globalStyle: { globalStyle: {
navigationBarTextStyle: 'black', navigationBarTextStyle: 'black',
navigationBarTitleText: '六纬升学', navigationBarTitleText: '六纬志愿',
navigationBarBackgroundColor: '#fff', navigationBarBackgroundColor: '#fff',
backgroundColor: '#F8F8F8', backgroundColor: '#F8F8F8',
}, },

View File

@ -40,6 +40,16 @@ onLoad((options) => {
url.value += `&fileId=${options.fileId}` url.value += `&fileId=${options.fileId}`
} }
}) })
// if (options.locationCode) {
// url.value += `&locationCode=${options.locationCode}`
// }
// const recorderManager = uni.getRecorderManager()
// recorderManager.onError((res) => {
// console.log('', res)
// })
// recorderManager.onStop((res) => {
// console.log('', res)
// })
}) })
</script> </script>

View File

@ -1,5 +1,5 @@
{ {
"name": "六纬升学", "name": "六纬志愿",
"appid": "H57F2ACE4", "appid": "H57F2ACE4",
"description": "", "description": "",
"versionName": "1.0.0", "versionName": "1.0.0",

View File

@ -31,7 +31,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { computed } from 'vue' import { computed, ref, watch } from 'vue'
const props = defineProps({ const props = defineProps({
modelValue: { modelValue: {

View File

@ -47,7 +47,6 @@
cell cell
shape="button" shape="button"
class="custom-checkbox" class="custom-checkbox"
default-style="width: 100%;height: 80rpx;background-color: #f6f7f8;border-radius: 8rpx;display: flex;align-items: center;justify-content: center;font-size: 28rpx;font-weight: 400;color: #303030;border: 2rpx solid #f6f7f8;"
> >
{{ item.name }} {{ item.name }}
</Checkbox> </Checkbox>

View File

@ -1,22 +1,17 @@
<template> <template>
<view class="bg-white px-[30rpx] pb-safe pt-[14rpx] grid grid-cols-2 gap-[24rpx]"> <view class="bg-white px-[30rpx] pb-safe pt-[14rpx] grid grid-cols-2 gap-[24rpx]">
<view class="h-[88rpx]"> <image
<image src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/dh.png"
src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/dh.png" mode="scaleToFill"
mode="scaleToFill" class="h-[88rpx]"
class="h-[88rpx]" @click="handlePhone"
@click="handlePhone" />
/> <image
</view> src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/wx.png"
mode="scaleToFill"
<view class="h-[88rpx]"> class="h-[88rpx]"
<image @click="handleFriend"
src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/wx.png" />
mode="scaleToFill"
class="h-[88rpx]"
@click="handleFriend"
/>
</view>
<MessageBox v-model:show="show" title="好友添加"> <MessageBox v-model:show="show" title="好友添加">
<template> <template>

View File

@ -9,13 +9,11 @@
<template> <template>
<view class="flex flex-col h-screen"> <view class="flex flex-col h-screen">
<Tabs v-model:modelValue="currentIndex" :tabs="tabs"></Tabs> <Tabs v-model:modelValue="currentIndex" :tabs="tabs"></Tabs>
<view class="flex-1"> <swiper :current="currentIndex" class="flex-1" @change="handleSwiperChange">
<swiper :current="currentIndex" @change="handleSwiperChange"> <swiper-item v-for="(item, index) in tabs" :key="index">
<swiper-item v-for="(item, index) in tabs" :key="index"> <image :src="item.image" mode="scaleToFill" class="w-full h-full" />
<image :src="item.image" mode="scaleToFill" class="w-full h-full" /> </swiper-item>
</swiper-item> </swiper>
</swiper>
</view>
<ShareButtonGroup <ShareButtonGroup
phone-number="18516500555" phone-number="18516500555"
friend-image="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/tianjiawx-liuxue.jpg" friend-image="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/tianjiawx-liuxue.jpg"

View File

@ -16,7 +16,6 @@
@query="queryList" @query="queryList"
:auto-show-system-loading="true" :auto-show-system-loading="true"
:safe-area-inset-bottom="true" :safe-area-inset-bottom="true"
:pagingStyle="{ backgroundColor: 'white' }"
> >
<template #top> <template #top>
<drop-menu ref="dropMenuRef"> <drop-menu ref="dropMenuRef">
@ -54,6 +53,7 @@
</view> </view>
</drop-menu-item> </drop-menu-item>
</drop-menu> </drop-menu>
<view class="px-32rpx"> <view class="px-32rpx">
<view class="flex items-center justify-between input-wrapper-class"> <view class="flex items-center justify-between input-wrapper-class">
<input <input
@ -68,7 +68,7 @@
</view> </view>
<view class="bg-[#F8F8F8] h-[16rpx] mt-[40rpx]"></view> <view class="bg-[#F8F8F8] h-[16rpx] mt-[40rpx]"></view>
</template> </template>
<view class="px-[32rpx] pt-[32rpx] bg-white"> <view class="px-[32rpx] pt-[32rpx]">
<view <view
class="bg-[#F7F7F7] flex items-center justify-between text-[20rpx] text-[#333] px-[28rpx] py-[16rpx] sticky top-0" class="bg-[#F7F7F7] flex items-center justify-between text-[20rpx] text-[#333] px-[28rpx] py-[16rpx] sticky top-0"
> >
@ -86,7 +86,7 @@
class="item-wrapper" class="item-wrapper"
:id="`zp-id-${item.zp_index}`" :id="`zp-id-${item.zp_index}`"
:key="item.zp_index" :key="item.zp_index"
v-for="item in lineList" v-for="(item, index) in lineList"
> >
<view class="flex items-center justify-between text-[20rpx] text-[#333] py-[16rpx]"> <view class="flex items-center justify-between text-[20rpx] text-[#333] py-[16rpx]">
<view class="flex-1 flex items-center"> <view class="flex-1 flex items-center">
@ -154,6 +154,10 @@ const handleConfirm = () => {
paging.value.reload() paging.value.reload()
} }
const navigatorBack = () => {
uni.navigateBack()
}
const handleNatureChangeCode = (val) => { const handleNatureChangeCode = (val) => {
natureKeyInfo.value = val natureKeyInfo.value = val
} }

View File

@ -1,7 +1,7 @@
{ {
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "六纬升学", "navigationBarTitleText": "六纬志愿",
"navigationBarBackgroundColor": "#fff", "navigationBarBackgroundColor": "#fff",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },

View File

@ -109,14 +109,14 @@ onShow(() => {
}) })
onShareAppMessage(() => { onShareAppMessage(() => {
return { return {
title: '六纬升学', title: '六纬志愿',
path: '/pages/home/index/index', path: '/pages/home/index/index',
imageUrl: 'https://api.static.ycymedu.com/images/share.png', imageUrl: 'https://api.static.ycymedu.com/images/share.png',
} }
}) })
onShareTimeline(() => { onShareTimeline(() => {
return { return {
title: '六纬升学', title: '六纬志愿',
} }
}) })