master
parent
1d705d784f
commit
794f6b5b58
@ -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); //网络类型 wifi、2g、3g、4g、ethernet、unknown、none
|
||||
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>
|
||||
@ -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==
|
||||
|
||||
Binary file not shown.
@ -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"}}
|
||||
Binary file not shown.
@ -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"}}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue