lion 3 years ago
parent 1d705d784f
commit 794f6b5b58

@ -2,8 +2,8 @@
"name" : "苏州革命博物馆",
"appid" : "__UNI__88C5F11",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.0.2",
"versionCode" : 102,
"transformPx" : false,
/* 5+App */
"app-plus" : {

@ -1,10 +1,22 @@
{
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "苏州革命博物馆"
}
},
{
"path": "pages/index/usecode",
"style": {
"navigationBarTitleText": "苏州革命博物馆"
}
},
{
"path": "pages/index/fastenter",
"style": {
"navigationBarTitleText": "苏州革命博物馆"
}
}
],
"globalStyle": {

@ -0,0 +1,275 @@
<template>
<view class="content">
<yu-toast :duration="2000" ref='toasts' verticalAlign="center" :message="toastMessage"></yu-toast>
<!-- 打开快速入场 -->
<view class="popup-content">
<view class='popup-title'>快速入场</view>
<view class='popup-form'>
<uni-forms :modelValue="fastForm" ref='fastForm' :rules='rules' :label-width="80" label-align='right'>
<uni-forms-item name="type" label="当前时间">
<view style='line-height: 36px;'>{{today}} {{rule_time}}</view>
</uni-forms-item>
<uni-forms-item required name="type" label="入场类型">
<uni-data-checkbox v-model="fastForm.type" :localdata="typeList" />
</uni-forms-item>
<uni-forms-item v-if="fastForm.type==1" label="单位名称" name="unit">
<uni-easyinput type="text" v-model="fastForm.unit" placeholder="请输入单位名称" />
</uni-forms-item>
<uni-forms-item required label="联系人" name="leader">
<uni-easyinput type="text" v-model="fastForm.leader" placeholder="请输入姓名" />
</uni-forms-item>
<uni-forms-item label="手机号" name="mobile">
<uni-easyinput type="text" v-model="fastForm.mobile" placeholder="请输入手机号" />
</uni-forms-item>
<uni-forms-item required label="人数" name="total">
<uni-easyinput type="number" v-model="fastForm.total" placeholder="请输入人数" />
</uni-forms-item>
</uni-forms>
</view>
<view class='popup-btn'>
<button type="primary" @click="cancelFast" plain="true">取消</button>
<button type="primary" @click="confirmFast" plain="true">确认</button>
</view>
</view>
</view>
</template>
<script>
import yuToast from '@/components/yu-toast/yu-toast.vue';
export default {
components: {
yuToast
},
data() {
return {
hosts:'https://gbyuyue.szgmbwg.org.cn',
// hosts: 'https://gb-test.ali251.langye.net',
toastMessage:'',
today:'',
rule_time:'',
fastForm: {
date: '',
rule_id: '',
unit: "",
leader: "",
card_type: "",
idcard: '',
total: 1,
mobile: '',
type: 2,
is_disability: 0
},
rules:{
leader: {
rules: [{
required: true,
errorMessage: '请输入联系人',
}]
},
total: {
rules: [{
required: true,
errorMessage: '请输入人数',
}]
},
mobile:{
rules: [{
pattern:/^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/,
errorMessage: '请输入正确的手机号',
}]
}
},
typeList: [{
value: 2,
text: '个人'
}, {
value: 1,
text: '团队'
}]
}
},
onShow() {
let that = this
uni.getNetworkType({
success: function(res) {
console.log(res.networkType); // wifi2g3g4gethernetunknownnone
if (res.networkType === "none") {
console.log("当前无网络");
that.openToast('当前无网络')
} else {
}
}
});
this.getRule()
},
methods: {
openToast(message){
this.toastMessage = message
this.$refs.toasts.show()
},
//
cancelFast(e) {
uni.redirectTo({
url:'/pages/index/index'
})
},
confirmFast() {
var that = this
this.$refs.fastForm.validate().then(res=>{
var url = this.hosts + '/api/mobile/other/fast-enter'
uni.request({
url: url,
method: "post",
data: that.fastForm,
success(res) {
// that.$refs.popup.hide()
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
} else {
that.openToast('提交成功')
that.fastForm.leader = ''
that.fastForm.mobile = ''
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
}
} else {
that.openToast('请求失败')
}
},
fail() {
}
})
}).catch(err =>{
console.log('表单错误信息:', err);
})
},
getRule(){
var date = new Date()
var year = date.getFullYear()
var month = date.getMonth()+1<10? '0' + parseInt(date.getMonth()+1) : parseInt(date.getMonth()+1)
var day = date.getDate()<10? '0' + date.getDate() : date.getDate()
var hour = date.getHours()
var today = year + '-' + month + '-' + day
var that = this
var url = this.hosts + '/api/mobile/visit/get-calendar'
uni.request({
url: url,
method: "GET",
data: {
start_date: today,
end_date: today
},
success(res) {
console.log(res)
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
return
} else {
var rules = res.data[0].rules
for(var r of rules){
if(hour>=parseInt(r.start_time)&&hour<=parseInt(r.end_time)){
that.fastForm.date = today
that.fastForm.rule_id = r.id
that.today = today
that.rule_time = r.start_time + '-' + r.end_time
}
}
if(that.today==''){
that.openToast('当前时段不可预约')
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
return
}
}
} else {
that.openToast('请求失败')
}
},
fail() {
}
})
},
}
}
</script>
<style scoped>
.content {}
/deep/ .yu-toast-container{
z-index:99999999
}
/deep/ .uni-forms-item{
margin-bottom:40rpx!important
}
.btn input {
border: 1px solid #ddd;
height: 40px;
padding: 15px 10px;
margin: 10px;
margin-top: 30px;
font-size: 26px;
}
.admin {
text-align: center;
}
.admin button {
margin: 10px;
margin-top: 20px;
padding: 10px;
font-size: 24px;
}
.popup-content {}
.popup-title {
text-align: center;
font-size: 20px;
padding: 10px;
}
.popup-form {
margin: 20px;
overflow-y: scroll;
margin-top: 0;
}
/deep/ .uni-data-checklist {
margin-top: 5px !important;
}
.popup-btn {
text-align: center;
position: fixed;
bottom: 10px;
width: 100%;
}
.popup-btn button {
width: 40%;
display: inline-block;
margin: 0 10px;
}
.line36 {
line-height: 36px;
}
</style>

