diff --git a/.gitignore b/.gitignore
index 8da0824..a42ba9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -69,3 +69,9 @@ fabric.properties
# Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser
+
+node_modules
+node_modules/
+.idea/
+unpackage
+unpackage/
\ No newline at end of file
diff --git a/App.vue b/App.vue
index 9d95ae7..f16388e 100644
--- a/App.vue
+++ b/App.vue
@@ -6,6 +6,15 @@
version
} from './package.json'
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update';
+
+ import ApiConstant from "@/common/ApiConstant";
+ import StaticConstant from "@/common/StaticConstant";
+ import ImagesConstant from "@/common/ImagesConstant";
+ import Request from "@/common/request";
+ import JumpTool from "@/common/js/jumpTool";
+ import CommonTool from "@/common/js/commonTool";
+
+ const request = new Request();
export default {
onLaunch: function() {
// #ifdef H5
@@ -46,7 +55,14 @@
console.log('App Hide')
},
globalData: {
- test: ''
+ test: '',
+
+ ApiConstant: ApiConstant,
+ StaticConstant: StaticConstant,
+ ImagesConstant: ImagesConstant,
+ JumpTool: JumpTool,
+ CommonTool: CommonTool,
+ Request: request,
},
methods: {
...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin'])
diff --git a/common/StaticConstant.js b/common/StaticConstant.js
index d82f24a..d56f58a 100644
--- a/common/StaticConstant.js
+++ b/common/StaticConstant.js
@@ -30,6 +30,10 @@ export default {
value: '高职高专'
}
],
+ showZeSuan: true,
+ tiQianPiZhiYuanNum: 1,
+ benZhiYuanNum: 35,
+ zhuanZhiYuanNum: 35,
//专业选项
professionalCategoryList: [
{value: '美术与设计类', label: '美术与设计类', scoreMax: 300},
diff --git a/common/request.js b/common/request.js
index 91b24f8..a5bf5df 100644
--- a/common/request.js
+++ b/common/request.js
@@ -1,7 +1,5 @@
/*网络请求*/
-// import operate from '@/common/operate';
import ENV_CONFIG from '@/config/env.js';
-import {stringIsNotEmpty} from "@/common/util";
import ApiConstant from "@/common/ApiConstant";
// vuex 的使用 详情参考官网 https://uniapp.dcloud.io/vue-vuex
@@ -74,11 +72,24 @@ export default class Request {
try {
uni.clearStorageSync();
} catch (e) {}
- //请登录
- wx.reLaunch({
- url: '/pages/zyb/login',
- })
- return;
+ // 先显示提示框
+ uni.showModal({
+ title: '提示',
+ content: '该功能需要登录后使用喔~',
+ confirmText: '去登录',
+ cancelText: '取消',
+ success: (res) => {
+ if (res.confirm) {
+ // 用户点击去登录
+ wx.reLaunch({
+ url: '/pages/zyb/login',
+ })
+ }else{
+ uni.navigateBack();
+ }
+ }
+ });
+ return;
}
// 将结果抛出
resolve(res.data)
diff --git a/config/env.js b/config/env.js
new file mode 100644
index 0000000..ab2fb4e
--- /dev/null
+++ b/config/env.js
@@ -0,0 +1,26 @@
+// 不同的环境变量配置
+const wx_yitisheng_prod = {
+ // requestBaseUrl: 'https://yitisheng.vip/jbt',
+ requestBaseUrl: 'http://127.0.0.1:8080/jeecg-boot/',
+ appid: 'wxb9cf28f42ffa35e5',
+ name:'艺体志愿宝'
+}
+
+const dy_yitisheng_prod = {
+ requestBaseUrl: 'https://yitisheng.vip/jbt',
+ appid: 'tt59a72f1ac6964bfa01',
+ name:'艺体志愿宝'
+}
+
+const dy_tiyu_prod = {
+ requestBaseUrl: 'https://yitisheng.vip/jbt',
+ // requestBaseUrl: 'http://192.168.1.108:8080/jeecg-boot/',
+ appid: 'tt9a2bec96051c14c001',
+ name:'体育志愿宝'
+}
+
+export default {
+ wx_yitisheng_prod,
+ dy_yitisheng_prod,
+ dy_tiyu_prod
+}
diff --git a/main.js b/main.js
index 6483825..c597fc9 100644
--- a/main.js
+++ b/main.js
@@ -1,6 +1,7 @@
import App from './App'
import store from './store'
+
// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
@@ -23,7 +24,6 @@ app.$mount()
import {
createSSRApp
} from 'vue'
-import {setSystemName} from "./common/util";
export function createApp() {
const app = createSSRApp(App)
app.use(store)
diff --git a/pages.json b/pages.json
index 62efad6..9fedb72 100644
--- a/pages.json
+++ b/pages.json
@@ -410,6 +410,13 @@
"style": {
"navigationBarTitleText": "体育成绩计算器"
}
+ },
+ {
+ "path": "pages/zyb/testCultural/detail2",
+ "style": {
+ "navigationBarTitleText": "算投档",
+ "enablePullDownRefresh": true
+ }
}
],
"subPackages": [
diff --git a/pages/zyb/fillVolunteer/detail.vue b/pages/zyb/fillVolunteer/detail.vue
index cd08e2e..9cd7a9e 100644
--- a/pages/zyb/fillVolunteer/detail.vue
+++ b/pages/zyb/fillVolunteer/detail.vue
@@ -1,940 +1,1011 @@
-
-
-
- 当前没有成绩信息,请先修改成绩~
- 修改成绩
-
-
-
-
-
-
- {{ volunteerInfo.volunteerName }}
-
-
-
-
+
+
+
+ 当前没有成绩信息,请先修改成绩~
+ 修改成绩
+
+
+
+
+
+
+ {{ volunteerInfo.volunteerName }}
+
+
+
+
-
-
- {{ scoreInfo.province }}
- {{ scoreInfo.cognitioPolyclinic === '文科'?'历史组':'物理组' }}
- {{ scoreInfo.professionalCategory }}
-
-
-
-
-
- 文化分
- {{ scoreInfo.culturalScore }}
-
-
-
- 统考分
- {{ scoreInfo.professionalScore }}
-
-
-
-
- 音乐表演声乐
- {{ scoreInfo.yybysy }}
-
-
- 音乐表演器乐
- {{ scoreInfo.yybyqy }}
-
-
- 音乐教育
- {{ scoreInfo.yyjy }}
-
-
- 服装表演
- {{ scoreInfo.fzby }}
-
-
- 戏剧影视导演
- {{ scoreInfo.xjysdy }}
-
-
- 戏剧影视表演
- {{ scoreInfo.xjysby }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ citem.batchLabel }}({{getVolunteerNum(citem)}}/{{ citem.max }})
- {{ citem.type }}
-
-
-
- {{ citem.status ? '收起' : '展开' }}
-
-
-
-
-
+ {{ scoreInfo.province }}
+ {{ scoreInfo.cognitioPolyclinic === '文科'?'历史组':'物理组' }}
+ {{ scoreInfo.professionalCategory }}
+
+
+
+
+
+ 文化分
+ {{ scoreInfo.culturalScore }}
+
+
+
+ 统考分
+ {{ scoreInfo.professionalScore }}
+
+
+
+
+ 音乐表演声乐
+ {{ scoreInfo.yybysy }}
+
+
+ 音乐表演器乐
+ {{ scoreInfo.yybyqy }}
+
+
+ 音乐教育
+ {{ scoreInfo.yyjy }}
+
+
+ 服装表演
+ {{ scoreInfo.fzby }}
+
+
+ 戏剧影视导演
+ {{ scoreInfo.xjysdy }}
+
+
+ 戏剧影视表演
+ {{ scoreInfo.xjysby }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ citem.batchLabel }}({{getVolunteerNum(citem)}}/{{ citem.max }})
+ {{ citem.type }}
+
+
+
+ {{ citem.status ? '收起' : '展开' }}
+
+
+
+
+
-
-
-
-
- {{ item.indexs }}
-
-
-
- [{{ item.schoolCode }}]{{ item.schoolName }}
-
-
-
-
-
- [{{ item.enrollmentCode }}]
- {{ item.majorName }}
-
-
-
- {{ item.enrollProbability.toString().substring(0,4) }}%
-
-
- ??%
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.indexs }}
-
-
- 点击添加专业志愿
-
-
-
-
-
-
-
-
+ :key="item.indexs">
+
+
+
+
+ {{ item.indexs }}
+
+
+
+ [{{ item.schoolCode }}]{{ item.schoolName }}
+
+
+
+
+
+ [{{ item.enrollmentCode }}]
+ {{ item.majorName }}
+
+
+
+ {{ item.enrollProbability.toString().substring(0,4) }}%
+
+
+ ??%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.indexs }}
+
+
+ 点击添加专业志愿
+
+
+
+
+
+
+
+
-
-
-
- 创建志愿单
-
-
-
+
+
+
+ 创建志愿单
+
+
+
-
-
-
-
-
- 移动志愿
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 移动志愿
+
+
+
+
+
+
+
+
+
+
+ /*志愿明细列表 end*/
+
\ No newline at end of file
diff --git a/pages/zyb/fillVolunteer/index.vue b/pages/zyb/fillVolunteer/index.vue
index e129a0f..ef16334 100644
--- a/pages/zyb/fillVolunteer/index.vue
+++ b/pages/zyb/fillVolunteer/index.vue
@@ -1,13 +1,10 @@
diff --git a/pages/zyb/other/volunteerCardDesc.vue b/pages/zyb/other/volunteerCardDesc.vue
index e1683bb..aad2979 100644
--- a/pages/zyb/other/volunteerCardDesc.vue
+++ b/pages/zyb/other/volunteerCardDesc.vue
@@ -1,9 +1,13 @@
+
+
\ No newline at end of file
diff --git a/pages/zyb/user/index - 副本.vue b/pages/zyb/user/index - 副本.vue
new file mode 100644
index 0000000..5460f3a
--- /dev/null
+++ b/pages/zyb/user/index - 副本.vue
@@ -0,0 +1,451 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的成绩
+
+
+
+
+ 文化:{{ this.scoreInfo.culturalScore }}分
+ {{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}分
+
+ 音表声乐:
+ {{ scoreInfo && scoreInfo.yybysy }}分
+ 音表器乐:
+ {{ scoreInfo && scoreInfo.yybyqy }}分
+ 音乐教育:
+ {{ scoreInfo && scoreInfo.yyjy }}分
+
+ 服装表演:
+ {{ scoreInfo && scoreInfo.fzby }}分
+ 影视导演:
+ {{ scoreInfo && scoreInfo.xjysdy }}分
+ 影视表演:
+ {{ scoreInfo && scoreInfo.xjysby }}分
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的志愿
+
+
+
+
+ {{ volunteerInfo.volunteerName || '' }}
+
+
+
+ {{ scoreInfo && scoreInfo.province || '--' }} /
+ {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /
+ {{ scoreInfo && scoreInfo.professionalCategory || '--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.type}}
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ systemName }}
+
+
+
+
+
+
diff --git a/pages/zyb/user/index.vue b/pages/zyb/user/index.vue
index 8804723..92ffe6a 100644
--- a/pages/zyb/user/index.vue
+++ b/pages/zyb/user/index.vue
@@ -1,451 +1,469 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 我的成绩
-
-
-
-
- 文化:{{ this.scoreInfo.culturalScore }}分
- {{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}分
-
- 音表声乐:
- {{ scoreInfo && scoreInfo.yybysy }}分
- 音表器乐:
- {{ scoreInfo && scoreInfo.yybyqy }}分
- 音乐教育:
- {{ scoreInfo && scoreInfo.yyjy }}分
-
- 服装表演:
- {{ scoreInfo && scoreInfo.fzby }}分
- 影视导演:
- {{ scoreInfo && scoreInfo.xjysdy }}分
- 影视表演:
- {{ scoreInfo && scoreInfo.xjysby }}分
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的成绩
+
+
+
+
+ 文化:{{ this.scoreInfo.culturalScore }}分
+ {{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}分
+
+ 音表声乐:
+ {{ scoreInfo && scoreInfo.yybysy }}分
+ 音表器乐:
+ {{ scoreInfo && scoreInfo.yybyqy }}分
+ 音乐教育:
+ {{ scoreInfo && scoreInfo.yyjy }}分
+
+ 服装表演:
+ {{ scoreInfo && scoreInfo.fzby }}分
+ 影视导演:
+ {{ scoreInfo && scoreInfo.xjysdy }}分
+ 影视表演:
+ {{ scoreInfo && scoreInfo.xjysby }}分
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
- 我的志愿
-
-
-
-
- {{ volunteerInfo.volunteerName || '' }}
-
-
-
- {{ scoreInfo && scoreInfo.province || '--' }} /
- {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /
- {{ scoreInfo && scoreInfo.professionalCategory || '--' }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.type}}
-
-
-
-
-
-
- {{item.title}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
-
-
-
-
-
- {{ systemName }}
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 我的志愿
+
+
+
+
+ {{ volunteerInfo.volunteerName || '' }}
+
+
+
+ {{ scoreInfo && scoreInfo.province || '--' }} /
+ {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /
+ {{ scoreInfo && scoreInfo.professionalCategory || '--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ systemName }}
+
+
+
+ //覆盖联系客服按钮原生样式
+ :deep(.contact-btn) {
+ display: inline-block;
+ position: absolute;
+ width: 80%;
+ background: salmon;
+ opacity: 0;
+ border-radius: 0;
+ }
+
\ No newline at end of file
diff --git a/pages/zyb/vip/cardamom.vue b/pages/zyb/vip/cardamom.vue
index 0504367..ffa98f8 100644
--- a/pages/zyb/vip/cardamom.vue
+++ b/pages/zyb/vip/cardamom.vue
@@ -6,12 +6,16 @@ import Request from '@/common/request'
import commonTool from "@/common/js/commonTool";
import {stringIsNotEmpty} from "@/common/util";
let request = new Request()
+const app = getApp()
export default {
name: "cardamom",
computed: {
StaticConstant() {
return StaticConstant
- }
+ },
+ app() {
+ return app
+ },
},
data() {
return {
@@ -89,7 +93,7 @@ export default {
-适用范围:{{playerType}}文理科考生(自主招生暂不适用)。
- -使用期限:自购买起,截止到2024-08-31日有效。分数修改次数:每届服务期内高考分数放榜前每日可修改10次,放榜后仅可修改1次。
+ -使用期限:自购买起,截止到{{app.globalData.StaticConstant.memberDeadline}}有效。分数修改次数:每届服务期内高考分数放榜前每日可修改10次,放榜后仅可修改1次。
-系统数据来源于{{ StaticConstant.bm }}部门,由合作网站提供。
diff --git a/pages/zyb/vip/index-bak.vue b/pages/zyb/vip/index-bak.vue
index a5a04d3..8bbf830 100644
--- a/pages/zyb/vip/index-bak.vue
+++ b/pages/zyb/vip/index-bak.vue
@@ -7,7 +7,7 @@ import ApiConstant from "@/common/ApiConstant";
import ImagesConstant from "@/common/ImagesConstant";
import Request from '@/common/request';
import {stringIsNotEmpty} from "../../../common/util";
-
+const app = getApp()
let request = new Request()
export default {
name: "vip-index",
@@ -18,7 +18,10 @@ export default {
},
StaticConstant() {
return StaticConstant
- }
+ },
+ app(){
+ return app
+ }
},
data() {
return {
diff --git a/pages/zyb/vip/index.vue b/pages/zyb/vip/index.vue
index 3d19f5f..8343308 100644
--- a/pages/zyb/vip/index.vue
+++ b/pages/zyb/vip/index.vue
@@ -8,7 +8,7 @@ import ImagesConstant from "@/common/ImagesConstant";
import Request from '@/common/request';
import {stringIsNotEmpty} from "../../../common/util";
import Image from "../../component/image/image.vue";
-
+const app = getApp()
let request = new Request()
export default {
name: "vip-index",
@@ -19,7 +19,10 @@ export default {
},
StaticConstant() {
return StaticConstant
- }
+ },
+ app(){
+ return app
+ }
},
data() {
return {
@@ -214,7 +217,8 @@ export default {
模拟报志愿VIP
- {{item.skuCode==='9000'?'咨询详谈':'有效期截至:2024-08-31'}}
+ 咨询详谈
+ '有效期截至:{{app.globalData.StaticConstant.memberDeadline}}
diff --git a/static/image.png b/static/image.png
new file mode 100644
index 0000000..008a677
Binary files /dev/null and b/static/image.png differ
diff --git a/static/plus.png b/static/plus.png
new file mode 100644
index 0000000..73ddfe3
Binary files /dev/null and b/static/plus.png differ
diff --git a/static/uni.png b/static/uni.png
new file mode 100644
index 0000000..8e3a80f
Binary files /dev/null and b/static/uni.png differ
diff --git a/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package-lock.json b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package-lock.json
new file mode 100644
index 0000000..9255af0
--- /dev/null
+++ b/uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package-lock.json
@@ -0,0 +1,20 @@
+{
+ "name": "uni-config-center",
+ "version": "0.0.2",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "uni-config-center",
+ "version": "0.0.2",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "uni-config-center": "file:"
+ }
+ },
+ "node_modules/uni-config-center": {
+ "resolved": "",
+ "link": true
+ }
+ }
+}
diff --git a/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json
new file mode 100644
index 0000000..db91e49
--- /dev/null
+++ b/uni_modules/uni-id/uniCloud/cloudfunctions/common/uni-id/package-lock.json
@@ -0,0 +1,38 @@
+{
+ "name": "uni-id",
+ "version": "3.3.29",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "uni-id",
+ "version": "3.3.29",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "uni-config-center": "file:../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center",
+ "uni-id": "file:",
+ "uni-open-bridge-common": "file:../../../../../uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common"
+ }
+ },
+ "../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center": {
+ "version": "0.0.2",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "uni-config-center": "file:"
+ }
+ },
+ "../../../../../uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common": {},
+ "node_modules/uni-config-center": {
+ "resolved": "../../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center",
+ "link": true
+ },
+ "node_modules/uni-id": {
+ "resolved": "",
+ "link": true
+ },
+ "node_modules/uni-open-bridge-common": {
+ "resolved": "../../../../../uni-open-bridge-common/uniCloud/cloudfunctions/common/uni-open-bridge-common",
+ "link": true
+ }
+ }
+}
diff --git a/uni_modules/uni-upgrade-center-app/uniCloud/cloudfunctions/checkVersion/package-lock.json b/uni_modules/uni-upgrade-center-app/uniCloud/cloudfunctions/checkVersion/package-lock.json
new file mode 100644
index 0000000..0aa0528
--- /dev/null
+++ b/uni_modules/uni-upgrade-center-app/uniCloud/cloudfunctions/checkVersion/package-lock.json
@@ -0,0 +1,17 @@
+{
+ "name": "checkVersion",
+ "lockfileVersion": 3,
+ "requires": true,
+ "packages": {
+ "": {
+ "name": "checkVersion",
+ "dependencies": {
+ "checkVersion": "file:"
+ }
+ },
+ "node_modules/checkVersion": {
+ "resolved": "",
+ "link": true
+ }
+ }
+}