Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
dataease
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
zhu
dataease
Commits
a2d63ace
Unverified
提交
a2d63ace
authored
2月 14, 2022
作者:
fit2cloud-chenyw
提交者:
GitHub
2月 14, 2022
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1755 from dataease/pr@dev@fix_mobile_layout
fix: 移动端详情页面布局
上级
ecf1be44
511fd05a
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
50 行增加
和
27 行删除
+50
-27
pages.json
mobile/src/pages.json
+3
-13
detail.nvue
mobile/src/pages/tabBar/home/detail.nvue
+47
-14
没有找到文件。
mobile/src/pages.json
浏览文件 @
a2d63ace
...
...
@@ -27,19 +27,9 @@
"style"
:
{
"navigationBarTitleText"
:
""
,
"app-plus"
:
{
"titleNView"
:
{
"type"
:
"transparent"
,
"buttons"
:
[{
"type"
:
"share"
}]
}
},
"h5"
:
{
"titleNView"
:
{
"type"
:
"transparent"
,
"buttons"
:
[]
}
}
"titleNView"
:
false
,
"bounce"
:
"none"
}
}
},
{
...
...
mobile/src/pages/tabBar/home/detail.nvue
浏览文件 @
a2d63ace
<template>
<view class="page dataease-main">
<uni-nav-bar :title="banner.title" >
<
view
slot="right">
<uni-nav-bar :
fixed="false" left-icon="arrowleft" @clickLeft="back" :
title="banner.title" >
<
block
slot="right">
<uni-row class="demo-uni-row" >
<uni-col :span="12" @click="enshrine">
<uni-icons v-if="hasStar" type="star-filled" size="18" color="#007AFF"></uni-icons>
<uni-icons v-else type="star" size="18" color="#999"></uni-icons>
<uni-col :span="12">
<view @click="enshrine">
<uni-icons v-if="hasStar" type="star-filled" size="18" color="#007AFF"></uni-icons>
<uni-icons v-else type="star" size="18" color="#999"></uni-icons>
</view>
</uni-col>
<uni-col :span="12" @click="refresh" style="margin: 0 10rpx;">
<uni-icons type="reload" size="18" color="#999"></uni-icons>
<uni-col :span="12" style="margin: 0 10rpx;">
<view @click="refresh">
<uni-icons type="reload" size="18" color="#999" ></uni-icons>
</view>
</uni-col>
</uni-row>
</view>
</block>
</uni-nav-bar>
<view class="article-content">
<view class="article-content"
style="height: 100% !important;"
>
<view v-if="url">
<web-view
:webview-styles="webViewStyles"
style="height:
calc(100vh - 112px)
;"
style="height:
100vh
;"
>
</web-view>
</view>
</view>
<!-- #ifdef MP-WEIXIN || MP-QQ -->
<ad v-if="htmlNodes.length > 0" unit-id="adunit-01b7a010bf53d74e"></ad>
<!-- #endif -->
</view>
...
...
@@ -271,7 +274,7 @@
}
.article-content {
height: 100vh;
margin: 5px 0;
background: #ffffff;
}
...
...
@@ -295,6 +298,36 @@
margin-left: 5px;
}
.input-view {
/* #ifndef APP-PLUS-NVUE */
display: flex;
/* #endif */
flex-direction: row;
// width: 500rpx;
flex: 1;
background-color: #f8f8f8;
height: $nav-height;
border-radius: 15px;
padding: 0 15px;
flex-wrap: nowrap;
margin: 7px 0;
line-height: $nav-height;
}
.input-uni-icon {
line-height: $nav-height;
}
.nav-bar-input {
height: $nav-height;
line-height: $nav-height;
/* #ifdef APP-PLUS-NVUE */
width: 370rpx;
/* #endif */
padding: 0 5px;
font-size: 14px;
background-color: #f8f8f8;
}
</style>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论