切换导航条
此项目
正在载入...
登录
贾少康
/
hrApp_four
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
zhuwenjin@bronet.cn
3 years ago
提交
9ee2a5f1049125a87eeaecb961b24a0f5679e333
1 个父辈
76de929a
2022/02/08/21:49
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
1 行增加
和
36 行删除
components/head/head.vue
manifest.json
components/head/head.vue
查看文件 @
9ee2a5f
...
...
@@ -9,23 +9,6 @@
<!-- 返回按钮 -->
<view :class="[backBtnColor ? 'backBtnWhite' : 'backBtnBlack']" v-if="backBtn" @click="backDefault">
</view>
<!-- 定位 -->
<view class="address" v-if="bottomBtn" @click="toAddress">
<view class="addressText">
{{address}}
</view>
<view class="bottomBtn"></view>
</view>
<!-- 首页搜索框 -->
<view class="search" :style="{height: ellipse + 'px'}" v-if="search" @click="toNewPage">
<image class="searchImg" src="/static/mine/ic_search.png" mode="widthFix"></image>
<input type="text" :focus="true" placeholder="搜索" placeholder-class="placeholder" />
</view>
<!-- 地址搜索框 -->
<view class="searchTwo" :style="{height: ellipse + 'px'}" v-if="addressSearch" @click="toNewPage">
<image class="searchImg" src="/static/mine/ic_search.png" mode="widthFix"></image>
<input class="overdian" type="text" :value="searchContent" :placeholder="placeholder" placeholder-class="placeholderTwo" @input="iptContent"/>
</view>
<!-- 顶部标题 -->
<view class="title" v-if="showTitle">
{{title}}
...
...
@@ -63,18 +46,6 @@
backBtn: Boolean, // 按钮显隐
howBack: Boolean, //返回方式 默认返回上一页 true为自定义返回页面
customURL: String, //自定义返回路径 绝对路径
// 搜索框
search: Boolean, //首页搜索框显隐
addressSearch: Boolean, //普通搜索框显隐
searchContent: String, // 搜索值
placeholder: String, //输入框提示信息
toNewUrl: String, //点击跳转页面路径
// 地址
bottomBtn: Boolean, //显隐
address: String, //地址信息
newAddress: String, //地址跳转
// 定位搜索
showSearhcInput: Boolean
},
mounted() {
...
...
@@ -118,12 +89,6 @@
})
}
},
// 搜索框点击
toNewPage() {
uni.navigateTo({
url: this.toNewUrl
})
},
//地址跳转
toAddress() {
let that = this
...
...
manifest.json
查看文件 @
9ee2a5f
...
...
@@ -49,7 +49,7 @@
/*
快应用特有相关
*/
"mp-weixin"
:
{
/*
小程序特有相关
*/
"appid"
:
"wx4
4fe7a472a10bce1
"
,
"appid"
:
"wx4
84f044b7502ff85
"
,
"setting"
:
{
"urlCheck"
:
false
,
"checkSiteMap"
:
false
,
...
...
请
注册
或
登录
后发表评论