提交 202ea58a 编写于 作者: DCloud_JSON's avatar DCloud_JSON

清理多余文件

上级 88348717
......@@ -15,8 +15,7 @@
// #endif
// #ifdef H5
checkIsAgree();
// 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要
// checkIsAgree(); // 默认不开启。目前全球,仅欧盟国家有网页端同意隐私权限的需要。如果需要
// #endif
// #ifdef APP-PLUS
......
## 1.0.46(2021-08-05)
删除多余文件
清理多余文件
## 1.0.45(2021-08-05)
默认首页为nvue页面+fast
## 1.0.44(2021-08-05)
......
......@@ -241,7 +241,7 @@
},
fail: (err) => {
uni.hideLoading()
console.error(err);
console.log(err);
if (type == 'univerify') {
if (err.metadata && err.metadata.error_data) {
......
......@@ -75,7 +75,7 @@
},
"Vue": {
"vue2": "y",
"vue3": "u"
"vue3": "y"
}
}
}
......
......@@ -83,7 +83,7 @@
},
onLoad(event) {
console.log(event);
event = {"id":"60783c5cb781700001375672","title":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","excerpt":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","avatar":"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-aliyun-gacrhzeynhss7c6d04/249516a0-3941-11eb-899d-733ae62bed2f.jpg"}
// event = {"id":"60783c5cb781700001375672","title":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","excerpt":"阿里小程序IDE官方内嵌uni-app,为开发者提供多端开发服务","avatar":"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-aliyun-gacrhzeynhss7c6d04/249516a0-3941-11eb-899d-733ae62bed2f.jpg"}
//获取真实新闻id,通常 id 来自上一个页面
if (event.id) {
this.id = event.id
......
......@@ -4,10 +4,12 @@
<statusBar></statusBar>
<!-- #endif -->
<!-- 搜索功能 -->
<view @click.capture="searchClick">
<uni-search-bar class="uni-search-box" v-model="keyword" ref="searchBar" radius="100"
cancelButton="none" />
</view>
<uni-search-bar @click="searchClick" class="uni-search-box" v-model="keyword" ref="searchBar" radius="100"
cancelButton="none" disabled />
<view class="cover-search-bar" @click="searchClick"></view>
<unicloud-db ref='udb' v-slot:default="{data,pagination,hasMore, loading, error, options}" @error="onqueryerror"
:where="where" collection="opendb-news-articles,uni-id-users" :page-size="10"
field="avatar,title,last_modify_date,user_id.username">
......@@ -224,4 +226,13 @@
.f1 {
flex: 1;
}
.cover-search-bar{
height: 50px;
position: relative;
top: -50px;
margin-bottom: -50px;
/* #ifndef APP-NVUE */
z-index:999;
/* #endif */
}
</style>
\ No newline at end of file
......@@ -394,27 +394,14 @@
/*修改边线粗细示例*/
/* #ifndef APP-NVUE */
/* #ifdef VUE2 */
.center-list ::v-deep .uni-list--border:after{
/* #endif */
/* #ifdef VUE3 */
.center-list :deep(.uni-list--border:after){
/* #endif */
.center-list ::v-deep .uni-list--border:after {
-webkit-transform: scaleY(0.2);
transform: scaleY(0.2);
margin-left: 80rpx;
}
/* #ifdef VUE2 */
.center-list ::v-deep .uni-list--border-top,
.center-list ::v-deep .uni-list--border-bottom{
/* #endif */
/* #ifdef VUE3 */
.center-list :deep(.uni-list--border-top),
.center-list :deep(.uni-list--border-bottom){
/* #endif */
.center-list ::v-deep .uni-list--border-bottom {
display: none;
}
......
<template>
<uni-sign-in ref="signIn"></uni-sign-in>
<template>
<script>
export default {
methods: {
signIn() { //签到
this.$refs.signIn.open()
}
}
}
<script>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册