Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
Harvey
/
ydu-lottery-shop-app
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f2cbc46d
由
Harvey
编写于
2022-04-20 09:02:40 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
tv list
1 个父辈
95bfb21d
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
18 行删除
src/pages/tv/info.vue
src/pages/tv/list.vue
src/pages/tv/info.vue
查看文件 @
f2cbc46
<
template
>
<
template
>
<view>
<view
class=
"page-content"
>
<view
class=
"page-content"
>
<image
:mode=
"mode"
:src=
"src"
></image>
<image
:mode=
"mode"
:src=
"src"
></image>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -19,18 +21,6 @@
...
@@ -19,18 +21,6 @@
}
}
},
},
async
onLoad
(
e
)
{
async
onLoad
(
e
)
{
//const img = await uni.getStorageSync('tv_list_selected_img')
// if (img) {
// this.title = img.text
// this.text = img.text
// this.src = img.src
// uni.setNavigationBarTitle({
// title: this.title
// })
// }
//#ifdef H5
//#ifdef H5
if
(
e
)
{
if
(
e
)
{
this
.
title
=
e
.
text
this
.
title
=
e
.
text
...
@@ -45,11 +35,7 @@
...
@@ -45,11 +35,7 @@
$h5
.
head_tv
(
this
.
src
)
$h5
.
head_tv
(
this
.
src
)
//#endif
//#endif
},
},
methods
:
{
methods
:
{}
// navChange(e) {
// console.log(e.target.dataset.v)
// }
}
}
}
</
script
>
</
script
>
...
@@ -61,7 +47,6 @@
...
@@ -61,7 +47,6 @@
}
}
.page-content
image
{
.page-content
image
{
width
:
90vw
;
width
:
90vw
;
}
}
...
...
src/pages/tv/list.vue
查看文件 @
f2cbc46
...
@@ -59,6 +59,16 @@
...
@@ -59,6 +59,16 @@
}
}
},
},
async
onLoad
()
{
async
onLoad
()
{
//#ifdef H5
try
{
if
(
Android
)
{
const
$h5
=
require
(
'@/static/js/h5-utils.js'
)
$h5
.
remove_uni_page_head
()
}
}
catch
(
e
)
{}
//#endif
this
.
bindData
()
this
.
bindData
()
},
},
methods
:
{
methods
:
{
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论