mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 08:25:55 +08:00
新增扫描二维码功能以及h5复制链接app中打开连接功能删除无用的node包
This commit is contained in:
32
pages/tabbar/home/web-view.vue
Normal file
32
pages/tabbar/home/web-view.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<view class="web-view">
|
||||
<web-view :webview-styles="webviewStyles" :src="src"></web-view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
webviewStyles: {
|
||||
progress: {
|
||||
color: this.$lightColor,
|
||||
},
|
||||
},
|
||||
src: "",
|
||||
};
|
||||
},
|
||||
onLoad(params) {
|
||||
this.src = decodeURIComponent(params.src);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.web-view {
|
||||
/deep/ .web-view {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user