提交 c70c6d2d 编写于 作者: 王闪闪T013479

版本1.2 版本更新 附件下载

上级 befc6c95
<script>
import { mapMutations, mapActions } from 'vuex'
import { websocketUrl } from '@/common/config.js'
import { showToast } from '@/common/util.js'
// #ifdef APP-PLUS
import APPUpdate from "@/plugins/APPUpdate";
// #endif
export default {
globalData: {
isOpenWebsocket: false,
......@@ -15,6 +20,7 @@
// #ifdef APP-PLUS
setTimeout(() => {
plus.navigator.closeSplashscreen();
APPUpdate();
}, 2000);
// #endif
// 获取登录信息
......@@ -48,13 +54,13 @@
connectSocket(){
// this.socketTask.close()
this.globalData.socketTask = uni.connectSocket({
url: 'wss://paipai.ip189.lhyw.net:8282/',
url: websocketUrl,
data: {},
success(res) {
console.log(res)
// console.log(res)
},
fail(err){
console.log(err)
// console.log(err)
}
});
},
......@@ -112,12 +118,12 @@
reconnect(){
this.globalData.reconnectCount--;
if(this.globalData.reconnectCount > 0){
this.globalData.connectSocket()
this.connectSocket()
return true
}else {
return false
}
}
}
}
}
</script>
......
// 接口请求地址
let host = '';
// const websocketUrl = 'wss://paipai.ip189.lhyw.net:8282/'
const websocketUrl = 'wss://www.ppzxchina.cn:8282/'
// 图片、文件路径地址
// const absoluteHost = 'http://paipai.ip189.lhyw.net'
......@@ -12,5 +14,6 @@ const absoluteHost = "https://www.ppzxchina.cn"
export {
host,
absoluteHost
absoluteHost,
websocketUrl
}
\ No newline at end of file
......@@ -14,12 +14,9 @@ import md5 from 'js-md5'
import store from '../store/index'
const http = {
post(url, data = {}, config = {
loading: true,
show: false
}) {
post(url, data = {}, { loading = true, show = false, showTip = true} = {}) {
// 添加请求loading
config.loading && showLoading()
loading && showLoading()
// 入参添加时间戳
data.timestamp = formatDate('yyyyMMdd')
if (data.signcode) delete data.signcode
......@@ -32,15 +29,15 @@ const http = {
})
signcode += APP_CLIENT_KEY
data.signcode = md5(signcode)
config.show && console.log(data)
show && console.log(data)
return new Promise((resolve, reject) => {
uni.request({
url: host + url,
data: data || {},
method: 'POST',
success(res) {
config.show && console.log('post success', res)
config.loading && hideLoading()
show && console.log('post success', res)
loading && hideLoading()
// 请求状态码不等于200,提示
if (res.statusCode !== 200) {
showToast(res.errMsg)
......@@ -57,16 +54,17 @@ const http = {
url: '/pages/login/login'
})
store.commit('logout')
} else if (url != '/interfaces/lot/payoffer' || data.code != 410) {
}
if(showTip){
showToast(data.result)
}
reject(data)
}
}
},
fail(err) {
config.show && console.log('post fail', err)
showToast(err.errMsg)
config.loading && hideLoading()
show && console.log('post fail', err)
showToast('请求失败,请稍后再试!')
loading && hideLoading()
reject()
}
})
......
import { absoluteHost } from './config.js'
import {
absoluteHost
} from './config.js'
import store from '../store/index'
// Toast提示
function showToast(msg, duration){
function showToast(msg, duration) {
uni.showToast({
title: msg || '请求失败,请稍后再试!',
icon: 'none',
mask: true,
duration: duration || 1500
})
})
}
// loading开始
function showLoading(msg, duration){
store.commit("showLoading", true);//显示
function showLoading(msg, duration) {
store.commit("showLoading", true); //显示
}
// loading关闭
function hideLoading(msg, duration){
function hideLoading(msg, duration) {
// uni.hideLoading();
store.commit("showLoading", false);//隐藏
store.commit("showLoading", false); //隐藏
}
// 时间格式化
function formatDate(format, time) {
// 时间戳:php10位,js13位,拿到后台给的时间戳后需要乘以1000
if(time && String(time).length < 13) time = time * 1000
if(time){
if(isNaN(Number(time))){
if (time && String(time).length < 13) time = time * 1000
if (time) {
if (isNaN(Number(time))) {
return time
}
time = new Date(Number(time))
}else {
} else {
time = new Date()
}
var date = {
"M+": time.getMonth() + 1,
"d+": time.getDate(),
"h+": time.getHours(),
"m+": time.getMinutes(),
"s+": time.getSeconds(),
"q+": Math.floor((time.getMonth() + 3) / 3),
"S+": time.getMilliseconds()
"M+": time.getMonth() + 1,
"d+": time.getDate(),
"h+": time.getHours(),
"m+": time.getMinutes(),
"s+": time.getSeconds(),
"q+": Math.floor((time.getMonth() + 3) / 3),
"S+": time.getMilliseconds()
};
if (/(y+)/i.test(format)) {
format = format.replace(RegExp.$1, (time.getFullYear() + '').substr(4 - RegExp.$1.length));
format = format.replace(RegExp.$1, (time.getFullYear() + '').substr(4 - RegExp.$1.length));
}
for (var k in date) {
if (new RegExp("(" + k + ")").test(format)) {
format = format.replace(RegExp.$1, RegExp.$1.length == 1
? date[k] : ("00" + date[k]).substr(("" + date[k]).length));
}
if (new RegExp("(" + k + ")").test(format)) {
format = format.replace(RegExp.$1, RegExp.$1.length == 1 ?
date[k] : ("00" + date[k]).substr(("" + date[k]).length));
}
}
return format;
}
// 判断输入是否符合要求
function verify(str, type){
function verify(str, type) {
// 验证是否为空
if(type === 'empty' && (str === '' || str == null)){
return true
}
if (type === 'empty' && (str === '' || str == null)) {
return true
}
// 验证是否符合密码格式(6-18个字母、数字)
if(type === 'password' && !/^[0-9a-zA-z]{6,16}$/.test(str)){
return true
}
if (type === 'password' && !/^[0-9a-zA-z]{6,16}$/.test(str)) {
return true
}
// 验证是否是数字
if(type === 'number' && !/^[0-9]+$/.test(str)){
if (type === 'number' && !/^[0-9]+$/.test(str)) {
return true
}
// 验证是否符合手机号格式
if(type === 'phone' && !/^(13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8}$/.test(str)){
if (type === 'phone' && !/^(13[0-9]|14[01456879]|15[0-3,5-9]|16[2567]|17[0-8]|18[0-9]|19[0-3,5-9])\d{8}$/.test(str)) {
return true
}
// 验证是否符合手机号格式
if(type === 'bank' && !/^[1-9]{1}(\d{15})|(\d{18})$/.test(str)){
if (type === 'bank' && !/^[1-9]{1}(\d{15})|(\d{18})$/.test(str)) {
return true
}
return false
return false
}
// 验证手机号
function virifyPhone(phone){
if(verify(phone, 'empty')){
function virifyPhone(phone) {
if (verify(phone, 'empty')) {
showToast('手机号不能为空!')
return false
}
if(verify(phone, 'number')){
if (verify(phone, 'number')) {
showToast('手机号必须是数字!')
return false
}
if(verify(phone, 'phone')){
if (verify(phone, 'phone')) {
showToast('手机号格式不正确!')
return false
}
return true
}
function virifyRegisterPassword(password, password2){
if(verify(password, 'empty')){
showToast('密码不能为空!')
return false
}
if(verify(password, 'password')){
showToast('密码为6-16位数字、字母!')
return false
}
if(verify(password2, 'empty')){
showToast('确认密码不能为空!')
return false
}
if(password !== password2){
showToast('两次输入密码不一致!')
return false
}
function virifyRegisterPassword(password, password2) {
if (verify(password, 'empty')) {
showToast('密码不能为空!')
return false
}
if (verify(password, 'password')) {
showToast('密码为6-16位数字、字母!')
return false
}
if (verify(password2, 'empty')) {
showToast('确认密码不能为空!')
return false
}
if (password !== password2) {
showToast('两次输入密码不一致!')
return false
}
return true
}
function getAbsoluteUrl(url){
function getAbsoluteUrl(url) {
return absoluteHost + url
}
// 原始数据中的路径拼接成绝对路径
function filterDatasPath(datas, paths){
function filterDatasPath(datas, paths) {
datas.forEach((data) => {
paths.forEach((path) => {
data[path] = getAbsoluteUrl(data[path])
......@@ -136,11 +139,11 @@ function filterDatasPath(datas, paths){
}
// 拍品信息日期、图片路径转换
function filterGoodsTime(goods){
function filterGoodsTime(goods) {
const format = 'MM月dd日 hh:mm'
const format2 = 'yyyy-MM-dd hh:mm:ss'
const start_time = goods.start_time
const end_time = goods.end_time
const end_time = goods.end_time
goods.start_time = formatDate(format, start_time)
goods.start_time2 = formatDate(format2, start_time)
goods.end_time = formatDate(format, end_time)
......@@ -148,18 +151,19 @@ function filterGoodsTime(goods){
goods.earnest_end_time = formatDate(format2, goods.earnest_end_time)
goods.bidding_start_time = formatDate(format2, goods.bidding_start_time)
}
function filterGoodsList(goodsList){
goodsList.forEach(goods => {
filterGoodsTime(goods)
function filterGoodsList(goodsList) {
goodsList.forEach(goods => {
filterGoodsTime(goods)
goods.image_url = getAbsoluteUrl(goods.image_url)
})
})
}
// 项目公告数据格式化
function filterNoticeData(dataList, status){
if(status == 1){ //招商公告补全图片路径
function filterNoticeData(dataList, status) {
if (status == 1) { //招商公告补全图片路径
filterDatasPath(dataList, ['image_url'])
}else if(status == 2){
} else if (status == 2) {
dataList.forEach((data) => {
data.name = data.title
data.submit_time = data.reg_time
......@@ -170,17 +174,33 @@ function filterNoticeData(dataList, status){
})
}
// 千分位格式化
function investPrice(price) {
// console.log(Number(price).toLocaleString('en-US'))
// return Number(price).toLocaleString('en-US')
let data = Number(price)
return (
data &&
(data.toString().indexOf('.') !== -1 ?
data.toString().replace(/(\d)(?=(\d{3})+\.)/g, function($0, $1) {
return $1 + ','
}) :
data.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,'))
)
}
export {
showToast,
showLoading,
hideLoading,
formatDate,
verify,
filterGoodsList,
verify,
filterGoodsList,
filterGoodsTime,
getAbsoluteUrl,
filterDatasPath,
filterNoticeData,
virifyPhone,
virifyRegisterPassword
}
\ No newline at end of file
virifyRegisterPassword,
investPrice
}
......@@ -14,7 +14,7 @@
<view v-else>出局</view>
</view>
<view class="cell2">{{record.only}}</view>
<view class="cell3">{{record.big_money}}</view>
<view class="cell3">{{record.big_money == '已出价' ? '已出价' : investPrice(record.big_money)}}</view>
<view class="cell4">{{record.add_date}}<br>{{record.add_time}}</view>
<view class="cell5">{{record.bid_times}}</view>
</view>
......@@ -30,6 +30,7 @@
</template>
<script>
import { investPrice } from '@/common/util.js'
export default {
props: {
payRecords: {
......@@ -40,7 +41,10 @@
return {
};
}
},
methods: {
investPrice: investPrice,
}
}
</script>
......
......@@ -28,9 +28,9 @@
<view class="subTitle line2">{{goods.title}}</view>
<view class="subNumber line1">项目编号 : {{goods.item_num}}</view>
<view :class="[goods.show_type==3?'subPrice':'subPrice red']">起拍价
<text>{{goods.s_price}}</text></view>
<view v-if="goods.show_type!=3" class="subPrice">评估价 ¥<text>{{goods.v_price}}</text></view>
<view v-if="goods.show_type==3" class="subPrice red">成交价 ¥<text>{{goods.order_price}}</text></view>
<text>{{investPrice(goods.s_price)}}{{goods.unit}}</text></view>
<view v-if="goods.show_type!=3" class="subPrice">评估价 ¥<text>{{investPrice(goods.v_price)}}{{goods.unit}}</text></view>
<view v-if="goods.show_type==3" class="subPrice red">成交价 ¥<text>{{investPrice(goods.order_price)}}{{goods.unit}}</text></view>
</view>
</view>
<view class="subBot" v-if="showtime">
......@@ -45,6 +45,7 @@
</template>
<script>
import { investPrice } from '@/common/util.js'
export default {
props: {
bindLongpress: {
......@@ -69,6 +70,7 @@
computed: {
},
methods: {
investPrice: investPrice,
goodsEndType(goods){
if(goods.show_type == 3){
if(goods.is_take == 1) {
......
......@@ -10,13 +10,13 @@
tab: {
type: [Array, Object]
},
// activeIndex: {
// default: 0
// }
activeIndex: {
default: 0
}
},
data(){
return {
activeIndex: 0
// activeIndex: 0
}
},
mounted() {
......@@ -24,7 +24,7 @@
},
methods: {
tabClick(value) {
this.activeIndex=value;
// this.activeIndex=value;
this.$emit('getTabClick', value);
}
},
......
......@@ -2,8 +2,8 @@
"name" : "拍拍在线",
"appid" : "__UNI__0352911",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"versionName" : "1.2",
"versionCode" : 120,
"transformPx" : false,
"networkTimeout" : {
"request" : 60000
......@@ -28,20 +28,22 @@
"android" : {
/* android打包配置 */
"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\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<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\"/>"
]
},
......@@ -90,7 +92,8 @@
}
}
}
}
},
"nativePlugins" : {}
},
/* SDK配置 */
"quickapp" : {},
......
......@@ -4,7 +4,12 @@ import http from '@/common/request.js';
function sendsms(data){
return http.post('/interfaces/sendsms', data)
}
// 版本更新
function updateVersion(data){
return http.post('/interfaces/version', data)
}
export {
sendsms
sendsms,
updateVersion
}
\ No newline at end of file
......@@ -35,11 +35,11 @@ function getPayRecord(data){
}
// 拍品 - 保证金报名
function earnestSignUp(data){
return http.post('/interfaces/lot/remind', data)
return http.post('/interfaces/lot/remind', data, {showTip: false})
}
// 拍品详情 - 出价
function payOffer(data){
return http.post('/interfaces/lot/payoffer', data)
return http.post('/interfaces/lot/payoffer', data, {showTip: false})
}
// 拍品 - 订阅
function subscribeAdd(data){
......
{
"pages": [
{
"pages": [{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom",
......@@ -388,6 +387,15 @@
}
,{
"path" : "pages/fileDownload/fileDownload",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"tabBar": {
"color": "#666666",
......
<template>
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeTab"></pp-tab>
<pp-goods :goodsList="goodsList"></pp-goods>
<pp-no-more :noMore="loadEnd"></pp-no-more>
<pp-loading></pp-loading>
......
<template>
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<!-- 公告列表 -->
<template v-for="(list, index) in goodsList">
<template v-if="activeIndex == index">
......
<template>
<view class="container">
<view class="gs">所属联合体公司:无</view>
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<view class="swiper-box" v-if="activeIndex==0">
<swiper class="swiper-box" @change="change" :current="current">
<swiper-item v-for="(item ,index) in info" :key="index">
......
<template>
<view>
<web-view src="path"></web-view>
</view>
</template>
<script>
export default {
onLoad(option) {
this.path = option.path
},
data() {
return {
path: ''
}
},
methods: {
}
}
</script>
<style>
</style>
<template>
<view class="good-detail">
<!-- 拍品大图 -->
<view :class="['banner-box', goods.show_type == 4 ? 'yliupai' : goods.show_type == 3 && goods.is_take ==1 ? 'yhuishou' : '']">
<view :class="['banner-box', goods.show_type == 4 ? 'yliupai' : goods.show_type == 3 && goods.is_take ==1 ? 'yhuishou' : '', { 'big-banner': bigBanner }]" @click="bigBanner = !bigBanner">
<swiper class="banner" :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" :circular="true">
<swiper-item v-for="(img, index) in goods.multiImage" :key="index">
<image class="banner-image" :src="img" mode="aspectFill"></image>
<image class="banner-image" :src="img" :mode="bigBanner ? 'aspectFit' : 'aspectFill'"></image>
</swiper-item>
</swiper>
</view>
......@@ -14,20 +14,19 @@
<view class="good-info">
<view class="item"><text class="name">项目编号</text><text class="desc">{{goods.item_num}}</text></view>
<view class="item"><text class="name">竞拍结束</text><text class="desc">{{goods.end_time}}</text></view>
<view class="item" v-if="(goods.show_type == 2 && goods.type == 1) || goods.show_type == 8">
<text class="name">当 前 价</text><text class="price"><text class="sign"></text>{{goods.current_price}}{{goods.unit}}</text>
<view class="item" v-if="(goods.current_price && goods.show_type == 2 && goods.type == 1 ) || (goods.current_price && goods.show_type == 8)">
<text class="name">当 前 价</text><text class="price"><text class="sign"></text>{{investPrice(goods.current_price)}}{{goods.unit}}</text>
</view>
<view class="item" v-if="goods.show_type == 7">
<text class="name">您已出价</text><text class="price"><text class="sign"></text>{{goods.pay_one_price}}{{goods.unit}}</text>
<text class="name">您已出价</text><text class="price"><text class="sign"></text>{{investPrice(goods.pay_one_price)}}{{goods.unit}}</text>
<view class="pay-succ">
您已完成出价,请等待结束后公布结果
</view>
</view>
<view class="item" v-if="goods.show_type == 3 || goods.show_type == 5 "><text class="name">成 交 价</text><text class="price"><text class="sign"></text>{{goods.order_price}}{{goods.unit}}</text></view>
<view class="item" v-if="goods.show_type == 3 || goods.show_type == 5 "><text class="name">成 交 价</text><text class="price"><text class="sign"></text>{{investPrice(goods.order_price)}}{{goods.unit}}</text></view>
<view class="back-box" v-if="goods.show_type==2 || goods.show_type==1">
<text v-if="goods.show_type==2" class="back-text">距结束</text>
<text v-else class="back-text">距开始</text>
<!-- <text class="back-time">00 天 00 时 29 分 33 秒</text> -->
<text class="back-time">{{timeDifference}}</text>
</view>
<view class="back-box" v-if="payBtnCont == '出价' && payBtnDisable == true">
......@@ -41,11 +40,12 @@
</view>
</view>
<view class="good-info">
<view class="good-info-item"><text class="name">起拍价</text><text class="desc">¥{{goods.s_price}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">加价幅度</text><text class="desc">¥{{goods.range}}{{goods.unit}}</text></view>
<!-- <view class="good-info-item"><text class="name">起拍价</text><text class="desc">¥{{goods.s_price}}{{goods.unit}}</text></view> -->
<view class="good-info-item"><text class="name">起拍价</text><text class="desc">¥{{investPrice(goods.s_price)}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">加价幅度</text><text class="desc">¥{{investPrice(goods.range)}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">类 型</text><text class="desc">{{goods.type == 1 ? '网络竞价' : '询比价'}}</text></view>
<view class="good-info-item"><text class="name">服务费</text><text class="desc">{{goods.fee != 0 && goods.fee != null? goods.fee.indexOf('%') > -1 ? goods.fee : goods.fee + '' : ''}}</text></view>
<view class="good-info-item"><text class="name">评估价</text><text class="desc">¥{{goods.v_price}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">评估价</text><text class="desc">¥{{investPrice(goods.v_price)}}{{goods.unit}}</text></view>
<view class="good-info-item"><text class="name">竞价周期</text><text class="desc">{{goods.auction_cycle}}</text></view>
<view class="good-info-item"><text class="name">优先购买权</text><text class="desc">{{goods.is_preemption == 1 ? '' : ''}}</text></view>
<view class="good-info-item"><text class="name">保证金</text><text class="desc">¥{{goods.earnest}}</text></view>
......@@ -89,6 +89,16 @@
<view class="head">重要提醒</view>
<view class="tips rich-box" v-html="tips"></view>
</view>
<!-- 相关附件 -->
<view class="radius-box file-box">
<view class="head">相关附件</view>
<view class="file-list">
<view class="file-btn" v-for="(file, index) in goods.multiFiles" @click="downLoadFile(file.path, index)">
<view>【点击下载】{{file.name, file.percent}}</view>
<progress v-if="file.percent != null" class="file-progress" :percent="file.percent" activeColor="red" active stroke-width="8" show-info font-size="10" active-mode="forwards" border-radius="50"/>
</view>
</view>
</view>
<!-- 底部状态 -->
<!-- 报名交保证金 -->
......@@ -99,15 +109,17 @@
</template>
<template v-else>
<button v-if="goods.show_type == 3" type="primary" hover-class="none">
成交价:<text class="sign"></text>{{goods.order_price}}
成交价:<text class="sign"></text>{{investPrice(goods.order_price)}}
</button>
<button v-if="goods.show_type == 5" type="primary" hover-class="none">您已拍下,请保持通讯畅通</button>
<button v-if="goods.show_type == 6" type="primary" hover-class="none">很遗憾,您未拍下</button>
<button v-if="goods.show_type == 7" type="primary" hover-class="none">已出价:<text class="sign"></text>{{goods.pay_one_price}}</button>
<button v-if="goods.show_type == 7" type="primary" hover-class="none">已出价:<text class="sign"></text>{{investPrice(goods.pay_one_price)}}</button>
</template>
<!-- 失效资质提示 -->
<pp-popup ref="popup" title="提示" :content="quaOverStr" @confirm="toUserPage"></pp-popup>
<!-- 文件下载路径 -->
<pp-popup ref="downloadPopup" :cancel="false" title="请在文件管理中查看" content="文件路径:paipaichina/download/"></pp-popup>
<!-- 出价提示 -->
<pp-popup ref="payPopup" title="提示" :content="payTip" @confirm="confirmPay"></pp-popup>
<pp-loading></pp-loading>
......@@ -116,7 +128,7 @@
<script>
import { host } from '@/common/config.js'
import { showToast, formatDate, getAbsoluteUrl, filterGoodsTime } from '@/common/util.js'
import { showToast, formatDate, getAbsoluteUrl, filterGoodsTime, investPrice } from '@/common/util.js'
import { mapState } from 'vuex'
import {
getDetailInit,
......@@ -133,6 +145,16 @@
const app = getApp()
export default {
onUnload(){
// #ifdef APP-PLUS
console.log('onUnload')
plus.downloader.clear(undefined)
plus.downloader.clear(1)
plus.downloader.clear(2)
plus.downloader.clear(3)
plus.downloader.clear(5)
// #endif
},
onLoad(options){
this.goodsId = options.id
const user_token = this.userInfo.user_token
......@@ -143,6 +165,10 @@
}
// 页面初始化
getDetailInit(detailOptions).then((res) => {
if(!res.data) {
showToast('拍品不存在!')
return
}
const { subscribe, quaOverStr, goods } = res.data
this.subscribe = subscribe
this.quaOverStr = quaOverStr
......@@ -151,13 +177,16 @@
this.$refs.popup.popupOpen()
}
if(goods.multiImage){
goods.multiImage = goods.multiImage.map((img) => {
return getAbsoluteUrl(img)
})
}else{
goods.multiImage = [getAbsoluteUrl(goods.image_url)]
}
// 过滤图片路径为空的数据
let multiImage = goods.multiImage.filter(function(img){
return img !=null && img != ''
})
// 添加主图到轮播图
multiImage.unshift(goods.image_url)
// 相对路径 转为 绝对路径
goods.multiImage = multiImage.map((img) => {
return getAbsoluteUrl(img)
})
const end_time = formatDate('yyyy-MM-dd hh:mm:ss:SS', goods.end_time)
goods.end_time = end_time
......@@ -175,6 +204,7 @@
},
data() {
return {
bigBanner: false, // true:大图,false:小图
timer: '',
downTime: 0,
timeDifference: ' 00 天 00 时 00 分 00 秒',
......@@ -296,6 +326,44 @@
}
},
methods: {
downLoadFile(file, index){
const multiFiles = this.goods.multiFiles;
if(multiFiles[index].download){
showToast('正在下载...')
return
}
multiFiles[index].download = true
// #ifdef APP-PLUS
const dTask = plus.downloader.createDownload(getAbsoluteUrl(file), {
filename: 'file://storage/emulated/0/paipaichina/download/'
}, (res, status) => {
multiFiles[index].download = false
if(res.state === 4 && status === 200){
this.$refs.downloadPopup.popupOpen()
}
}, () => {
multiFiles[index].download = false
})
let progress = 0
multiFiles[index].percent = progress
dTask.addEventListener('statechanged', (res) => {
var totalSize = res.totalSize
var downloadedSize = res.downloadedSize
if(totalSize > 0){
const curProgress = Math.round(downloadedSize / totalSize * 100)
if(curProgress > progress){
progress = curProgress
multiFiles[index].percent = progress
}
}
}, false);
dTask.start();
// #endif
},
getFileName(filePath){
return filePath.split('/').pop()
},
investPrice: investPrice,
init(){
const user_token = this.userInfo.user_token
const detailOptions = {}
......@@ -308,7 +376,7 @@
app.initWebsocket({
id: this.goodsId,
token: this.userInfo.user_token
}, 'goods'+this.goodsId, (data) => {
}, 'goods', (data) => {
this.updateMsg(data)
})
}else {
......@@ -341,9 +409,7 @@
changeGoodsData(data){
filterGoodsTime(data)
var goods = this.goods
this.$set(goods, 'auction_cycle', data.auction_cycle)
this.$set(goods, 'audit_status', data.audit_status)
this.$set(goods, 'bidding_start_time', data.bidding_start_time)
this.$set(goods, 'bidding_time', data.bidding_time)
this.$set(goods, 'current_price', data.current_price)
this.$set(goods, 'delay_range', data.delay_range)
......@@ -369,16 +435,13 @@
this.$set(goods, 'preemption', data.preemption)
this.$set(goods, 'preemption_users', data.preemption_users)
this.$set(goods, 'r_price', data.r_price)
this.$set(goods, 'range', data.range)
this.$set(goods, 'real_endtime', data.real_endtime)
this.$set(goods, 'rules', data.rules)
this.$set(goods, 's_price', data.s_price)
this.$set(goods, 'show_type', data.show_type)
this.$set(goods, 'start_time', data.start_time)
this.$set(goods, 'start_time2', data.start_time2)
this.$set(goods, 'status', data.status)
this.$set(goods, 'type', data.type)
this.$set(goods, 'v_price', data.v_price)
},
bindSubscribe(e){
if(this.subscribe === 1){
......@@ -425,6 +488,11 @@
uni.navigateTo({
url: '/pages/pay/pay?money=' + this.goods.earnest + '&id=' + this.goodsId
})
}).catch((err) => {
if(err.code == '110'){
this.quaOverStr = err.result
this.$refs.popup.popupOpen()
}
})
},
pay(){
......@@ -449,6 +517,8 @@
if(err.code == 410){
this.payTip = err.result + '是否继续出价?'
this.$refs.payPopup.popupOpen()
}else {
showToast(err.result)
}
})
},
......@@ -523,11 +593,11 @@
if(data.id != this.goodsId) return
let show_type = data.show_type;
if(data.type == 2 && data.margin==1 && data.overtime_price) {
if (show_type == 2) {
showToast('恭喜您成功进入下一轮询比价出价,请再出一次价格!')
} else if (show_type == 7 || show_type == 8) {
showToast('本次竞拍您已被淘汰,您可参加其他竞拍继续出价!')
}
if (show_type == 2) {
showToast('恭喜您成功进入下一轮询比价出价,请再出一次价格!')
} else if (show_type == 7 || show_type == 8) {
showToast('本次竞拍您已被淘汰,您可参加其他竞拍继续出价!')
}
}
this.changeGoodsData(data)
this.initPayRecord()
......@@ -619,6 +689,23 @@
.banner-box.yhuishou:after {
background-image: url('@/static/yhuishou.png');
}
// 大图
.banner-box.big-banner {
position: fixed;
background: #000;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
}
.banner-box.big-banner .banner {
height: 100%;
}
.banner-box.big-banner .banner-image {
height: 100%;
}
/* 底部button */
uni-button[type=primary]{
position: fixed;
......@@ -630,12 +717,13 @@
border-radius: 0;
font-size: 30rpx;
}
/* 提醒 */
.tip-box {
/* 提醒,相关附件 */
.tip-box, .file-box {
padding-top: 30rpx;
padding-bottom: 30rpx;
}
.tip-box .head {
.tip-box .head,
.file-box .head{
line-height: 1;
padding-left: 20rpx;
border-left: 1rpx solid $pp-color-main;
......@@ -643,12 +731,15 @@
font-weight: bold;
color: $pp-color-main;
}
.tip-box .tip {
.file-box .file-list {
line-height: 1.4;
padding-top: 36rpx;
font-size: 22rpx;
padding: 20rpx;
font-size: 28rpx;
color: $pp-text-color-secondary;
}
.file-box .file-progress {
margin: 10rpx 20rpx 0;
}
/* 竞买记录 */
.pub-title {
......
......@@ -17,6 +17,11 @@
import { filterGoodsList } from '@/common/util.js'
export default {
onLoad(options) {
if(options.categoryCur){
this.categoryCur = options.categoryCur
}
},
onPullDownRefresh(){
this._initListInfo()
this._getList(function(){
......
......@@ -33,11 +33,9 @@
next-margin="40rpx" @change="changeBanner" circular>
<template v-for="(banner, index) in banners">
<swiper-item>
<navigator url="url" hover-class="none">
<view :class="['banner-item', bannerCurIndex == index ? 'on': '']">
<image class="banner-image" :src="banner.image_url" mode="aspectFill"></image>
</view>
</navigator>
<view :class="['banner-item', bannerCurIndex == index ? 'on': '']" @click="bannerNav(banner.typeapp, banner.urlapp)">
<image class="banner-image" :src="banner.image_url" mode="aspectFill"></image>
</view>
</swiper-item>
</template>
</swiper>
......@@ -84,12 +82,14 @@
</view>
</template>
<pp-loading></pp-loading>
<pp-popup ref="popup" title="发现新版本" content="确认下载更新" @confirm="confirmUpdate"></pp-popup>
<pp-popup ref="updateSuccess" content="更新成功,确定现在重启吗?" @confirm="restart"></pp-popup>
</view>
</template>
<script>
import { LIMIT } from '@/common/const.js'
import { filterDatasPath, filterGoodsList, showLoading } from '@/common/util.js'
import { filterDatasPath, filterGoodsList, showLoading, showToast } from '@/common/util.js'
import { mapState } from 'vuex'
import {
getBanner,
......@@ -99,7 +99,7 @@
getRecent,
getService
} from '@/model/index.js'
// import { websocket } from '@/common/websocket.js'
import { updateVersion } from '@/model/common.js'
const app = getApp()
function getRequestInfo(){
......@@ -125,10 +125,10 @@
this.init()
},
onReady() {
// #ifdef APP-PLUS
// this.updateApp()
// #endif
this.init()
// setTimeout(() => {
// this.updateMsg('index_update')
// },10000)
},
onShow(){
this.$nextTick(() => {
......@@ -144,6 +144,8 @@
},
data() {
return {
downloadTempFile: '',
appUrl: '',
banners: [],
bannerCurIndex: 0,
notices: [],
......@@ -161,13 +163,56 @@
name: '服务企业'
}],
categoryCur: 0,
requestInfo: getRequestInfo(),
requestInfo: getRequestInfo()
}
},
computed: {
...mapState(['hasLogin'])
},
methods: {
// 轮播图跳转
bannerNav(type, id){
// 跳转页面标识
let navUrl = ''
if(type == 1){
navUrl = '/pages/goods-detail/goods-detail?id=' + id
}else if(type == 2){
if(id){
navUrl = '/pages/noticeDetail/noticeDetail?id=' + id + '&status=1'
}else {
navUrl = '/pages/notice/notice?activeIndex=0'
}
}else if(type == 3){
if(id){
navUrl = '/pages/noticeDetail/noticeDetail?id=' + id + '&status=2'
}else {
navUrl = '/pages/notice/notice?activeIndex=1'
}
}else if(type == 4){
if(id){
navUrl = '/pages/noticeDetail/noticeDetail?id=' + id + '&status=3'
}else {
navUrl = '/pages/notice/notice?activeIndex=2'
}
}else if(type == 5){
navUrl = '/pages/serviceDetail/serviceDetail?id=' + id
}else if(type == 6){
navUrl = '/pages/goods/goods?categoryCur=1'
}else if(type == 7){
navUrl = '/pages/goods/goods?categoryCur=2'
}
// 判断是否跳转到tabbar
if(!id || type == 6 || type == 7){
uni.reLaunch({
url: navUrl
});
}else {
uni.navigateTo({
url: navUrl
})
}
},
// 页面初始化
init(){
Promise.all([getBanner({type: 5 }),getNotice(),this._getList(0),this._getList(1),this._getList(2),this._getList(3)]).then(res => {
......@@ -202,7 +247,7 @@
}
},
bannerCallback(res){
const banners = res.data
let banners = res.data
filterDatasPath(banners, ['image_url'])
this.banners = banners
},
......@@ -251,6 +296,98 @@
}).catch((res) => {
requestInfo.loadEnd = 2
})
},
updateApp() {
updateVersion().then((data) => {
console.log(data)
plus.runtime.getProperty(plus.runtime.appid, (inf) => {
if(inf.version != data.data.version){
this.appUrl = data.data.app_url
this.$refs.popup.popupOpen()
}
});
})
},
confirmUpdate(){
const downloadTask = uni.downloadFile({//执行下载
url: this.appUrl, //下载地址
success: downloadResult => {//下载成功
if (downloadResult.statusCode == 200) {
this.downloadTempFile = downloadResult.tempFilePath
this.$refs.updateSuccess.popupOpen()
}
},
fail: (err) => {
showToast('失败请重新下载')
}
});
downloadTask.onProgressUpdate(res => {
// console.log(res)
})
},
restart(){
plus.runtime.install(//安装
this.downloadTempFile, {
force: true
},
function(res) {
utils.showToast('更新成功,重启中');
plus.runtime.restart();
}
);
},
updateAppOld() {
updateVersion().then((data) => {
plus.runtime.getProperty(plus.runtime.appid, function(inf) {
if(inf.version != data.data.version){
uni.showModal({
title: "发现新版本",
content: "确认下载更新",
cancelColor: '#999',
confirmText: '确定',
confirmColor: '#fe5341',
success: (res) => {
if (res.confirm == true) {//当用户确定更新,执行更新
uni.downloadFile({//执行下载
url: data.data.app_url, //下载地址
success: downloadResult => {//下载成功
if (downloadResult.statusCode == 200) {
uni.showModal({
title: '',
content: '更新成功,确定现在重启吗?',
confirmText: '重启',
confirmColor: '#fe5341',
success: function(res) {
if (res.confirm == true) {
plus.runtime.install(//安装
downloadResult.tempFilePath, {
force: true
},
function(res) {
utils.showToast('更新成功,重启中');
plus.runtime.restart();
}
);
}
}
});
}
},
fail: (err) => {
uni.showToast({
icon: 'none',
mask: true,
title: '失败请重新下载',
});
}
});
}
}
})
}
});
})
}
}
}
......
<template>
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<!-- 公告列表 -->
<template v-for="(list, index) in goodsList">
<template v-if="activeIndex == index">
......
......@@ -19,7 +19,7 @@
<view class="selectTime ">
选择时间 <input type="text" :value="startDate" disabled @click="open(1)"> - <input type="text" :value="endDate" disabled @click="open(2)">
</view>
<pp-tab :tab="tab" @getTabClick="getTabClick" activeIndex="0"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<view class="lists" v-if="activeIndex==0">
<template v-for="income in balanceIncome">
<view class="list">
......
<template>
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<template v-for="(notice, index) in notices">
<view v-show="activeIndex == index">
<pp-announ-list :status="notice.status" :notice-list="notice.list" :isImg="notice.isImg"></pp-announ-list>
......@@ -20,6 +20,9 @@
getNoticeProject,
getNoticeCompony
} from '@/model/notice.js'
// #ifdef APP-PLUS
import APPUpdate, { getCurrentNo } from "@/plugins/APPUpdate";
// #endif
function getNoticeInfo(){
return [{
......@@ -58,7 +61,18 @@
uni.stopPullDownRefresh();
})
},
onLoad() {
onLoad(options) {
// #ifdef APP-PLUS
// getCurrentNo(res => {
// // 进页面获取当前APP版本号(用于页面显示)
// this.version = res.version;
// });
APPUpdate(true);
// #endif
if(options.activeIndex){
this.activeIndex = options.activeIndex
}
// 调用公告配置接口
getNoticeConfig().then((res)=>{
const data = res.data
......@@ -78,6 +92,7 @@
},
data() {
return {
// version: '',
tab: [],
isImg:true, //是否显示左侧缩略图
activeIndex:0, //0招商公告 1项目公告 2公司公告
......
......@@ -20,7 +20,7 @@
<script>
import { LIMIT } from '@/common/const.js'
import { filterNoticeData, filterGoodsList } from '@/common/util.js'
import { filterNoticeData, filterGoodsList, showToast } from '@/common/util.js'
import {
getNoticeDetail
} from '@/model/notice.js'
......@@ -49,6 +49,10 @@
// 请求接口详情数据
getNoticeDetail(options).then((res) => {
const data = res.data
if(!res.data.info){
showToast('公告不存在!')
return
}
filterNoticeData([data.info], status)
this.noticeDetail = data.info
if(status == 2){
......
<template>
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<!-- 公告列表 -->
<template v-for="(list, index) in goodsList">
<template v-if="activeIndex == index">
......
......@@ -19,6 +19,11 @@
<text class="pay-text">对公支付</text>
</view>
</view>
<view class="pass-popup" v-show="payType === '1'">
<view class="pass">
<text class="title">密码:</text><input type="password" placeholder="请输入" v-model="password" :focus="true"/>
</view>
</view>
<view class="warn">
个人银行卡支付<br />
如使用个人的支付方式充值或缴纳保证金,手续费自行承担
......@@ -29,7 +34,7 @@
<text class="sign"></text>
<text class="price">{{money}}</text>
</view>
<button class="go-pay" @tap="pay" type="default">去支付</button>
<button class="go-pay" @tap="completed" type="default">去支付</button>
</view>
<!-- <uni-popup ref="popup">
<view class="pass-popup">
......@@ -39,11 +44,8 @@
</view>
</view>
</uni-popup> -->
<pp-input-password ref="popup" @completed="completed"></pp-input-password>
<!-- <pp-input-password ref="popup" @completed="completed"></pp-input-password> -->
<pp-loading></pp-loading>
<!-- <pp-popup ref="popup">
</pp-popup> -->
</view>
</template>
......@@ -75,11 +77,11 @@
this.$refs.popup.toOpen()
}
},
completed(value){
completed(){
payRemindBalance({
token: this.$store.state.userInfo.user_token,
id: this.goodsId,
pwd: value
pwd: this.password
}).then(res => {
uni.navigateBack()
}).catch(res => {
......@@ -208,15 +210,17 @@
/* 输入密码弹框 */
.pass-popup {
background: #fff;
padding: 40rpx;
padding: 20rpx;
margin: 20rpx;
border-radius: 20rpx;
}
.pass-popup .pass {
display: flex;
align-items: center;
}
.pass-popup .title {
font-size: 16px;
text-align: center;
margin-bottom: 20rpx;
}
.pass-popup .pass {
text-align: center;
margin-right: 60rpx;
}
</style>
<template>
<!-- 缺少审核状态 -->
<view class="container">
<pp-tab :tab="tab" @getTabClick="getTabClick"></pp-tab>
<pp-tab :tab="tab" @getTabClick="getTabClick" :activeIndex="activeIndex"></pp-tab>
<view class="leftBox" v-if="activeIndex==0">
<template v-for="(natural, index) in naturalList">
<navigator class="list" url="/pages/qualityManagementSee/qualityManagementSee" @click="goDetail(index)" hover-class="none">
......@@ -120,7 +120,7 @@
options.id = this.naturalList[this.delIndex].id
this._deleteNatural(options)
}else {
options.id = this.enrollList[this.delIndex].id
options.id = this.enrollList[this.delIndex].sid
this._deleteEnroll(options)
}
......
......@@ -34,7 +34,7 @@
<script>
import { LIMIT } from '@/common/const.js'
import { getAbsoluteUrl, filterGoodsList } from '@/common/util.js'
import { getAbsoluteUrl, filterGoodsList, showToast } from '@/common/util.js'
import { getServiceDetail } from '@/model/index.js'
export default {
onLoad(options) {
......@@ -80,13 +80,17 @@
},
getDetail(){
if (this.loadEnd === 1) return
console.log(this);
const options = this.$refs.secCate.subCateOptions
options.id = this.serviceId
options.page = this.page
options.limit = LIMIT
getServiceDetail(options).then(res => {
console.log('getServiceDetail', res)
if(!res.data.info){
showToast('服务企业不存在!')
return
}
if(this.serviceInfo.id == null){
const info = res.data.info
info.special_img = getAbsoluteUrl(info.special_img)
......
# APP版本更新、强制更新、漂亮的更新界面、IOS更新(跳转IOS store)、wgt更新
| `QQ交流群(607391225)` | `微信交流群` |
| ----------------------------|--------------------------- |
|![QQ交流群](http://qn.kemean.cn//upload/202004/14/15868301778472k7oubi6.png)|![微信交流群](http://8.129.186.35/images/weiXin_group_code.jpg)|
### [点击跳转-插件示例](https://ext.dcloud.net.cn/plugin?id=2009)
### [点击跳转-5年的web前端开源的uni-app快速开发模板-下载看文档](https://ext.dcloud.net.cn/plugin?id=2009)
### 常见问题
1.安卓apk下载完成后没有更新APP?
答:问题是因为没有添加APP安装应用的权限,解决方法在`manifest.json`文件里面`APP模块权限配置``Android打包权限配置`勾选以下权限
```
<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>
<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>
```
若还有问题请看[安装apk无法执行的解决方案](https://ask.dcloud.net.cn/article/35703 "安装apk无法执行的解决方案")
2.APP更新后版本号没变,还是之前的版本号?
答:可能是更新的安装包没有升级版本号,`manifest.json`文件里面基本设置`应用版本号``应用版本名称`需要升高(保持一直减少问题)
3.APP更新后没有覆盖之前的APP?
答:可能是更新的安装包`包名`和APP的`包名`不一样
4.弹窗的图标不显示?
答:检查图片是不是放项目资源文件`static`,然后重新运行项目
### 第一步配置APP更新接口
`APPUpdate.js`里面`getServerNo`函数方法配置更新接口
```
let httpData = {
version:version
};
if (platform == "android") {
httpData.type = 1101;
} else {
httpData.type = 1102;
}
/* 接口入参说明
* version: 应用当前版本号(已自动获取)
* type:平台(1101是安卓,1102是IOS)
*/
// 可以用自己项目的请求方法
$http.get("api/kemean/aid/app_version", httpData).then(res => {
/*接口出参说明 (res数据说明)
* | 参数名称 | 一定返回 | 类型 | 描述
* | -------------|--------- | --------- | ------------- |
* | versionCode | y | int | 版本号 |
* | versionName | y | String | 版本名称 |
* | versionInfo | y | String | 版本信息 \n 换行(例如:1.修改了bug1 \n 2.修改了bug2 \n 3.修改了bug3) |
* | forceUpdate | y | boolean | 是否强制更新 |
* | downloadUrl | y | String | 版本下载链接 `IOS安装包更新请放跳转store应用商店链接,安卓apk和wgt文件放文件下载链接` |
*/
// 只要callback上面的数据就ok(返回数据就表示接口允许更新)
// 示例返回数据
callback && callback({
versionCode: 101,
versionName: "1.0.1",
versionInfo: "1.修改了bug1 \n 2.修改了bug2 \n 3.修改了bug3",
forceUpdate: false,
downloadUrl: "http://www.xxx.com/download/123",
});
});
```
### 第二步 使用方法
```
// App.vue页面
// #ifdef APP-PLUS
import APPUpdate from "@/plugins/APPUpdate";
// #endif
onLaunch: function(e) {
// #ifdef APP-PLUS
APPUpdate();
// #endif
}
```
### 第三步 添加APP安装应用的权限
`manifest.json`文件里面`APP模块权限配置``Android打包权限配置`勾选以下权限
```
<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>
<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>
```
### 修改弹窗的主题色或弹窗图标
`APPUpdate.js`里面上面`$mainColor`常量中定义主题颜色,`$iconUrl`常量中定义图标地址
### 检查APP是否有新版本(一般在设置页面使用)
```
// #ifdef APP-PLUS
import APPUpdate, { getCurrentNo } from "@/plugins/APPUpdate";
// #endif
export default {
data() {
return {
version: "" // 版本号
};
},
//第一次加载
onLoad(e) {
// #ifdef APP-PLUS
getCurrentNo(res => {
// 进页面获取当前APP版本号(用于页面显示)
this.version = res.version;
});
// #endif
},
//方法
methods: {
// 检查APP是否有新版本
onAPPUpdate() {
// true 没有新版本的时候有提示,默认:false
APPUpdate(true);
}
}
}
```
\ No newline at end of file
此差异已折叠。
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/guide/guide","pages/search/search","pages/serviceDetail/serviceDetail","pages/goods/goods","pages/goods-detail/goods-detail","pages/notice/notice","pages/noticeDetail/noticeDetail","pages/user/user","pages/goods-introduce/goods-introduce","pages/goods-buy-record/goods-buy-record","pages/pay/pay","pages/login/login","pages/login/agreement","pages/changLoginPwd/changLoginPwd","pages/personalInfo/personalInfo","pages/seeIdentityCard/seeIdentityCard","pages/participateAuction/participateAuction","pages/auctioned/auctioned","pages/reminderSetting/reminderSetting","pages/myFootprints/myFootprints","pages/mySubscriptions/mySubscriptions","pages/qualityManagement/qualityManagement","pages/qualityManagementEdit/qualityManagementEdit","pages/qualityManagementSee/qualityManagementSee","pages/helpCenter/helpCenter","pages/helpDetail/helpDetail","pages/securitySetting/securitySetting","pages/changePwd/changePwd","pages/payPwd/payPwd","pages/changePayPwd/changePayPwd","pages/myWallet/myWallet","pages/recharge/recharge","pages/withdraw/withdraw","pages/choosePay/choosePay","pages/changeAccountNumber/changeAccountNumber","pages/enterpriseInfo/enterpriseInfo","pages/consortiumCmpany/consortiumCmpany","pages/addConsortiumCmpany/addConsortiumCmpany","pages/consortiumCmpanyDetail/consortiumCmpanyDetail","pages/enrollSee/enrollSee","pages/enrollInfo/enrollInfo","pages/businessLicense/businessLicense","pages/basicInfo/basicInfo","pages/myNotice/myNotice","pages/allAuctionGood/allAuctionGood","pages/vr/vr"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"拍拍在线","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#FFFFFF","enablePullDownRefresh":false},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"white","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}]},"networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":false},"appname":"拍拍在线","compilerVersion":"3.1.2","entryPagePath":"pages/index/index"};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/guide/guide","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/search/search","meta":{},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/serviceDetail/serviceDetail","meta":{},"window":{"navigationBarTitleText":"服务企业","titleNView":{"titleColor":"#333333"}}},{"path":"/pages/goods/goods","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"拍品","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/goods-detail/goods-detail","meta":{},"window":{"navigationBarTitleText":"标的物详情"}},{"path":"/pages/notice/notice","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"公告","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/noticeDetail/noticeDetail","meta":{},"window":{"navigationBarTitleText":"公告详情"}},{"path":"/pages/user/user","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/goods-introduce/goods-introduce","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/goods-buy-record/goods-buy-record","meta":{},"window":{"navigationBarTitleText":"竞买记录"}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"支付"}},{"path":"/pages/login/login","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/login/agreement","meta":{},"window":{"navigationBarTitleText":"用户注册协议"}},{"path":"/pages/changLoginPwd/changLoginPwd","meta":{},"window":{"navigationBarTitleText":"忘记密码","titleNView":{"titleColor":"#333333","splitLine":{"color":"#dbdcdc","height":"1px"}}}},{"path":"/pages/personalInfo/personalInfo","meta":{},"window":{"navigationBarTitleText":"个人资料"}},{"path":"/pages/seeIdentityCard/seeIdentityCard","meta":{},"window":{"navigationBarTitleText":"身份证"}},{"path":"/pages/participateAuction/participateAuction","meta":{},"window":{"navigationBarTitleText":"参拍拍品","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/auctioned/auctioned","meta":{},"window":{"navigationBarTitleText":"已拍下","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/reminderSetting/reminderSetting","meta":{},"window":{"navigationBarTitleText":"提醒设置"}},{"path":"/pages/myFootprints/myFootprints","meta":{},"window":{"navigationBarTitleText":"我的足迹","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/mySubscriptions/mySubscriptions","meta":{},"window":{"navigationBarTitleText":"我的订阅","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagement/qualityManagement","meta":{},"window":{"navigationBarTitleText":"资质管理","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagementEdit/qualityManagementEdit","meta":{},"window":{"navigationBarTitleText":"资质管理编辑"}},{"path":"/pages/qualityManagementSee/qualityManagementSee","meta":{},"window":{"navigationBarTitleText":"资质管理查看"}},{"path":"/pages/helpCenter/helpCenter","meta":{},"window":{"navigationBarTitleText":"帮助中心"}},{"path":"/pages/helpDetail/helpDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/securitySetting/securitySetting","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/changePwd/changePwd","meta":{},"window":{"navigationBarTitleText":"修改密码"}},{"path":"/pages/payPwd/payPwd","meta":{},"window":{"navigationBarTitleText":"支付密码"}},{"path":"/pages/changePayPwd/changePayPwd","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/myWallet/myWallet","meta":{},"window":{"navigationBarTitleText":"我的钱包"}},{"path":"/pages/recharge/recharge","meta":{},"window":{"navigationBarTitleText":"充值"}},{"path":"/pages/withdraw/withdraw","meta":{},"window":{"navigationBarTitleText":"提现"}},{"path":"/pages/choosePay/choosePay","meta":{},"window":{"navigationBarTitleText":"选择支付方式"}},{"path":"/pages/changeAccountNumber/changeAccountNumber","meta":{},"window":{"navigationBarTitleText":"更换提现账号"}},{"path":"/pages/enterpriseInfo/enterpriseInfo","meta":{},"window":{"navigationBarTitleText":"企业资料"}},{"path":"/pages/consortiumCmpany/consortiumCmpany","meta":{},"window":{"navigationBarTitleText":"联合体公司"}},{"path":"/pages/addConsortiumCmpany/addConsortiumCmpany","meta":{},"window":{"navigationBarTitleText":"添加联合体"}},{"path":"/pages/consortiumCmpanyDetail/consortiumCmpanyDetail","meta":{},"window":{"navigationBarTitleText":"联合体公司查看"}},{"path":"/pages/enrollSee/enrollSee","meta":{},"window":{"navigationBarTitleText":"报名资质查看"}},{"path":"/pages/enrollInfo/enrollInfo","meta":{},"window":{"navigationBarTitleText":"报名资质信息"}},{"path":"/pages/businessLicense/businessLicense","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/basicInfo/basicInfo","meta":{},"window":{"navigationBarTitleText":"基本信息"}},{"path":"/pages/myNotice/myNotice","meta":{},"window":{"navigationBarTitleText":"我的公告"}},{"path":"/pages/allAuctionGood/allAuctionGood","meta":{},"window":{"navigationBarTitleText":"全部拍品"}},{"path":"/pages/vr/vr","meta":{},"window":{"navigationBarTitleText":"VR"}}];
var __uniConfig = {"pages":["pages/index/index","pages/guide/guide","pages/search/search","pages/serviceDetail/serviceDetail","pages/goods/goods","pages/goods-detail/goods-detail","pages/notice/notice","pages/noticeDetail/noticeDetail","pages/user/user","pages/goods-introduce/goods-introduce","pages/goods-buy-record/goods-buy-record","pages/pay/pay","pages/login/login","pages/login/agreement","pages/changLoginPwd/changLoginPwd","pages/personalInfo/personalInfo","pages/seeIdentityCard/seeIdentityCard","pages/participateAuction/participateAuction","pages/auctioned/auctioned","pages/reminderSetting/reminderSetting","pages/myFootprints/myFootprints","pages/mySubscriptions/mySubscriptions","pages/qualityManagement/qualityManagement","pages/qualityManagementEdit/qualityManagementEdit","pages/qualityManagementSee/qualityManagementSee","pages/helpCenter/helpCenter","pages/helpDetail/helpDetail","pages/securitySetting/securitySetting","pages/changePwd/changePwd","pages/payPwd/payPwd","pages/changePayPwd/changePayPwd","pages/myWallet/myWallet","pages/recharge/recharge","pages/withdraw/withdraw","pages/choosePay/choosePay","pages/changeAccountNumber/changeAccountNumber","pages/enterpriseInfo/enterpriseInfo","pages/consortiumCmpany/consortiumCmpany","pages/addConsortiumCmpany/addConsortiumCmpany","pages/consortiumCmpanyDetail/consortiumCmpanyDetail","pages/enrollSee/enrollSee","pages/enrollInfo/enrollInfo","pages/businessLicense/businessLicense","pages/basicInfo/basicInfo","pages/myNotice/myNotice","pages/allAuctionGood/allAuctionGood","pages/vr/vr","pages/fileDownload/fileDownload"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"拍拍在线","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#FFFFFF","enablePullDownRefresh":false},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"white","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}]},"networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":false},"appname":"拍拍在线","compilerVersion":"3.1.2","entryPagePath":"pages/index/index"};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/guide/guide","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/search/search","meta":{},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/serviceDetail/serviceDetail","meta":{},"window":{"navigationBarTitleText":"服务企业","titleNView":{"titleColor":"#333333"}}},{"path":"/pages/goods/goods","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"拍品","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/goods-detail/goods-detail","meta":{},"window":{"navigationBarTitleText":"标的物详情"}},{"path":"/pages/notice/notice","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"公告","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/noticeDetail/noticeDetail","meta":{},"window":{"navigationBarTitleText":"公告详情"}},{"path":"/pages/user/user","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/goods-introduce/goods-introduce","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/goods-buy-record/goods-buy-record","meta":{},"window":{"navigationBarTitleText":"竞买记录"}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"支付"}},{"path":"/pages/login/login","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/login/agreement","meta":{},"window":{"navigationBarTitleText":"用户注册协议"}},{"path":"/pages/changLoginPwd/changLoginPwd","meta":{},"window":{"navigationBarTitleText":"忘记密码","titleNView":{"titleColor":"#333333","splitLine":{"color":"#dbdcdc","height":"1px"}}}},{"path":"/pages/personalInfo/personalInfo","meta":{},"window":{"navigationBarTitleText":"个人资料"}},{"path":"/pages/seeIdentityCard/seeIdentityCard","meta":{},"window":{"navigationBarTitleText":"身份证"}},{"path":"/pages/participateAuction/participateAuction","meta":{},"window":{"navigationBarTitleText":"参拍拍品","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/auctioned/auctioned","meta":{},"window":{"navigationBarTitleText":"已拍下","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/reminderSetting/reminderSetting","meta":{},"window":{"navigationBarTitleText":"提醒设置"}},{"path":"/pages/myFootprints/myFootprints","meta":{},"window":{"navigationBarTitleText":"我的足迹","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/mySubscriptions/mySubscriptions","meta":{},"window":{"navigationBarTitleText":"我的订阅","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagement/qualityManagement","meta":{},"window":{"navigationBarTitleText":"资质管理","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagementEdit/qualityManagementEdit","meta":{},"window":{"navigationBarTitleText":"资质管理编辑"}},{"path":"/pages/qualityManagementSee/qualityManagementSee","meta":{},"window":{"navigationBarTitleText":"资质管理查看"}},{"path":"/pages/helpCenter/helpCenter","meta":{},"window":{"navigationBarTitleText":"帮助中心"}},{"path":"/pages/helpDetail/helpDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/securitySetting/securitySetting","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/changePwd/changePwd","meta":{},"window":{"navigationBarTitleText":"修改密码"}},{"path":"/pages/payPwd/payPwd","meta":{},"window":{"navigationBarTitleText":"支付密码"}},{"path":"/pages/changePayPwd/changePayPwd","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/myWallet/myWallet","meta":{},"window":{"navigationBarTitleText":"我的钱包"}},{"path":"/pages/recharge/recharge","meta":{},"window":{"navigationBarTitleText":"充值"}},{"path":"/pages/withdraw/withdraw","meta":{},"window":{"navigationBarTitleText":"提现"}},{"path":"/pages/choosePay/choosePay","meta":{},"window":{"navigationBarTitleText":"选择支付方式"}},{"path":"/pages/changeAccountNumber/changeAccountNumber","meta":{},"window":{"navigationBarTitleText":"更换提现账号"}},{"path":"/pages/enterpriseInfo/enterpriseInfo","meta":{},"window":{"navigationBarTitleText":"企业资料"}},{"path":"/pages/consortiumCmpany/consortiumCmpany","meta":{},"window":{"navigationBarTitleText":"联合体公司"}},{"path":"/pages/addConsortiumCmpany/addConsortiumCmpany","meta":{},"window":{"navigationBarTitleText":"添加联合体"}},{"path":"/pages/consortiumCmpanyDetail/consortiumCmpanyDetail","meta":{},"window":{"navigationBarTitleText":"联合体公司查看"}},{"path":"/pages/enrollSee/enrollSee","meta":{},"window":{"navigationBarTitleText":"报名资质查看"}},{"path":"/pages/enrollInfo/enrollInfo","meta":{},"window":{"navigationBarTitleText":"报名资质信息"}},{"path":"/pages/businessLicense/businessLicense","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/basicInfo/basicInfo","meta":{},"window":{"navigationBarTitleText":"基本信息"}},{"path":"/pages/myNotice/myNotice","meta":{},"window":{"navigationBarTitleText":"我的公告"}},{"path":"/pages/allAuctionGood/allAuctionGood","meta":{},"window":{"navigationBarTitleText":"全部拍品"}},{"path":"/pages/vr/vr","meta":{},"window":{"navigationBarTitleText":"VR"}},{"path":"/pages/fileDownload/fileDownload","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}}];
__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}}}});
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__0352911","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":false,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"splashscreen":{"androidStyle":"default","android":{"xxhdpi":"static/3.9.png","hdpi":"static/1.9.png","xhdpi":"static/2.9.png"}},"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"}}},"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":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.2","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__0352911","name":"拍拍在线","version":{"name":"1.2","code":120},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"splashscreen":{"androidStyle":"default","android":{"xxhdpi":"static/3.9.png","hdpi":"static/1.9.png","xhdpi":"static/2.9.png"}},"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"}}},"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.2","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/guide/guide","pages/search/search","pages/serviceDetail/serviceDetail","pages/goods/goods","pages/goods-detail/goods-detail","pages/notice/notice","pages/noticeDetail/noticeDetail","pages/user/user","pages/goods-introduce/goods-introduce","pages/goods-buy-record/goods-buy-record","pages/pay/pay","pages/login/login","pages/login/agreement","pages/changLoginPwd/changLoginPwd","pages/personalInfo/personalInfo","pages/seeIdentityCard/seeIdentityCard","pages/participateAuction/participateAuction","pages/auctioned/auctioned","pages/reminderSetting/reminderSetting","pages/myFootprints/myFootprints","pages/mySubscriptions/mySubscriptions","pages/qualityManagement/qualityManagement","pages/qualityManagementEdit/qualityManagementEdit","pages/qualityManagementSee/qualityManagementSee","pages/helpCenter/helpCenter","pages/helpDetail/helpDetail","pages/securitySetting/securitySetting","pages/changePwd/changePwd","pages/payPwd/payPwd","pages/changePayPwd/changePayPwd","pages/myWallet/myWallet","pages/recharge/recharge","pages/withdraw/withdraw","pages/choosePay/choosePay","pages/changeAccountNumber/changeAccountNumber","pages/enterpriseInfo/enterpriseInfo","pages/consortiumCmpany/consortiumCmpany","pages/addConsortiumCmpany/addConsortiumCmpany","pages/consortiumCmpanyDetail/consortiumCmpanyDetail","pages/enrollSee/enrollSee","pages/enrollInfo/enrollInfo","pages/businessLicense/businessLicense","pages/basicInfo/basicInfo","pages/myNotice/myNotice","pages/allAuctionGood/allAuctionGood","pages/vr/vr"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"拍拍在线","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#FFFFFF","enablePullDownRefresh":false},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"white","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}]},"networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":false},"appname":"拍拍在线","compilerVersion":"3.1.2","entryPagePath":"pages/index/index"};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/guide/guide","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/search/search","meta":{},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/serviceDetail/serviceDetail","meta":{},"window":{"navigationBarTitleText":"服务企业","titleNView":{"titleColor":"#333333"}}},{"path":"/pages/goods/goods","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"拍品","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/goods-detail/goods-detail","meta":{},"window":{"navigationBarTitleText":"标的物详情"}},{"path":"/pages/notice/notice","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"公告","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/noticeDetail/noticeDetail","meta":{},"window":{"navigationBarTitleText":"公告详情"}},{"path":"/pages/user/user","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/goods-introduce/goods-introduce","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/goods-buy-record/goods-buy-record","meta":{},"window":{"navigationBarTitleText":"竞买记录"}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"支付"}},{"path":"/pages/login/login","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/login/agreement","meta":{},"window":{"navigationBarTitleText":"用户注册协议"}},{"path":"/pages/changLoginPwd/changLoginPwd","meta":{},"window":{"navigationBarTitleText":"忘记密码","titleNView":{"titleColor":"#333333","splitLine":{"color":"#dbdcdc","height":"1px"}}}},{"path":"/pages/personalInfo/personalInfo","meta":{},"window":{"navigationBarTitleText":"个人资料"}},{"path":"/pages/seeIdentityCard/seeIdentityCard","meta":{},"window":{"navigationBarTitleText":"身份证"}},{"path":"/pages/participateAuction/participateAuction","meta":{},"window":{"navigationBarTitleText":"参拍拍品","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/auctioned/auctioned","meta":{},"window":{"navigationBarTitleText":"已拍下","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/reminderSetting/reminderSetting","meta":{},"window":{"navigationBarTitleText":"提醒设置"}},{"path":"/pages/myFootprints/myFootprints","meta":{},"window":{"navigationBarTitleText":"我的足迹","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/mySubscriptions/mySubscriptions","meta":{},"window":{"navigationBarTitleText":"我的订阅","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagement/qualityManagement","meta":{},"window":{"navigationBarTitleText":"资质管理","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagementEdit/qualityManagementEdit","meta":{},"window":{"navigationBarTitleText":"资质管理编辑"}},{"path":"/pages/qualityManagementSee/qualityManagementSee","meta":{},"window":{"navigationBarTitleText":"资质管理查看"}},{"path":"/pages/helpCenter/helpCenter","meta":{},"window":{"navigationBarTitleText":"帮助中心"}},{"path":"/pages/helpDetail/helpDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/securitySetting/securitySetting","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/changePwd/changePwd","meta":{},"window":{"navigationBarTitleText":"修改密码"}},{"path":"/pages/payPwd/payPwd","meta":{},"window":{"navigationBarTitleText":"支付密码"}},{"path":"/pages/changePayPwd/changePayPwd","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/myWallet/myWallet","meta":{},"window":{"navigationBarTitleText":"我的钱包"}},{"path":"/pages/recharge/recharge","meta":{},"window":{"navigationBarTitleText":"充值"}},{"path":"/pages/withdraw/withdraw","meta":{},"window":{"navigationBarTitleText":"提现"}},{"path":"/pages/choosePay/choosePay","meta":{},"window":{"navigationBarTitleText":"选择支付方式"}},{"path":"/pages/changeAccountNumber/changeAccountNumber","meta":{},"window":{"navigationBarTitleText":"更换提现账号"}},{"path":"/pages/enterpriseInfo/enterpriseInfo","meta":{},"window":{"navigationBarTitleText":"企业资料"}},{"path":"/pages/consortiumCmpany/consortiumCmpany","meta":{},"window":{"navigationBarTitleText":"联合体公司"}},{"path":"/pages/addConsortiumCmpany/addConsortiumCmpany","meta":{},"window":{"navigationBarTitleText":"添加联合体"}},{"path":"/pages/consortiumCmpanyDetail/consortiumCmpanyDetail","meta":{},"window":{"navigationBarTitleText":"联合体公司查看"}},{"path":"/pages/enrollSee/enrollSee","meta":{},"window":{"navigationBarTitleText":"报名资质查看"}},{"path":"/pages/enrollInfo/enrollInfo","meta":{},"window":{"navigationBarTitleText":"报名资质信息"}},{"path":"/pages/businessLicense/businessLicense","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/basicInfo/basicInfo","meta":{},"window":{"navigationBarTitleText":"基本信息"}},{"path":"/pages/myNotice/myNotice","meta":{},"window":{"navigationBarTitleText":"我的公告"}},{"path":"/pages/allAuctionGood/allAuctionGood","meta":{},"window":{"navigationBarTitleText":"全部拍品"}},{"path":"/pages/vr/vr","meta":{},"window":{"navigationBarTitleText":"VR"}}];
var __uniConfig = {"pages":["pages/index/index","pages/guide/guide","pages/search/search","pages/serviceDetail/serviceDetail","pages/goods/goods","pages/goods-detail/goods-detail","pages/notice/notice","pages/noticeDetail/noticeDetail","pages/user/user","pages/goods-introduce/goods-introduce","pages/goods-buy-record/goods-buy-record","pages/pay/pay","pages/login/login","pages/login/agreement","pages/changLoginPwd/changLoginPwd","pages/personalInfo/personalInfo","pages/seeIdentityCard/seeIdentityCard","pages/participateAuction/participateAuction","pages/auctioned/auctioned","pages/reminderSetting/reminderSetting","pages/myFootprints/myFootprints","pages/mySubscriptions/mySubscriptions","pages/qualityManagement/qualityManagement","pages/qualityManagementEdit/qualityManagementEdit","pages/qualityManagementSee/qualityManagementSee","pages/helpCenter/helpCenter","pages/helpDetail/helpDetail","pages/securitySetting/securitySetting","pages/changePwd/changePwd","pages/payPwd/payPwd","pages/changePayPwd/changePayPwd","pages/myWallet/myWallet","pages/recharge/recharge","pages/withdraw/withdraw","pages/choosePay/choosePay","pages/changeAccountNumber/changeAccountNumber","pages/enterpriseInfo/enterpriseInfo","pages/consortiumCmpany/consortiumCmpany","pages/addConsortiumCmpany/addConsortiumCmpany","pages/consortiumCmpanyDetail/consortiumCmpanyDetail","pages/enrollSee/enrollSee","pages/enrollInfo/enrollInfo","pages/businessLicense/businessLicense","pages/basicInfo/basicInfo","pages/myNotice/myNotice","pages/allAuctionGood/allAuctionGood","pages/vr/vr","pages/fileDownload/fileDownload"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"拍拍在线","navigationBarBackgroundColor":"#FFFFFF","backgroundColor":"#FFFFFF","enablePullDownRefresh":false},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"white","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}]},"networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":false},"appname":"拍拍在线","compilerVersion":"3.1.2","entryPagePath":"pages/index/index"};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/guide/guide","meta":{},"window":{"navigationStyle":"custom","navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/search/search","meta":{},"window":{"navigationStyle":"custom","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/serviceDetail/serviceDetail","meta":{},"window":{"navigationBarTitleText":"服务企业","titleNView":{"titleColor":"#333333"}}},{"path":"/pages/goods/goods","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"拍品","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/goods-detail/goods-detail","meta":{},"window":{"navigationBarTitleText":"标的物详情"}},{"path":"/pages/notice/notice","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"公告","navigationBarBackgroundColor":"#e95f4b","navigationBarTextStyle":"white","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/noticeDetail/noticeDetail","meta":{},"window":{"navigationBarTitleText":"公告详情"}},{"path":"/pages/user/user","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","navigationStyle":"custom","navigationBarTextStyle":"white"}},{"path":"/pages/goods-introduce/goods-introduce","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/goods-buy-record/goods-buy-record","meta":{},"window":{"navigationBarTitleText":"竞买记录"}},{"path":"/pages/pay/pay","meta":{},"window":{"navigationBarTitleText":"支付"}},{"path":"/pages/login/login","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/login/agreement","meta":{},"window":{"navigationBarTitleText":"用户注册协议"}},{"path":"/pages/changLoginPwd/changLoginPwd","meta":{},"window":{"navigationBarTitleText":"忘记密码","titleNView":{"titleColor":"#333333","splitLine":{"color":"#dbdcdc","height":"1px"}}}},{"path":"/pages/personalInfo/personalInfo","meta":{},"window":{"navigationBarTitleText":"个人资料"}},{"path":"/pages/seeIdentityCard/seeIdentityCard","meta":{},"window":{"navigationBarTitleText":"身份证"}},{"path":"/pages/participateAuction/participateAuction","meta":{},"window":{"navigationBarTitleText":"参拍拍品","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/auctioned/auctioned","meta":{},"window":{"navigationBarTitleText":"已拍下","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/reminderSetting/reminderSetting","meta":{},"window":{"navigationBarTitleText":"提醒设置"}},{"path":"/pages/myFootprints/myFootprints","meta":{},"window":{"navigationBarTitleText":"我的足迹","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/mySubscriptions/mySubscriptions","meta":{},"window":{"navigationBarTitleText":"我的订阅","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagement/qualityManagement","meta":{},"window":{"navigationBarTitleText":"资质管理","enablePullDownRefresh":true,"pullToRefresh":{"style":"default","height":"100px","range":"100px"}}},{"path":"/pages/qualityManagementEdit/qualityManagementEdit","meta":{},"window":{"navigationBarTitleText":"资质管理编辑"}},{"path":"/pages/qualityManagementSee/qualityManagementSee","meta":{},"window":{"navigationBarTitleText":"资质管理查看"}},{"path":"/pages/helpCenter/helpCenter","meta":{},"window":{"navigationBarTitleText":"帮助中心"}},{"path":"/pages/helpDetail/helpDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/securitySetting/securitySetting","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/changePwd/changePwd","meta":{},"window":{"navigationBarTitleText":"修改密码"}},{"path":"/pages/payPwd/payPwd","meta":{},"window":{"navigationBarTitleText":"支付密码"}},{"path":"/pages/changePayPwd/changePayPwd","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/myWallet/myWallet","meta":{},"window":{"navigationBarTitleText":"我的钱包"}},{"path":"/pages/recharge/recharge","meta":{},"window":{"navigationBarTitleText":"充值"}},{"path":"/pages/withdraw/withdraw","meta":{},"window":{"navigationBarTitleText":"提现"}},{"path":"/pages/choosePay/choosePay","meta":{},"window":{"navigationBarTitleText":"选择支付方式"}},{"path":"/pages/changeAccountNumber/changeAccountNumber","meta":{},"window":{"navigationBarTitleText":"更换提现账号"}},{"path":"/pages/enterpriseInfo/enterpriseInfo","meta":{},"window":{"navigationBarTitleText":"企业资料"}},{"path":"/pages/consortiumCmpany/consortiumCmpany","meta":{},"window":{"navigationBarTitleText":"联合体公司"}},{"path":"/pages/addConsortiumCmpany/addConsortiumCmpany","meta":{},"window":{"navigationBarTitleText":"添加联合体"}},{"path":"/pages/consortiumCmpanyDetail/consortiumCmpanyDetail","meta":{},"window":{"navigationBarTitleText":"联合体公司查看"}},{"path":"/pages/enrollSee/enrollSee","meta":{},"window":{"navigationBarTitleText":"报名资质查看"}},{"path":"/pages/enrollInfo/enrollInfo","meta":{},"window":{"navigationBarTitleText":"报名资质信息"}},{"path":"/pages/businessLicense/businessLicense","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/basicInfo/basicInfo","meta":{},"window":{"navigationBarTitleText":"基本信息"}},{"path":"/pages/myNotice/myNotice","meta":{},"window":{"navigationBarTitleText":"我的公告"}},{"path":"/pages/allAuctionGood/allAuctionGood","meta":{},"window":{"navigationBarTitleText":"全部拍品"}},{"path":"/pages/vr/vr","meta":{},"window":{"navigationBarTitleText":"VR"}},{"path":"/pages/fileDownload/fileDownload","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}}];
__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}}}});
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__0352911","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":false,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"splashscreen":{"androidStyle":"default","android":{"xxhdpi":"static/3.9.png","hdpi":"static/1.9.png","xhdpi":"static/2.9.png"}},"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"}}},"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":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.2","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__0352911","name":"拍拍在线","version":{"name":"1.2","code":120},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"autoclose":false,"waiting":false,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"dark","background":"#FFFFFF"},"compatible":{"ignoreVersion":true},"usingComponents":true,"nvueCompiler":"uni-app","distribute":{"splashscreen":{"androidStyle":"default","android":{"xxhdpi":"static/3.9.png","hdpi":"static/1.9.png","xhdpi":"static/2.9.png"}},"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"}}},"google":{"permissions":["<uses-feature android:name=\"android.hardware.camera\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"]},"apple":{},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}}},"nativePlugins":{},"allowsInlineMediaPlayback":true,"safearea":{"background":"#FFFFFF","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.1.2","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#666666","selectedColor":"#FE5341","borderStyle":"rgba(255,255,255,0.4)","backgroundColor":"#FFFFFF","spacing":"6px","list":[{"pagePath":"pages/index/index","iconPath":"static/index-icon.png","selectedIconPath":"static/index-on-icon.png","text":"首页"},{"pagePath":"pages/goods/goods","iconPath":"static/good-icon.png","selectedIconPath":"static/good-on-icon.png","text":"拍品"},{"pagePath":"pages/notice/notice","iconPath":"static/notice-icon.png","selectedIconPath":"static/notice-on-icon.png","text":"公告"},{"pagePath":"pages/user/user","iconPath":"static/user-icon.png","selectedIconPath":"static/user-on-icon.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html"}}
\ No newline at end of file
const Mock = require('./mock/index.js')
const bodyParser = require('body-parser')
// const target = 'http://paipai.ip189.lhyw.net/interfaces';
const target = 'https://www.ppzxchina.cn/interfaces';
const path = require('path');
module.exports = {
devServer: {
// contentBase: path.join(__dirname, 'mock'),
// compress: true,
// open: false,
// port: 8080,
// overlay: {
// warnings: false,
// errors: true
// },
// before(app) {
// app.use(bodyParser.urlencoded({extended: false}))
// Mock(app)
// },
proxy : {
"/interfaces" : {
// "target" : "http://paipai.ip189.lhyw.net/interfaces",
"target" : "https://www.ppzxchina.cn/interfaces",
"target" : target,
"changeOrigin" : true,
"secure" : false,
"pathRewrite" : {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册