first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,260 @@
<template>
<!-- 公共头部 状态栏40upx 带有左边返回键右边消息图标 -->
<view class="b_header bg-linear-gradient x-text-white text-center" style="border:1px solid red;">
<view class="bg-linear-gradient is_top d-flex a-center w-90 x_margin0auto j-sb">
<view class="is_top_search x-bg-white">
<input type="text" value="" placeholder="搜索" class="search_input h-100" />
<image src="../../static/home/search.png" mode="" class="search_img"></image>
</view>
<image src="../../static/my/message.png" mode="" class="message"></image>
</view>
<view class="banner_top">
</view>
<!-- <image src="../../static/my/message.png" mode="" class="message" @click="to_message()"></image> -->
<!-- <view class="tui-searchbox">
<view class="tui-search-input" @tap="search">
<icon type="search" :size="15" color="#999"></icon>
<text class="tui-search-text">搜索</text>
</view>
</view> -->
</view>
</template>
<script>
import public_function from '../../common/public_function.js';
export default {
props: {
page_title: String
},
methods: {
to_message() {
uni.navigateTo({
url: '../../pages/my/is_message'
});
},
back() {
public_function.goBack();
},
search: function() {
uni.navigateTo({
url: '../../pages/home/search'
});
}
}
};
</script>
<style lang="scss">
.is_top {
height: 299.4upx;
padding-top: 56upx;
.is_top_search {
margin-top: -200upx;
height: 56upx;
border-radius: 20upx;
position: relative;
overflow: hidden;
.search_input {
margin-left: 70upx;
width: 70%;
}
.search_img {
position: absolute;
left: 40upx;
top: 16upx;
height: 27upx;
width: 27upx;
}
.message {
height: 27upx;
width: 27upx;
}
}
}
.banner_top{
width: 696upx;
height:337upx;
background-color: red;
margin: -150upx auto 0;
}
.b_header {
height: 299upx;
position: relative;
line-height: 210upx;
font-size: 32upx;
.goback {
position: absolute;
bottom: 29upx;
left: 31upx;
height: 30.9upx;
width: 18upx;
}
.message {
// position: absolute;
// bottom: 18upx;
// right: 31upx;
height: 43upx;
width: 50upx;
}
.spot {
height: 12upx;
width: 12upx;
background-color: #ff3824;
border-radius: 50%;
position: absolute;
bottom: 52upx;
right: 31upx;
}
}
/*searchbox*/
.tui-searchbox {
width: 100%;
height: 100rpx;
padding: 0 30rpx;
box-sizing: border-box;
background: #fff;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.tui-search-input {
width: 590upx;
height: 56upx;
background: #f5f6fa;
border-radius: 36rpx;
font-size: 30rpx;
color: #a8abb8;
display: flex;
align-items: center;
justify-content: center;
}
.tui-search-text {
padding-left: 16rpx;
}
.tui-list-cell {
position: relative;
width: 100%;
padding: 26rpx 30rpx;
box-sizing: border-box;
overflow: hidden;
display: flex;
align-items: center;
background: #fff;
font-size: 32rpx;
color: #333;
}
.tui-cell-hover {
background: #f7f7f9 !important;
}
.tui-list-cell::after {
content: '';
position: absolute;
border-bottom: 1rpx solid #eaeef1;
-webkit-transform: scaleY(0.5);
transform: scaleY(0.5);
bottom: 0;
right: 0;
left: 140rpx;
}
.tui-cell-last::after {
border-bottom: 0 !important;
}
/*searchbox*/
.tui-img {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
}
.tui-name {
width: 80%;
padding-left: 30rpx;
font-size: 34rpx;
color: #333;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.tui-list-cell-divider {
height: 66rpx;
padding-left: 30rpx;
font-size: 26rpx;
color: #555;
background: #f5f6fa;
padding: 0 30rpx;
display: flex;
align-items: center;
font-weight: bold;
box-sizing: border-box;
}
.tui-indexed-list-bar {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
z-index: 999999;
position: fixed;
top: 132rpx;
/* #ifdef H5 */
top: 220rpx;
/* #endif */
right: 0;
padding-right: 10rpx;
width: 44rpx;
color: #555;
font-weight: bold;
}
.tui-indexed-list-text {
font-size: 22rpx;
}
.tui-indexed-list-alert {
position: fixed;
width: 120rpx;
height: 120rpx;
right: 90rpx;
top: 50%;
margin-top: -60rpx;
border-radius: 24rpx;
font-size: 50rpx;
color: #fff;
background-color: rgba(0, 0, 0, 0.65);
display: flex;
justify-content: center;
align-items: center;
padding: 0;
z-index: 9999999;
}
.tui-indexed-list-alert text {
line-height: 50rpx;
}
.tui-footer {
padding: 30rpx 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
color: #999;
}
</style>