update,backup

This commit is contained in:
zhouwentao 2025-11-07 09:25:22 +08:00
parent 75570095fd
commit 7f70a581c0
26 changed files with 2495 additions and 1416 deletions

6
.gitignore vendored
View File

@ -69,3 +69,9 @@ fabric.properties
# Android studio 3.1+ serialized cache file # Android studio 3.1+ serialized cache file
.idea/caches/build_file_checksums.ser .idea/caches/build_file_checksums.ser
node_modules
node_modules/
.idea/
unpackage
unpackage/

18
App.vue
View File

@ -6,6 +6,15 @@
version version
} from './package.json' } from './package.json'
import checkUpdate from '@/uni_modules/uni-upgrade-center-app/utils/check-update'; 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 { export default {
onLaunch: function() { onLaunch: function() {
// #ifdef H5 // #ifdef H5
@ -46,7 +55,14 @@
console.log('App Hide') console.log('App Hide')
}, },
globalData: { globalData: {
test: '' test: '',
ApiConstant: ApiConstant,
StaticConstant: StaticConstant,
ImagesConstant: ImagesConstant,
JumpTool: JumpTool,
CommonTool: CommonTool,
Request: request,
}, },
methods: { methods: {
...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin']) ...mapMutations(['setUniverifyErrorMsg', 'setUniverifyLogin'])

View File

@ -30,6 +30,10 @@ export default {
value: '高职高专' value: '高职高专'
} }
], ],
showZeSuan: true,
tiQianPiZhiYuanNum: 1,
benZhiYuanNum: 35,
zhuanZhiYuanNum: 35,
//专业选项 //专业选项
professionalCategoryList: [ professionalCategoryList: [
{value: '美术与设计类', label: '美术与设计类', scoreMax: 300}, {value: '美术与设计类', label: '美术与设计类', scoreMax: 300},

View File

@ -1,7 +1,5 @@
/*网络请求*/ /*网络请求*/
// import operate from '@/common/operate';
import ENV_CONFIG from '@/config/env.js'; import ENV_CONFIG from '@/config/env.js';
import {stringIsNotEmpty} from "@/common/util";
import ApiConstant from "@/common/ApiConstant"; import ApiConstant from "@/common/ApiConstant";
// vuex 的使用 详情参考官网 https://uniapp.dcloud.io/vue-vuex // vuex 的使用 详情参考官网 https://uniapp.dcloud.io/vue-vuex
@ -74,10 +72,23 @@ export default class Request {
try { try {
uni.clearStorageSync(); uni.clearStorageSync();
} catch (e) {} } catch (e) {}
//请登录 // 先显示提示框
uni.showModal({
title: '提示',
content: '该功能需要登录后使用喔~',
confirmText: '去登录',
cancelText: '取消',
success: (res) => {
if (res.confirm) {
// 用户点击去登录
wx.reLaunch({ wx.reLaunch({
url: '/pages/zyb/login', url: '/pages/zyb/login',
}) })
}else{
uni.navigateBack();
}
}
});
return; return;
} }
// 将结果抛出 // 将结果抛出

26
config/env.js Normal file
View File

@ -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
}

View File

@ -1,6 +1,7 @@
import App from './App' import App from './App'
import store from './store' import store from './store'
// #ifndef VUE3 // #ifndef VUE3
import Vue from 'vue' import Vue from 'vue'
Vue.config.productionTip = false Vue.config.productionTip = false
@ -23,7 +24,6 @@ app.$mount()
import { import {
createSSRApp createSSRApp
} from 'vue' } from 'vue'
import {setSystemName} from "./common/util";
export function createApp() { export function createApp() {
const app = createSSRApp(App) const app = createSSRApp(App)
app.use(store) app.use(store)

View File

@ -410,6 +410,13 @@
"style": { "style": {
"navigationBarTitleText": "体育成绩计算器" "navigationBarTitleText": "体育成绩计算器"
} }
},
{
"path": "pages/zyb/testCultural/detail2",
"style": {
"navigationBarTitleText": "算投档",
"enablePullDownRefresh": true
}
} }
], ],
"subPackages": [ "subPackages": [

View File

@ -1,69 +1,93 @@
<script> <script>
import StaticConstant from "@/common/StaticConstant"; import StaticConstant from "@/common/StaticConstant";
import ApiConstant from "@/common/ApiConstant"; import ApiConstant from "@/common/ApiConstant";
import Request from '@/common/request' import Request from '@/common/request'
import ImagesConstant from "@/common/ImagesConstant"; import ImagesConstant from "@/common/ImagesConstant";
import {stringIsNotEmpty} from "@/common/util"; import {
import CommonTool from "@/common/js/commonTool"; stringIsNotEmpty
} from "@/common/util";
import CommonTool from "@/common/js/commonTool";
let request = new Request() let request = new Request()
// //
const MAX_CACHE_DATA = 100; const MAX_CACHE_DATA = 100;
// //
const MAX_CACHE_PAGE = 3; const MAX_CACHE_PAGE = 3;
export default {
const app = getApp()
export default {
name: "我的志愿明细", name: "我的志愿明细",
computed: { computed: {
ImagesConstant() { ImagesConstant() {
return ImagesConstant return ImagesConstant
} },
app() {
return app
},
}, },
data() { data() {
return { return {
vipInfo:{}, vipInfo: {},
paneFlag: false, paneFlag: false,
scoreStatus: true, scoreStatus: true,
moveVolunteer: { moveVolunteer: {
batch: '',// batch: '', //
indexs: '', indexs: '',
volunteerId: '' volunteerId: ''
}, },
volunteer:{}, volunteer: {},
volunteerId: '',//id volunteerId: '', //id
volunteerName: '',// volunteerName: '', //
topBackShow: true,// topBackShow: true, //
selectForm: { selectForm: {
address: '', address: '',
schoolName: '', schoolName: '',
paneName: '全部', paneName: '全部',
batch: '', batch: '',
}, },
scoreInfo: {},// scoreInfo: {}, //
volunteerInfo: {},// volunteerInfo: {}, //
tabIndex: 0,// tabIndex: 0, //
scrollInto: "", scrollInto: "",
newsList: [], newsList: [],
cacheTab: [], cacheTab: [],
filledVolunteer: { filledVolunteer: {
volunteerRecordEarlyAdmissionNum:0, volunteerRecordEarlyAdmissionNum: 0,
volunteerUndergraduateANum:0, volunteerUndergraduateANum: 0,
volunteerUndergraduateBNum:0, volunteerUndergraduateBNum: 0,
volunteerUndergraduateNum:0, volunteerUndergraduateNum: 0,
volunteerJuniorCollegeNum:0, volunteerJuniorCollegeNum: 0,
volunteerEarlyAdmissionList: [],// volunteerEarlyAdmissionList: [], //
volunteerUndergraduateList: [],// volunteerUndergraduateList: [], //
volunteerJuniorCollegeList: [],// volunteerJuniorCollegeList: [], //
volunteerMap: new Map() volunteerMap: new Map()
},// }, //
years: StaticConstant.years, years: StaticConstant.years,
nowYear: StaticConstant.year, nowYear: StaticConstant.year,
allCollapseItemList: [ allCollapseItemList: [{
{batchLabel: '提前批', batch: '提前批', type: '顺序志愿', max: 1, status: false}, batchLabel: '提前批',
{batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 35, status: false}, batch: '提前批',
{batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 35, status: false}, type: '顺序志愿',
max: app.globalData.StaticConstant.tiQianPiZhiYuanNum,
status: false
},
{
batchLabel: '本科批',
batch: '本科批',
type: '平行志愿',
max: app.globalData.StaticConstant.benZhiYuanNum,
status: false
},
{
batchLabel: '高职高专',
batch: '高职高专',
type: '平行志愿',
max: app.globalData.StaticConstant.zhuanZhiYuanNum,
status: false
},
], ],
collapseItemList: [], collapseItemList: [],
volunteerPreview:{} volunteerPreview: {}
} }
}, },
onShow() { onShow() {
@ -83,7 +107,7 @@ export default {
this.volunteer = uni.getStorageSync('volunteer') this.volunteer = uni.getStorageSync('volunteer')
if (!this.scoreInfo) { if (!this.scoreInfo) {
this.scoreStatus = false this.scoreStatus = false
}else{ } else {
this.scoreStatus = true this.scoreStatus = true
} }
} }
@ -114,7 +138,9 @@ export default {
}, },
methods: { methods: {
goto(url) { goto(url) {
uni.navigateTo({url: url}) uni.navigateTo({
url: url
})
}, },
gotoSchool(e) { gotoSchool(e) {
this.goto('/pages/zyb/school/detail?schoolCode=' + e) this.goto('/pages/zyb/school/detail?schoolCode=' + e)
@ -132,7 +158,11 @@ export default {
/*获取已填报志愿数据*/ /*获取已填报志愿数据*/
getFilledVolunteerList() { getFilledVolunteerList() {
request.get(ApiConstant.Volunteer.artVolunteerDetail, {id: this.volunteerId},{showLoad:false}).then(res => { request.get(ApiConstant.Volunteer.artVolunteerDetail, {
id: this.volunteerId
}, {
showLoad: false
}).then(res => {
if (res.success) { if (res.success) {
let dataResult = res.result let dataResult = res.result
// //
@ -143,9 +173,20 @@ export default {
this.scoreInfo = dataResult.userScoreInfo this.scoreInfo = dataResult.userScoreInfo
// //
if (this.scoreInfo.professionalCategory === '体育类') { if (this.scoreInfo.professionalCategory === '体育类') {
this.allCollapseItemList = [ this.allCollapseItemList = [{
{batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 35, status: false}, batchLabel: '本科批',
{batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 35, status: false}, batch: '本科批',
type: '平行志愿',
max: 64,
status: false
},
{
batchLabel: '高职高专',
batch: '高职高专',
type: '平行志愿',
max: 64,
status: false
},
] ]
} }
if (this.scoreInfo.batch) { if (this.scoreInfo.batch) {
@ -165,14 +206,19 @@ export default {
} }
} }
let key = '' let key = ''
let volunteer = {indexStr: 0} let volunteer = {
indexStr: 0
}
let indexs = 1; let indexs = 1;
if (true) { if (true) {
//================================== start //================================== start
let volunteerRecordEarlyAdmissionList = dataResult.volunteerRecordEarlyAdmissionList; let volunteerRecordEarlyAdmissionList = dataResult
this.filledVolunteer.volunteerRecordEarlyAdmissionNum = volunteerRecordEarlyAdmissionList.length; .volunteerRecordEarlyAdmissionList;
this.filledVolunteer.volunteerRecordEarlyAdmissionNum =
volunteerRecordEarlyAdmissionList.length;
for (let i = 0; i < volunteerRecordEarlyAdmissionList.length; i++) { for (let i = 0; i < volunteerRecordEarlyAdmissionList.length; i++) {
key = volunteerRecordEarlyAdmissionList[i].majorCode + volunteerRecordEarlyAdmissionList[i].schoolCode key = volunteerRecordEarlyAdmissionList[i].majorCode +
volunteerRecordEarlyAdmissionList[i].schoolCode
volunteer = volunteerRecordEarlyAdmissionList[i] volunteer = volunteerRecordEarlyAdmissionList[i]
volunteerMap.set(key, volunteerRecordEarlyAdmissionList[i]) volunteerMap.set(key, volunteerRecordEarlyAdmissionList[i])
} }
@ -191,7 +237,8 @@ export default {
volunteerRecordEarlyAdmissionList2.push(record) volunteerRecordEarlyAdmissionList2.push(record)
indexs++; indexs++;
} }
this.filledVolunteer.volunteerEarlyAdmissionList = volunteerRecordEarlyAdmissionList2 this.filledVolunteer.volunteerEarlyAdmissionList =
volunteerRecordEarlyAdmissionList2
//================================== end //================================== end
//================================== start //================================== start
let volunteerUndergraduateList = dataResult.volunteerRecordUndergraduateList; let volunteerUndergraduateList = dataResult.volunteerRecordUndergraduateList;
@ -199,13 +246,17 @@ export default {
console.log('//==================================本科 start') console.log('//==================================本科 start')
console.log(volunteerUndergraduateList) console.log(volunteerUndergraduateList)
for (let i = 0; i < volunteerUndergraduateList.length; i++) { for (let i = 0; i < volunteerUndergraduateList.length; i++) {
key = volunteerUndergraduateList[i].majorCode + volunteerUndergraduateList[i].schoolCode key = volunteerUndergraduateList[i].majorCode + volunteerUndergraduateList[i]
.schoolCode
volunteerMap.set(key, volunteerUndergraduateList[i]) volunteerMap.set(key, volunteerUndergraduateList[i])
} }
indexs = 1; indexs = 1;
let volunteerUndergraduateList2 = []; let volunteerUndergraduateList2 = [];
while (indexs <= 35) { while (indexs <= 64) {
let record = {actives: false, indexs: indexs} let record = {
actives: false,
indexs: indexs
}
for (let i = 0; i < volunteerUndergraduateList.length; i++) { for (let i = 0; i < volunteerUndergraduateList.length; i++) {
if (volunteerUndergraduateList[i].indexs === indexs) { if (volunteerUndergraduateList[i].indexs === indexs) {
record = volunteerUndergraduateList[i] record = volunteerUndergraduateList[i]
@ -221,12 +272,13 @@ export default {
let volunteerJuniorCollegeList = dataResult.volunteerRecordJuniorCollegeList; let volunteerJuniorCollegeList = dataResult.volunteerRecordJuniorCollegeList;
this.filledVolunteer.volunteerJuniorCollegeNum = volunteerJuniorCollegeList.length; this.filledVolunteer.volunteerJuniorCollegeNum = volunteerJuniorCollegeList.length;
for (let i = 0; i < volunteerJuniorCollegeList.length; i++) { for (let i = 0; i < volunteerJuniorCollegeList.length; i++) {
key = volunteerJuniorCollegeList[i].majorCode + volunteerJuniorCollegeList[i].schoolCode key = volunteerJuniorCollegeList[i].majorCode + volunteerJuniorCollegeList[i]
.schoolCode
volunteerMap.set(key, volunteerJuniorCollegeList[i]) volunteerMap.set(key, volunteerJuniorCollegeList[i])
} }
indexs = 1; indexs = 1;
let volunteerJuniorCollegeList2 = []; let volunteerJuniorCollegeList2 = [];
while (indexs <= 35) { while (indexs <= 64) {
let record = { let record = {
actives: false, actives: false,
indexs: indexs indexs: indexs
@ -251,13 +303,11 @@ export default {
} }
this.filledVolunteer.volunteerMap = volunteerMap this.filledVolunteer.volunteerMap = volunteerMap
} }
}).catch(err => { }).catch(err => {}).finally(() => {});
}).finally(() => {
});
}, },
/*计算百分比*/ /*计算百分比*/
toPercent(num, total) { toPercent(num, total) {
return (Math.round(num / total * 10000) / 100.00);// return (Math.round(num / total * 10000) / 100.00); //
}, },
/*悬浮按钮*/ /*悬浮按钮*/
trigger(e) { trigger(e) {
@ -267,8 +317,7 @@ export default {
this.topBack() this.topBack()
} }
}, },
fabClick() { fabClick() {},
},
/*点击移动*/ /*点击移动*/
onClickMove(e) { onClickMove(e) {
this.moveVolunteer.volunteerId = this.volunteerId; this.moveVolunteer.volunteerId = this.volunteerId;
@ -293,7 +342,7 @@ export default {
content: '确认要删除志愿' + e.indexs + '吗?', content: '确认要删除志愿' + e.indexs + '吗?',
confirmText: '确定', confirmText: '确定',
cancelText: '取消', cancelText: '取消',
success: function (res) { success: function(res) {
if (res.confirm) { if (res.confirm) {
that.deleteVolunteerItem(e) that.deleteVolunteerItem(e)
} }
@ -303,30 +352,35 @@ export default {
/*确认删除志愿明细*/ /*确认删除志愿明细*/
deleteVolunteerItem(e) { deleteVolunteerItem(e) {
let that = this let that = this
request.delete(ApiConstant.Volunteer.volunteerRecordDelete, {id: e.id}).then(res => { request.delete(ApiConstant.Volunteer.volunteerRecordDelete, {
id: e.id
}).then(res => {
if (res.success) { if (res.success) {
setTimeout(function () { setTimeout(function() {
uni.showToast({title: '删除成功', icon: "none"}); uni.showToast({
title: '删除成功',
icon: "none"
});
}, 1000) }, 1000)
setTimeout(function () { setTimeout(function() {
that.getFilledVolunteerList() that.getFilledVolunteerList()
}, 1500) }, 1500)
} else { } else {
setTimeout(function () { setTimeout(function() {
uni.showToast({title: res.message, icon: "none"}); uni.showToast({
title: res.message,
icon: "none"
});
}, 500) }, 500)
} }
}).catch(err => { }).catch(err => {}).finally(() => {});
}).finally(() => {
});
}, },
fctjCheckboxChange(e) { fctjCheckboxChange(e) {
console.log('服从调剂') console.log('服从调剂')
console.log(e) console.log(e)
request.post(ApiConstant.Volunteer.updateFctj, {id: e}).then(res => { request.post(ApiConstant.Volunteer.updateFctj, {
}).catch(err => { id: e
}).finally(() => { }).then(res => {}).catch(err => {}).finally(() => {});
});
}, },
toAdd() { toAdd() {
uni.navigateTo({ uni.navigateTo({
@ -339,19 +393,28 @@ export default {
/*确认移动志愿*/ /*确认移动志愿*/
moveIndexsConfirm() { moveIndexsConfirm() {
if (!this.moveVolunteer.indexs) { if (!this.moveVolunteer.indexs) {
uni.showToast({title: '请输入志愿序号', icon: "none"}); uni.showToast({
title: '请输入志愿序号',
icon: "none"
});
return; return;
} }
let indexs = parseFloat(this.moveVolunteer.indexs) let indexs = parseFloat(this.moveVolunteer.indexs)
if (this.moveVolunteer.batch === '提前批') { if (this.moveVolunteer.batch === '提前批') {
if (indexs > 4 || indexs < 0) { if (indexs > 4 || indexs < 0) {
uni.showToast({title: '您输入的序号超出', icon: "none"}); uni.showToast({
title: '您输入的序号超出',
icon: "none"
});
this.moveVolunteer.indexs = '' this.moveVolunteer.indexs = ''
return; return;
} }
} else { } else {
if (indexs > (this.scoreInfo.professionalCategory==='体育类'?12:35) || indexs < 0) { if (indexs > (this.scoreInfo.professionalCategory === '体育类' ? 64:64) || indexs < 0) {
uni.showToast({title: '您输入的序号超出', icon: "none"}); uni.showToast({
title: '您输入的序号超出',
icon: "none"
});
this.moveVolunteer.indexs = '' this.moveVolunteer.indexs = ''
return; return;
} }
@ -362,46 +425,45 @@ export default {
this.moveVolunteer.indexs = '' this.moveVolunteer.indexs = ''
this.moveVolunteer.batch = '' this.moveVolunteer.batch = ''
this.moveVolunteer.volunteerId = '' this.moveVolunteer.volunteerId = ''
setTimeout(function () { setTimeout(function() {
that.getFilledVolunteerList(); that.getFilledVolunteerList();
}, 1000) }, 1000)
} else { } else {
setTimeout(function () { setTimeout(function() {
uni.showToast({title: res.message, icon: "none"}); uni.showToast({
title: res.message,
icon: "none"
});
}, 500) }, 500)
} }
}).catch(err => { }).catch(err => {}).finally(() => {});
}).finally(() => {
});
}, },
onClickEditUserScore() { onClickEditUserScore() {
this.goto('/pages/zyb/score/edit') this.goto('/pages/zyb/score/edit')
}, },
/*点击创建志愿单*/ /*点击创建志愿单*/
onClickCreateVolunteer(){ onClickCreateVolunteer() {
let that = this let that = this
request.post(ApiConstant.Volunteer.addNew, { request.post(ApiConstant.Volunteer.addNew, {
volunteerName:'模拟志愿草表' volunteerName: '模拟志愿草表'
},{}).then(res => { }, {}).then(res => {
uni.setStorageSync('volunteerInfo',res.result) uni.setStorageSync('volunteerInfo', res.result)
request.getUserScore() request.getUserScore()
}).catch(err => { }).catch(err => {}).finally(() => {});
}).finally(() => {
});
}, },
/*返回已填志愿数量*/ /*返回已填志愿数量*/
getVolunteerNum(citem){ getVolunteerNum(citem) {
if (citem.batch === '提前批') { if (citem.batch === '提前批') {
return this.filledVolunteer.volunteerRecordEarlyAdmissionNum return this.filledVolunteer.volunteerRecordEarlyAdmissionNum
}else if(citem.batch === '本科批'){ } else if (citem.batch === '本科批') {
return this.filledVolunteer.volunteerUndergraduateNum return this.filledVolunteer.volunteerUndergraduateNum
}else{ } else {
return this.filledVolunteer.volunteerJuniorCollegeNum return this.filledVolunteer.volunteerJuniorCollegeNum
} }
}, },
onPreview(){ onPreview() {
if(this.volunteerPreview && this.volunteerPreview.type==='1'){ if (this.volunteerPreview && this.volunteerPreview.type === '1') {
let href = this.volunteerPreview.filePrefixUrl +'?id='+this.volunteerId+"&type=1" let href = this.volunteerPreview.filePrefixUrl + '?id=' + this.volunteerId + "&type=1"
let message = this.volunteerPreview.message let message = this.volunteerPreview.message
// //
uni.setClipboardData({ uni.setClipboardData({
@ -411,10 +473,10 @@ export default {
content: message, content: message,
showCancel: false showCancel: false
}); });
}else{ } else {
// web-view // web-view
let href = this.volunteerPreview.webViewUrl+'?id='+this.volunteerId+"&type=2" let href = this.volunteerPreview.webViewUrl + '?id=' + this.volunteerId + "&type=2"
uni.setStorageSync('volunteer_preview',href) uni.setStorageSync('volunteer_preview', href)
uni.navigateTo({ uni.navigateTo({
url: '/pages/zyb/other/web-view?url=volunteer_preview' url: '/pages/zyb/other/web-view?url=volunteer_preview'
}) })
@ -422,11 +484,11 @@ export default {
} }
} }
} }
</script> </script>
<template> <template>
<view class="divider"/> <view class="divider" />
<!-- 没有成绩界面 --> <!-- 没有成绩界面 -->
<view class="container" v-if="!this.scoreInfo"> <view class="container" v-if="!this.scoreInfo">
<text>当前没有成绩信息请先修改成绩~</text> <text>当前没有成绩信息请先修改成绩~</text>
@ -440,7 +502,8 @@ export default {
<text class="font-size-mini4 font-weight-550">{{ volunteerInfo.volunteerName }}</text> <text class="font-size-mini4 font-weight-550">{{ volunteerInfo.volunteerName }}</text>
</view> </view>
<view class="flex-item-2"> <view class="flex-item-2">
<button v-show="volunteerId" type="primary" style="height: 42rpx;line-height: 42rpx" @click="onPreview">打印</button> <button v-show="volunteerId" type="primary" style="height: 42rpx;line-height: 42rpx"
@click="onPreview">打印</button>
</view> </view>
</view> </view>
@ -462,7 +525,8 @@ export default {
<text class="margin-right-10 font-weight-b">{{ scoreInfo.professionalScore }}</text> <text class="margin-right-10 font-weight-b">{{ scoreInfo.professionalScore }}</text>
</view> </view>
</view> </view>
<view class="flexWrap" style="margin-top: 30rpx;height: 30rpx;" v-if="scoreInfo && scoreInfo.professionalCategoryChildren"> <view class="flexWrap" style="margin-top: 30rpx;height: 30rpx;"
v-if="scoreInfo && scoreInfo.professionalCategoryChildren">
<view class="scoreLeft margin-right-20" v-if="scoreInfo.yybysy && scoreInfo.yybysy!==0"> <view class="scoreLeft margin-right-20" v-if="scoreInfo.yybysy && scoreInfo.yybysy!==0">
<text class="margin-right-10">音乐表演声乐</text> <text class="margin-right-10">音乐表演声乐</text>
<text class="font-weight-b">{{ scoreInfo.yybysy }}</text> <text class="font-weight-b">{{ scoreInfo.yybysy }}</text>
@ -491,21 +555,24 @@ export default {
</view> </view>
</view> </view>
</view> </view>
<view class="divider"/> <view class="divider" />
<!--志愿信息--> <!--志愿信息-->
<view class="fillVolunteerList" v-if="collapseItemList.length>0"> <view class="fillVolunteerList" v-if="collapseItemList.length>0">
<view class="collapse"> <view class="collapse">
<view class="collapse-item" v-for="(citem,cindex) in collapseItemList" :key="cindex"> <view class="collapse-item" v-for="(citem,cindex) in collapseItemList" :key="cindex">
<view class="collapse-head" @click="collapseItemList[cindex].status=!collapseItemList[cindex].status"> <view class="collapse-head"
@click="collapseItemList[cindex].status=!collapseItemList[cindex].status">
<view class="flexWrap" style="background-color: #f5f5f5;line-height: 80rpx;"> <view class="flexWrap" style="background-color: #f5f5f5;line-height: 80rpx;">
<view class="flex-item-8"> <view class="flex-item-8">
<view style="padding-left: 30rpx;"> <view style="padding-left: 30rpx;">
<text class="font-size-mini3 font-weight-b">{{ citem.batchLabel }}({{getVolunteerNum(citem)}}/{{ citem.max }})</text> <text
class="font-size-mini3 font-weight-b">{{ citem.batchLabel }}({{getVolunteerNum(citem)}}/{{ citem.max }})</text>
<text class="font-size-mini margin-left-10 slateGray">{{ citem.type }}</text> <text class="font-size-mini margin-left-10 slateGray">{{ citem.type }}</text>
</view> </view>
</view> </view>
<view class="flex-item-2"> <view class="flex-item-2">
<text class="float-right" style="margin-right: 30rpx">{{ citem.status ? '收起' : '展开' }}</text> <text class="float-right"
style="margin-right: 30rpx">{{ citem.status ? '收起' : '展开' }}</text>
</view> </view>
</view> </view>
</view> </view>
@ -521,7 +588,8 @@ export default {
</view> </view>
</view> </view>
<view class="flex-item-85" @click="gotoSchool(item.schoolCode)"> <view class="flex-item-85" @click="gotoSchool(item.schoolCode)">
<text style="line-height: 50rpx">[{{ item.schoolCode }}]{{ item.schoolName }}</text> <text
style="line-height: 50rpx">[{{ item.schoolCode }}]{{ item.schoolName }}</text>
</view> </view>
</view> </view>
<view class="flexWrap marginTopBot20"> <view class="flexWrap marginTopBot20">
@ -531,7 +599,8 @@ export default {
<text class="margin-left-10">{{ item.majorName }}</text> <text class="margin-left-10">{{ item.majorName }}</text>
</view> </view>
<view class="flex-item-15"> <view class="flex-item-15">
<text class="darkGray float-right" v-if="item.enrollProbability && this.vipInfo && this.vipInfo.vipLevel >= 2"> <text class="darkGray float-right"
v-if="item.enrollProbability && this.vipInfo && this.vipInfo.vipLevel >= 2">
{{ item.enrollProbability.toString().substring(0,4) }}% {{ item.enrollProbability.toString().substring(0,4) }}%
</text> </text>
<text class="darkGray float-right" v-else> <text class="darkGray float-right" v-else>
@ -542,19 +611,22 @@ export default {
<!--操作栏--> <!--操作栏-->
<view class="flexWrap border-top" style="line-height: 60rpx"> <view class="flexWrap border-top" style="line-height: 60rpx">
<view class="flex-item-4"> <view class="flex-item-4">
<checkbox-group @change="fctjCheckboxChange(item.id)" v-if="citem.batch==='提前批'"> <checkbox-group @change="fctjCheckboxChange(item.id)"
v-if="citem.batch==='提前批'">
<label> <label>
<checkbox value="cb" :checked="item.fctj===1" color="#FFCC33" style="transform:scale(0.7)"/> <checkbox value="cb" :checked="item.fctj===1" color="#FFCC33"
style="transform:scale(0.7)" />
服从调剂 服从调剂
</label> </label>
</checkbox-group> </checkbox-group>
</view> </view>
<view class="flex-item-6"> <view class="flex-item-6">
<view class="float-right"> <view class="float-right">
<image @click="onClickExChange(item)" src="/static/icons/move.png" class="icon50 margin-left-50"/> <image @click="onClickExChange(item)" src="/static/icons/move.png"
class="icon50 margin-left-50" />
<!-- <image src="/static/icons/edit.png" class="icon50 margin-left-50"/>--> <!-- <image src="/static/icons/edit.png" class="icon50 margin-left-50"/>-->
<image @click="confirmDelVolunteerItem(item)" src="/static/icons/delete.png" <image @click="confirmDelVolunteerItem(item)" src="/static/icons/delete.png"
class="icon50 margin-left-50"/> class="icon50 margin-left-50" />
</view> </view>
</view> </view>
</view> </view>
@ -585,8 +657,7 @@ export default {
</view> </view>
<uni-popup ref="inputDialog" type="dialog"> <uni-popup ref="inputDialog" type="dialog">
<uni-popup-dialog ref="inputClose" mode="input" <uni-popup-dialog ref="inputClose" mode="input" placeholder="N" @confirm="moveIndexsConfirm">
placeholder="N" @confirm="moveIndexsConfirm">
<view> <view>
<view class="flexWrap" style="height: 50rpx;line-height: 50rpx"> <view class="flexWrap" style="height: 50rpx;line-height: 50rpx">
<view class="flex-item-3"> <view class="flex-item-3">
@ -594,7 +665,7 @@ export default {
</view> </view>
<view class="flex-item-3"> <view class="flex-item-3">
<view style="border: 1rpx solid #979797"> <view style="border: 1rpx solid #979797">
<input type="number" v-model="moveVolunteer.indexs" placeholder="N"/> <input type="number" v-model="moveVolunteer.indexs" placeholder="N" />
</view> </view>
</view> </view>
</view> </view>
@ -603,25 +674,25 @@ export default {
</uni-popup> </uni-popup>
</template> </template>
<style> <style>
page { page {
background-color: white; background-color: white;
} }
</style> </style>
<style scoped lang="scss"> <style scoped lang="scss">
.divider { .divider {
background: #f5f5f5; background: #f5f5f5;
width: 100%; width: 100%;
height: 3rpx; height: 3rpx;
} }
.container { .container {
padding: 30rpx; padding: 30rpx;
max-height: 100%; max-height: 100%;
} }
/*成绩卡片 start*/ /*成绩卡片 start*/
.score-info-card { .score-info-card {
padding: 20rpx; padding: 20rpx;
background: #f99352; background: #f99352;
border-radius: 15rpx; border-radius: 15rpx;
@ -641,13 +712,13 @@ page {
margin-top: 30rpx; margin-top: 30rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
} }
} }
/*成绩卡片 end*/ /*成绩卡片 end*/
/*志愿列表 start*/ /*志愿列表 start*/
.collapse-item { .collapse-item {
margin-top: 30rpx; margin-top: 30rpx;
.collapse-body { .collapse-body {
@ -656,9 +727,9 @@ page {
border-bottom: 1rpx solid #f5f5f5; border-bottom: 1rpx solid #f5f5f5;
background-color: #f5f5f5; background-color: #f5f5f5;
} }
} }
.collapse-body .volunteerItem { .collapse-body .volunteerItem {
background-color: white; background-color: white;
margin-bottom: 10rpx; margin-bottom: 10rpx;
padding: 10rpx 30rpx; padding: 10rpx 30rpx;
@ -692,22 +763,22 @@ page {
padding: 0 20rpx; padding: 0 20rpx;
text-align: center; text-align: center;
} }
} }
.fillVolunteerList { .fillVolunteerList {
margin: 10rpx 0; margin: 10rpx 0;
border-top: 1rpx solid #f5f5f5; border-top: 1rpx solid #f5f5f5;
} }
/*志源列表 end*/ /*志源列表 end*/
.uni-row { .uni-row {
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
/*导航栏部分 start*/ /*导航栏部分 start*/
.tabs { .tabs {
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
@ -849,13 +920,13 @@ page {
font-size: 28rpx; font-size: 28rpx;
color: #999; color: #999;
} }
} }
/*导航栏部分 end*/ /*导航栏部分 end*/
/*志愿信息头部信息 start*/ /*志愿信息头部信息 start*/
.header-info { .header-info {
padding: 30rpx 30rpx 0 30rpx; padding: 30rpx 30rpx 0 30rpx;
background-color: white; background-color: white;
margin-bottom: 30rpx; margin-bottom: 30rpx;
@ -867,12 +938,12 @@ page {
.tt1 { .tt1 {
margin-right: 30rpx; margin-right: 30rpx;
} }
} }
/*志愿信息头部信息 end*/ /*志愿信息头部信息 end*/
/*志愿明细列表 start*/ /*志愿明细列表 start*/
.volunteerList { .volunteerList {
padding: 30rpx 30rpx 0 30rpx; padding: 30rpx 30rpx 0 30rpx;
background-color: white; background-color: white;
@ -934,7 +1005,7 @@ page {
margin-bottom: 15rpx; margin-bottom: 15rpx;
} }
} }
} }
/*志愿明细列表 end*/ /*志愿明细列表 end*/
</style> </style>

View File

@ -1,13 +1,10 @@
<script> <script>
import StaticConstant from "@/common/StaticConstant";
import ApiConstant from "@/common/ApiConstant";
import Request from '@/common/request'
import ImagesConstant from "@/common/ImagesConstant";
import {arrayIsNotEmpty,stringIsNotEmpty} from "@/common/util"; import {arrayIsNotEmpty,stringIsNotEmpty} from "@/common/util";
import vip from "../vip/index.vue"; import vip from "../vip/index.vue";
import CommonTool from "@/common/js/commonTool";
let request = new Request()
const app = getApp()
// //
const MAX_CACHE_DATA = 100; const MAX_CACHE_DATA = 100;
// //
@ -19,12 +16,6 @@ export default {
vip() { vip() {
return vip return vip
}, },
StaticConstant() {
return StaticConstant
},
ImagesConstant() {
return ImagesConstant
}
}, },
data() { data() {
return { return {
@ -64,7 +55,7 @@ export default {
}, },
/*筛选项 参数 start*/ /*筛选项 参数 start*/
defaultSelected: [], defaultSelected: [],
menuList: StaticConstant.fillVolunteerMenuData, menuList: app.globalData.StaticConstant.fillVolunteerMenuData,
/*筛选项 参数 end*/ /*筛选项 参数 end*/
tabIndex: 0, tabIndex: 0,
scrollInto: "", scrollInto: "",
@ -87,18 +78,18 @@ export default {
volunteerUndergraduateList: [],// volunteerUndergraduateList: [],//
volunteerMap: new Map() volunteerMap: new Map()
},// },//
years: StaticConstant.years, years: app.globalData.StaticConstant.years,
// //
status: 'more', status: 'more',
statusTypes: StaticConstant.loadStatusTypes, statusTypes: app.globalData.StaticConstant.loadStatusTypes,
contentText: StaticConstant.loadContentText, contentText: app.globalData.StaticConstant.loadContentText,
} }
}, },
onShow(e) { onShow(e) {
this.userInfo = uni.getStorageSync('userInfo') this.userInfo = uni.getStorageSync('userInfo')
}, },
onLoad(e) { onLoad(e) {
this.systemName = CommonTool.getSystemName() this.systemName = app.globalData.CommonTool.getSystemName()
this.vipInfo = uni.getStorageSync('vipInfo') this.vipInfo = uni.getStorageSync('vipInfo')
if (e.batch && e.volunteerId) { if (e.batch && e.volunteerId) {
// //
@ -186,7 +177,7 @@ export default {
}, },
loadMenu() { loadMenu() {
// //
request.get(ApiConstant.Major.rulesEnrollrobabilityMenuList, { app.globalData.Request.get(app.globalData.ApiConstant.Major.rulesEnrollrobabilityMenuList, {
professionalCategory: this.scoreInfo.professionalCategory professionalCategory: this.scoreInfo.professionalCategory
}, {showLoading: false}).then(r => { }, {showLoading: false}).then(r => {
if (r.success) { if (r.success) {
@ -293,7 +284,7 @@ export default {
cancelText: '取消', cancelText: '取消',
success: function (res) { success: function (res) {
if (res.confirm) { if (res.confirm) {
request.post(ApiConstant.Volunteer.volunteerSave, { app.globalData.Request.post(app.globalData.ApiConstant.Volunteer.volunteerSave, {
volunteerId: that.filledVolunteer.volunteerId, volunteerId: that.filledVolunteer.volunteerId,
schoolCode: item.schoolCode, schoolCode: item.schoolCode,
majorCode: item.majorCode, majorCode: item.majorCode,
@ -356,7 +347,7 @@ export default {
} }
} }
} }
request.get(ApiConstant.Volunteer.artVolunteerDetail, {id: this.filledVolunteer.volunteerId}).then(res => { app.globalData.Request.get(app.globalData.ApiConstant.Volunteer.artVolunteerDetail, {id: this.filledVolunteer.volunteerId}).then(res => {
if (res.success) { if (res.success) {
let dataResult = res.result let dataResult = res.result
// //
@ -563,7 +554,7 @@ export default {
kyjxStrs:kyjxStrs, kyjxStrs:kyjxStrs,
scoreId: this.scoreInfo.id, scoreId: this.scoreInfo.id,
} }
request.get(ApiConstant.Major.recommendMajorPage, params).then(res => { app.globalData.Request.get(app.globalData.ApiConstant.Major.recommendMajorPage, params).then(res => {
if (res.success) { if (res.success) {
let result = res.result let result = res.result
let allNumber = result.allNumber let allNumber = result.allNumber
@ -632,13 +623,13 @@ export default {
}, },
checkBao(e) { checkBao(e) {
if (e >= 93) { if (e >= 93) {
return ImagesConstant.bao.kebaodi; return app.globalData.ImagesConstant.bao.kebaodi;
} else if (e < 93 && e >= 74) { } else if (e < 93 && e >= 74) {
return ImagesConstant.bao.jiaowentuo; return app.globalData.ImagesConstant.bao.jiaowentuo;
} else if (e < 74 && e >= 60) { } else if (e < 74 && e >= 60) {
return ImagesConstant.bao.kechongji; return app.globalData.ImagesConstant.bao.kechongji;
} }
return ImagesConstant.bao.nanluqu; return app.globalData.ImagesConstant.bao.nanluqu;
}, },
checkColorText(e) { checkColorText(e) {
if (this.vipInfo && this.vipInfo.vipLevel < 2) { if (this.vipInfo && this.vipInfo.vipLevel < 2) {
@ -688,7 +679,7 @@ export default {
// key // key
let eKey = e.enrollmentCode + "_" + e.majorCode + "_" + e.schoolCode let eKey = e.enrollmentCode + "_" + e.majorCode + "_" + e.schoolCode
this.otherMajor.status = 'loading' this.otherMajor.status = 'loading'
request.get(ApiConstant.Major.recommendSchoolOtherMajor, params, {showLoad: false}).then(res => { app.globalData.Request.get(app.globalData.ApiConstant.Major.recommendSchoolOtherMajor, params, {showLoad: false}).then(res => {
console.log('返回值') console.log('返回值')
console.log(res) console.log(res)
if (res.success && res.result) { if (res.success && res.result) {
@ -755,7 +746,8 @@ export default {
}) })
return return
} }
} },
}, },
onPageScroll(e) { // onPageScroll(e) { //
//600//600 //600//600
@ -796,7 +788,7 @@ export default {
<text style="font-size: 50rpx">我的成绩</text> <text style="font-size: 50rpx">我的成绩</text>
</view> </view>
<view class="flex-item-2" @click="goto('/pages/zyb/score/edit?scoreId='+this.scoreInfo.id)"> <view class="flex-item-2" @click="goto('/pages/zyb/score/edit?scoreId='+this.scoreInfo.id)">
<image :src="ImagesConstant.edit" class="icon50 float-right" style="line-height: 50rpx"/> <image :src="app.globalData.ImagesConstant.edit" class="icon50 float-right" style="line-height: 50rpx"/>
</view> </view>
</view> </view>
@ -898,7 +890,7 @@ export default {
<view class="flex" @click="goto('/pages/zyb/school/detail?schoolCode='+item.schoolCode)"> <view class="flex" @click="goto('/pages/zyb/school/detail?schoolCode='+item.schoolCode)">
<!--院校图片--> <!--院校图片-->
<view class="flex-item-22"> <view class="flex-item-22">
<image :src="item.schoolIcon||ImagesConstant.defaultIcon" class="icon128"/> <image :src="item.schoolIcon||app.globalData.ImagesConstant.defaultIcon" class="icon128"/>
</view> </view>
<!--院校代码--> <!--院校代码-->
<view class="flex-item-77"> <view class="flex-item-77">
@ -940,7 +932,8 @@ export default {
{{item.studentConvertedScore}} {{item.studentConvertedScore}}
</text> </text>
</view> </view>
<view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="item.studentScore"> <!--v-if="item.studentScore"-->
<view style="float: right;line-height: 50rpx;" class="font-weight-600" v-show="app.globalData.StaticConstant.showZeSuan">
<text>折合分</text> <text>折合分</text>
<text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)"> <text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)">
{{ item.studentScore }} {{ item.studentScore }}
@ -961,7 +954,7 @@ export default {
</view> </view>
<view class="flex-item-5" style="line-height: 40rpx"> <view class="flex-item-5" style="line-height: 40rpx">
<view class="flex" style="float: right"> <view class="flex" style="float: right">
<text>{{ StaticConstant.year }}省内计划录取</text> <text>{{ app.globalData.StaticConstant.year }}省内计划录取</text>
<text v-if="item.planNum" class="green font-weight-600">{{ item.planNum }}</text> <text v-if="item.planNum" class="green font-weight-600">{{ item.planNum }}</text>
<text v-else class="green">暂未发布</text> <text v-else class="green">暂未发布</text>
</view> </view>
@ -969,7 +962,7 @@ export default {
</view> </view>
<view class="flex" style="line-height: 50rpx"> <view class="flex" style="line-height: 50rpx">
<view class="flex-item-7"> <view class="flex-item-7">
<text>{{ StaticConstant.year }}录取方式:</text> <text>{{ app.globalData.StaticConstant.year }}录取方式:</text>
<text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text> <text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text>
<text v-else class="blue">暂未发布</text> <text v-else class="blue">暂未发布</text>
</view> </view>
@ -993,7 +986,7 @@ export default {
<text class="darkGray font-weight-550">{{ otherMajor.schoolName }}</text> <text class="darkGray font-weight-550">{{ otherMajor.schoolName }}</text>
</view> </view>
<view class="flex-item-2"> <view class="flex-item-2">
<image @click="onOtherMajorClose" :src="ImagesConstant.close" class="icon32 float-right" <image @click="onOtherMajorClose" :src="app.globalData.ImagesConstant.close" class="icon32 float-right"
style="position: relative;top: 5rpx"/> style="position: relative;top: 5rpx"/>
</view> </view>
</view> </view>
@ -1046,7 +1039,7 @@ export default {
</view> </view>
</view> </view>
<view class="flex" style="float: right"> <view class="flex" style="float: right">
<text>{{ StaticConstant.year }}省内计划录取</text> <text>{{ app.globalData.StaticConstant.year }}省内计划录取</text>
<text v-if="otherMajor.nowMajor.planNum" class="green font-weight-600">{{ <text v-if="otherMajor.nowMajor.planNum" class="green font-weight-600">{{
otherMajor.nowMajor.planNum otherMajor.nowMajor.planNum
}} }}
@ -1057,7 +1050,7 @@ export default {
</view> </view>
<view class="flex" style="line-height: 50rpx"> <view class="flex" style="line-height: 50rpx">
<view class="flex-item-7"> <view class="flex-item-7">
<text>{{ StaticConstant.year }}录取方式:</text> <text>{{ app.globalData.StaticConstant.year }}录取方式:</text>
<text v-if="otherMajor.nowMajor.rulesEnrollProbability" class="blue"> <text v-if="otherMajor.nowMajor.rulesEnrollProbability" class="blue">
{{ otherMajor.nowMajor.rulesEnrollProbability }} {{ otherMajor.nowMajor.rulesEnrollProbability }}
</text> </text>
@ -1066,7 +1059,7 @@ export default {
<view class="flex-item-3" v-if="otherMajor.nowMajor.enrollProbability"> <view class="flex-item-3" v-if="otherMajor.nowMajor.enrollProbability">
<view class="radius10 font-weight-b" @click="saveVolunteer(otherMajor.nowMajor)" <view class="radius10 font-weight-b" @click="saveVolunteer(otherMajor.nowMajor)"
:class="otherMajor.nowMajor.volunteerIndexs?'volunteerIndexs':'saveVolunteer'"> :class="otherMajor.nowMajor.volunteerIndexs?'volunteerIndexs':'saveVolunteer'">
<image :src="otherMajor.nowMajor.volunteerIndexs?ImagesConstant.duigou_orange:ImagesConstant.add_orange" <image :src="otherMajor.nowMajor.volunteerIndexs?app.globalData.ImagesConstant.duigou_orange:app.globalData.ImagesConstant.add_orange"
class="icon32"/> class="icon32"/>
<text>{{ <text>{{
otherMajor.nowMajor.volunteerIndexs ? '志愿' + otherMajor.nowMajor.volunteerIndexs : '加入志愿表' otherMajor.nowMajor.volunteerIndexs ? '志愿' + otherMajor.nowMajor.volunteerIndexs : '加入志愿表'
@ -1124,7 +1117,7 @@ export default {
</view> </view>
</view> </view>
<view class="flex" style="float: right"> <view class="flex" style="float: right">
<text>{{ StaticConstant.year }}省内计划录取</text> <text>{{ app.globalData.StaticConstant.year }}省内计划录取</text>
<text v-if="item.planNum" class="green font-weight-600">{{ item.planNum }}</text> <text v-if="item.planNum" class="green font-weight-600">{{ item.planNum }}</text>
<text v-else class="green">暂未发布</text> <text v-else class="green">暂未发布</text>
</view> </view>
@ -1132,14 +1125,14 @@ export default {
</view> </view>
<view class="flex" style="line-height: 50rpx"> <view class="flex" style="line-height: 50rpx">
<view class="flex-item-7"> <view class="flex-item-7">
<text>{{ StaticConstant.year }}录取方式:</text> <text>{{ app.globalData.StaticConstant.year }}录取方式:</text>
<text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text> <text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text>
<text v-else class="blue">暂未发布</text> <text v-else class="blue">暂未发布</text>
</view> </view>
<view class="flex-item-3" v-if="item.enrollProbability"> <view class="flex-item-3" v-if="item.enrollProbability">
<view class="radius10 font-weight-b" @click="saveVolunteer(item)" <view class="radius10 font-weight-b" @click="saveVolunteer(item)"
:class="item.volunteerIndexs?'volunteerIndexs':'saveVolunteer'"> :class="item.volunteerIndexs?'volunteerIndexs':'saveVolunteer'">
<image :src="item.volunteerIndexs?ImagesConstant.duigou_orange:ImagesConstant.add_orange" <image :src="item.volunteerIndexs?app.globalData.ImagesConstant.duigou_orange:app.globalData.ImagesConstant.add_orange"
class="icon32"/> class="icon32"/>
<text>{{ item.volunteerIndexs ? '志愿' + item.volunteerIndexs : '加入志愿表' }}</text> <text>{{ item.volunteerIndexs ? '志愿' + item.volunteerIndexs : '加入志愿表' }}</text>
</view> </view>

View File

@ -7,6 +7,8 @@ import {arrayIsNotEmpty} from "@/common/util";
import vip from "../vip/index.vue"; import vip from "../vip/index.vue";
import {stringIsNotEmpty} from "../../../common/util"; import {stringIsNotEmpty} from "../../../common/util";
const app = getApp()
let request = new Request() let request = new Request()
// //
const MAX_CACHE_DATA = 100; const MAX_CACHE_DATA = 100;
@ -16,6 +18,9 @@ const MAX_CACHE_PAGE = 3;
export default { export default {
name: "模拟填报", name: "模拟填报",
computed: { computed: {
app(){
return app
},
vip() { vip() {
return vip return vip
}, },
@ -457,7 +462,7 @@ export default {
} }
indexs = 1; indexs = 1;
let volunteerUndergraduateList2 = []; let volunteerUndergraduateList2 = [];
while (indexs <= 35) { while (indexs <= app.globalData.StaticConstant.benZhiYuanNum) {
let record = {actives: false, indexs: indexs} let record = {actives: false, indexs: indexs}
for (let i = 0; i < volunteerUndergraduateList.length; i++) { for (let i = 0; i < volunteerUndergraduateList.length; i++) {
if (volunteerUndergraduateList[i].indexs === indexs) { if (volunteerUndergraduateList[i].indexs === indexs) {
@ -478,7 +483,7 @@ export default {
} }
indexs = 1; indexs = 1;
let volunteerJuniorCollegeList2 = []; let volunteerJuniorCollegeList2 = [];
while (indexs <= 35) { while (indexs <= app.globalData.StaticConstant.zhuanZhiYuanNum) {
let record = { let record = {
actives: false, actives: false,
indexs: indexs indexs: indexs
@ -719,6 +724,17 @@ export default {
} }
return ImagesConstant.bao.nanluqu; return ImagesConstant.bao.nanluqu;
}, },
//
formatDecimal(e) {
try {
if(e <= 0){
return '无概率'
}
return parseFloat(e).toFixed(2) + '%';
} catch (error) {
return '??';
}
},
checkColorText(e) { checkColorText(e) {
if (this.vipInfo && this.vipInfo.vipLevel < 2) { if (this.vipInfo && this.vipInfo.vipLevel < 2) {
return '#868686'; return '#868686';
@ -996,7 +1012,7 @@ export default {
<view class="flex-item-35" v-if="selectForm.kslx==='统考'"> <view class="flex-item-35" v-if="selectForm.kslx==='统考'">
<view style="float: right;line-height: 50rpx;" class="font-weight-600"> <view style="float: right;line-height: 50rpx;" class="font-weight-600">
<text class="font-size-mini" :style="'color:'+checkColorText(item.enrollProbability)"> <text class="font-size-mini" :style="'color:'+checkColorText(item.enrollProbability)">
{{ vipInfo && vipInfo.vipLevel >= 2 ? item.enrollProbability : '??' }}% {{ vipInfo && vipInfo.vipLevel >= 2 ? formatDecimal(item.enrollProbability) : '??' }}%
</text> </text>
<image :src="checkBao(item.enrollProbability)" class="icon50" v-if="vipInfo && vipInfo.vipLevel>=2"/> <image :src="checkBao(item.enrollProbability)" class="icon50" v-if="vipInfo && vipInfo.vipLevel>=2"/>
</view> </view>
@ -1014,6 +1030,7 @@ export default {
<view class="flex-item-65 slateGray" style="line-height: 50rpx"> <view class="flex-item-65 slateGray" style="line-height: 50rpx">
<text v-if="item.state==='新增'" style="color: red;font-size: 25rpx">新增</text> <text v-if="item.state==='新增'" style="color: red;font-size: 25rpx">新增</text>
<text class="tag">[{{ item.enrollmentCode }}]{{ item.majorName }}</text> <text class="tag">[{{ item.enrollmentCode }}]{{ item.majorName }}</text>
<text class="tag">{{item.tuition}}</text>
<text v-if="item.limitation">{{ item.majorDetail }}</text> <text v-if="item.limitation">{{ item.majorDetail }}</text>
<text class="margin-left-10"> <text class="margin-left-10">
<text class="tag" v-if="item.otherScoreLimitation && item.otherScoreLimitation!==''"> <text class="tag" v-if="item.otherScoreLimitation && item.otherScoreLimitation!==''">
@ -1030,7 +1047,7 @@ export default {
{{ item.privateStudentScore||item.studentConvertedScore }} {{ item.privateStudentScore||item.studentConvertedScore }}
</text> </text>
</view> </view>
<view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="item.studentScore"> <view style="float: right;line-height: 50rpx;" class="font-weight-600" v-show="app.globalData.StaticConstant.showZeSuan">
<text>折合分</text> <text>折合分</text>
<text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)"> <text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)">
{{ item.studentScore }} {{ item.studentScore }}
@ -1059,7 +1076,7 @@ export default {
</view> </view>
<view class="flex" style="line-height: 50rpx"> <view class="flex" style="line-height: 50rpx">
<view class="flex-item-7"> <view class="flex-item-7">
<text>{{ StaticConstant.year }}录取方式:</text> <text>{{ app.globalData.StaticConstant.year }}录取方式1:</text>
<text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text> <text v-if="item.rulesEnrollProbability" class="blue">{{ item.rulesEnrollProbability }}</text>
<text v-else class="blue">暂未发布</text> <text v-else class="blue">暂未发布</text>
</view> </view>
@ -1095,7 +1112,8 @@ export default {
<view class="flexWrap" @click="goto('/pages/zyb/school/detail?schoolCode='+otherMajor.nowMajor.schoolCode)"> <view class="flexWrap" @click="goto('/pages/zyb/school/detail?schoolCode='+otherMajor.nowMajor.schoolCode)">
<view class="flex-item-10 flexWrap"> <view class="flex-item-10 flexWrap">
<view class="flex-item-65 font-weight-b" style="line-height: 50rpx"> <view class="flex-item-65 font-weight-b" style="line-height: 50rpx">
<text class="">[{{ otherMajor.nowMajor.enrollmentCode }}]{{ otherMajor.nowMajor.majorName }}</text> <text class="" style="display: flex;">[{{ otherMajor.nowMajor.enrollmentCode }}]{{ otherMajor.nowMajor.majorName }}</text>
<text class="tag">{{otherMajor.nowMajor.tuition}}</text>
<text v-if="otherMajor.nowMajor.majorDetail">{{ otherMajor.nowMajor.majorDetail }}</text> <text v-if="otherMajor.nowMajor.majorDetail">{{ otherMajor.nowMajor.majorDetail }}</text>
<!-- <text v-if="otherMajor.nowMajor.limitation">({{otherMajor.nowMajor.limitation}})</text>--> <!-- <text v-if="otherMajor.nowMajor.limitation">({{otherMajor.nowMajor.limitation}})</text>-->
<text class="margin-left-10"> <text class="margin-left-10">
@ -1108,7 +1126,7 @@ export default {
<view class="flex-item-35"> <view class="flex-item-35">
<view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="selectForm.kslx==='统考'"> <view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="selectForm.kslx==='统考'">
<text class="font-size-mini" :style="'color:'+checkColorText(otherMajor.nowMajor.enrollProbability)"> <text class="font-size-mini" :style="'color:'+checkColorText(otherMajor.nowMajor.enrollProbability)">
{{ (vipInfo && vipInfo.vipLevel >= 2) ? otherMajor.nowMajor.enrollProbability : '??' }}% {{ (vipInfo && vipInfo.vipLevel >= 2) ? formatDecimal(otherMajor.nowMajor.enrollProbability) : '??' }}%
</text> </text>
<image :src="checkBao(otherMajor.nowMajor.enrollProbability)" class="icon50" <image :src="checkBao(otherMajor.nowMajor.enrollProbability)" class="icon50"
v-if="(vipInfo&&vipInfo.vipLevel>=2)"/> v-if="(vipInfo&&vipInfo.vipLevel>=2)"/>
@ -1125,7 +1143,7 @@ export default {
</view> </view>
</view> </view>
<view class="flex-item-5" style="line-height: 40rpx"> <view class="flex-item-5" style="line-height: 40rpx">
<view class="flex" style="float: right"> <view class="flex" style="float: right" v-show="app.globalData.StaticConstant.showZeSuan">
<view style="float: right;line-height: 50rpx;" class="font-weight-600"> <view style="float: right;line-height: 50rpx;" class="font-weight-600">
<text>折合分</text> <text>折合分</text>
<text class="font-size-mini margin-left-10" <text class="font-size-mini margin-left-10"
@ -1175,7 +1193,8 @@ export default {
<view class="flexWrap" @click="goto('/pages/zyb/school/detail?schoolCode='+item.schoolCode)"> <view class="flexWrap" @click="goto('/pages/zyb/school/detail?schoolCode='+item.schoolCode)">
<view class="flex-item-10 flexWrap"> <view class="flex-item-10 flexWrap">
<view class="flex-item-65 font-weight-b" style="line-height: 50rpx"> <view class="flex-item-65 font-weight-b" style="line-height: 50rpx">
<text class="">[{{ item.enrollmentCode }}]{{ item.majorName }}</text> <text class="" style="display: flex;">[{{ item.enrollmentCode }}]{{ item.majorName }}</text>
<text class="tag">{{item.tuition}}</text>
<text v-if="item.majorDetail">{{ item.majorDetail }}</text> <text v-if="item.majorDetail">{{ item.majorDetail }}</text>
<!-- <text v-if="item.limitation">({{item.limitation}})</text>--> <!-- <text v-if="item.limitation">({{item.limitation}})</text>-->
<text class="margin-left-10"> <text class="margin-left-10">
@ -1187,7 +1206,7 @@ export default {
<view class="flex-item-35"> <view class="flex-item-35">
<view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="selectForm.kslx==='统考'"> <view style="float: right;line-height: 50rpx;" class="font-weight-600" v-if="selectForm.kslx==='统考'">
<text class="font-size-mini" :style="'color:'+checkColorText(item.enrollProbability)"> <text class="font-size-mini" :style="'color:'+checkColorText(item.enrollProbability)">
{{ (vipInfo && vipInfo.vipLevel >= 2) ? item.enrollProbability : '??' }}% {{ (vipInfo && vipInfo.vipLevel >= 2) ? formatDecimal(item.enrollProbability) : '??' }}%
</text> </text>
<image :src="checkBao(item.enrollProbability)" class="icon50" v-if="vipInfo&&vipInfo.vipLevel>=2"/> <image :src="checkBao(item.enrollProbability)" class="icon50" v-if="vipInfo&&vipInfo.vipLevel>=2"/>
</view> </view>
@ -1205,7 +1224,8 @@ export default {
<view class="flex-item-5" style="line-height: 40rpx"> <view class="flex-item-5" style="line-height: 40rpx">
<view class="flex" style="float: right"> <view class="flex" style="float: right">
<view style="float: right;line-height: 50rpx;" class="font-weight-600" <view style="float: right;line-height: 50rpx;" class="font-weight-600"
v-if="item.studentConvertedScore"> v-show="app.globalData.StaticConstant.showZeSuan">
<!--v-if="item.studentConvertedScore"-->
<text>折合分</text> <text>折合分</text>
<text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)"> <text class="font-size-mini margin-left-10" :style="'color:'+checkColorText(item.enrollProbability)">
{{ vipInfo && vipInfo.vipLevel >= 2 ? item.studentScore : '??' }} {{ vipInfo && vipInfo.vipLevel >= 2 ? item.studentScore : '??' }}

View File

@ -15,6 +15,9 @@ export default {
computed: { computed: {
ImagesConstant() { ImagesConstant() {
return ImagesConstant return ImagesConstant
},
app(){
return getApp()
} }
}, },
data() { data() {
@ -58,13 +61,14 @@ export default {
nowYear: StaticConstant.year, nowYear: StaticConstant.year,
allCollapseItemList: [ allCollapseItemList: [
{batchLabel: '提前批', batch: '提前批', type: '顺序志愿', max: 1, status: false}, {batchLabel: '提前批', batch: '提前批', type: '顺序志愿', max: 1, status: false},
{batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 35, status: false}, {batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 64, status: false},
{batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 35, status: false}, {batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 64, status: false},
], ],
collapseItemList: [] collapseItemList: []
} }
}, },
onShow() { onShow() {
console.log(app.globalData)
// //
let userInfo = uni.getStorageSync('userInfo') let userInfo = uni.getStorageSync('userInfo')
if (userInfo) { if (userInfo) {
@ -136,8 +140,8 @@ export default {
// //
if (this.scoreInfo.professionalCategory === '体育类') { if (this.scoreInfo.professionalCategory === '体育类') {
this.allCollapseItemList = [ this.allCollapseItemList = [
{batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 35, status: false}, {batchLabel: '本科批', batch: '本科批', type: '平行志愿', max: 64, status: false},
{batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 35, status: false}, {batchLabel: '高职高专', batch: '高职高专', type: '平行志愿', max: 64, status: false},
] ]
} }
if (this.scoreInfo.batch) { if (this.scoreInfo.batch) {
@ -196,7 +200,7 @@ export default {
} }
indexs = 1; indexs = 1;
let volunteerUndergraduateList2 = []; let volunteerUndergraduateList2 = [];
while (indexs <= 35) { while (indexs <= 64) {
let record = {actives: false, indexs: indexs} let record = {actives: false, indexs: indexs}
for (let i = 0; i < volunteerUndergraduateList.length; i++) { for (let i = 0; i < volunteerUndergraduateList.length; i++) {
if (volunteerUndergraduateList[i].indexs === indexs) { if (volunteerUndergraduateList[i].indexs === indexs) {
@ -218,7 +222,7 @@ export default {
} }
indexs = 1; indexs = 1;
let volunteerJuniorCollegeList2 = []; let volunteerJuniorCollegeList2 = [];
while (indexs <= 35) { while (indexs <= 64) {
let record = { let record = {
actives: false, actives: false,
indexs: indexs indexs: indexs
@ -359,7 +363,7 @@ export default {
return; return;
} }
} else { } else {
if (indexs > (this.scoreInfo.professionalCategory==='体育类'?12:35) || indexs < 0) { if (indexs > (this.scoreInfo.professionalCategory==='体育类'?64:64) || indexs < 0) {
uni.showToast({title: '您输入的序号超出', icon: "none"}); uni.showToast({title: '您输入的序号超出', icon: "none"});
this.moveVolunteer.indexs = '' this.moveVolunteer.indexs = ''
return; return;

View File

@ -1,19 +1,9 @@
<script> <script>
import StaticConstant from "@/common/StaticConstant"; const app = getApp()
import ImagesConstant from "@/common/ImagesConstant";
import ApiConstant from "@/common/ApiConstant";
import Request from "@/common/request";
import JumpTool from "@/common/js/jumpTool";
import CommonTool from "@/common/js/commonTool";
let request = new Request()
export default { export default {
name: "home", name: "home",
components: {}, components: {},
computed: { computed: {
StaticConstant() {
return StaticConstant
}
}, },
data() { data() {
return { return {
@ -22,17 +12,17 @@ export default {
userStatus: false, userStatus: false,
scoreInfo: null, scoreInfo: null,
zyNum: null,// zyNum: null,//
defaultIcon: ImagesConstant.defaultIcon,// defaultIcon: app.globalData.ImagesConstant.defaultIcon,//
fillVolunteer: { fillVolunteer: {
all: null,// all: null,//
kcj: null,// kcj: null,//
jwt: null,// jwt: null,//
kbd: null// kbd: null//
}, },
options: StaticConstant.HomeOptions, options: app.globalData.StaticConstant.HomeOptions,
statusList: [{status: 'noMore'}, {status: 'noMore'},], statusList: [{status: 'noMore'}, {status: 'noMore'},],
statusTypes: StaticConstant.loadStatusTypes, statusTypes: app.globalData.StaticConstant.loadStatusTypes,
contentText: StaticConstant.loadContentText, contentText: app.globalData.StaticConstant.loadContentText,
admissionsRegulationsList: [],// admissionsRegulationsList: [],//
//tab //tab
@ -48,7 +38,7 @@ export default {
} }
}, },
onLoad(){ onLoad(){
this.systemName = CommonTool.getSystemName() this.systemName = app.globalData.CommonTool.getSystemName()
if(this.systemName === '体育志愿宝'){ if(this.systemName === '体育志愿宝'){
this.playerType = '体育考生' this.playerType = '体育考生'
for (let i = 0; i < this.options.length; i++) { for (let i = 0; i < this.options.length; i++) {
@ -63,6 +53,8 @@ export default {
title: this.systemName title: this.systemName
}); });
this.getAdmissionsRegulationsList() this.getAdmissionsRegulationsList()
this.getSystemConfig()
}, },
onShow() { onShow() {
// //
@ -104,18 +96,18 @@ export default {
console.log('1111') console.log('1111')
if (this.options && this.options[e.detail.index].url) { if (this.options && this.options[e.detail.index].url) {
if (this.options[e.detail.index].title !== '艺考考研' && this.options[e.detail.index].title !== '招生章程') { if (this.options[e.detail.index].title !== '艺考考研' && this.options[e.detail.index].title !== '招生章程') {
if (this.checkUserScore()) { // if (this.checkUserScore()) {
JumpTool.goto(this.options[e.detail.index].url) app.globalData.JumpTool.goto(this.options[e.detail.index].url)
} // }
} else { } else {
JumpTool.goto(this.options[e.detail.index].url) app.globalData.JumpTool.goto(this.options[e.detail.index].url)
} }
} }
}, },
/*判断用户是否登录*/ /*判断用户是否登录*/
checkUserStatus() { checkUserStatus() {
if (!this.userStatus) { if (!this.userStatus) {
JumpTool.goLogin() app.globalData.JumpTool.goLogin()
return false return false
} }
}, },
@ -124,32 +116,32 @@ export default {
// //
this.checkUserStatus() this.checkUserStatus()
if (!this.scoreInfo) { if (!this.scoreInfo) {
JumpTool.openScoreEdit() app.globalData.JumpTool.openScoreEdit()
return false return false
} else { } else {
return true return true
} }
}, },
onClickEditUserScore() { onClickEditUserScore() {
JumpTool.openScoreEdit() app.globalData.JumpTool.openScoreEdit()
}, },
/*点击AI一键填报*/ /*点击AI一键填报*/
onClickAi() { onClickAi() {
if (this.checkUserScore()) { if (this.checkUserScore()) {
JumpTool.goto('/pages/zyb/fillVolunteer/aiAuto') app.globalData.JumpTool.goto('/pages/zyb/fillVolunteer/aiAuto')
} }
}, },
/*点击模拟填报*/ /*点击模拟填报*/
onClickMn() { onClickMn() {
if (this.checkUserScore()) { if (this.checkUserScore()) {
//JumpTool.goto('/pages/zyb/fillVolunteer/index') //app.globalData.JumpTool.goto('/pages/zyb/fillVolunteer/index')
JumpTool.goto('/pages/zyb/fillVolunteer/mockList') app.globalData.JumpTool.goto('/pages/zyb/fillVolunteer/mockList')
} }
}, },
/*获取用户的分数信息*/ /*获取用户的分数信息*/
getUserScore() { getUserScore() {
request.get(ApiConstant.Score.getScore, {}).then(res => { app.globalData.Request.get(app.globalData.ApiConstant.Score.getScore, {}).then(res => {
if (res.success) { if (res.success) {
if (res.result) { if (res.result) {
// //
@ -182,7 +174,7 @@ export default {
pageNum: this.tabs[this.currentTab].current, pageNum: this.tabs[this.currentTab].current,
pageSize: 5 pageSize: 5
} }
request.get(ApiConstant.Article.articlePage, params).then(res => { app.globalData.Request.get(app.globalData.ApiConstant.Article.articlePage, params).then(res => {
console.log(res) console.log(res)
if (res.success) { if (res.success) {
this.tabs[this.currentTab].current = res.result.current this.tabs[this.currentTab].current = res.result.current
@ -236,7 +228,19 @@ export default {
} }
}, },
goArticleDetail(e){ goArticleDetail(e){
JumpTool.goArticleDetail(e) app.globalData.JumpTool.goArticleDetail(e)
},
async getSystemConfig(){
let miniConfig = await app.globalData.CommonTool.loadStaticConfig('miniConfig')
console.log(miniConfig)
app.globalData.StaticConstant.year = miniConfig.nowYear
app.globalData.StaticConstant.showZeSuan = miniConfig.showZeSuan
app.globalData.StaticConstant.tiQianPiZhiYuanNum = miniConfig.tiQianPiZhiYuanNum
app.globalData.StaticConstant.benZhiYuanNum = miniConfig.zhuanZhiYuanNum
app.globalData.StaticConstant.zhuanZhiYuanNum = miniConfig.zhuanZhiYuanNum
app.globalData.StaticConstant.contact = miniConfig.contact
app.globalData.StaticConstant.memberDeadline = miniConfig.memberDeadline
}, },
} }
} }

View File

@ -1,9 +1,13 @@
<!--志愿卡说明--> <!--志愿卡说明-->
<script> <script>
import commonTool from "@/common/js/commonTool"; import commonTool from "@/common/js/commonTool";
const app = getApp()
export default { export default {
name: "volunteerCardDesc", name: "volunteerCardDesc",
computed: { computed: {
app(){
return app
}
}, },
data() { data() {
return { return {
@ -19,7 +23,7 @@ export default {
<template> <template>
<view class="body"> <view class="body">
<text class="text-l uni-flex flex">适用范围:{{playerType}}文理科考生(自主招生暂不适用)</text> <text class="text-l uni-flex flex">适用范围:{{playerType}}文理科考生(自主招生暂不适用)</text>
<text class="text-l uni-flex flex">使用期限:自购买起截止到2024-08-31有效</text> <text class="text-l uni-flex flex">使用期限:自购买起截止到{{app.globalData.StaticConstant.memberDeadline}}有效</text>
<text class="text-l uni-flex flex">分数修改次数:每届服务期内高考分数放榜前可修改10次放榜后只可修改1次</text> <text class="text-l uni-flex flex">分数修改次数:每届服务期内高考分数放榜前可修改10次放榜后只可修改1次</text>
<text class="text-l uni-flex flex">系统数据来源于及第生涯部门由合作网站提供</text> <text class="text-l uni-flex flex">系统数据来源于及第生涯部门由合作网站提供</text>
<text class="text-l uni-flex flex">部分年份数据如果为空可能是当年不在查询地招生系统数据不包含高考加分如果录取数据与院校公布数据不一致请以高校正式公布的数据为准</text> <text class="text-l uni-flex flex">部分年份数据如果为空可能是当年不在查询地招生系统数据不包含高考加分如果录取数据与院校公布数据不一致请以高校正式公布的数据为准</text>

View File

@ -55,6 +55,7 @@ export default {
professionalCategoryScoreMax: '',// professionalCategoryScoreMax: '',//
contentHeight: 600, contentHeight: 600,
reloadMajorModalMessageConfig:{}, reloadMajorModalMessageConfig:{},
popupContent: '',
} }
}, },
async onLoad() { async onLoad() {
@ -127,16 +128,7 @@ export default {
...this.saveScoreInfo ...this.saveScoreInfo
}).then(res => { }).then(res => {
if (res.success) { if (res.success) {
let scoreInfo = res.result
request.getUserScore() request.getUserScore()
/*uni.removeStorageSync('scoreInfo')//清除之前的成绩缓存
uni.setStorageSync('scoreInfo', scoreInfo)
uni.removeStorageSync('fillVolunteer')//
//
let all = parseInt(scoreInfo.kcjNum) + parseInt(scoreInfo.jwtNum) + parseInt(scoreInfo.kbdNum);
//+parseInt(scoreInfo.nlqNum)
let fillVolunteer = {jwt: scoreInfo.jwtNum, kbd: scoreInfo.kbdNum, kcj: scoreInfo.kcjNum, allNumber: all}
uni.setStorageSync('fillVolunteer', fillVolunteer)*/
setTimeout(() => { setTimeout(() => {
uni.reLaunch({ uni.reLaunch({
url: '/pages/zyb/home' url: '/pages/zyb/home'
@ -302,17 +294,35 @@ export default {
if (this.scoreInfo.professionalCategory !== '表演类') { if (this.scoreInfo.professionalCategory !== '表演类') {
title += " " + (this.scoreInfo.professionalScore ? (this.pCategoryChildrenList && this.pCategoryChildrenList.length > 0 ? '主项成绩:' : '统考成绩:') + this.scoreInfo.professionalScore : "") title += " " + (this.scoreInfo.professionalScore ? (this.pCategoryChildrenList && this.pCategoryChildrenList.length > 0 ? '主项成绩:' : '统考成绩:') + this.scoreInfo.professionalScore : "")
} }
uni.showModal({ if (this.pCategoryChildrenList && this.pCategoryChildrenList.length > 0) {
title: '确认高考成绩', for (let i = 0; i < this.pCategoryChildrenList.length; i++) {
content: title, title += '\n ' + this.pCategoryChildrenList[i] + ':' + this.scoreInfo[this.checkChildrenNameToKey(this.pCategoryChildrenList[i])]
confirmText: '确定',
cancelText: '取消',
success: function (res) {
if (res.confirm) {
that.saveScore()
} }
} }
}); this.popupContent = title;
if(this.formRuleFlag){
this.$refs.popup.open() //
}
// uni.showModal({
// title: '',
// content: title,
// confirmText: '',
// cancelText: '',
// success: function (res) {
// if (res.confirm) {
// that.saveScore()
// }
// }
// });
},
handleCancel(){
this.$refs.popup.close()
},
handleConfirm() {
this.$refs.popup.close() //
this.saveScore() //
}, },
formReset: function (e) { formReset: function (e) {
console.log('清空数据') console.log('清空数据')
@ -414,6 +424,19 @@ export default {
请输入成绩 请输入成绩
</view> </view>
</view> </view>
<!-- 弹窗组件 -->
<uni-popup ref="popup" type="dialog">
<view class="popup-content">
<view style="font-weight: bold;font-size: 1em">确认高考成绩</view>
<br/>
<view>{{popupContent}}</view>
</view>
<view class="popup-buttons">
<button @click="handleCancel">取消</button>
<button @click="handleConfirm">确定</button>
</view>
</uni-popup>
<!--表单--> <!--表单-->
<view class="uni-padding-wrap uni-common-mt border-top"> <view class="uni-padding-wrap uni-common-mt border-top">
<view class="forms"> <view class="forms">
@ -716,5 +739,18 @@ export default {
margin: 20rpx; margin: 20rpx;
} }
.popup-content {
white-space: pre-line; /* 关键!让 \n 生效 */
padding: 20px;
text-align: center;
background-color: white;
}
.popup-buttons {
display: flex;
justify-content: space-around;
padding: 10px;
background-color: white;
}
/*底部抽屉 报考方向内容 end*/ /*底部抽屉 报考方向内容 end*/
</style> </style>

View File

@ -0,0 +1,322 @@
<template>
<view class="container">
<!-- College Info Section -->
<view class="college-info-section">
<view class="college-header-top">
<!-- <image class="college-logo" src="/static/college-logo.png" mode="aspectFit"></image> -->
<view class="college-details">
<text class="college-name">吉林艺术学院</text>
<view class="college-tags">
<text class="college-tag">本科</text>
<text class="college-tag">艺术类</text>
<text class="college-tag">公办</text>
</view>
<text class="college-location">吉林 长春市</text>
</view>
</view>
<view class="college-nav">
<view class="nav-item">
<view class="nav-icon-placeholder"></view> <!-- Icon placeholder -->
<text>院校介绍</text>
</view>
<view class="nav-item">
<view class="nav-icon-placeholder"></view> <!-- Icon placeholder -->
<text>招录数据</text>
</view>
<view class="nav-item">
<view class="nav-icon-placeholder"></view> <!-- Icon placeholder -->
<text>录取信息</text>
</view>
</view>
</view>
<!-- Major Section -->
<view class="section major-section">
<text class="section-title">专业名称</text>
<view class="major-detail">
<view class="major-text-info">
<text class="major-name">产品设计[文科](提前批)</text>
<text class="major-info">(专业组61)(13200/; 办学地点: 吉林艺术学院红旗街校区)</text>
</view>
<view class="major-count">
<view class="count-square"></view>
<text>共8个</text>
</view>
</view>
</view>
<!-- Prediction Result Section -->
<view class="section prediction-section">
<view class="prediction-header">
<text class="prediction-title">测算结果</text>
</view>
<view class="prediction-content">
<text class="required-score">当前需要超过528分</text>
</view>
</view>
<!-- Notes/Score Thresholds Section -->
<view class="section notes-section">
<text class="section-title">:</text>
<text class="note-item">2023河南文化分控线为 <text class="highlight-score">370</text> </text>
<text class="note-item">2023河南专业分控线为 <text class="highlight-score">216</text> </text>
</view>
<!-- Admission Method Section -->
<view class="section admission-method-section">
<text class="section-title">录取方式</text>
<text class="method-item">*<text class="highlight-score">0.067</text>+*<text class="highlight-score">0.167</text></text>
<text class="method-item">院校限制 暂无</text>
</view>
<!-- Bottom Button -->
<view class="bottom-button-container">
<button class="collect-button">收藏院校</button>
</view>
</view>
</template>
<script>
export default {
name: "test-cultural-detail2",
components: {},
data() {
return {
//
}
},
methods: {
goBack() {
uni.navigateBack(); //
}
//
}
}
</script>
<style scoped>
.container {
background-color: #f8f8f8; /* Slightly grey background */
min-height: 100vh;
padding-bottom: 100rpx; /* Space for the bottom button */
}
.eye-icon {
font-size: 36rpx; /* Adjust eye icon size */
}
/* College Info Section */
.college-info-section {
background-color: #fff;
padding: 30rpx;
margin-top: 20rpx;
}
.college-header-top {
display: flex;
align-items: center;
margin-bottom: 30rpx;
}
.college-logo {
width: 120rpx;
height: 120rpx;
margin-right: 30rpx;
border-radius: 50%; /* If logo is round */
background-color: #eee; /* Placeholder background */
}
.college-details {
flex: 1;
}
.college-name {
font-size: 36rpx;
font-weight: bold;
display: block;
}
.college-tags {
display: flex;
margin: 10rpx 0;
}
.college-tag {
font-size: 24rpx;
color: #007aff; /* Blue/teal like color */
border: 1rpx solid #007aff;
padding: 4rpx 12rpx;
margin-right: 15rpx;
border-radius: 8rpx;
}
.college-location {
font-size: 28rpx;
color: #666;
display: block;
margin-top: 8rpx;
}
.college-nav {
display: flex;
justify-content: space-around;
text-align: center;
border-top: 1rpx solid #eee;
padding-top: 30rpx;
}
.nav-item {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
font-size: 28rpx;
color: #333;
}
.nav-item text {
margin-top: 8rpx;
}
.nav-icon-placeholder {
width: 60rpx;
height: 60rpx;
background-color: #e0e0e0; /* Placeholder grey circle/square */
border-radius: 50%; /* Or remove for square */
}
/* Generic Section Styling */
.section {
background-color: #fff;
padding: 30rpx;
margin-top: 20rpx;
}
.section-title {
font-size: 28rpx;
color: #999;
margin-bottom: 20rpx;
display: block; /* Ensures title takes full width */
}
/* Major Section */
.major-detail {
display: flex;
justify-content: space-between;
align-items: flex-start; /* Align items to the top */
}
.major-text-info {
flex: 1; /* Allows text to take available space and wrap */
margin-right: 20rpx; /* Space between text and count */
}
.major-name {
font-size: 32rpx;
font-weight: bold;
display: block;
margin-bottom: 10rpx;
}
.major-info {
font-size: 26rpx;
color: #666;
display: block;
}
.major-count {
display: flex;
flex-direction: column; /* Stack icon and text */
align-items: center; /* Center content horizontally */
font-size: 28rpx;
color: #333;
}
.count-square {
width: 40rpx;
height: 40rpx;
background-color: #00c8a8; /* Teal color from image */
margin-bottom: 8rpx; /* Space between square and text */
border-radius: 8rpx;
}
/* Prediction Result Section */
.prediction-section {
text-align: right; /* Align content to the right */
}
.prediction-header {
/* This title seems right aligned but separate */
/* It might be better to place it within the content area and align right */
/* Or use flex to push it right */
display: flex;
justify-content: flex-end;
margin-bottom: 10rpx;
}
.prediction-title {
font-size: 28rpx;
color: #00c8a8; /* Teal color */
/* Removing section-title margin-bottom if using prediction-header margin */
}
.prediction-content {
/* Content below the title */
text-align: right;
}
.required-score {
font-size: 36rpx;
font-weight: bold;
color: #333;
}
/* Notes/Score Thresholds Section */
.notes-section text {
display: block; /* Each text on a new line */
font-size: 28rpx;
color: #333;
margin-bottom: 10rpx;
}
.notes-section text:last-child {
margin-bottom: 0;
}
.highlight-score {
color: #007aff; /* Blue/teal highlight color */
}
/* Admission Method Section */
.admission-method-section .method-item {
display: block; /* Each item on a new line */
font-size: 28rpx;
color: #333;
margin-bottom: 10rpx;
}
.admission-method-section .method-item:last-child {
margin-bottom: 0;
}
/* Bottom Button */
.bottom-button-container {
position: fixed; /* Fix button to the bottom */
bottom: 0;
left: 0;
right: 0;
padding: 20rpx 30rpx;
background-color: #fff;
box-shadow: 0 -2rpx 4rpx rgba(0,0,0,0.1); /* Add shadow above button */
z-index: 10; /* Ensure button is above other content */
}
.collect-button {
width: 100%;
height: 90rpx;
line-height: 90rpx;
background-color: #e0e0e0; /* Grey background */
color: #666; /* Grey text */
font-size: 34rpx;
border-radius: 10rpx;
border: none;
outline: none;
}
</style>

View File

@ -0,0 +1,451 @@
<script>
import Request from '@/common/request';
import ImagesConstant from "@/common/ImagesConstant";
import commonTool from "@/common/js/commonTool";
let request = new Request()
export default {
name: "user-index",
components: {},
computed: {
commonTool() {
return commonTool
},
ImagesConstant() {
return ImagesConstant
},
},
data() {
return {
imId:'Shilo_',
systemName:'',
avatar: ImagesConstant.systemIcon,
userInfo: {},
vipInfo: {},
scoreInfo: {},//
volunteerInfo: {},//
itemList: [
{
title: '会员卡激活',
icon:'/static/icons/gif/icons8-cards.gif',
url: '/pages/zyb/vip/cardamom'
},
// #ifdef MP-TOUTIAO
{
title: '我的订单',
icon:'/static/icons/gif/icons8-order.gif',
url: '/pages/zyb/order/list'
},
{
title: '联系客服',
type:'im',
icon:'/static/icons/gif/icons8-customer-service.gif',
},
// #endif
// #ifdef MP-WEIXIN
{
title: '联系客服',
type:'contact',
icon:'/static/icons/gif/icons8-customer-service.gif',
},
{
title: '专家一对一',
//icon: '/static/icons/linear/calendar.png',
icon: '/static/icons/gif/icons8-man.gif',
url: '/pages/zyb/other/updateLogs'
},
{
title: '商务合作',
//icon: '/static/icons/linear/quest.png',
icon: '/static/icons/gif/icons8-cooperate.gif',
method:'cooperate',
url: '/pages/zyb/other/commonProblem'
},
// #endif
/*{
title: '更新快报',
//icon: '/static/icons/linear/calendar.png',
icon: '/static/icons/gif/icons8-calendar.gif',
url: '/pages/zyb/other/updateLogs'
},*/
{
title: '我的收藏',
//icon: '/static/icons/linear/love.png',
icon: '/static/icons/gif/icons8-loading-heart.gif',
url: '/pages/zyb/user/myCollect'
},
{
title: '使用说明',
//icon: '/static/icons/linear/illustrate.png',
icon: '/static/icons/gif/detail.gif',
url: '/pages/zyb/other/useHelp'
},
/* {
title: '问题反馈',
//icon: '/static/icons/linear/quest.png',
icon: '/static/icons/gif/icons8-doubt.gif',
url: '/pages/zyb/other/commonProblem'
},*/
{
title: '常见问题',
//icon: '/static/icons/linear/quest.png',
icon: '/static/icons/gif/icons8-doubt.gif',
url: '/pages/zyb/other/commonProblem'
},
{
title: '设置',
//icon: '/static/icons/linear/settings.png',
icon: '/static/icons/gif/icons8-wotuishi-settings.gif',
url: '/pages/zyb/settings'
},
]
}
},
onShow() {
this.userInfo = uni.getStorageSync('userInfo')
if (this.userInfo === null || this.userInfo.id=== undefined) {
wx.reLaunch({
url: '/pages/zyb/login',
})
}
this.vipInfo = uni.getStorageSync('vipInfo')
this.getScore()
},
onLoad() {
this.systemName = commonTool.getSystemName()
if(this.systemName === '体育志愿宝'){
this.playerType = '体育考生'
}
},
methods: {
//
getScore() {
this.scoreInfo = uni.getStorageSync('scoreInfo')
if (this.scoreInfo) {
this.volunteerInfo = uni.getStorageSync('volunteer')
}
},
gotoEditScore() {
console.log('前往修改成绩页面')
this.goto('/pages/zyb/score/edit')
},
switchFillVolunteer() {
this.goto('/pages/zyb/fillVolunteer/my')
},
/*前往开通vip*/
gotoOpenVip() {
this.goto('/pages/zyb/vip/index')
},
/*商务合作弹框事件*/
cooperate(){
console.log('商务合作')
this.$refs.popup2.open("center")
},
cooperateClose(){
this.$refs.popup2.close()
},
goto(e) {
uni.navigateTo({
url: e,
nimationType: 'pop-in',
animationDuration: 2000
})
},
previewImage(e){
console.log('e', e);
uni.previewImage({
//
urls: [],
// /
current: ImagesConstant.customerServiceQrCode,
//
indicator:'default',
//
loop:false,
//
// longPressActions:{
// itemList:[this.l(''),this.l]
// },
success: res => {
console.log('res', res);
},
fail: err => {
console.log('err', err);
}
});
},
imCallback(e) {
console.log("跳转IM客服成功", e.detail);
},
onimError(e) {
console.log("拉起IM客服失败", e.detail);
},
}
}
</script>
<template>
<uni-popup ref="popup2" background-color="#fff" class="radius15">
<view class="popup-content radius15" style="padding: 30rpx 30rpx">
<view class="font-size-mini4 font-weight-b" style="text-align: center">添加老师微信</view>
<image @click="previewImage" :show-menu-by-longpress="true" :src="ImagesConstant.customerServiceQrCode" style="width: 600rpx;height: 800rpx"/>
<view class="flexWrap marginTopBot20 margin-top-20"><text class="text">联系人周老师</text></view>
<view class="flexWrap marginTopBot20"><text class="text">电话15090658223(微信同号)</text></view>
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose" style="text-align: center">知道了</view>
</view>
</uni-popup>
<!-- 普通弹窗 -->
<uni-popup ref="popup" background-color="#fff" class="radius15">
<view class="popup-content radius15" style="padding: 30rpx 50rpx">
<view class="font-size-mini4 font-weight-b" style="text-align: center">商务合作</view>
<view class="flexWrap marginTopBot20 margin-top-20"><text class="text">联系人周老师</text></view>
<view class="flexWrap marginTopBot20"><text class="text">电话15090658223(微信同号)</text></view>
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose" style="text-align: center">知道了</view>
</view>
</uni-popup>
<!--头部-->
<view class="header" style="z-index: 1">
<view class="uni-flex flex" style="padding: 30rpx 30rpx 0 30rpx" @click="goto('/pages/zyb/user/detail')">
<!--头像-->
<view class="flex-item2 t1">
<image class="avatar" :src="avatar"/>
</view>
<!--手机号-->
<view class="flex-item-7 t2">
<view class="flex font-weight-600">
<text style="line-height: 50rpx">{{ userInfo.realname }}</text>
</view>
<view class="flex">
<text style="line-height: 50rpx">{{ scoreInfo.province }}</text>
<text style="line-height: 50rpx;font-size: 24rpx">/2024</text>
</view>
</view>
<!--按钮-->
<view class="flex-item2" style="padding-top: 60rpx;">
<image class="arrow-right" :src="ImagesConstant.keyboard.arrowRight"/>
</view>
</view>
<!--开通vip提示-->
<view class="uni-flex flex white" style="margin-top: 30rpx">
<view class="flex-item-10 vipBackground" style="height: 50rpx;padding: 30rpx"
v-if="vipInfo && vipInfo.vipLevel>0">
<text>
{{ vipInfo.skuName || 'VIP' }}到期时间{{ commonTool.dateFormatYYYYMMDD(vipInfo.validTime) }}
</text>
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx" @click="gotoOpenVip">
查看更多
</text>
</view>
<view class="flex-item-10 vipBackground" style="height: 50rpx;line-height: 50rpx;padding: 30rpx;"
v-if="(!vipInfo) || !vipInfo.vipLevel || vipInfo.vipLevel===0">
<text>升级为VIP, 准确查大学录取率</text>
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx" @click="gotoOpenVip">
开通VIP
</text>
</view>
</view>
</view>
<view class="body" style="z-index: 2">
<!--我的成绩-->
<view class="uni-flex flex trow1">
<view class="flex-item-1">
<text style="font-size: 24rpx">我的成绩</text>
</view>
<view class="flex-item-7 trow1-center">
<view class="flexWrap margin-left-30">
<view class="flex-item-10">
<text class="margin-right-10">文化:{{ this.scoreInfo.culturalScore }}</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'">{{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}</text>
<br v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'"/>
<text v-if="scoreInfo && scoreInfo.yybysy">音表声乐:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybysy">{{ scoreInfo && scoreInfo.yybysy }}</text>
<text v-if="scoreInfo && scoreInfo.yybyqy">音表器乐:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybyqy">{{ scoreInfo && scoreInfo.yybyqy }}</text>
<text v-if="scoreInfo && scoreInfo.yyjy">音乐教育:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yyjy">{{ scoreInfo && scoreInfo.yyjy }}</text>
<!--表演类-->
<text v-if="scoreInfo && scoreInfo.fzby">服装表演:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.fzby">{{ scoreInfo && scoreInfo.fzby }}</text>
<text v-if="scoreInfo && scoreInfo.xjysdy">影视导演:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.xjysdy">{{ scoreInfo && scoreInfo.xjysdy }}</text>
<text v-if="scoreInfo && scoreInfo.xjysby">影视表演:</text>
<text v-if="scoreInfo && scoreInfo.xjysby">{{ scoreInfo && scoreInfo.xjysby }}</text>
</view>
</view>
</view>
<view class="flexWrap margin-left-30"></view>
<view class="flex-item-2" @click="gotoEditScore()">
<view class="" style="margin-top: 20rpx">
<view style="width: 100rpx;text-align: center;position: relative;left: 20rpx">
<image :src="ImagesConstant.edit2" class="icon40"/>
</view>
</view>
</view>
</view>
<!--我的志愿-->
<!-- <button-->
<!-- open-type="im"-->
<!-- data-im-id="Shilo_"-->
<!-- bindim="imCallback"-->
<!-- binderror="onimError"-->
<!-- >-->
<!-- 跳转 IM-->
<!-- </button>-->
<!-- <button class='contact-btn' open-type="im" bindim="imCallback" binderror="onimError" data-im-id="Shilo_">联系客服</button> -->
<view class="uni-flex flex trow1">
<view class="flex-item-1">
<text style="font-size: 24rpx">我的志愿</text>
</view>
<view class="flex-item-7">
<view class="trow1-center" style="">
<view class="flex" v-if="scoreInfo && volunteerInfo">
<text style="margin:0 30rpx">{{ volunteerInfo.volunteerName || '' }}</text>
</view>
<view class="flex" style="margin-left:30rpx;color:#c1c4cc">
<!-- <text>{{ scoreInfo && scoreInfo.professionalScore || '&#45;&#45;' }}&nbsp;&nbsp;/</text>-->
<text>{{ scoreInfo && scoreInfo.province || '--' }}&nbsp;/</text>
<text>&nbsp;{{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }}&nbsp;/</text>
<text>&nbsp;{{ scoreInfo && scoreInfo.professionalCategory || '--' }}</text>
</view>
</view>
</view>
<view class="flex-item-2" @click="switchFillVolunteer">
<view style="padding: 15rpx 0 15rpx 65rpx">
<image src="/static/icons/icons8-menu.png" class="icon32"/>
</view>
</view>
</view>
<!--剩余选项-->
<view class="trow1">
<view class="uni-flex flex" v-for="(item,index) in itemList" :key="index">
<!--联系客服-->
<view class="flex-item-10" v-if="item.type==='contact' || item.type ==='im'">
{{item.type}}
<view class="uni-flex flex trow1-child">
<button class='contact-btn' :open-type="item.type" data-im-id="Shilo_">aa</button>
<view class="flex-item-1">
<image :src="item.icon" class="icon40"/>
</view>
<view class="flex-item-8">
<text>{{item.title}}</text>
</view>
<view class="flex-item-1">
<image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx"/>
</view>
</view>
</view>
<view class="flex-item-10" v-else @click="item.method==='cooperate'?cooperate() : goto(item.url)">
<view class=""
:class="index===itemList.length-1?'uni-flex flex trow1-child-last':'uni-flex flex trow1-child'">
<view class="flex-item-1">
<image :src="item.icon" style="width: 40rpx;height: 40rpx"/>
</view>
<view class="flex-item-8">
<text>{{ item.title }}</text>
</view>
<view class="flex-item-1">
<image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx"/>
</view>
</view>
</view>
</view>
</view>
<!---->
<view class="uni-flex flex">
<view class="flex-item-10" style="text-align: center;">
<text>{{ systemName }}</text>
</view>
</view>
</view>
</template>
<style scoped lang="scss">
.header {
background: repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -ms-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -webkit-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -moz-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
/*background: linear-gradient(131deg, rgb(18, 117, 236) 0%, rgb(122, 182, 249) 100%);*/
height: 340rpx;
/*头像*/
.avatar {
border-radius: 50%;
width: 150rpx;
height: 148rpx;
}
.arrow-right {
width: 70rpx;
height: 70rpx;
position: absolute;
right: 8rpx;
}
.t1 {
padding: 20rpx 0 0 0;
}
.t2 {
padding: 40rpx 20rpx 0 20rpx;
font-weight: 500;
color: black;
}
/*开通vip框*/
.vipBackground {
background-color: #e5620f;
border-radius: 40rpx 40rpx 0 0;
}
}
.body {
background-color: #f4f5f7;
min-height: 880rpx;
padding: 30rpx;
/*单行*/
.trow1 {
background-color: #ffffff;
border-radius: 15rpx;
padding: 20rpx 30rpx;
margin-bottom: 20rpx;
.trow1-center {
font-size: 24rpx;
margin: 10rpx 0 0 20rpx;
border-left: 5rpx solid #f1b481;
}
.trow1-child {
margin-top: 20rpx;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #f8f8f8;
}
.trow1-child-last {
margin-top: 20rpx;
padding-bottom: 20rpx;
border-bottom: none;
}
}
}
//
:deep(.contact-btn) {
display: inline-block;
position: absolute;
width: 80%;
background: salmon;
// opacity: 0;
// border-radius: 0;
}
</style>

View File

@ -1,10 +1,11 @@
<script> <script>
import Request from '@/common/request'; import Request from '@/common/request';
import ImagesConstant from "@/common/ImagesConstant"; import ImagesConstant from "@/common/ImagesConstant";
import commonTool from "@/common/js/commonTool"; import commonTool from "@/common/js/commonTool";
let request = new Request() let request = new Request()
export default { const app = getApp()
export default {
name: "user-index", name: "user-index",
components: {}, components: {},
computed: { computed: {
@ -14,39 +15,41 @@ export default {
ImagesConstant() { ImagesConstant() {
return ImagesConstant return ImagesConstant
}, },
app() {
return app
},
}, },
data() { data() {
return { return {
imId:'Shilo_', imId: 'Shilo_',
systemName:'', systemName: '',
avatar: ImagesConstant.systemIcon, avatar: ImagesConstant.systemIcon,
userInfo: {}, userInfo: {},
vipInfo: {}, vipInfo: {},
scoreInfo: {},// scoreInfo: {}, //
volunteerInfo: {},// volunteerInfo: {}, //
itemList: [ itemList: [{
{
title: '会员卡激活', title: '会员卡激活',
icon:'/static/icons/gif/icons8-cards.gif', icon: '/static/icons/gif/icons8-cards.gif',
url: '/pages/zyb/vip/cardamom' url: '/pages/zyb/vip/cardamom'
}, },
// #ifdef MP-TOUTIAO // #ifdef MP-TOUTIAO
{ {
title: '我的订单', title: '我的订单',
icon:'/static/icons/gif/icons8-order.gif', icon: '/static/icons/gif/icons8-order.gif',
url: '/pages/zyb/order/list' url: '/pages/zyb/order/list'
}, },
{ {
title: '联系客服', title: '联系客服',
type:'im', type: 'im',
icon:'/static/icons/gif/icons8-customer-service.gif', icon: '/static/icons/gif/icons8-customer-service.gif',
}, },
// #endif // #endif
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
{ {
title: '联系客服', title: '联系客服',
type:'contact', type: 'contact',
icon:'/static/icons/gif/icons8-customer-service.gif', icon: '/static/icons/gif/icons8-customer-service.gif',
}, },
{ {
title: '专家一对一', title: '专家一对一',
@ -58,7 +61,7 @@ export default {
title: '商务合作', title: '商务合作',
//icon: '/static/icons/linear/quest.png', //icon: '/static/icons/linear/quest.png',
icon: '/static/icons/gif/icons8-cooperate.gif', icon: '/static/icons/gif/icons8-cooperate.gif',
method:'cooperate', method: 'cooperate',
url: '/pages/zyb/other/commonProblem' url: '/pages/zyb/other/commonProblem'
}, },
// #endif // #endif
@ -108,7 +111,7 @@ export default {
}, },
onShow() { onShow() {
this.userInfo = uni.getStorageSync('userInfo') this.userInfo = uni.getStorageSync('userInfo')
if (this.userInfo === null || this.userInfo.id=== undefined) { if (this.userInfo === null || this.userInfo.id === undefined) {
wx.reLaunch({ wx.reLaunch({
url: '/pages/zyb/login', url: '/pages/zyb/login',
}) })
@ -118,7 +121,7 @@ export default {
}, },
onLoad() { onLoad() {
this.systemName = commonTool.getSystemName() this.systemName = commonTool.getSystemName()
if(this.systemName === '体育志愿宝'){ if (this.systemName === '体育志愿宝') {
this.playerType = '体育考生' this.playerType = '体育考生'
} }
}, },
@ -142,11 +145,11 @@ export default {
this.goto('/pages/zyb/vip/index') this.goto('/pages/zyb/vip/index')
}, },
/*商务合作弹框事件*/ /*商务合作弹框事件*/
cooperate(){ cooperate() {
console.log('商务合作') console.log('商务合作')
this.$refs.popup2.open("center") this.$refs.popup2.open("center")
}, },
cooperateClose(){ cooperateClose() {
this.$refs.popup2.close() this.$refs.popup2.close()
}, },
goto(e) { goto(e) {
@ -156,17 +159,17 @@ export default {
animationDuration: 2000 animationDuration: 2000
}) })
}, },
previewImage(e){ previewImage(e) {
console.log('e', e); console.log('e', e);
uni.previewImage({ uni.previewImage({
// //
urls: [], urls: [],
// / // /
current: ImagesConstant.customerServiceQrCode, current: app.globalData.StaticConstant.contact.images,
// //
indicator:'default', indicator: 'default',
// //
loop:false, loop: false,
// //
// longPressActions:{ // longPressActions:{
// itemList:[this.l(''),this.l] // itemList:[this.l(''),this.l]
@ -186,26 +189,33 @@ export default {
console.log("拉起IM客服失败", e.detail); console.log("拉起IM客服失败", e.detail);
}, },
} }
} }
</script> </script>
<template> <template>
<uni-popup ref="popup2" background-color="#fff" class="radius15"> <uni-popup ref="popup2" background-color="#fff" class="radius15">
<view class="popup-content radius15" style="padding: 30rpx 30rpx"> <view class="popup-content radius15" style="padding: 30rpx 30rpx">
<view class="font-size-mini4 font-weight-b" style="text-align: center">添加老师微信</view> <view class="font-size-mini4 font-weight-b" style="text-align: center">添加老师微信</view>
<image @click="previewImage" :show-menu-by-longpress="true" :src="ImagesConstant.customerServiceQrCode" style="width: 600rpx;height: 800rpx"/> <image @click="previewImage" :show-menu-by-longpress="true"
<view class="flexWrap marginTopBot20 margin-top-20"><text class="text">联系人周老师</text></view> :src="app.globalData.StaticConstant.contact.images" style="width: 600rpx;height: 600rpx" />
<view class="flexWrap marginTopBot20"><text class="text">电话15090658223(微信同号)</text></view> <view class="flexWrap marginTopBot20 margin-top-20"><text
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose" style="text-align: center">知道了</view> class="text">联系人{{app.globalData.StaticConstant.contact.personName}}</text></view>
<view class="flexWrap marginTopBot20"><text
class="text">电话{{app.globalData.StaticConstant.contact.personNumber}}(微信同号)</text></view>
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose"
style="text-align: center">知道了</view>
</view> </view>
</uni-popup> </uni-popup>
<!-- 普通弹窗 --> <!-- 普通弹窗 -->
<uni-popup ref="popup" background-color="#fff" class="radius15"> <uni-popup ref="popup" background-color="#fff" class="radius15">
<view class="popup-content radius15" style="padding: 30rpx 50rpx"> <view class="popup-content radius15" style="padding: 30rpx 50rpx">
<view class="font-size-mini4 font-weight-b" style="text-align: center">商务合作</view> <view class="font-size-mini4 font-weight-b" style="text-align: center">商务合作</view>
<view class="flexWrap marginTopBot20 margin-top-20"><text class="text">联系人周老师</text></view> <view class="flexWrap marginTopBot20 margin-top-20"><text
<view class="flexWrap marginTopBot20"><text class="text">电话15090658223(微信同号)</text></view> class="text">联系人{{app.globalData.StaticConstant.contact.personName}}</text></view>
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose" style="text-align: center">知道了</view> <view class="flexWrap marginTopBot20"><text
class="text">电话{{app.globalData.StaticConstant.contact.personNumber}}(微信同号)</text></view>
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose"
style="text-align: center">知道了</view>
</view> </view>
</uni-popup> </uni-popup>
<!--头部--> <!--头部-->
@ -213,7 +223,7 @@ export default {
<view class="uni-flex flex" style="padding: 30rpx 30rpx 0 30rpx" @click="goto('/pages/zyb/user/detail')"> <view class="uni-flex flex" style="padding: 30rpx 30rpx 0 30rpx" @click="goto('/pages/zyb/user/detail')">
<!--头像--> <!--头像-->
<view class="flex-item2 t1"> <view class="flex-item2 t1">
<image class="avatar" :src="avatar"/> <image class="avatar" :src="avatar" />
</view> </view>
<!--手机号--> <!--手机号-->
<view class="flex-item-7 t2"> <view class="flex-item-7 t2">
@ -227,7 +237,7 @@ export default {
</view> </view>
<!--按钮--> <!--按钮-->
<view class="flex-item2" style="padding-top: 60rpx;"> <view class="flex-item2" style="padding-top: 60rpx;">
<image class="arrow-right" :src="ImagesConstant.keyboard.arrowRight"/> <image class="arrow-right" :src="ImagesConstant.keyboard.arrowRight" />
</view> </view>
</view> </view>
<!--开通vip提示--> <!--开通vip提示-->
@ -237,14 +247,16 @@ export default {
<text> <text>
{{ vipInfo.skuName || 'VIP' }}到期时间{{ commonTool.dateFormatYYYYMMDD(vipInfo.validTime) }} {{ vipInfo.skuName || 'VIP' }}到期时间{{ commonTool.dateFormatYYYYMMDD(vipInfo.validTime) }}
</text> </text>
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx" @click="gotoOpenVip"> <text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx"
@click="gotoOpenVip">
查看更多 查看更多
</text> </text>
</view> </view>
<view class="flex-item-10 vipBackground" style="height: 50rpx;line-height: 50rpx;padding: 30rpx;" <view class="flex-item-10 vipBackground" style="height: 50rpx;line-height: 50rpx;padding: 30rpx;"
v-if="(!vipInfo) || !vipInfo.vipLevel || vipInfo.vipLevel===0"> v-if="(!vipInfo) || !vipInfo.vipLevel || vipInfo.vipLevel===0">
<text>升级为VIP, 准确查大学录取率</text> <text>升级为VIP, 准确查大学录取率</text>
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx" @click="gotoOpenVip"> <text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx"
@click="gotoOpenVip">
开通VIP 开通VIP
</text> </text>
</view> </view>
@ -260,19 +272,25 @@ export default {
<view class="flexWrap margin-left-30"> <view class="flexWrap margin-left-30">
<view class="flex-item-10"> <view class="flex-item-10">
<text class="margin-right-10">文化:{{ this.scoreInfo.culturalScore }}</text> <text class="margin-right-10">文化:{{ this.scoreInfo.culturalScore }}</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'">{{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}</text> <text class="margin-right-10"
<br v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'"/> v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'">{{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}</text>
<br v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'" />
<text v-if="scoreInfo && scoreInfo.yybysy">音表声乐:</text> <text v-if="scoreInfo && scoreInfo.yybysy">音表声乐:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybysy">{{ scoreInfo && scoreInfo.yybysy }}</text> <text class="margin-right-10"
v-if="scoreInfo && scoreInfo.yybysy">{{ scoreInfo && scoreInfo.yybysy }}</text>
<text v-if="scoreInfo && scoreInfo.yybyqy">音表器乐:</text> <text v-if="scoreInfo && scoreInfo.yybyqy">音表器乐:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybyqy">{{ scoreInfo && scoreInfo.yybyqy }}</text> <text class="margin-right-10"
v-if="scoreInfo && scoreInfo.yybyqy">{{ scoreInfo && scoreInfo.yybyqy }}</text>
<text v-if="scoreInfo && scoreInfo.yyjy">音乐教育:</text> <text v-if="scoreInfo && scoreInfo.yyjy">音乐教育:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yyjy">{{ scoreInfo && scoreInfo.yyjy }}</text> <text class="margin-right-10"
v-if="scoreInfo && scoreInfo.yyjy">{{ scoreInfo && scoreInfo.yyjy }}</text>
<!--表演类--> <!--表演类-->
<text v-if="scoreInfo && scoreInfo.fzby">服装表演:</text> <text v-if="scoreInfo && scoreInfo.fzby">服装表演:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.fzby">{{ scoreInfo && scoreInfo.fzby }}</text> <text class="margin-right-10"
v-if="scoreInfo && scoreInfo.fzby">{{ scoreInfo && scoreInfo.fzby }}</text>
<text v-if="scoreInfo && scoreInfo.xjysdy">影视导演:</text> <text v-if="scoreInfo && scoreInfo.xjysdy">影视导演:</text>
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.xjysdy">{{ scoreInfo && scoreInfo.xjysdy }}</text> <text class="margin-right-10"
v-if="scoreInfo && scoreInfo.xjysdy">{{ scoreInfo && scoreInfo.xjysdy }}</text>
<text v-if="scoreInfo && scoreInfo.xjysby">影视表演:</text> <text v-if="scoreInfo && scoreInfo.xjysby">影视表演:</text>
<text v-if="scoreInfo && scoreInfo.xjysby">{{ scoreInfo && scoreInfo.xjysby }}</text> <text v-if="scoreInfo && scoreInfo.xjysby">{{ scoreInfo && scoreInfo.xjysby }}</text>
</view> </view>
@ -283,21 +301,21 @@ export default {
<view class="flex-item-2" @click="gotoEditScore()"> <view class="flex-item-2" @click="gotoEditScore()">
<view class="" style="margin-top: 20rpx"> <view class="" style="margin-top: 20rpx">
<view style="width: 100rpx;text-align: center;position: relative;left: 20rpx"> <view style="width: 100rpx;text-align: center;position: relative;left: 20rpx">
<image :src="ImagesConstant.edit2" class="icon40"/> <image :src="ImagesConstant.edit2" class="icon40" />
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!--我的志愿--> <!--我的志愿-->
<button <!-- <button-->
open-type="im" <!-- open-type="im"-->
data-im-id="Shilo_" <!-- data-im-id="Shilo_"-->
bindim="imCallback" <!-- bindim="imCallback"-->
binderror="onimError" <!-- binderror="onimError"-->
> <!-- >-->
跳转 IM <!-- 跳转 IM-->
</button> <!-- </button>-->
<!-- <button class='contact-btn' open-type="im" bindim="imCallback" binderror="onimError" data-im-id="Shilo_">联系客服</button> --> <!-- <button class='contact-btn' open-type="im" bindim="imCallback" binderror="onimError" data-im-id="Shilo_">联系客服</button> -->
<view class="uni-flex flex trow1"> <view class="uni-flex flex trow1">
@ -319,7 +337,7 @@ export default {
</view> </view>
<view class="flex-item-2" @click="switchFillVolunteer"> <view class="flex-item-2" @click="switchFillVolunteer">
<view style="padding: 15rpx 0 15rpx 65rpx"> <view style="padding: 15rpx 0 15rpx 65rpx">
<image src="/static/icons/icons8-menu.png" class="icon32"/> <image src="/static/icons/icons8-menu.png" class="icon32" />
</view> </view>
</view> </view>
</view> </view>
@ -328,17 +346,16 @@ export default {
<view class="uni-flex flex" v-for="(item,index) in itemList" :key="index"> <view class="uni-flex flex" v-for="(item,index) in itemList" :key="index">
<!--联系客服--> <!--联系客服-->
<view class="flex-item-10" v-if="item.type==='contact' || item.type ==='im'"> <view class="flex-item-10" v-if="item.type==='contact' || item.type ==='im'">
{{item.type}}
<view class="uni-flex flex trow1-child"> <view class="uni-flex flex trow1-child">
<button class='contact-btn' :open-type="item.type" data-im-id="Shilo_">aa</button> <button class='contact-btn' :open-type="item.type" data-im-id="Shilo_">{{item.title}}</button>
<view class="flex-item-1"> <view class="flex-item-1">
<image :src="item.icon" class="icon40"/> <image :src="item.icon" class="icon40" />
</view> </view>
<view class="flex-item-8"> <view class="flex-item-8">
<text>{{item.title}}</text> <text>{{item.title}}</text>
</view> </view>
<view class="flex-item-1"> <view class="flex-item-1">
<image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx"/> <image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx" />
</view> </view>
</view> </view>
</view> </view>
@ -346,13 +363,13 @@ export default {
<view class="" <view class=""
:class="index===itemList.length-1?'uni-flex flex trow1-child-last':'uni-flex flex trow1-child'"> :class="index===itemList.length-1?'uni-flex flex trow1-child-last':'uni-flex flex trow1-child'">
<view class="flex-item-1"> <view class="flex-item-1">
<image :src="item.icon" style="width: 40rpx;height: 40rpx"/> <image :src="item.icon" style="width: 40rpx;height: 40rpx" />
</view> </view>
<view class="flex-item-8"> <view class="flex-item-8">
<text>{{ item.title }}</text> <text>{{ item.title }}</text>
</view> </view>
<view class="flex-item-1"> <view class="flex-item-1">
<image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx"/> <image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx" />
</view> </view>
</view> </view>
</view> </view>
@ -368,13 +385,14 @@ export default {
</template> </template>
<style scoped lang="scss"> <style scoped lang="scss">
.header { .header {
background: repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4); background: repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -ms-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4); background: -ms-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -webkit-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4); background: -webkit-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
background: -moz-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4); background: -moz-repeating-linear-gradient(#dcdaf7, #f7f7f7, #e6e4e4);
/*background: linear-gradient(131deg, rgb(18, 117, 236) 0%, rgb(122, 182, 249) 100%);*/ /*background: linear-gradient(131deg, rgb(18, 117, 236) 0%, rgb(122, 182, 249) 100%);*/
height: 340rpx; height: 340rpx;
/*头像*/ /*头像*/
.avatar { .avatar {
border-radius: 50%; border-radius: 50%;
@ -404,12 +422,13 @@ export default {
background-color: #e5620f; background-color: #e5620f;
border-radius: 40rpx 40rpx 0 0; border-radius: 40rpx 40rpx 0 0;
} }
} }
.body { .body {
background-color: #f4f5f7; background-color: #f4f5f7;
min-height: 880rpx; min-height: 880rpx;
padding: 30rpx; padding: 30rpx;
/*单行*/ /*单行*/
.trow1 { .trow1 {
background-color: #ffffff; background-color: #ffffff;
@ -435,17 +454,16 @@ export default {
border-bottom: none; border-bottom: none;
} }
} }
} }
// //
:deep(.contact-btn) { :deep(.contact-btn) {
display: inline-block; display: inline-block;
position: absolute; position: absolute;
width: 80%; width: 80%;
background: salmon; background: salmon;
// opacity: 0; opacity: 0;
// border-radius: 0; border-radius: 0;
} }
</style> </style>

View File

@ -6,12 +6,16 @@ import Request from '@/common/request'
import commonTool from "@/common/js/commonTool"; import commonTool from "@/common/js/commonTool";
import {stringIsNotEmpty} from "@/common/util"; import {stringIsNotEmpty} from "@/common/util";
let request = new Request() let request = new Request()
const app = getApp()
export default { export default {
name: "cardamom", name: "cardamom",
computed: { computed: {
StaticConstant() { StaticConstant() {
return StaticConstant return StaticConstant
} },
app() {
return app
},
}, },
data() { data() {
return { return {
@ -89,7 +93,7 @@ export default {
<view class="text-body"> <view class="text-body">
<text class="text-item">-适用范围:{{playerType}}文理科考生(自主招生暂不适用)</text> <text class="text-item">-适用范围:{{playerType}}文理科考生(自主招生暂不适用)</text>
<text class="text-item"> <text class="text-item">
-使用期限:自购买起截止到2024-08-31有效分数修改次数:每届服务期内高考分数放榜前每日可修改10次放榜后仅可修改1次 -使用期限:自购买起截止到{{app.globalData.StaticConstant.memberDeadline}}有效分数修改次数:每届服务期内高考分数放榜前每日可修改10次放榜后仅可修改1次
</text> </text>
<text class="text-item">-系统数据来源于{{ StaticConstant.bm }}部门由合作网站提供</text> <text class="text-item">-系统数据来源于{{ StaticConstant.bm }}部门由合作网站提供</text>
<text class="text-item"> <text class="text-item">

View File

@ -7,7 +7,7 @@ import ApiConstant from "@/common/ApiConstant";
import ImagesConstant from "@/common/ImagesConstant"; import ImagesConstant from "@/common/ImagesConstant";
import Request from '@/common/request'; import Request from '@/common/request';
import {stringIsNotEmpty} from "../../../common/util"; import {stringIsNotEmpty} from "../../../common/util";
const app = getApp()
let request = new Request() let request = new Request()
export default { export default {
name: "vip-index", name: "vip-index",
@ -18,6 +18,9 @@ export default {
}, },
StaticConstant() { StaticConstant() {
return StaticConstant return StaticConstant
},
app(){
return app
} }
}, },
data() { data() {

View File

@ -8,7 +8,7 @@ import ImagesConstant from "@/common/ImagesConstant";
import Request from '@/common/request'; import Request from '@/common/request';
import {stringIsNotEmpty} from "../../../common/util"; import {stringIsNotEmpty} from "../../../common/util";
import Image from "../../component/image/image.vue"; import Image from "../../component/image/image.vue";
const app = getApp()
let request = new Request() let request = new Request()
export default { export default {
name: "vip-index", name: "vip-index",
@ -19,6 +19,9 @@ export default {
}, },
StaticConstant() { StaticConstant() {
return StaticConstant return StaticConstant
},
app(){
return app
} }
}, },
data() { data() {
@ -214,7 +217,8 @@ export default {
模拟报志愿VIP 模拟报志愿VIP
</view> </view>
<view class="flex font-size-mini2 brown"> <view class="flex font-size-mini2 brown">
<text>{{item.skuCode==='9000'?'咨询详谈':'有效期截至2024-08-31'}}</text> <text v-if="item.skuCode==='9000'">咨询详谈</text>
<text v-else>'有效期截至{{app.globalData.StaticConstant.memberDeadline}}</text>
</view> </view>
</view> </view>
<view class="flex-item-3 brown marginRight" style="padding: 30rpx 0;text-align: right"> <view class="flex-item-3 brown marginRight" style="padding: 30rpx 0;text-align: right">

BIN
static/image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 524 B

BIN
static/plus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/uni.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -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
}
}
}

View File

@ -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
}
}
}

View File

@ -0,0 +1,17 @@
{
"name": "checkVersion",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "checkVersion",
"dependencies": {
"checkVersion": "file:"
}
},
"node_modules/checkVersion": {
"resolved": "",
"link": true
}
}
}