no message

This commit is contained in:
2025-06-16 13:40:43 +08:00
commit e8166ef0f6
97 changed files with 1400 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<template>
<view>
<web-view :src="url"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
url: ''
};
},
onLoad (options) {
this.url = options.url
}
}
</script>

View File

@@ -0,0 +1,43 @@
<template>
<view class="content">
<view class="">
<input type="text" class="input" v-model="url">
<button type="primary" size="size" @tap="toConfig">跳转</button>
</view>
</view>
</template>
<script>
export default {
data() {
return {
url: 'http://192.168.2.100:8011'
}
},
methods: {
toConfig () {
let url = '/uni_modules/yykj-tv/pages/home/home' + '?url=' + this.url
uni.redirectTo({
url: url
})
}
}
}
</script>
<style lang="scss" scoped>
.content {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-image: linear-gradient(to bottom, #2E3092, #797979);
}
.input {
width: 50vw;
height: 5vh;
background-color: #fff;
margin-bottom: 2vh;
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB