基于Vue3的Uniapp实训项目|一家鲜花店
基于Vue的Uniapp实训指导项目
项目预览:
在这里插入图片描述
pages.json
{"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages{"path": "pages/index/index","style": {"navigationStyle": "custom"}},{"path" : "pages/video/video","style" : {"navigationStyle": "custom"}},{"path" : "pages/my/my","style" : {"navigationStyle": "custom"}},{"path" : "pages/videoinfo/videoinfo","style" : {"enablePullDownRefresh": false}},{"path" : "pages/login/login","style" : {"navigationBarTitleText": "","enablePullDownRefresh": false}}],"globalStyle": {"navigationBarTextStyle": "black","navigationBarTitleText": "uni-app","navigationBarBackgroundColor": "#F8F8F8","backgroundColor": "#F8F8F8"},"uniIdRouter": {},"tabBar": {"color": "#8a8a8a","selectedColor": "#ff161a","list": [{"pagePath": "pages/index/index","iconPath": "static/首页.png","selectedIconPath": "static/首页 (1).png","text": "鲜花"},{"pagePath": "pages/video/video","iconPath": "static/视频.png","selectedIconPath": "static/视频 (1).png","text": "视频"},{"pagePath": "pages/my/my","iconPath": "static/我的.png","selectedIconPath": "static/我的(1).png","text": "我的"}]}
}
index.vue
<template><view><view class="tab"><view class="tab_title"><view><image style="width: 50rpx;height: 55rpx;" src="../../static/xh.png"></image></view><view>鲜花永远是平淡生活里温柔的光</view></view></view><view class="three"><view class="three-s">为您更新了15条内容</view></view><view class="twos"><view class="twoss">24℃ 晴朗 济南 PM2.09</view><view class="left"><input type="text" style="width: 180rpx;margin-right: 20rpx; font-size: 25rpx;"placeholder="搜索关键词" class="search_input"/></view></view><view class="smart-padding-wrap"><swiper class="swiper" circular :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval" :duration="duration"><swiper-item><image style="width: 100%; height: 100%;" src="../../static/h1.jpg"></image></swiper-item><swiper-item><image style="width: 100%; height: 100%;" src="../../static/h2.jpg"></image></swiper-item><swiper-item><image style="width: 100%; height: 100%;" src="../../static/h3.jpg"></image></swiper-item></swiper></view><view class="d-three"><view class="d-threes"><view><image src="../../static/mg3.jpg" style="width: 200rpx;height: 160rpx;"></image></view><view class="d-threess">玫瑰原产是济南平阴。在古时的汉语,“玫瑰”一词原意是指红色美玉。长久以来,玫瑰就象征着美丽和爱情。</view></view><view><view class="threess">鲜花网 38评</view></view></view><view class="d-three"><view class="d-threes"><view><image style="width: 200rpx;height: 160rpx;" src="../../static/mg4.jpg"></image></view><view class="d-threess">满天星 初夏开花,花朵如豆,每朵5瓣,略有微香。可以作为药用植物,也可作为玫瑰的配衬用。</view></view><view><view class="threess">鲜花网 58评</view></view></view><view class="d-three"><view class="d-threes"><view><image style="width: 200rpx;height: 160rpx;" src="../../static/xh1.jpg"></image></view><view class="d-threess">郁金香属长日照花卉,性喜向阳、避风,冬季温暖湿润,夏季凉爽干燥的气候。</view></view><view><view class="threess">鲜花网 18评</view></view></view><view class="d-three"><view>加微信交友群,喜欢就聊,找喜欢的人</view><view class="d-threes"><view class="a"><image style="width: 200rpx;height: 160rpx;" src="../../static/xh2.jpg"></image></view><view class="a"><image style="width: 200rpx;height: 160rpx;" src="../../static/xh3.jpg"></image></view><view class="a"><image style="width: 200rpx;height: 160rpx;" src="../../static/bbt1.jpg"></image></view></view><view class="threess">广告 我主良缘文化</view></view><view class="d-three"><view class="d-threes"><view><image style="width: 200rpx;height: 160rpx;" src="../../static/bbt2.jpg"></image></view><view class="d-threess">碎冰蓝是后期人工染成的,不是自然形成的,较为罕见。碎冰蓝玫瑰有着无价之宝的含义。</view></view><view><view class="threess">鲜花网 8评</view></view></view></view>
</template><script> export default {data() {return {indicatorDots: true,autoplay: true,interval: 2000,duration: 500}},methods: {}}
</script><style>.search{display: flex;flex-direction: row;}.two{margin: 0rpx 40rpx 25rpx 30rpx;color: #ffffff;margin-top: 30rpx;display: flex;flex-direction: row;}.twos{color: #ffffff;display: flex;background-color: #dda8bb;margin-top: -10rpx;width: 100%;justify-content: space-between;height: 70rpx;}.twoss{margin-left: 20rpx;}.reds{color: #dd524d;height: 40rpx;}.xw-three{}.three{width: 100%;height: 120rpx;background-color: #dda8bb;}.three-s{color: #ffffff;}.d-three{border-bottom: 1rpx solid #ccd0d9;margin: 20rpx 20rpx 20rpx 20rpx;}.d-threes{display: flex;flex-direction: row;}a{margin: 20rpx 10rpx 10rpx 20rpx;}.d-threess{margin-left: 30rpx;}.threes{display: flex;flex-direction: row;margin: 5rpx 10rpx 10rpx 10rpx;font-size: 25rpx;color: #808080;}.j{margin-right: 25rpx;}.threess{margin-bottom: 20rpx;font-size: 25rpx;color: #808080;}.search .left{flex: 1;margin-right: 70rpx;height: 10rpx;}.search .right{width: 120rpx;}.search_input{background-color: #f8f8f8;border-radius: 40rpx;padding: 5rpx 30rpx 6rpx 30rpx;margin-right: 1rpx;}.search_img{height: 48rpx;width: 48rpx;}.tab_title view{font-size: 35rpx;display: inline-block;margin-left: 30rpx;height: 80rpx;line-height: 80rpx;color: #ffffff;}.tab{background-color: #dda8bb;height: 100rpx;position: fixed;z-index: 1;left: 0;right: 0;width: 100%;margin-top: 0rpx;}.zd{color: #Dd524d;}.scroll_x{height: 60rpx;width: 100%;white-space: nowrap;}scroll-view::-webkit-scrollbar{display: none;width: 0;height: 0;color: transparent;}.news_list{margin: 200rpx 25rpx 25rpx 25rpx;position: absolute;padding-bottom: calc(var(--window-bottom));width: 100%;}.nwes_item{height: 150rpx;border-bottom: 1rpx solid #c8c7cc;display: flew;flex-direction: row;margin-bottom: 20rpx;}.news_list image{width: 180rpx;height: 140rpx;margin-right: 30rpx;}.news_list .title{font-size: 35rpx;}.news_list .time{color: #c0c0c0;font-size: 30rpx;margin-top: 15rpx;}
</style>
video.vue
<template><view><view class="items"><view class="item"><view class="item-xs">推荐</view><view class="item-x">玫瑰</view><view class="item-x">满天星</view><view class="item-x">郁金香</view><view class="item-x">碎冰蓝</view><view class="item-x">抱抱桶</view></view></view><view class="item-ss"></view><!-- 鲜花视频网址: https://www.2amok.com/videoText/314342.html--><view class="sp"><navigator url="../videoinfo/videoinfo"><view class="x">玫瑰原产是中国。在古时的汉语,“玫瑰”一词原意是指红色美玉。长久以来,玫瑰就象征着美丽和爱情。</view></navigator><video class="y" style="width: 100%;height: 400rpx;" src="https://view.2amok.com/20200526/71a05ddcce9945236e37c9762fb34a10.mp4"></video><view class="dibu"><view class="wenzi"><view class="wenzizf"><image style="width: 45rpx;height: 45rpx;" src="../../static/tx.jpg"></image></view><view class="wenzizf" style="font-size: 32rpx;">玫瑰</view><view class="wenzizf" style="color: #999999; margin-top: 0rpx;">|</view><view class="wenzizf" style="font-size: 32rpx; color: #dd524d; font-weight: bold;">关注</view></view><view class="tupian"><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx" style="margin-top: -10rpx;padding-right: 20rpx;">...</view></view></view></view><view class="sp"><view class="x">满天星 初夏开花,花朵如豆,每朵5瓣,略有微香。可以作为药用植物,也可作为玫瑰的配衬用。</view><video class="y" style="width: 100%;height: 400rpx;" src="https://view.2amok.com/20210723/96447bef3a49daa9e8a09c1cc026521f.mp4"></video><view class="dibu"><view class="wenzi"><view class="wenzizf"><image style="width: 45rpx;height: 45rpx;" src="../../static/tx.jpg"></image></view><view class="wenzizf" style="font-size: 32rpx;">满天星</view><view class="wenzizf" style="color: #999999; margin-top: 0rpx;">|</view><view class="wenzizf" style="font-size: 32rpx; color: #dd524d; font-weight: bold;">关注</view></view><view class="tupian"><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx" style="margin-top: -10rpx;padding-right: 20rpx;">...</view></view></view></view><view class="sp"><view class="x">郁金香属长日照花卉,性喜向阳、避风,冬季温暖湿润,夏季凉爽干燥的气候。</view><video class="y" style="width: 100%;height: 400rpx;" src="https://view.2amok.com/20220909/a7aedfccc4c880d4f99b178654cf689b.mp4"></video><view class="dibu"><view class="wenzi"><view class="wenzizf"><image style="width: 45rpx;height: 45rpx;" src="../../static/tx.jpg"></image></view><view class="wenzizf" style="font-size: 32rpx;">郁金香</view><view class="wenzizf" style="color: #999999; margin-top: 0rpx;">|</view><view class="wenzizf" style="font-size: 32rpx; color: #dd524d; font-weight: bold;">关注</view></view><view class="tupian"><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;"></image></view><view class="tupiandx" style="margin-top: -10rpx;padding-right: 20rpx;">...</view></view></view></view><view class="sp"><view class="x">碎冰蓝是后期人工染成的,不是自然形成的,较为罕见。碎冰蓝玫瑰有着无价之宝的含义。</view><video class="y" style="width: 100%;height: 400rpx;" src="https://view.2amok.com/20220909/a7aedfccc4c880d4f99b178654cf689b.mp4"></video><view class="dibu"><view class="wenzi"><view class="wenzizf"><image style="width: 45rpx;height: 45rpx;" src="../../static/tx.jpg"></image></view><view class="wenzizf" style="font-size: 32rpx;">碎冰蓝</view><view class="wenzizf" style="color: #999999; margin-top: 0rpx;">|</view><view class="wenzizf" style="font-size: 32rpx; color: #dd524d; font-weight: bold;">关注</view></view><view class="tupian"><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;" src="../../static/xh.png"></image></view><view class="tupiandx"><image style="width: 35rpx;height: 35rpx;" src="../../static/xh.png"></image></view><view class="tupiandx" style="margin-top: -10rpx;padding-right: 20rpx;">...</view></view></view></view></view>
</template>
<script>export default {data() {return {}},methods: {}}
</script><style>
.items{background-color: #ffffff;z-index: 1;width: 100%;top: 90rpx;
}
.item{background-color: #ffffff;display: flex;flex-direction: row;margin: 5rpx 10rpx 20rpx 10rpx;font-size: 40rpx;color: #333333;margin-top: 50rpx;margin-bottom: -50rpx;
}
.item-ss{width: 100%;height: 60rpx;
}
.tab_title view{display: inline-block;margin-left: 30rpx;line-height: 30rpx;color: #ffffff;
}
.dibu{display: flex;flex-direction: row;justify-content: space-between;margin-top: 30rpx;margin-bottom: 20rpx;
}
.wenzi{display: flex;flex-direction: row;
}
.tupian{display: flex;flex-direction: row;
}
.tupiandx{margin-left: 20rpx;
}
.x{margin-top: 30rpx;margin-bottom: 30rpx;
}
.item-xs{color: #dd524d;font-weight: bold;
}
.a{margin-right: 120rpx;height: 50rpx;
}
.ap image{width: 250rpx;height: 100rpx;
}
.ap{border-radius: 10rpx;width: 250rpx;height: 100rpx;overflow: hidden;margin: auto;
}
.b{}
.scroll_x{height: 50rpx;width: 100%;white-space: nowrap;
}
.item{display: flex;flex-direction: row;justify-content: space-between;color: #333333;background-color: #ffffff;border-bottom: 1rpx solid #c8c7cc;
}
.tab_title{display: inline-block;margin-left: 10rpx;height: 80rpx;line-height: 70rpx;color: #333333;background-color: #ffffff;border-bottom: 1rpx solid #c8c7cc;
}
.tab-x{color: #333333;background-color: #ffffff;
}
.scroll_x{height: 60rpx;width: 100%;white-space: nowrap;
}
.gray{color: #c8c7cc;
}
.gray1{color: #dd524d;
}
.hd{display: inline-block;
}
.tab{background-color: #dd524d;
}
.shgd{position: fixed;position: absolute;z-index: 1;
}
scroll-view::-webkit-scrollbar{display: none;width: 0;height: 0;color: transparent;
}
.sp{border-bottom: 1rpx solid #e5eaf3;margin: 10rpx 10rpx 20rpx 20rpx;
}
.reg-rigth{color: #dd524d;margin-right: 10rpx;padding-left: 10rpx;
}
.z{display: flex;flex-direction: row;justify-content: space-between;margin-bottom: 30rpx;margin-top: 20rpx;height: 70rpx;
}
.zs{display: flex;
}
.zl{margin-bottom: 10rpx;margin-right: 300rpx;margin-top: 20rpx;
}.z-h{height: 60rpx;margin-right: 10rpx;display: flex;flex-direction: row;font-size: 35rpx;
}
.z-z{font-size: 30rp;color: #c8c7cc;
}
.z-zl{font-size: 30rpx;color: #c8c7cc;margin: 20rpx;
}
.z-z2{font-size: 30rpx;color: #c8c7cc;margin: 20rpx;
}
.y{src: ;margin: 0rpx;flex: 1;
}
</style>
videoinfo.vue
<template><view><view class="smart-page-head"></view><view><video class="checkbox-item" style="width: 100%;height: 400rpx;" src="https://view.2amok.com/20210723/96447bef3a49daa9e8a09c1cc026521f.mp4"></video></view><view class="spsy"></view><view class="sp"><view class="b">玫瑰</view><view class="z"><view class="z-z">1.0万次播放</view><view class="z-z"><image style="width: 30rpx;height: 30rpx;" src="../../static/赞.png"></image>3</view></view><view class="z"><view><image style="width: 80rpx;height: 80rpx;" src="../../static/tx.jpg"></image></view><view click="z-h"><view>hheee</view><view class="z-z">13-14</view></view><view class="reg-rigth">+关注</view></view></view><view class="item"><view>为你推荐</view><view class="e-item"><view class="e"><image style="width: 200rpx;height: 200rpx;" src="../../static/xh1.jpg"></image></view><view><view class="e-rigth">玫瑰原产是中国。在古时的汉语,“玫瑰”一词原意是指红色美玉。长久以来,玫瑰就象征着美丽和爱情。</view><view class="z"><view class="z-z1">玫瑰花</view><view class="z-z2">5.3万次播放</view></view></view></view><view class="e-item"><view class="e"><image style="width: 200rpx;height: 200rpx;" src="../../static/xh2.jpg"></image></view><view><view class="e-rigth">满天星 初夏开花,花朵如豆,每朵5瓣,略有微香。可以作为药用植物,也可作为玫瑰的配衬用。</view><view class="z"><view class="z-z1">满天星</view><view class="z-z2">5.3万次播放</view></view></view></view><view class="e-item"><view class="e"><image style="width: 200rpx;height: 200rpx;" src="../../static/xh3.jpg"></image></view><view><view class="e-rigth">郁金香属长日照花卉,性喜向阳、避风,冬季温暖湿润,夏季凉爽干燥的气候。</view><view class="z"><view class="z-z1">郁金香</view><view class="z-z2">5.3万次播放</view></view></view></view><view class="e-item"><view class="e"><image style="width: 200rpx;height: 200rpx;" src="../../static/bbt3.jpg"></image></view><view><view class="e-rigth">碎冰蓝是后期人工染成的,不是自然形成的,较为罕见。碎冰蓝玫瑰有着无价之宝的含义。</view><view class="z"><view class="z-z1">碎冰蓝</view><view class="z-z2">5.3万次播放</view></view></view></view></view><view style="color: #c5c5c5;margin-bottom: 30rpx;margin-left: 20rpx;">热门评论</view><view class="pl"><view><image style="width: 80rpx;height: 80rpx;margin-left: 20rpx;" src="/static/tx.jpg"></image></view><view class="lp"><view class="pll"><view><view class="zt1">狐友879303</view><view class="sj"><view class="sjs">1小时前</view><view class="sjs">广西桂林市</view></view></view><view class="pl"><view class="plll">3</view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view></view></view><view class="pll">保命要紧,何机再起</view></view></view><view class="pl"><view><image style="width: 80rpx;height: 80rpx;margin-left: 20rpx;" src="../../static/tx.jpg"></image></view><view class="lp"><view class="pll"><view><view class="zt1">网友872503</view><view class="sj"><view class="sjs">2小时前</view><view class="sjs">广西贵港市</view></view></view><view class="pl"><view class="plll">7</view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view></view></view><view class="pll">微笑生活,勇敢面对</view></view></view><view class="pl"><view><image style="width: 80rpx;height: 80rpx;margin-left: 20rpx;" src="../../static/tx.jpg"></image></view><view class="lp"><view class="pll"><view><view class="zt1">平安379373</view><view class="sj"><view class="sjs">3小时前</view><view class="sjs">广西河池市</view></view></view><view class="pl"><view class="plll">1</view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view></view></view><view class="pll">真看不懂,理解不了</view></view></view><view class="pl"><view><image style="width: 80rpx;height: 80rpx;margin-left: 20rpx;" src="../../static/tx.jpg"></image></view><view class="lp"><view class="pll"><view><view class="zt1">郊友896903</view><view class="sj"><view class="sjs">5小时前</view><view class="sjs">广西柳州市</view></view></view><view class="pl"><view class="plll">9</view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view><view class="plll"><image style="width: 30rpx;height: 30rpx;" src="../../static/tx.jpg"></image></view></view></view><view class="pll">不应该,应该如何面对</view></view></view><view class="xhx"></view><view class="jz">已加载全部</view><view class="xhxx"></view><view class="zdb"><view><image style="width: 40rpx;height: 40rpx;" src="../../static/返回.png"></image></view><view class="left"><input type="text" style="width: 180rpx;margin-right: 20rpx;font-size: 25rpx;"placeholder="我来说两句"/></view><view class="jl"><image style="width: 30rpx;height: 30rpx;" src="../../static/短信.png"></image></view><view class="jl"><image style="width: 40rpx;height: 40rpx;" src="../../static/收藏.png"></image></view><view class="jl"><image style="width: 40rpx;height: 40rpx;" src="../../static/分享.png"></image></view></view></view>
</template><script>export default {data() {return {}},methods: {}}
</script><style>
.item{margin: 20rpx 20rpx 20rpx 20rpx;
}
.spsy{width: 100%;height: 400rpx;
}
.checkbox-item{position: fixed;top: 85rpx;z-index: 1;
}
.sp{margin: 20rpx;border-bottom: 1rpx solid #999999;
}
.b{margin-top: 30rpx;margin-bottom: 30rpx;font-size: 45rpx;
}
.reg-rigth{background: #dd524d;height: 50rpx;border-radius: 50rpx;color: #ffffff;width: 140rpx;text-align: center;
}
.c{display: flex;flex-direction: row;
}
.d{display: flex;flex-direction: row;border-bottom: 1rpx solid #d0d0d0;
}
.z{display: flex;flex-direction: row;justify-content: space-between;margin-bottom: 30rpx;
}
.z-h{margin-right: 210rpx;
}
.z-zl{font-size: 30rpx;color: #c8c7cc;margin: 20rpx;
}
.z-z2{font-size: 30rpx;color: c8c7cc;margin: 20rpx;
}
.z-z{font-size: 30rpx;color: c8c7cc;
}
.e-item{display: flex;flex-direction: row;
}
.e-rigth{margin: 20rpx;margin-top: 40rpx;
}
.e{margin-top: 30rpx;
}
.pl{display: flex;flex-direction: row;margin-right: -280rpx;margin-bottom: 40rpx;
}
.lp{margin-left: -30rpx;
}
.pll{display: flex;flex-direction: row;justify-content: space-between;margin-left: 60rpx;
}
.plll{margin-right: 50rpx;
}
.xhx{border-bottom: 1rpx solid #c0c0c0;margin: 0rpx 20rpx 20rpx 100rpx;
}
.xhxx{border-bottom: 1rpx solid #d5d5d5;margin: 0rpx 20rpx 20rpx 10rpx;margin-bottom: 40rpx;
}
.jz{color: #c0c0c0;margin-left: 120rpx;margin-top: 80rpx;
}
.zdb{display: flex;flex-direction: row;background-color: #ffffff;width: 100%;height: 60rpx;position: fixed;bottom: 0rpx;
}
.left{height: 10rpx;margin-left: 20rpx;
}
.search_input{background-color: #f8f8f8;border-radius: 40rpx;padding: 5rpx 30rpx 6rpx 30rpx;margin-right: 1rpx;
}
.jl{margin-left: 80rpx;
}
.zt1{font-size: 30rpx;color: #007aff;margin-top: 10rpx;
}
.zdb{display: flex;flex-direction: row;
}
.left{height: 10rpx;margin-left: 20rpx;
}
.search_input{background-color: #f8f8f8;border-radius: 40rpx;padding: 5rpx 30rpx 6rpx 30rpx;margin-right: 1rpx;
}
.jl{margin-left: 90rpx;
}
</style>
my.vue
<template><view><view class="dd"><view class="item1"><image class="tx" style="width: 130rpx;height: 130rpx;" src="../../static/tx.jpg"></image><view class="item2"><view class="item3">HI~欢迎回来</view><view class="item4" @tap="gotoLogin"><text class="itemz">登录</text></view></view></view><view class="er1"><view class="er2">关注3</view><view class="er3">|</view><view class="er4">话题0</view></view></view><view class="item-dj"><view><navigator url="../topic/topic"><view class="item-left"><image class="menpiao" src="../../static/收藏3.png"></image></view><view class="item-left">收藏</view></navigator></view><view><navigator url="../topic/topic.vue"><view class="item-left"><image class="menpiao" src="../../static/历史.png"></image></view><view class="item-left">历史</view></navigator></view><view><navigator url="../topic/topic.vue"><view class="item-left"><image class="menpiao" src="../../static/设置.png"></image></view><view class="item-left">设置</view></navigator></view></view><view><image style="width: 100%; height: 90rpx;" ></image></view><view class="button"><image class="buttons" style="width: 100%; height: 300rpx;" src="../../static/h3.jpg"></image><view class="button"><text class="hh">已有</text>385,893<text class="hh">人</text></view><view class="button"><text class="hh">在这里发布身边的新鲜事</text></view><view class="reg-rigth">我也要发布</view></view><view class="button"><view class="buttonx">先去逛逛<image class="buttony" style="width: 35rpx;height: 35rpx;"></image></view></view><view class="zh"></view></view>
</template><script>export default {data() {return {}},methods: {gotoLogin(){uni.navigateTo({url:'/pages/login/login'})}}}
</script><style>
.dd{padding-bottom: 0rpx;background-image: url("../../static/bg.jpeg");background-position: center;margin-top: -30rpx;height: 280rpx;
}
.tx{margin-top: 10rpx;
}
.item1{display: flex;margin-top: 30rpx;margin-left: 20rpx;
}
.item2{margin-top: 15rpx;
}
.item3{margin-left: 20rpx;color: #ffffff;font-weight: bold;margin-top: 10rpx;
}
.item4{border-radius: 20rpx;color: #ffffff;width: 150rpx;height: 50rpx;background-color: #dd524d;margin-left: 20rpx;margin-top: 10rpx;
}
.itemz{color: #999999;margin-left: 45rpx;
}
.er1{margin-top: 80rpx;margin-left: 80rpx;opacity: 0.5;
}
.er2{margin-left: 50rpx;color: #ffffff;
}
.er3{margin-left: 300rpx;margin-top: -50rpx;color: #ffffff;
}
.er4{margin-left: 450rpx;margin-top: -50rpx;color: #ffffff;
}
.smart{}.item-dj{display: flex;flex-direction: row;-webkit-box-flex: 1;flex: 1;border-bottom: 1rpx solid #e6e6e6;margin-top: -50rpx;margin-bottom: 5rpx;
}
.item-left{height: 10rpx;line-height: 71rpx;width: 50%;text-align: center;margin: 90rpx;font-size: 20rpx;padding-bottom: 1rpx;margin-top: 20rpx;
}.menpiao{width: 45rpx;height: 45rpx;text-align: center;margin-top: 70rpx;
}
.menpiao1{width: 45rpx;height: 45rpx;text-align: center;margin-top: 70rpx;
}
.menpiao2{width: 40rpx;height: 40rpx;text-align: center;margin-top: 70rpx;
}
.buttons{margin-top: 0rpx;
}
.button{text-align: center;
}
.reg-rigth{border: 1px solid #dd524d;width: 250rpx;height: 65rpx;text-align: center;color: #dd524d;border-radius: 40rpx;margin-bottom: 20rpx;line-height: 70rpx;margin-top: 40rpx;margin-left: 240rpx;
}
.buttonx{color: #999999;
}
.hh{color: #999999;
}
.zh{height: 200rpx;
}
</style>
素材
相关文章:

基于Vue3的Uniapp实训项目|一家鲜花店
基于Vue的Uniapp实训指导项目 项目预览: 在这里插入图片描述 pages.json {"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages{"path": "pages/index/index",&…...
Python3 字典
前言 本文主要介绍Python中的字典(dict),主要内容包括:字典简介、字典特性、字典的基本操作。 文章目录 前言一、字典简介二、字典特性1、键值对2、无序性?3、可变性4、键的唯一性5、值的类型不限 三、字典的基本操作1、创建2、访问3、增加…...

JPA详解
文章目录 JPA概述JPA的优势JPA注解 JPA概述 Java Persistence API(JPA)是 Java EE 平台的一部分,它为开发者提供了一种用于对象关系映射(ORM)的标准化方法。JPA 提供了一组 API 和规范,用于在 Java 应用程…...

Linux线程:线程分离
目录 一、什么是线程分离 1.1pthread_detach 1.2pthread线程库存在的意义 1.3__thread线程的局部存储 1.4系统调用clone 一、什么是线程分离 1.1pthread_detach 默认情况下,新创建的线程是joinable的,线程退出后,需要对其进行pthread_joi…...

chatgpt之api的调用问题
1.调用api过程中,出现如下报错内容 先写一个测试样例 import openaiopenai.api_key "OPEN_AI_KEY" openai.api_base"OPEN_AI_BASE_URL" # 是否需要base根据自己所在地区和key情况进行completion openai.ChatCompletion.create(model"g…...
Java中lambda表达式是啥怎么使用
在Java中,Lambda表达式(也称为闭包)是一种简洁地表示匿名函数(即没有名称的函数)的方式。它们允许你将函数作为参数传递或赋值给变量,从而简化代码。Lambda表达式在Java 8及更高版本中引入。 Lambda表达式…...

selenium中, quit 和close的区别
close时 """ close和quit的区别 close关闭当前页 (只是关闭了当前) quit离开整个浏览器 (走远了) """ from selenium import webdriver import time# 创建浏览器驱动对象 from selenium.webdriver.co…...

管易云和金蝶云星空接口打通对接实战
管易云和金蝶云星空接口打通对接实战 源系统:管易云 金蝶管易云是金蝶集团旗下以电商和新零售为核心业务的子公司,公司于2008年成立,拥有从事电商及新零售业务相关专业知识工作者超过1000人。为伊利、网易有道、东阿阿胶、金龙鱼、海康、科大讯飞等超过1…...

DP-Kmaens密度峰值聚类算法
我有个问题 关于 [密度值>密度阈值] 的判定这里,新进来的新数据怎么确定他的密度值?密度阈值又是怎样确定的呢?...

STM32-14-FSMC_LCD
STM32-01-认识单片机 STM32-02-基础知识 STM32-03-HAL库 STM32-04-时钟树 STM32-05-SYSTEM文件夹 STM32-06-GPIO STM32-07-外部中断 STM32-08-串口 STM32-09-IWDG和WWDG STM32-10-定时器 STM32-11-电容触摸按键 STM32-12-OLED模块 STM32-13-MPU 文章目录 1. 显示器分类2. LCD简…...

linux nohup命令详解:持久运行命令,无视终端退出
nohup (全称为 “no hang up”),用于运行一个命令,使其在你退出 shell 或终端会话后继续运行。 基本语法 nohup command [arg1 ...] [&> output_file] &command 是你想要运行的命令。[arg1 ...] 是该命令的参数。&am…...

PS系统教程09
修复照片 修饰工具 污点修复画笔工具(J) 主要作用:去除一些污点或者不需要的 【:缩小】:放大 目标:去掉这两个点 修复画笔工具 也就是说我们要有取样点 选择修复画笔工具按住Alt键吸取周边相近颜色松开单机…...

2024089期传足14场胜负前瞻
2024089期售止时间为6月3日(周一)22点00分,敬请留意: 本期1.5以下赔率5场,1.5-2.0赔率5场,其他场次是平半盘、平盘。本期14场难度偏低。以下为基础盘前瞻,大家可根据自身判断,复选增…...

备战十一届大唐杯国赛预选赛
这次省赛带了太多个省一了,具体可看下面的图片,只放了一部分。目前根据可靠消息,应该还有个预选赛和去年一样,就是还会考一次仿真。如果说通过了就是国二起步然后去北方工业争夺国一国二,没过的话就是国三。 每…...

安装 Android Studio 2024.1.1.6(Koala SDK35)和过程问题解决
记录更新Android Studio版本及适配Android V应用配置的一些过程问题。 安装包:android-studio-2024.1.1.6-windows.exe原版本:Android Studio23.2.1.23 Koala 安装过程 Uninstall old version 不会删除原本配置(左下角提示) Un…...

美团一面:什么是CAS?有什么优缺点?我说你说的是AtomicInteger吗?
引言 传统的并发控制手段,如使用synchronized关键字或者ReentrantLock等互斥锁机制,虽然能够有效防止资源的竞争冲突,但也可能带来额外的性能开销,如上下文切换、锁竞争导致的线程阻塞等。而此时就出现了一种乐观锁的策略&#x…...
【linux】(2)文件内容排序sort
sort 是一个用于排序文件内容的命令行工具,在 Linux 和 Unix 系统中非常常用。 基本用法 sort [OPTION]... [FILE]...常用选项 按数值排序 -n sort -n filename例子:对包含数值的文件进行排序。 按字典顺序排序 -d sort -d filename例子࿱…...

css 图片上添加模糊背景的文字内容
html部分 <div class"onlogo"> <img src"../assets/img/banner.png" /><div class"imgText"><div class"title">一体化电子印章应用服务</div><div class"content">为企业提供安全可靠…...
Python3 函数参数
前言 本文主要介绍python中的函数参数,主要内容包括形式参数与实际参数的概念、位置参数、关键字参数、默认参数、可变参数。 文章目录 前言一、形式参数与实际参数的概念二、位置参数(也叫必需参数)三、关键字参数四、默认参数五、可变参数…...

精准检测,可燃气体报警系统的技术原理与特点
在现代化的工业生产与日常生活中,可燃气体泄露事故频发,给人们的生命和财产安全带来了严重威胁。 因此,可燃气体报警检测系统的应用变得尤为重要。它不仅能够实时监测环境中的可燃气体浓度,还能在发现异常情况时及时报警…...
vue3 字体颜色设置的多种方式
在Vue 3中设置字体颜色可以通过多种方式实现,这取决于你是想在组件内部直接设置,还是在CSS/SCSS/LESS等样式文件中定义。以下是几种常见的方法: 1. 内联样式 你可以直接在模板中使用style绑定来设置字体颜色。 <template><div :s…...
Swagger和OpenApi的前世今生
Swagger与OpenAPI的关系演进是API标准化进程中的重要篇章,二者共同塑造了现代RESTful API的开发范式。 本期就扒一扒其技术演进的关键节点与核心逻辑: 🔄 一、起源与初创期:Swagger的诞生(2010-2014) 核心…...

学习STC51单片机32(芯片为STC89C52RCRC)OLED显示屏2
每日一言 今天的每一份坚持,都是在为未来积攒底气。 案例:OLED显示一个A 这边观察到一个点,怎么雪花了就是都是乱七八糟的占满了屏幕。。 解释 : 如果代码里信号切换太快(比如 SDA 刚变,SCL 立刻变&#…...

OPENCV形态学基础之二腐蚀
一.腐蚀的原理 (图1) 数学表达式:dst(x,y) erode(src(x,y)) min(x,y)src(xx,yy) 腐蚀也是图像形态学的基本功能之一,腐蚀跟膨胀属于反向操作,膨胀是把图像图像变大,而腐蚀就是把图像变小。腐蚀后的图像变小变暗淡。 腐蚀…...
CSS设置元素的宽度根据其内容自动调整
width: fit-content 是 CSS 中的一个属性值,用于设置元素的宽度根据其内容自动调整,确保宽度刚好容纳内容而不会超出。 效果对比 默认情况(width: auto): 块级元素(如 <div>)会占满父容器…...

C++使用 new 来创建动态数组
问题: 不能使用变量定义数组大小 原因: 这是因为数组在内存中是连续存储的,编译器需要在编译阶段就确定数组的大小,以便正确地分配内存空间。如果允许使用变量来定义数组的大小,那么编译器就无法在编译时确定数组的大…...

免费数学几何作图web平台
光锐软件免费数学工具,maths,数学制图,数学作图,几何作图,几何,AR开发,AR教育,增强现实,软件公司,XR,MR,VR,虚拟仿真,虚拟现实,混合现实,教育科技产品,职业模拟培训,高保真VR场景,结构互动课件,元宇宙http://xaglare.c…...

【C++】纯虚函数类外可以写实现吗?
1. 答案 先说答案,可以。 2.代码测试 .h头文件 #include <iostream> #include <string>// 抽象基类 class AbstractBase { public:AbstractBase() default;virtual ~AbstractBase() default; // 默认析构函数public:virtual int PureVirtualFunct…...
0x-3-Oracle 23 ai-sqlcl 25.1 集成安装-配置和优化
是不是受够了安装了oracle database之后sqlplus的简陋,无法删除无法上下翻页的苦恼。 可以安装readline和rlwrap插件的话,配置.bahs_profile后也能解决上下翻页这些,但是很多生产环境无法安装rpm包。 oracle提供了sqlcl免费许可,…...
绕过 Xcode?使用 Appuploader和主流工具实现 iOS 上架自动化
iOS 应用的发布流程一直是开发链路中最“苹果味”的环节:强依赖 Xcode、必须使用 macOS、各种证书和描述文件配置……对很多跨平台开发者来说,这一套流程并不友好。 特别是当你的项目主要在 Windows 或 Linux 下开发(例如 Flutter、React Na…...