@ -2,7 +2,9 @@
<view class="content">
<yu-toast :duration="2000" ref='toasts' verticalAlign="center" :message="toastMessage"></yu-toast>
<view class="btn">
<!-- <button type="default" @click="scan"></button> -->
<!-- <button type="default" @click="scan"></button> -->
<!-- <uni-easyinput ref="inputs" v-model="code" type="text" placeholder="请扫码或输入入馆码" :focus="isfocus"/> -->
<input ref="inputs" v-model="code" type="text" placeholder="请扫码或输入入馆码" :focus="isfocus">
</view>
@ -13,140 +15,26 @@
<view class="admin">
<button type="primary" @click="openFast" plain="true">快速入场</button>
</view>
<!-- 订单信息 -->
<wyb-popup ref="order" type="bottom" :height="popheight" width="100%" radius="15" :maskClickClose='false'>
<view class="popup-content">
<view class='popup-title'>预约信息</view>
<view class='popup-form' :style="{'height':formheight+'rpx'}">
<uni-forms :modelValue="orderForm" :label-width="80" label-align='right'>
<uni-forms-item name="type" label="预约时段">
<view class='line36'>{{orderForm.dates}}</view>
</uni-forms-item>
<uni-forms-item name="type_name" label="入场类型">
<view class='line36'>{{orderForm.type_name}}</view>
</uni-forms-item>
<uni-forms-item v-if="orderForm.type==1" label="单位名称" name="unit">
<view class='line36'>{{orderForm.unit}}</view>
</uni-forms-item>
<uni-forms-item label="联系人" name="name">
<view class='line36'>{{orderForm.name}}</view>
</uni-forms-item>
<uni-forms-item label="手机号" name="mobile">
<view class='line36'>{{orderForm.mobile}}</view>
</uni-forms-item>
<uni-forms-item required label="人数" name="total">
<uni-easyinput type="number" v-model="orderForm.total" placeholder="请输入人数" />
</uni-forms-item>
</uni-forms>
</view>
<view class='popup-btn'>
<button type="primary" @click="cancelOrder" plain="true">取消</button>
<button type="primary" @click="confirmOrder" plain="true">确认</button>
</view>
</view>
</wyb-popup>
<!-- 打开快速入场 -->
<wyb-popup ref="popup" type="bottom" :height="popheight" width="100%" radius="15" :maskClickClose='false'>
<view class="popup-content">
<view class='popup-title'>快速入场</view>
<view class='popup-form' :style="{'height':formheight+'rpx'}">
<uni-forms :modelValue="fastForm" ref='fastForm' :rules='rules' :label-width="80" label-align='right'>
<uni-forms-item name="type" label="当前时间">
<view style='line-height: 36px;'>{{today}} {{rule_time}}</view>
</uni-forms-item>
<uni-forms-item required name="type" label="入场类型">
<uni-data-checkbox v-model="fastForm.type" :localdata="typeList" />
</uni-forms-item>
<uni-forms-item v-if="fastForm.type==1" label="单位名称" name="unit">
<uni-easyinput type="text" v-model="fastForm.unit" placeholder="请输入单位名称" />
</uni-forms-item>
<uni-forms-item required label="联系人" name="leader">
<uni-easyinput type="text" v-model="fastForm.leader" placeholder="请输入姓名" />
</uni-forms-item>
<uni-forms-item label="手机号" name="mobile">
<uni-easyinput type="text" v-model="fastForm.mobile" placeholder="请输入手机号" />
</uni-forms-item>
<uni-forms-item required label="人数" name="total">
<uni-easyinput type="number" v-model="fastForm.total" placeholder="请输入人数" />
</uni-forms-item>
</uni-forms>
</view>
<view class='popup-btn'>
<button type="primary" @click="cancelFast" plain="true">取消</button>
<button type="primary" @click="confirmFast" plain="true">确认</button>
</view>
</view>
</wyb-popup>
</view>
</template>
<script>
import wybPopup from '@/components/wyb-popup/wyb-popup.vue';
<script>
import yuToast from '@/components/yu-toast/yu-toast.vue';
export default {
components: {
wybPopup,
components: {
yuToast
},
data() {
return {
// hosts:'https://gbyuyue.szgmbwg.org.cn',
hosts: 'https://gb-test.ali251.langye.net',
hosts:'https://gbyuyue.szgmbwg.org.cn',
// hosts: 'https://gb-test.ali251.langye.net',
toastMessage:'',
code: "",
isfocus: true,
popheight: 0,
formheight: 0,
orderForm: {
},
today:'',
rule_time:'',
fastForm: {
date: '',
rule_id: '',
unit: "",
leader: "",
card_type: "",
idcard: '',
total: 1,
mobile: '',
type: 2,
is_disability: 0
},
rules:{
leader: {
rules: [{
required: true,
errorMessage: '请输入联系人',
}]
},
total: {
rules: [{
required: true,
errorMessage: '请输入人数',
}]
},
mobile:{
rules: [{
pattern:/^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/,
errorMessage: '请输入正确的手机号',
}]
}
},
typeList: [{
value: 2,
text: '个人'
}, {
value: 1,
text: '团队'
}]
}
},
onShow() {
let that = this
this.popheight = uni.getSystemInfoSync().screenHeight * 2 * .7
this.formheight = this.popheight * .6
uni.getNetworkType({
success: function(res) {
console.log(res.networkType); // wifi2g3g4gethernetunknownnone
@ -157,101 +45,52 @@
}
}
});
});
this.code = ''
this.isfocus = true
},
methods: {
openToast(message){
this.toastMessage = message
this.$refs.toasts.show()
},
//
openFast() {
this.getRule()
},
cancelFast(e) {
this.fastForm = {
date: '',
rule_id: '',
unit: "",
leader: "",
card_type: "",
idcard: '',
total: 1,
mobile: '',
type: 2,
is_disability: 0
},
this.$refs.popup.hide()
},
confirmFast() {
var that = this
this.$refs.fastForm.validate().then(res=>{
var url = this.hosts + '/api/mobile/other/fast-enter'
uni.request({
url: url,
method: "post",
data: that.fastForm,
success(res) {
// that.$refs.popup.hide()
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
} else {
that.openToast('提交成功')
that.fastForm.leader = ''
that.fastForm.mobile = ''
that.$refs.popup.hide()
}
} else {
that.openToast('请求失败')
}
},
fail() {
}
})
}).catch(err =>{
console.log('表单错误信息:', err);
})
openFast(){
uni.redirectTo({
url:'/pages/index/fastenter'
})
},
getRule(){
var date = new Date()
var year = date.getFullYear()
var month = date.getMonth()+1<10? '0' + parseInt(date.getMonth()+1) : parseInt(date.getMonth()+1)
var day = date.getDate()<10? '0' + date.getDate() : date.getDate()
var hour = date.getHours()
var today = year + '-' + month + '-' + day
//
getOrder() {
var that = this
var url = this.hosts + '/api/mobile/visit/get-calendar'
if(that.code==''){
this.openToast('核销码不能为空')
return
}
var url = this.hosts + '/api/mobile/other/code-show'
uni.request({
url: url,
method: "GET",
data: {
start_date: today,
end_date: today
code: that.code
},
success(res) {
console.log(res)
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
return
} else {
var rules = res.data[0].rules
for(var r of rules){
if(hour>=parseInt(r.start_time)&&hour<=parseInt(r.end_time)){
that.fastForm.date = today
that.fastForm.rule_id = r.id
that.today = today
that.rule_time = r.start_time + '-' + r.end_time
}
}
if(that.today==''){
that.openToast('当前时段不可预约')
if(Object.keys(res.data).length==0){
that.openToast('未查询到信息')
return
}
that.$refs.popup.show()
let resdata = res.data
if(resdata.order.type==2){
that.usecode()
}else{
uni.redirectTo({
url:'/pages/index/usecode?code='+that.code
})
}
}
} else {
that.openToast('请求失败')
@ -260,110 +99,39 @@
fail() {
}
})
},
//
getOrder() {
var that = this
if(that.code==''){
this.openToast('核销码不能为空')
return
}
var url = this.hosts + '/api/mobile/other/code-show'
uni.request({
url: url,
method: "GET",
data: {
code: that.code
},
success(res) {
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
} else {
console.log(res)
if(Object.keys(res.data).length==0){
that.openToast('未查询到信息')
return
}
let resdata = res.data
that.orderForm.dates = resdata.order.date+' ' + resdata.order.time
that.orderForm.type = resdata.order.type
that.orderForm.type_name = resdata.order.type==1?'团队':'个人'
that.orderForm.mobile = resdata.order.mobile
if(resdata.order.type==2){
that.orderForm.name = resdata.order_detail.name?resdata.order_detail.name:""
}else{
that.orderForm.name = resdata.order.leader?resdata.order.leader:""
that.orderForm.unit = resdata.order.unit?resdata.order.unit:""
}
that.orderForm.total = resdata.order.total
that.$forceUpdate();
that.$refs.order.show()
}
} else {
that.openToast('请求失败')
}
},
fail() {
}
})
},
cancelOrder(e) {
this.orderForm = {}
this.code = "";
this.$refs.order.hide()
this.isfocus = true
},
confirmOrder() {
this.usecode()
},
usecode() {
var url = this.hosts + '/api/mobile/other/code-use'
let that = this;
that.isfocus = false
uni.request({
url: url,
method: "GET",
data: {
code: that.code,
total:that.orderForm.total
},
success(res) {
if (res.statusCode == 200) {
},
usecode() {
var url = this.hosts + '/api/mobile/other/code-use'
let that = this;
that.isfocus = false
uni.request({
url: url,
method: "GET",
data: {
code: that.code
},
success(res) {
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
that.code = "";
that.isfocus = true
that.$refs.order.hide()
} else {
that.openToast('核销成功')
that.code = ""
that.code = ''
that.isfocus = true
that.orderForm = {}
that.$refs.order.hide()
}
}
} else {
that.openToast(res.data.errmsg)
that.code = "";
that.isfocus = true
that.$refs.order.hide()
}
},
fail() {
}
})
}
},
fail() {
}
})
}
}
}
@ -373,6 +141,9 @@
.content {}
/deep/ .yu-toast-container{
z-index:99999999
}
/deep/ .uni-forms-item{
margin-bottom:20rpx!important
}
.btn input {
border: 1px solid #ddd;
@ -405,7 +176,8 @@
.popup-form {
margin: 20px;
overflow-y: auto;
overflow-y: scroll;
margin-top: 0;
}
/deep/ .uni-data-checklist {

@ -0,0 +1,284 @@
<template>
<view class="content">
<yu-toast :duration="2000" ref='toasts' verticalAlign="center" :message="toastMessage"></yu-toast>
<!-- 订单信息 -->
<view class="popup-content">
<view class='popup-title'>预约信息</view>
<view class='popup-form'>
<uni-forms :modelValue="orderForm" :label-width="80" label-align='right'>
<uni-forms-item name="type" label="预约时段">
<view class='line36'>{{orderForm.dates}}</view>
</uni-forms-item>
<uni-forms-item name="type" label="预约状态">
<view class='line36'>{{orderForm.status_name}}</view>
</uni-forms-item>
<uni-forms-item name="type_name" label="入场类型">
<view class='line36'>{{orderForm.type_name}}</view>
</uni-forms-item>
<uni-forms-item v-if="orderForm.type==1" label="单位名称" name="unit">
<view class='line36'>{{orderForm.unit}}</view>
</uni-forms-item>
<uni-forms-item label="联系人" name="name">
<view class='line36'>{{orderForm.name}}</view>
</uni-forms-item>
<uni-forms-item label="手机号" name="mobile">
<view class='line36'>{{orderForm.mobile}}</view>
</uni-forms-item>
<uni-forms-item required label="人数" name="total" v-if='orderForm.type==1'>
<uni-easyinput v-if='orderForm.status==1' type="number" v-model="orderForm.total" placeholder="请输入人数" />
<view v-else class='line36'>{{orderForm.total}}</view>
</uni-forms-item>
</uni-forms>
</view>
<view class='popup-btn' v-if='orderForm.status==1'>
<button type="primary" @click="cancelOrder" plain="true">取消</button>
<button type="primary" v-if='orderForm.type==1' @click="confirmOrder" plain="true">确认</button>
<button type="primary" v-if='orderForm.type==2' @click="cancelAll" plain="true">确认</button>
</view>
<view v-else class='popup-btn'>
<button style='width:80%' type="primary" @click="cancelOrder" plain="true">取消</button>
</view>
</view>
</view>
</template>
<script>
import yuToast from '@/components/yu-toast/yu-toast.vue';
export default {
components: {
yuToast
},
data() {
return {
hosts:'https://gbyuyue.szgmbwg.org.cn',
// hosts: 'https://gb-test.ali251.langye.net',
toastMessage:'',
code: "",
isCancelAll:0,
orderForm: {
},
typeList: [{
value: 2,
text: '个人'
}, {
value: 1,
text: '团队'
}]
}
},
onShow() {
let that = this
},
onLoad(options){
this.code = options.code?options.code:''
this.getOrder()
},
methods: {
openToast(message){
this.toastMessage = message
this.$refs.toasts.show()
},
//
getOrder() {
var that = this
var url = this.hosts + '/api/mobile/other/code-show'
uni.request({
url: url,
method: "GET",
data: {
code: that.code
},
success(res) {
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
} else {
console.log(res)
if(Object.keys(res.data).length==0){
that.openToast('未查询到信息')
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
return
}
let resdata = res.data
that.orderForm.dates = resdata.order.date+' ' + resdata.order.time
that.orderForm.type = resdata.order.type
that.orderForm.type_name = resdata.order.type==1?'团队':'个人'
that.orderForm.mobile = resdata.order.mobile
if(resdata.order.type==2){
that.orderForm.name = resdata.order_detail.name?resdata.order_detail.name:""
that.orderForm.status_name = resdata.order_detail.status_name
that.orderForm.status = resdata.order_detail.status
}else{
that.orderForm.name = resdata.order.leader?resdata.order.leader:""
that.orderForm.unit = resdata.order.unit?resdata.order.unit:""
that.orderForm.status_name = resdata.order.status_name
that.orderForm.status = resdata.order.status
}
that.orderForm.total = resdata.order.total
that.$forceUpdate();
}
} else {
that.openToast('请求失败')
}
},
fail() {
}
})
},
cancelOrder(e) {
uni.redirectTo({
url:'/pages/index/index'
})
},
cancelAll(){
let that = this
if(this.orderForm.total==1){
this.isCancelAll = 0
this.usecode()
return
}
uni.showModal({
title:'提示',
content:`该订单下共有${this.orderForm.total}位参观人员,是否全部核销?`,
cancelText:'核销一人',
confirmText:'核销所有',
success:res=>{
if(res.confirm){
that.isCancelAll = 1
that.usecode()
console.log("all")
}
if(res.cancel){
that.isCancelAll = 0
that.usecode()
console.log('single')
}
}
})
},
confirmOrder() {
this.usecode()
},
usecode() {
var url = this.hosts + '/api/mobile/other/code-use'
let that = this;
that.isfocus = false
uni.request({
url: url,
method: "GET",
data: {
code: that.code,
total:that.orderForm.total,
all_order:that.isCancelAll
},
success(res) {
if (res.statusCode == 200) {
if (res.data.errcode) {
that.openToast(res.data.errmsg)
} else {
that.openToast('核销成功')
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
}
} else {
that.openToast(res.data.errmsg)
setTimeout(function(){
uni.redirectTo({
url:'/pages/index/index'
})
},1500)
}
},
fail() {
}
})
}
}
}
</script>
<style scoped>
.content {}
/deep/ .yu-toast-container{
z-index:99999999
}
/deep/ .uni-forms-item{
margin-bottom:20rpx!important
}
.btn input {
border: 1px solid #ddd;
height: 40px;
padding: 15px 10px;
margin: 10px;
margin-top: 30px;
font-size: 26px;
}
.admin {
text-align: center;
}
.admin button {
margin: 10px;
margin-top: 20px;
padding: 10px;
font-size: 24px;
}
.popup-content {}
.popup-title {
text-align: center;
font-size: 20px;
padding: 10px;
}
.popup-form {
margin: 20px;
overflow-y: scroll;
margin-top: 0;
}
/deep/ .uni-data-checklist {
margin-top: 5px !important;
}
.popup-btn {
text-align: center;
position: fixed;
bottom: 10px;
width: 100%;
}
.popup-btn button {
width: 40%;
display: inline-block;
margin: 0 10px;
}
.line36 {
line-height: 36px;
}
</style>

