Compare commits
2 Commits
7c4cedaeff
...
94d7d1a7ae
| Author | SHA1 | Date |
|---|---|---|
|
|
94d7d1a7ae | |
|
|
ee5042a830 |
|
|
@ -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'
|
||||||
|
|
|
||||||
15
package.json
15
package.json
|
|
@ -2,22 +2,7 @@
|
||||||
"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"
|
||||||
|
|
|
||||||
|
|
@ -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',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -40,16 +40,6 @@ 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>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "六纬志愿",
|
"name": "六纬升学",
|
||||||
"appid": "H57F2ACE4",
|
"appid": "H57F2ACE4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"versionName": "1.0.0",
|
"versionName": "1.0.0",
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { computed, ref, watch } from 'vue'
|
import { computed } from 'vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,7 @@
|
||||||
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>
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,22 @@
|
||||||
<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]">
|
||||||
<image
|
<view class="h-[88rpx]">
|
||||||
src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/dh.png"
|
<image
|
||||||
mode="scaleToFill"
|
src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/dh.png"
|
||||||
class="h-[88rpx]"
|
mode="scaleToFill"
|
||||||
@click="handlePhone"
|
class="h-[88rpx]"
|
||||||
/>
|
@click="handlePhone"
|
||||||
<image
|
/>
|
||||||
src="https://api-static-zhiy.oss-cn-shanghai.aliyuncs.com/images/ad-banner/wx.png"
|
</view>
|
||||||
mode="scaleToFill"
|
|
||||||
class="h-[88rpx]"
|
<view class="h-[88rpx]">
|
||||||
@click="handleFriend"
|
<image
|
||||||
/>
|
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>
|
||||||
|
|
|
||||||
|
|
@ -9,11 +9,13 @@
|
||||||
<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>
|
||||||
<swiper :current="currentIndex" class="flex-1" @change="handleSwiperChange">
|
<view class="flex-1">
|
||||||
<swiper-item v-for="(item, index) in tabs" :key="index">
|
<swiper :current="currentIndex" @change="handleSwiperChange">
|
||||||
<image :src="item.image" mode="scaleToFill" class="w-full h-full" />
|
<swiper-item v-for="(item, index) in tabs" :key="index">
|
||||||
</swiper-item>
|
<image :src="item.image" mode="scaleToFill" class="w-full h-full" />
|
||||||
</swiper>
|
</swiper-item>
|
||||||
|
</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"
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@
|
||||||
@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">
|
||||||
|
|
@ -53,7 +54,6 @@
|
||||||
</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]">
|
<view class="px-[32rpx] pt-[32rpx] bg-white">
|
||||||
<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, index) in lineList"
|
v-for="item 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,10 +154,6 @@ const handleConfirm = () => {
|
||||||
paging.value.reload()
|
paging.value.reload()
|
||||||
}
|
}
|
||||||
|
|
||||||
const navigatorBack = () => {
|
|
||||||
uni.navigateBack()
|
|
||||||
}
|
|
||||||
|
|
||||||
const handleNatureChangeCode = (val) => {
|
const handleNatureChangeCode = (val) => {
|
||||||
natureKeyInfo.value = val
|
natureKeyInfo.value = val
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "black",
|
||||||
"navigationBarTitleText": "六纬志愿",
|
"navigationBarTitleText": "六纬升学",
|
||||||
"navigationBarBackgroundColor": "#fff",
|
"navigationBarBackgroundColor": "#fff",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#F8F8F8"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -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: '六纬升学',
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue