调整webView,新增关闭按钮
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"name" : "抖火",
|
"name" : "抖火",
|
||||||
"appid" : "__UNI__C305C03",
|
"appid" : "__UNI__C305C03",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.1.4",
|
"versionName" : "1.1.5",
|
||||||
"versionCode" : "100",
|
"versionCode" : "100",
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
|
|||||||
14
pages.json
14
pages.json
@@ -303,7 +303,19 @@
|
|||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "人脸认证",
|
"navigationBarTitleText": "人脸认证",
|
||||||
"enablePullDownRefresh": false,
|
"enablePullDownRefresh": false,
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF",
|
||||||
|
"app-plus": {
|
||||||
|
"titleNView": {
|
||||||
|
"buttons": [
|
||||||
|
{
|
||||||
|
"text": "\ue66c",
|
||||||
|
"float": "left",
|
||||||
|
"fontSrc": "/static/uniicons.ttf",
|
||||||
|
"fontSize": "20px"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/work/perfectChoose",
|
"path": "pages/work/perfectChoose",
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="content">
|
<view class="content">
|
||||||
<!-- <video src="https://t12.cdn2020.com:12337/video/m3u8/2021/10/11/d647a87d/index.m3u8"></video> -->
|
|
||||||
<view class="header">
|
<view class="header">
|
||||||
<view class="banner">
|
<view class="banner">
|
||||||
<u-swiper
|
<u-swiper
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<view class="btns-item btns-red" @click="onRefused(item.business_order_transfer_id)">拒绝</view>
|
<view class="btns-item btns-red" @click="onRefused(item.business_order_transfer_id)">拒绝</view>
|
||||||
<view class="btns-item btns-border" @click="onAgree(item.business_order_transfer_id)">接收</view>
|
<view class="btns-item btns-border" @click="onAgree(item.business_order_transfer_id)">接收</view>
|
||||||
</block>
|
</block>
|
||||||
<view class="btns-item" @click="$Router.push({name: 'OrderInfo', params: {orderId: item.business_order_transfer_id}})">查看</view>
|
<view class="btns-item" @click="$Router.push({name: 'OrderInfo', params: {orderId: item.order.business_order_id}})">查看</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -169,6 +169,9 @@
|
|||||||
status: this.tabs[this.tabsCurrent].val,
|
status: this.tabs[this.tabsCurrent].val,
|
||||||
type : this.type
|
type : this.type
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|
||||||
|
console.log(res)
|
||||||
|
|
||||||
let { data } = res;
|
let { data } = res;
|
||||||
this.orders = data
|
this.orders = data
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<web-view :src="webUrl" @message="onMessage"></web-view>
|
<web-view :src="webUrl"></web-view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -14,16 +14,15 @@
|
|||||||
created() {
|
created() {
|
||||||
this.webUrl = this.$Route.query.url
|
this.webUrl = this.$Route.query.url
|
||||||
},
|
},
|
||||||
methods: {
|
onNavigationBarButtonTap() {
|
||||||
onMessage(e){
|
let pages = getCurrentPages()
|
||||||
let { data } = e.detail
|
let page = pages[pages.length - 1];
|
||||||
data.map(val => {
|
let currentPages = page.$getAppWebview()
|
||||||
if(val.type === 'back'){
|
let children=currentPages.children()
|
||||||
this.$Route.back()
|
children[0].close()
|
||||||
return
|
setTimeout(()=>{
|
||||||
}
|
uni.navigateBack()
|
||||||
})
|
},0)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<view class="qrcode-column">
|
<view class="qrcode-column">
|
||||||
<l-painter class="qrcode-src">
|
<l-painter class="qrcode-src">
|
||||||
<l-painter-qrcode
|
<l-painter-qrcode
|
||||||
:text="'https://app.douhuofalv.com/app?invite_code=' + invite"
|
:text="'https://app.douhuofalv.com?invite_code=' + invite"
|
||||||
css="width: 250rpx; height: 250rpx;"
|
css="width: 250rpx; height: 250rpx;"
|
||||||
/>
|
/>
|
||||||
</l-painter>
|
</l-painter>
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
},
|
},
|
||||||
views: [
|
views: [
|
||||||
{
|
{
|
||||||
text: "https://app.douhuofalv.com/app?invite_code=" + this.invite,
|
text: "https://app.douhuofalv.com?invite_code=" + this.invite,
|
||||||
type: "qrcode",
|
type: "qrcode",
|
||||||
css: {
|
css: {
|
||||||
width: "220rpx",
|
width: "220rpx",
|
||||||
|
|||||||
BIN
static/uniicons.ttf
Normal file
BIN
static/uniicons.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user