@ -1,3 +1,3 @@
andrCertfile=/Applications/HBuilderX.app/Contents/HBuilderX/plugins/app-safe-pack/Test.keystore
andrCertAlias=android
andrCertPass=ep/Tdjka4Y7WYqDB6/S7dw==
andrCertfile=/Users/mac/Documents/朗业/2023/s-苏州革命博物馆核销/0072907d4e6049678ffb18ae73f8f8bf.keystore
andrCertAlias=szgb
andrCertPass=wI+1KBLl5FJDl/s6gCfnBg==

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"苏州革命博物馆","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"苏州革命博物馆","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"苏州革命博物馆"}}];
var __uniConfig = {"pages":["pages/index/index","pages/index/usecode","pages/index/fastenter"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"苏州革命博物馆","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"苏州革命博物馆","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"苏州革命博物馆"}},{"path":"/pages/index/usecode","meta":{},"window":{"navigationBarTitleText":"苏州革命博物馆"}},{"path":"/pages/index/fastenter","meta":{},"window":{"navigationBarTitleText":"苏州革命博物馆"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__88C5F11","name":"苏州革命博物馆","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNI88C5F11","aliasname":"","password":"","keystore":"html5plus://test","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":"portrait-primary"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","adid":"122299150103"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__88C5F11","name":"苏州革命博物馆","version":{"name":"1.0.2","code":102},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":true,"delay":0,"target":"id:1","waiting":true},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"icon-android-hdpi.png","xhdpi":"icon-android-xhdpi.png","xxhdpi":"icon-android-xxhdpi.png","xxxhdpi":"icon-android-xxxhdpi.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"},"prerendered":"false"}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNI88C5F11","aliasname":"szgb","password":"wI+1KBLl5FJDl/s6gCfnBg==","keystore":"google-keystore.keystore","custompermissions":true},"apple":{"dSYMs":false,"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":"portrait-primary"},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html","adid":"122299150103"}}

@ -1,8 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"苏州革命博物馆","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"苏州革命博物馆","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"苏州革命博物馆"}}];
var __uniConfig = {"pages":["pages/index/index","pages/index/usecode","pages/index/fastenter"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"苏州革命博物馆","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"苏州革命博物馆","compilerVersion":"3.8.12","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"苏州革命博物馆"}},{"path":"/pages/index/usecode","meta":{},"window":{"navigationBarTitleText":"苏州革命博物馆"}},{"path":"/pages/index/fastenter","meta":{},"window":{"navigationBarTitleText":"苏州革命博物馆"}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -1 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__88C5F11","name":"苏州革命博物馆","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__88C5F11","name":"苏州革命博物馆","version":{"name":"1.0.2","code":102},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"render":"always","id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#F8F8F8"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"icons":{"android":{"hdpi":"unpackage/res/icons/72x72.png","xhdpi":"unpackage/res/icons/96x96.png","xxhdpi":"unpackage/res/icons/144x144.png","xxxhdpi":"unpackage/res/icons/192x192.png"},"ios":{"appstore":"unpackage/res/icons/1024x1024.png","ipad":{"app":"unpackage/res/icons/76x76.png","app@2x":"unpackage/res/icons/152x152.png","notification":"unpackage/res/icons/20x20.png","notification@2x":"unpackage/res/icons/40x40.png","proapp@2x":"unpackage/res/icons/167x167.png","settings":"unpackage/res/icons/29x29.png","settings@2x":"unpackage/res/icons/58x58.png","spotlight":"unpackage/res/icons/40x40.png","spotlight@2x":"unpackage/res/icons/80x80.png"},"iphone":{"app@2x":"unpackage/res/icons/120x120.png","app@3x":"unpackage/res/icons/180x180.png","notification@2x":"unpackage/res/icons/40x40.png","notification@3x":"unpackage/res/icons/60x60.png","settings@2x":"unpackage/res/icons/58x58.png","settings@3x":"unpackage/res/icons/87x87.png","spotlight@2x":"unpackage/res/icons/80x80.png","spotlight@3x":"unpackage/res/icons/120x120.png"}}},"splashscreen":{"androidStyle":"common"},"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{"dSYMs":false},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"uniStatistics":{"enable":false},"allowsInlineMediaPlayback":true,"uni-app":{"compilerVersion":"3.8.12","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"launch_path":"__uniappview.html"}}
Loading…
Cancel
Save