update,backup
This commit is contained in:
parent
75570095fd
commit
7f70a581c0
|
|
@ -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
18
App.vue
|
|
@ -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'])
|
||||||
|
|
|
||||||
|
|
@ -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},
|
||||||
|
|
|
||||||
|
|
@ -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,11 +72,24 @@ export default class Request {
|
||||||
try {
|
try {
|
||||||
uni.clearStorageSync();
|
uni.clearStorageSync();
|
||||||
} catch (e) {}
|
} catch (e) {}
|
||||||
//请登录
|
// 先显示提示框
|
||||||
wx.reLaunch({
|
uni.showModal({
|
||||||
url: '/pages/zyb/login',
|
title: '提示',
|
||||||
})
|
content: '该功能需要登录后使用喔~',
|
||||||
return;
|
confirmText: '去登录',
|
||||||
|
cancelText: '取消',
|
||||||
|
success: (res) => {
|
||||||
|
if (res.confirm) {
|
||||||
|
// 用户点击去登录
|
||||||
|
wx.reLaunch({
|
||||||
|
url: '/pages/zyb/login',
|
||||||
|
})
|
||||||
|
}else{
|
||||||
|
uni.navigateBack();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
// 将结果抛出
|
// 将结果抛出
|
||||||
resolve(res.data)
|
resolve(res.data)
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
2
main.js
2
main.js
|
|
@ -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)
|
||||||
|
|
|
||||||
|
|
@ -410,6 +410,13 @@
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "体育成绩计算器"
|
"navigationBarTitleText": "体育成绩计算器"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/zyb/testCultural/detail2",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "算投档",
|
||||||
|
"enablePullDownRefresh": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"subPackages": [
|
"subPackages": [
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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 : '??' }}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -235,9 +227,21 @@ export default {
|
||||||
console.log(this.scrollLeft, 60, id)
|
console.log(this.scrollLeft, 60, id)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
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
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
|
@ -215,7 +207,7 @@ export default {
|
||||||
}else{
|
}else{
|
||||||
// 只可以选两个
|
// 只可以选两个
|
||||||
if(this.scoreInfo.subjectList.length <= 1){
|
if(this.scoreInfo.subjectList.length <= 1){
|
||||||
this.scoreInfo.subjectList.push(e);
|
this.scoreInfo.subjectList.push(e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -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>
|
||||||
|
|
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -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 || '--' }}分 /</text>-->
|
||||||
|
<text>{{ scoreInfo && scoreInfo.province || '--' }} /</text>
|
||||||
|
<text> {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /</text>
|
||||||
|
<text> {{ 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>
|
||||||
|
|
@ -1,451 +1,469 @@
|
||||||
<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()
|
||||||
name: "user-index",
|
export default {
|
||||||
components: {},
|
name: "user-index",
|
||||||
computed: {
|
components: {},
|
||||||
commonTool() {
|
computed: {
|
||||||
return commonTool
|
commonTool() {
|
||||||
},
|
return commonTool
|
||||||
ImagesConstant() {
|
},
|
||||||
return ImagesConstant
|
ImagesConstant() {
|
||||||
},
|
return ImagesConstant
|
||||||
},
|
},
|
||||||
data() {
|
app() {
|
||||||
return {
|
return app
|
||||||
imId:'Shilo_',
|
},
|
||||||
systemName:'',
|
},
|
||||||
avatar: ImagesConstant.systemIcon,
|
data() {
|
||||||
userInfo: {},
|
return {
|
||||||
vipInfo: {},
|
imId: 'Shilo_',
|
||||||
scoreInfo: {},//成绩信息
|
systemName: '',
|
||||||
volunteerInfo: {},//当前志愿单信息
|
avatar: ImagesConstant.systemIcon,
|
||||||
itemList: [
|
userInfo: {},
|
||||||
{
|
vipInfo: {},
|
||||||
title: '会员卡激活',
|
scoreInfo: {}, //成绩信息
|
||||||
icon:'/static/icons/gif/icons8-cards.gif',
|
volunteerInfo: {}, //当前志愿单信息
|
||||||
url: '/pages/zyb/vip/cardamom'
|
itemList: [{
|
||||||
},
|
title: '会员卡激活',
|
||||||
// #ifdef MP-TOUTIAO
|
icon: '/static/icons/gif/icons8-cards.gif',
|
||||||
{
|
url: '/pages/zyb/vip/cardamom'
|
||||||
title: '我的订单',
|
},
|
||||||
icon:'/static/icons/gif/icons8-order.gif',
|
// #ifdef MP-TOUTIAO
|
||||||
url: '/pages/zyb/order/list'
|
{
|
||||||
},
|
title: '我的订单',
|
||||||
{
|
icon: '/static/icons/gif/icons8-order.gif',
|
||||||
title: '联系客服',
|
url: '/pages/zyb/order/list'
|
||||||
type:'im',
|
},
|
||||||
icon:'/static/icons/gif/icons8-customer-service.gif',
|
{
|
||||||
},
|
title: '联系客服',
|
||||||
// #endif
|
type: 'im',
|
||||||
// #ifdef MP-WEIXIN
|
icon: '/static/icons/gif/icons8-customer-service.gif',
|
||||||
{
|
},
|
||||||
title: '联系客服',
|
// #endif
|
||||||
type:'contact',
|
// #ifdef MP-WEIXIN
|
||||||
icon:'/static/icons/gif/icons8-customer-service.gif',
|
{
|
||||||
},
|
title: '联系客服',
|
||||||
{
|
type: 'contact',
|
||||||
title: '专家一对一',
|
icon: '/static/icons/gif/icons8-customer-service.gif',
|
||||||
//icon: '/static/icons/linear/calendar.png',
|
},
|
||||||
icon: '/static/icons/gif/icons8-man.gif',
|
{
|
||||||
url: '/pages/zyb/other/updateLogs'
|
title: '专家一对一',
|
||||||
},
|
//icon: '/static/icons/linear/calendar.png',
|
||||||
{
|
icon: '/static/icons/gif/icons8-man.gif',
|
||||||
title: '商务合作',
|
url: '/pages/zyb/other/updateLogs'
|
||||||
//icon: '/static/icons/linear/quest.png',
|
},
|
||||||
icon: '/static/icons/gif/icons8-cooperate.gif',
|
{
|
||||||
method:'cooperate',
|
title: '商务合作',
|
||||||
url: '/pages/zyb/other/commonProblem'
|
//icon: '/static/icons/linear/quest.png',
|
||||||
},
|
icon: '/static/icons/gif/icons8-cooperate.gif',
|
||||||
// #endif
|
method: 'cooperate',
|
||||||
|
url: '/pages/zyb/other/commonProblem'
|
||||||
|
},
|
||||||
|
// #endif
|
||||||
|
|
||||||
|
|
||||||
/*{
|
/*{
|
||||||
title: '更新快报',
|
title: '更新快报',
|
||||||
//icon: '/static/icons/linear/calendar.png',
|
//icon: '/static/icons/linear/calendar.png',
|
||||||
icon: '/static/icons/gif/icons8-calendar.gif',
|
icon: '/static/icons/gif/icons8-calendar.gif',
|
||||||
url: '/pages/zyb/other/updateLogs'
|
url: '/pages/zyb/other/updateLogs'
|
||||||
},*/
|
},*/
|
||||||
{
|
{
|
||||||
title: '我的收藏',
|
title: '我的收藏',
|
||||||
//icon: '/static/icons/linear/love.png',
|
//icon: '/static/icons/linear/love.png',
|
||||||
icon: '/static/icons/gif/icons8-loading-heart.gif',
|
icon: '/static/icons/gif/icons8-loading-heart.gif',
|
||||||
url: '/pages/zyb/user/myCollect'
|
url: '/pages/zyb/user/myCollect'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '使用说明',
|
title: '使用说明',
|
||||||
//icon: '/static/icons/linear/illustrate.png',
|
//icon: '/static/icons/linear/illustrate.png',
|
||||||
icon: '/static/icons/gif/detail.gif',
|
icon: '/static/icons/gif/detail.gif',
|
||||||
url: '/pages/zyb/other/useHelp'
|
url: '/pages/zyb/other/useHelp'
|
||||||
},
|
},
|
||||||
|
|
||||||
/* {
|
/* {
|
||||||
title: '问题反馈',
|
title: '问题反馈',
|
||||||
//icon: '/static/icons/linear/quest.png',
|
//icon: '/static/icons/linear/quest.png',
|
||||||
icon: '/static/icons/gif/icons8-doubt.gif',
|
icon: '/static/icons/gif/icons8-doubt.gif',
|
||||||
url: '/pages/zyb/other/commonProblem'
|
url: '/pages/zyb/other/commonProblem'
|
||||||
},*/
|
},*/
|
||||||
{
|
{
|
||||||
title: '常见问题',
|
title: '常见问题',
|
||||||
//icon: '/static/icons/linear/quest.png',
|
//icon: '/static/icons/linear/quest.png',
|
||||||
icon: '/static/icons/gif/icons8-doubt.gif',
|
icon: '/static/icons/gif/icons8-doubt.gif',
|
||||||
url: '/pages/zyb/other/commonProblem'
|
url: '/pages/zyb/other/commonProblem'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '设置',
|
title: '设置',
|
||||||
//icon: '/static/icons/linear/settings.png',
|
//icon: '/static/icons/linear/settings.png',
|
||||||
icon: '/static/icons/gif/icons8-wotuishi-settings.gif',
|
icon: '/static/icons/gif/icons8-wotuishi-settings.gif',
|
||||||
url: '/pages/zyb/settings'
|
url: '/pages/zyb/settings'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
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',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.vipInfo = uni.getStorageSync('vipInfo')
|
this.vipInfo = uni.getStorageSync('vipInfo')
|
||||||
this.getScore()
|
this.getScore()
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.systemName = commonTool.getSystemName()
|
this.systemName = commonTool.getSystemName()
|
||||||
if(this.systemName === '体育志愿宝'){
|
if (this.systemName === '体育志愿宝') {
|
||||||
this.playerType = '体育考生'
|
this.playerType = '体育考生'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
//获取成绩信息
|
//获取成绩信息
|
||||||
getScore() {
|
getScore() {
|
||||||
this.scoreInfo = uni.getStorageSync('scoreInfo')
|
this.scoreInfo = uni.getStorageSync('scoreInfo')
|
||||||
if (this.scoreInfo) {
|
if (this.scoreInfo) {
|
||||||
this.volunteerInfo = uni.getStorageSync('volunteer')
|
this.volunteerInfo = uni.getStorageSync('volunteer')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
gotoEditScore() {
|
gotoEditScore() {
|
||||||
console.log('前往修改成绩页面')
|
console.log('前往修改成绩页面')
|
||||||
this.goto('/pages/zyb/score/edit')
|
this.goto('/pages/zyb/score/edit')
|
||||||
},
|
},
|
||||||
switchFillVolunteer() {
|
switchFillVolunteer() {
|
||||||
this.goto('/pages/zyb/fillVolunteer/my')
|
this.goto('/pages/zyb/fillVolunteer/my')
|
||||||
},
|
},
|
||||||
/*前往开通vip*/
|
/*前往开通vip*/
|
||||||
gotoOpenVip() {
|
gotoOpenVip() {
|
||||||
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) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: e,
|
url: e,
|
||||||
nimationType: 'pop-in',
|
nimationType: 'pop-in',
|
||||||
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]
|
||||||
// },
|
// },
|
||||||
success: res => {
|
success: res => {
|
||||||
console.log('res', res);
|
console.log('res', res);
|
||||||
},
|
},
|
||||||
fail: err => {
|
fail: err => {
|
||||||
console.log('err', err);
|
console.log('err', err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
imCallback(e) {
|
imCallback(e) {
|
||||||
console.log("跳转IM客服成功", e.detail);
|
console.log("跳转IM客服成功", e.detail);
|
||||||
},
|
},
|
||||||
onimError(e) {
|
onimError(e) {
|
||||||
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>
|
<view class="flexWrap marginTopBot20"><text
|
||||||
</uni-popup>
|
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"
|
||||||
<uni-popup ref="popup" background-color="#fff" class="radius15">
|
style="text-align: center">知道了</view>
|
||||||
<view class="popup-content radius15" style="padding: 30rpx 50rpx">
|
</view>
|
||||||
<view class="font-size-mini4 font-weight-b" style="text-align: center">商务合作</view>
|
</uni-popup>
|
||||||
<view class="flexWrap marginTopBot20 margin-top-20"><text class="text">联系人:周老师</text></view>
|
<!-- 普通弹窗 -->
|
||||||
<view class="flexWrap marginTopBot20"><text class="text">电话:15090658223(微信同号)</text></view>
|
<uni-popup ref="popup" background-color="#fff" class="radius15">
|
||||||
<view class="font-size-mini4 font-weight-b margin-top-20 margin-top-20" @click="cooperateClose" style="text-align: center">知道了</view>
|
<view class="popup-content radius15" style="padding: 30rpx 50rpx">
|
||||||
</view>
|
<view class="font-size-mini4 font-weight-b" style="text-align: center">商务合作</view>
|
||||||
</uni-popup>
|
<view class="flexWrap marginTopBot20 margin-top-20"><text
|
||||||
<!--头部-->
|
class="text">联系人:{{app.globalData.StaticConstant.contact.personName}}</text></view>
|
||||||
<view class="header" style="z-index: 1">
|
<view class="flexWrap marginTopBot20"><text
|
||||||
<view class="uni-flex flex" style="padding: 30rpx 30rpx 0 30rpx" @click="goto('/pages/zyb/user/detail')">
|
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"
|
||||||
<view class="flex-item2 t1">
|
style="text-align: center">知道了</view>
|
||||||
<image class="avatar" :src="avatar"/>
|
</view>
|
||||||
</view>
|
</uni-popup>
|
||||||
<!--手机号-->
|
<!--头部-->
|
||||||
<view class="flex-item-7 t2">
|
<view class="header" style="z-index: 1">
|
||||||
<view class="flex font-weight-600">
|
<view class="uni-flex flex" style="padding: 30rpx 30rpx 0 30rpx" @click="goto('/pages/zyb/user/detail')">
|
||||||
<text style="line-height: 50rpx">{{ userInfo.realname }}</text>
|
<!--头像-->
|
||||||
</view>
|
<view class="flex-item2 t1">
|
||||||
<view class="flex">
|
<image class="avatar" :src="avatar" />
|
||||||
<text style="line-height: 50rpx">{{ scoreInfo.province }}</text>
|
</view>
|
||||||
<text style="line-height: 50rpx;font-size: 24rpx">/2024</text>
|
<!--手机号-->
|
||||||
</view>
|
<view class="flex-item-7 t2">
|
||||||
</view>
|
<view class="flex font-weight-600">
|
||||||
<!--按钮-->
|
<text style="line-height: 50rpx">{{ userInfo.realname }}</text>
|
||||||
<view class="flex-item2" style="padding-top: 60rpx;">
|
</view>
|
||||||
<image class="arrow-right" :src="ImagesConstant.keyboard.arrowRight"/>
|
<view class="flex">
|
||||||
</view>
|
<text style="line-height: 50rpx">{{ scoreInfo.province }}</text>
|
||||||
</view>
|
<text style="line-height: 50rpx;font-size: 24rpx">/2024</text>
|
||||||
<!--开通vip提示-->
|
</view>
|
||||||
<view class="uni-flex flex white" style="margin-top: 30rpx">
|
</view>
|
||||||
<view class="flex-item-10 vipBackground" style="height: 50rpx;padding: 30rpx"
|
<!--按钮-->
|
||||||
v-if="vipInfo && vipInfo.vipLevel>0">
|
<view class="flex-item2" style="padding-top: 60rpx;">
|
||||||
<text>
|
<image class="arrow-right" :src="ImagesConstant.keyboard.arrowRight" />
|
||||||
{{ vipInfo.skuName || 'VIP' }}到期时间:{{ commonTool.dateFormatYYYYMMDD(vipInfo.validTime) }}
|
</view>
|
||||||
</text>
|
</view>
|
||||||
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx" @click="gotoOpenVip">
|
<!--开通vip提示-->
|
||||||
查看更多
|
<view class="uni-flex flex white" style="margin-top: 30rpx">
|
||||||
</text>
|
<view class="flex-item-10 vipBackground" style="height: 50rpx;padding: 30rpx"
|
||||||
</view>
|
v-if="vipInfo && vipInfo.vipLevel>0">
|
||||||
<view class="flex-item-10 vipBackground" style="height: 50rpx;line-height: 50rpx;padding: 30rpx;"
|
<text>
|
||||||
v-if="(!vipInfo) || !vipInfo.vipLevel || vipInfo.vipLevel===0">
|
{{ vipInfo.skuName || 'VIP' }}到期时间:{{ commonTool.dateFormatYYYYMMDD(vipInfo.validTime) }}
|
||||||
<text>升级为VIP, 准确查大学录取率</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"
|
||||||
开通VIP
|
@click="gotoOpenVip">
|
||||||
</text>
|
查看更多
|
||||||
</view>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<view class="flex-item-10 vipBackground" style="height: 50rpx;line-height: 50rpx;padding: 30rpx;"
|
||||||
<view class="body" style="z-index: 2">
|
v-if="(!vipInfo) || !vipInfo.vipLevel || vipInfo.vipLevel===0">
|
||||||
<!--我的成绩-->
|
<text>升级为VIP, 准确查大学录取率</text>
|
||||||
<view class="uni-flex flex trow1">
|
<text class="float-right radius60" style="border: 1rpx solid white;padding: 0 20rpx"
|
||||||
<view class="flex-item-1">
|
@click="gotoOpenVip">
|
||||||
<text style="font-size: 24rpx">我的成绩</text>
|
开通VIP
|
||||||
</view>
|
</text>
|
||||||
<view class="flex-item-7 trow1-center">
|
</view>
|
||||||
<view class="flexWrap margin-left-30">
|
</view>
|
||||||
<view class="flex-item-10">
|
</view>
|
||||||
<text class="margin-right-10">文化:{{ this.scoreInfo.culturalScore }}分</text>
|
<view class="body" style="z-index: 2">
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'">{{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}分</text>
|
<!--我的成绩-->
|
||||||
<br v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'"/>
|
<view class="uni-flex flex trow1">
|
||||||
<text v-if="scoreInfo && scoreInfo.yybysy">音表声乐:</text>
|
<view class="flex-item-1">
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybysy">{{ scoreInfo && scoreInfo.yybysy }}分</text>
|
<text style="font-size: 24rpx">我的成绩</text>
|
||||||
<text v-if="scoreInfo && scoreInfo.yybyqy">音表器乐:</text>
|
</view>
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yybyqy">{{ scoreInfo && scoreInfo.yybyqy }}分</text>
|
<view class="flex-item-7 trow1-center">
|
||||||
<text v-if="scoreInfo && scoreInfo.yyjy">音乐教育:</text>
|
<view class="flexWrap margin-left-30">
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.yyjy">{{ scoreInfo && scoreInfo.yyjy }}分</text>
|
<view class="flex-item-10">
|
||||||
<!--表演类-->
|
<text class="margin-right-10">文化:{{ this.scoreInfo.culturalScore }}分</text>
|
||||||
<text v-if="scoreInfo && scoreInfo.fzby">服装表演:</text>
|
<text class="margin-right-10"
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.fzby">{{ scoreInfo && scoreInfo.fzby }}分</text>
|
v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'">{{scoreInfo.professionalCategory==='音乐类'?'主项':'统考'}}:{{ this.scoreInfo.professionalScore }}分</text>
|
||||||
<text v-if="scoreInfo && scoreInfo.xjysdy">影视导演:</text>
|
<br v-if="scoreInfo && scoreInfo.professionalCategory!=='表演类'" />
|
||||||
<text class="margin-right-10" v-if="scoreInfo && scoreInfo.xjysdy">{{ scoreInfo && scoreInfo.xjysdy }}分</text>
|
<text v-if="scoreInfo && scoreInfo.yybysy">音表声乐:</text>
|
||||||
<text v-if="scoreInfo && scoreInfo.xjysby">影视表演:</text>
|
<text class="margin-right-10"
|
||||||
<text v-if="scoreInfo && scoreInfo.xjysby">{{ scoreInfo && scoreInfo.xjysby }}分</text>
|
v-if="scoreInfo && scoreInfo.yybysy">{{ scoreInfo && scoreInfo.yybysy }}分</text>
|
||||||
</view>
|
<text v-if="scoreInfo && scoreInfo.yybyqy">音表器乐:</text>
|
||||||
</view>
|
<text class="margin-right-10"
|
||||||
</view>
|
v-if="scoreInfo && scoreInfo.yybyqy">{{ scoreInfo && scoreInfo.yybyqy }}分</text>
|
||||||
<view class="flexWrap margin-left-30"></view>
|
<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="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">
|
||||||
<view class="flex-item-1">
|
<view class="flex-item-1">
|
||||||
<text style="font-size: 24rpx">我的志愿</text>
|
<text style="font-size: 24rpx">我的志愿</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-item-7">
|
<view class="flex-item-7">
|
||||||
<view class="trow1-center" style="">
|
<view class="trow1-center" style="">
|
||||||
<view class="flex" v-if="scoreInfo && volunteerInfo">
|
<view class="flex" v-if="scoreInfo && volunteerInfo">
|
||||||
<text style="margin:0 30rpx">{{ volunteerInfo.volunteerName || '' }}</text>
|
<text style="margin:0 30rpx">{{ volunteerInfo.volunteerName || '' }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex" style="margin-left:30rpx;color:#c1c4cc">
|
<view class="flex" style="margin-left:30rpx;color:#c1c4cc">
|
||||||
<!-- <text>{{ scoreInfo && scoreInfo.professionalScore || '--' }}分 /</text>-->
|
<!-- <text>{{ scoreInfo && scoreInfo.professionalScore || '--' }}分 /</text>-->
|
||||||
<text>{{ scoreInfo && scoreInfo.province || '--' }} /</text>
|
<text>{{ scoreInfo && scoreInfo.province || '--' }} /</text>
|
||||||
<text> {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /</text>
|
<text> {{ scoreInfo && scoreInfo.cognitioPolyclinic ==='文科'?'历史组':'物理组' || '--' }} /</text>
|
||||||
<text> {{ scoreInfo && scoreInfo.professionalCategory || '--' }}</text>
|
<text> {{ scoreInfo && scoreInfo.professionalCategory || '--' }}</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</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>
|
||||||
<!--剩余选项-->
|
<!--剩余选项-->
|
||||||
<view class="trow1">
|
<view class="trow1">
|
||||||
<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_">{{item.title}}</button>
|
||||||
<button class='contact-btn' :open-type="item.type" data-im-id="Shilo_">aa</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>
|
<view class="flex-item-10" v-else @click="item.method==='cooperate'?cooperate() : goto(item.url)">
|
||||||
<view class="flex-item-10" v-else @click="item.method==='cooperate'?cooperate() : goto(item.url)">
|
<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>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<!---->
|
||||||
<!---->
|
<view class="uni-flex flex">
|
||||||
<view class="uni-flex flex">
|
<view class="flex-item-10" style="text-align: center;">
|
||||||
<view class="flex-item-10" style="text-align: center;">
|
<text>{{ systemName }}</text>
|
||||||
<text>{{ systemName }}</text>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
</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 {
|
|
||||||
border-radius: 50%;
|
|
||||||
width: 150rpx;
|
|
||||||
height: 148rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.arrow-right {
|
/*头像*/
|
||||||
width: 70rpx;
|
.avatar {
|
||||||
height: 70rpx;
|
border-radius: 50%;
|
||||||
position: absolute;
|
width: 150rpx;
|
||||||
right: 8rpx;
|
height: 148rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.t1 {
|
.arrow-right {
|
||||||
padding: 20rpx 0 0 0;
|
width: 70rpx;
|
||||||
}
|
height: 70rpx;
|
||||||
|
position: absolute;
|
||||||
|
right: 8rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.t2 {
|
.t1 {
|
||||||
padding: 40rpx 20rpx 0 20rpx;
|
padding: 20rpx 0 0 0;
|
||||||
font-weight: 500;
|
}
|
||||||
color: black;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*开通vip框*/
|
.t2 {
|
||||||
.vipBackground {
|
padding: 40rpx 20rpx 0 20rpx;
|
||||||
background-color: #e5620f;
|
font-weight: 500;
|
||||||
border-radius: 40rpx 40rpx 0 0;
|
color: black;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.body {
|
/*开通vip框*/
|
||||||
background-color: #f4f5f7;
|
.vipBackground {
|
||||||
min-height: 880rpx;
|
background-color: #e5620f;
|
||||||
padding: 30rpx;
|
border-radius: 40rpx 40rpx 0 0;
|
||||||
/*单行*/
|
}
|
||||||
.trow1 {
|
}
|
||||||
background-color: #ffffff;
|
|
||||||
border-radius: 15rpx;
|
|
||||||
padding: 20rpx 30rpx;
|
|
||||||
margin-bottom: 20rpx;
|
|
||||||
|
|
||||||
.trow1-center {
|
.body {
|
||||||
font-size: 24rpx;
|
background-color: #f4f5f7;
|
||||||
margin: 10rpx 0 0 20rpx;
|
min-height: 880rpx;
|
||||||
border-left: 5rpx solid #f1b481;
|
padding: 30rpx;
|
||||||
}
|
|
||||||
|
|
||||||
.trow1-child {
|
/*单行*/
|
||||||
margin-top: 20rpx;
|
.trow1 {
|
||||||
padding-bottom: 20rpx;
|
background-color: #ffffff;
|
||||||
border-bottom: 2rpx solid #f8f8f8;
|
border-radius: 15rpx;
|
||||||
}
|
padding: 20rpx 30rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
|
||||||
.trow1-child-last {
|
.trow1-center {
|
||||||
margin-top: 20rpx;
|
font-size: 24rpx;
|
||||||
padding-bottom: 20rpx;
|
margin: 10rpx 0 0 20rpx;
|
||||||
border-bottom: none;
|
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) {
|
: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>
|
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
|
|
@ -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,7 +18,10 @@ export default {
|
||||||
},
|
},
|
||||||
StaticConstant() {
|
StaticConstant() {
|
||||||
return StaticConstant
|
return StaticConstant
|
||||||
}
|
},
|
||||||
|
app(){
|
||||||
|
return app
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -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,7 +19,10 @@ export default {
|
||||||
},
|
},
|
||||||
StaticConstant() {
|
StaticConstant() {
|
||||||
return StaticConstant
|
return StaticConstant
|
||||||
}
|
},
|
||||||
|
app(){
|
||||||
|
return app
|
||||||
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -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">
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 524 B |
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
20
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package-lock.json
generated
Normal file
20
uni_modules/uni-config-center/uniCloud/cloudfunctions/common/uni-config-center/package-lock.json
generated
Normal 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
17
uni_modules/uni-upgrade-center-app/uniCloud/cloudfunctions/checkVersion/package-lock.json
generated
Normal file
17
uni_modules/uni-upgrade-center-app/uniCloud/cloudfunctions/checkVersion/package-lock.json
generated
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{
|
||||||
|
"name": "checkVersion",
|
||||||
|
"lockfileVersion": 3,
|
||||||
|
"requires": true,
|
||||||
|
"packages": {
|
||||||
|
"": {
|
||||||
|
"name": "checkVersion",
|
||||||
|
"dependencies": {
|
||||||
|
"checkVersion": "file:"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/checkVersion": {
|
||||||
|
"resolved": "",
|
||||||
|
"link": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue