|
@@ -4,7 +4,7 @@
|
|
|
<text class="back-icon">←</text>
|
|
<text class="back-icon">←</text>
|
|
|
<text class="back-text">返回</text>
|
|
<text class="back-text">返回</text>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="content-wrapper">
|
|
|
|
|
|
|
+ <view class="content-wrapper" v-if="!webUrl">
|
|
|
<view class="icon-wrapper">
|
|
<view class="icon-wrapper">
|
|
|
<text class="icon">🚧</text>
|
|
<text class="icon">🚧</text>
|
|
|
</view>
|
|
</view>
|
|
@@ -15,15 +15,25 @@
|
|
|
</view>
|
|
</view>
|
|
|
<text class="tip">我们正在努力为您打造更好的体验</text>
|
|
<text class="tip">我们正在努力为您打造更好的体验</text>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <web-view :src="webUrl" v-else></web-view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
- return {};
|
|
|
|
|
|
|
+ return {
|
|
|
|
|
+ webUrl:''
|
|
|
|
|
+ };
|
|
|
|
|
+ },
|
|
|
|
|
+ onLoad() {
|
|
|
|
|
+ const session_key = uni.getStorageSync('session_key');
|
|
|
|
|
+ if(session_key){
|
|
|
|
|
+ this.webUrl = `https://ai.hnyfwlw.com/?token=${session_key}`
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
- onLoad() {},
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
goBack() {
|
|
goBack() {
|
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
@@ -51,25 +61,26 @@ export default {
|
|
|
|
|
|
|
|
.back-btn {
|
|
.back-btn {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 60rpx;
|
|
|
|
|
|
|
+ top: 100rpx;
|
|
|
left: 40rpx;
|
|
left: 40rpx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
padding: 16rpx 32rpx;
|
|
padding: 16rpx 32rpx;
|
|
|
background: rgba(255, 255, 255, 0.25);
|
|
background: rgba(255, 255, 255, 0.25);
|
|
|
border-radius: 40rpx;
|
|
border-radius: 40rpx;
|
|
|
|
|
+ z-index: 10;
|
|
|
backdrop-filter: blur(10rpx);
|
|
backdrop-filter: blur(10rpx);
|
|
|
|
|
|
|
|
.back-icon {
|
|
.back-icon {
|
|
|
font-size: 36rpx;
|
|
font-size: 36rpx;
|
|
|
- color: #ffffff;
|
|
|
|
|
|
|
+ color: #333;
|
|
|
margin-right: 8rpx;
|
|
margin-right: 8rpx;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.back-text {
|
|
.back-text {
|
|
|
font-size: 28rpx;
|
|
font-size: 28rpx;
|
|
|
- color: #ffffff;
|
|
|
|
|
|
|
+ color: #333;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
&:active {
|