This commit is contained in:
parent
e7705b1162
commit
86281a76b6
2
main.js
2
main.js
|
|
@ -29,7 +29,7 @@ export function createApp() {
|
|||
app.config.globalProperties.$system = plus.os.name;
|
||||
// #endif
|
||||
app.config.globalProperties.$systemInfo = systemInfo
|
||||
uni.setStorageSync('version', '1.0.6.sp11')
|
||||
uni.setStorageSync('version', '1.0.6.sp12')
|
||||
app.config.globalProperties.$version = uni.getStorageSync('version')
|
||||
app.use(globalMethods);
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<script setup>
|
||||
import DateTimePicker from '@/components/dengrq-datetime-picker/dateTimePicker/index.vue';
|
||||
import {
|
||||
reactive,
|
||||
ref,
|
||||
|
|
@ -18,7 +19,8 @@
|
|||
english: '140',
|
||||
physics: '75',
|
||||
chemistry: '85',
|
||||
biology: '79'
|
||||
biology: '79',
|
||||
time:'2025-6-25'
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -105,6 +107,18 @@
|
|||
function back() {
|
||||
uni.navigateBack()
|
||||
}
|
||||
function onChangeStartDate(e){
|
||||
editDialog.data.time=e
|
||||
console.log(e)
|
||||
}
|
||||
function getTime(times,status){
|
||||
let list=times.split('-')
|
||||
if(status){
|
||||
return list[0]+'年'
|
||||
}else{
|
||||
return list[0]+'年'+list[1]+'月'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
@ -132,7 +146,7 @@
|
|||
<view class="flexcontainer_1"><text class="text_3"> 菜单 </text>
|
||||
<image src="/static/image/other/score/chongqing/tab.png" />
|
||||
</view>
|
||||
<text class="text_4"> 2026年普通高考综合查询 </text>
|
||||
<text class="text_4"> {{ getTime(data.form.time,1) }}普通高考综合查询 </text>
|
||||
</view>
|
||||
<view class="group_48328">
|
||||
<text class="text_5"> 欢迎您,{{data.form.name}}({{data.form.idNumber}}) </text>
|
||||
|
|
@ -238,6 +252,12 @@
|
|||
<text>总分</text>
|
||||
<text style="flex:1;text-align:right;font-size:28rpx;color:#333;">{{editTotal}}</text>
|
||||
</view>
|
||||
<view class="formItem">
|
||||
<text>时间</text>
|
||||
<view style="width:100%;">
|
||||
<DateTimePicker :defaultDate="editDialog.data.time" :mode="1" @onChange="onChangeStartDate" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
<view class="btn-cancel" @click="editDialog.show=false">取消</view>
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@
|
|||
{{ getTime(data.form.time,0) }}
|
||||
</view>
|
||||
<view class="dec">
|
||||
{{ getTime(data.form.time,1) }}年广东省普通高等学校招生全国统一考试
|
||||
{{ getTime(data.form.time,1) }}广东省普通高等学校招生全国统一考试
|
||||
</view>
|
||||
</view>
|
||||
<image class="bgimg" src="/static/image/other/score/guandong/guandongbg.png" mode="widthFix"></image>
|
||||
|
|
@ -310,9 +310,9 @@
|
|||
</view>
|
||||
<view class="formItem">
|
||||
<text>时间</text>
|
||||
<view style="width:100%;">
|
||||
<DateTimePicker :defaultDate="editDialog.data.time" :mode="1" @onChange="onChangeStartDate" />
|
||||
</view>
|
||||
<view style="width:100%;">
|
||||
<DateTimePicker :defaultDate="editDialog.data.time" :mode="1" @onChange="onChangeStartDate" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
<script setup>
|
||||
import DateTimePicker from '@/components/dengrq-datetime-picker/dateTimePicker/index.vue';
|
||||
import {
|
||||
reactive,
|
||||
ref,
|
||||
|
|
@ -19,7 +20,8 @@
|
|||
english: '95',
|
||||
physics: '66',
|
||||
chemistry: '85',
|
||||
geography: '86'
|
||||
geography: '86',
|
||||
time:'2025-6-25'
|
||||
}
|
||||
});
|
||||
const total = computed(() => {
|
||||
|
|
@ -104,6 +106,18 @@
|
|||
function back(){
|
||||
uni.navigateBack()
|
||||
}
|
||||
function onChangeStartDate(e){
|
||||
editDialog.data.time=e
|
||||
console.log(e)
|
||||
}
|
||||
function getTime(times,status){
|
||||
let list=times.split('-')
|
||||
if(status){
|
||||
return list[0]+'年'
|
||||
}else{
|
||||
return list[0]+'年'+list[1]+'月'
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
@ -129,14 +143,14 @@
|
|||
<image src="/static/image/other/score/hebei/heibeiheaderBg.png" mode="widthFix" style="width: 100%;"></image>
|
||||
<view class="group_48368">
|
||||
<view class="rectangle_23396">
|
||||
<view class="flexcontainer"><text class="text_1"> 2025年河北省普通高校招生考试<br>成绩查询 </text></view>
|
||||
<view class="flexcontainer"><text class="text_1"> {{ getTime(data.form.time,1) }}河北省普通高校招生考试<br>成绩查询 </text></view>
|
||||
</view>
|
||||
<image src="/static/image/other/score/hebei/Watermark.png" mode="widthFix" class="watermark"></image>
|
||||
<view class="rectangle_23397" @click="openEditDialog">
|
||||
<view class="table2">
|
||||
<view class="flexcontainer_1">
|
||||
<view class="group_48370">
|
||||
<text class="text_2"> 姓名:{{data.form.name}} </text>
|
||||
<view class="text_2"> <text style="margin-right: 20rpx;margin-left:10rpx;"> 姓</text>名:{{data.form.name}} </view>
|
||||
<text class="text_3"> 考生号:{{data.form.examNumber}} </text>
|
||||
<text class="text_4"> 证件号:{{data.form.idNumber}} </text>
|
||||
</view>
|
||||
|
|
@ -259,6 +273,12 @@
|
|||
<text>总分</text>
|
||||
<text style="flex:1;text-align:right;font-size:28rpx;color:#333;">{{editTotal}}</text>
|
||||
</view>
|
||||
<view class="formItem">
|
||||
<text>时间</text>
|
||||
<view style="width:100%;">
|
||||
<DateTimePicker :defaultDate="editDialog.data.time" :mode="1" @onChange="onChangeStartDate" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="popup-footer">
|
||||
<view class="btn-cancel" @click="editDialog.show=false">取消</view>
|
||||
|
|
|
|||
Loading…
Reference in New Issue