2 Star 1 Fork 1

Ripper / 微擎模块小程序框架

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
app.wxss 13.07 KB
一键复制 编辑 原始数据 按行查看 历史
Ripper 提交于 2022-02-14 17:27 . 迁移初始化
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
@import "/iconfont/iconfont.wxss";
/* iconfont */
/** app.wxss **/
view {
display: block;
box-sizing: border-box;
color: #333;
font-size: 24rpx;
font-weight: 400;
}
image {
width: 100%;
height: 100%;
}
button {
background: none;
border: none;
padding: 0;
margin: 0;
line-height: 1;
border-radius: 0;
}
input {
background: none;
outline: none;
border: none;
list-style: none;
}
button::after {
border: none;
}
.wx-switch-input {
width: 42px !important;
height: 20px !important;
}
.wx-switch-input::before {
width: 41px !important;
height: 20px !important;
}
.wx-switch-input::after {
width: 20px !important;
height: 18px !important;
}
.text-flow {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.clearfix:after,
.clearfix:before {
content: "\0020";
display: block;
height: 0;
overflow: hidden;
}
.clearfix:after {
clear: both;
}
.container {
overflow: hidden;
}
.iconfont {
background: none;
}
.clearfix {
zoom: 1;
}
.common-header-xian {
border-top: 1rpx solid #e8e8e8;
position: fixed;
top: 0;
width: 100%;
z-index: 100;
}
.del {
text-decoration: line-through;
padding-left: 10rpx;
color: #999;
}
/* 没有更多 */
.no-more {
text-align: center;
color: #737373;
padding: 10px 0;
}
.yoshop-notcont {
padding: 130rpx 100rpx;
box-sizing: border-box;
}
.yoshop-notcont .cont {
display: block;
text-align: center;
font-size: 30rpx;
color: #999;
margin-top: 10rpx;
}
.yoshop-notcont .iconfont {
font-size: 150rpx;
text-align: center;
display: block;
margin-bottom: 12rpx;
}
.yoshop-notcont .img {
width: 200px;
height: 120px;
margin: 0 auto;
}
.yoshop-notcont .img image {
width: 100%;
height: 100%;
}
.yoshop-notcont .jump {
display: block;
margin: auto;
margin-top: 20rpx;
width: 180rpx;
line-height: 60rpx;
color: #fff;
background: #f71d3c;
border-radius: 10rpx;
text-align: center;
font-size: 30rpx;
}
/* 返回顶部 */
.widget-goTop {
position: fixed;
bottom: 150rpx;
z-index: 10;
right: 24rpx;
background: rgba(255, 255, 255, 0.9);
width: 76rpx;
height: 76rpx;
border-radius: 76rpx;
border: 1rpx solid #e8e8e8;
}
.widget-goTop .icon-fanhuidingbu {
color: #666;
display: block;
text-align: center;
line-height: 76rpx;
font-size: 32rpx;
}
@-webkit-keyframes rotate {
0% {
transform: rotate(0deg) scale(1);
}
100% {
transform: rotate(360deg) scale(1);
}
}
@keyframes rotate {
0% {
transform: rotate(0deg) scale(1);
}
100% {
transform: rotate(360deg) scale(1);
}
}
/* 底线 */
.title-footer {
position: relative;
z-index: 1;
height: 80rpx;
line-height: 80rpx;
overflow: hidden;
color: #888;
text-align: center;
margin: 0 18rpx 0;
}
.title-footer .cont {
background: #f7f7f7;
padding: 0 12rpx;
font-size: 28rpx;
z-index: 10;
}
.title-footer .hr {
background: #e8e8e8;
height: 1rpx;
border: 0;
position: absolute;
left: 10%;
right: 10%;
top: 50%;
margin-top: 1px;
z-index: -1;
}
.slide-image {
width: 100%;
height: 100%;
margin: 0 auto;
display: block;
}
.goods-comment-box .user {
margin-right: 15rpx;
}
.goods-comment-box .user_name {
color: #999;
}
.goods-comment-cont {
font-size: 30rpx;
color: #333;
margin: 10rpx 0;
}
/* 底部操作栏 */
.footer-fixed {
position: fixed;
bottom: 0px;
left: 0px;
right: 0px;
display: flex;
height: 92rpx;
z-index: 11;
box-shadow: 0 -2px 20px 0 rgba(144, 52, 52, 0.1);
background: #fff;
}
/* 底部操作按钮 */
.footer-fixed .opt-btn {
display: flex;
text-align: center;
font-size: 30rpx;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
}
.footer-fixed .opt-btn.btn-main {
background-image: linear-gradient(90deg, #ff387f, #ff2e34);
color: #fff;
}
.footer-fixed .opt-btn.btn-gray {
background-color: #ccc;
color: #fff;
}
/* 废弃 */
.order-bt {
width: 50%;
background-image: linear-gradient(90deg, #ff387f, #ff2e34);
color: #fff;
text-align: center;
line-height: 92rpx;
font-size: 30rpx;
}
.goods-detail-box {
padding: 0;
min-height: 150px;
}
.com_xing .icon-shoucang {
padding-right: 6rpx;
color: #ccc;
font-size: 26rpx;
}
.com_xing .icon-shoucang.active {
color: #f4a213;
}
.goods-comment-box .left {
flex: 3;
position: relative;
}
.goods-comment-box .right {
flex: 3;
}
.v-hide {
display: none !important;
}
.v-show {
display: block !important;
}
.flow-checkout-header {
padding: 28rpx 0;
background: #fff url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANYAAAANCAYAAADVGpDCAAAAGXRFWHRTb2Z0d2F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Y1ZDciIHN0UmVmOmRvY3VtZW50SUQ9ImFkb2JlOmRvY2lkOnBob3Rvc2hvcDo1OTRiYzUyMy1jMzc3LTExNzgtYTdkZS04NGY3YmM1ZGIxMDMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz556PLxAAACBElEQVR42tyaSyhEYRTHP48imlKibDQeSSlkSlEWLCRFsZNH5FE2FqQ8ErIRC9lIkTwXSpMkWWChhEJCSnlkoUZGSsr78f98n43CMFPu/Z/6NZuZ2zn33/+cb869XkmLx8IDEQaGQJbgiytQDSY3MyL+LYnL/HxPXSoHDIJQQq2WQQk4Dbbb/yUB29LJ+6e3B66VB3ZITbUIEqSpCGoJBP1ghtBUD6ARpEtTGSEhXzd+awE9oJzQUPegWdf3QlBPMhgDMYRa7YNisGWkpP5qrBQtVBShUHugUE9hs4fUtwG0utlEjRivoA/Ug1sj3vjffr8FNJEK1auPFHcE9UTq5pdK2PwcoAzMG7mjuRrRYEIfK9jiDJSCBZJ6ynSTsBBqNQ0qgdPISbq6vJCFbJOaagrEk5gqWNczRGiqG1Ah1LLMafRkf5pYIUKtZnMJDXUNasAIST2ZYFioRx9ssQaKwJFZEv5uYmWDXVJTrYBEElP562PfPKGpnkAbSDOTqb6aWAGgW6iHol5kQj2CdtAJngnqkc1hHMQRNr9DPaXWzZj8Z2PZtFCxhEIdaKE2CGqRJ4060AH8CLUaALX6f5VpBZLhI9SaeZXQVHKNLt84SCIxVbhQi5YuQlNd6OVElZlN9TGxrGBUn2PZ4lyoTdIsST0FQj0UDSLUak6ot3gcBLVY3wQYAJoVXxmNERajAAAAAElFTkSuQmCC') bottom left repeat-x;
background-size: 120rpx auto;
position: relative;
}
.flow-header-right {
flex: 1;
}
.flow-header-right image {
width: 34rpx;
height: 34rpx;
margin-top: 20rpx;
float: right;
}
.flow-checkout-header .flow-checkout-address {
color: #777;
margin-top: 6rpx;
}
.flow-shopList {
padding: 18rpx 0;
}
.flow-shopList .flow-list-left {
margin-right: 20rpx;
}
.flow-shopList .flow-list-left image {
width: 200rpx;
height: 200rpx;
border: 1rpx solid #e8e8e8;
background: #fff;
}
.flow-shopList .flow-list-right .flow-cont {
font-size: 28rpx;
color: #f71d3c;
}
.flow-shopList .flow-list-right .small {
font-size: 26rpx;
}
.flow-shopList .flow-list-right .flow-list-cont {
padding-top: 10rpx;
}
.flow-fixed-footer {
position: fixed;
bottom: 0;
width: 100%;
background: #fff;
border-top: 1px solid #e8e8e8;
z-index: 11;
}
/* 共几件商品 */
.flow-num-box {
font-size: 28rpx;
color: #777;
padding: 16rpx 24rpx;
text-align: right;
}
.flow-all-money {
padding: 0 24rpx;
color: #444;
}
.flow-all-money .flow-all-list {
font-size: 28rpx;
padding: 20rpx 0;
border-bottom: 1rpx solid #f8f8f8;
}
.flow-all-money .flow-all-list:last-child {
border-bottom: none;
}
.flow-all-money .flow-all-list-cont {
font-size: 28rpx;
padding: 10rpx 0;
}
.flow-all-money .flow-arrow {
justify-content: flex-end;
align-items: center;
}
.flow-fixed-footer .chackout-left {
font-size: 30rpx;
line-height: 92rpx;
color: #777;
flex: 4;
padding-left: 12px;
}
.flow-fixed-footer .chackout-right {
font-size: 34rpx;
flex: 2;
}
.flow-btn {
background: linear-gradient(to right, #fa1e8c 0, #fc1e56 100%);
color: #fff;
text-align: center;
line-height: 92rpx;
display: block;
font-size: 30rpx;
}
.flow-list .header .shop_name {
padding-left: 10rpx;
font-size: 30rpx;
color: #333;
}
.flow-list .header image {
width: 34rpx;
height: 37rpx;
position: absolute;
top: 50%;
margin-top: -18rpx;
left: 15px;
}
.flow-list .header {
background: #fdf9f9;
padding: 24rpx 0;
border-top: 1rpx solid #e8e8e8;
border-bottom: 1rpx solid #e8e8e8;
font-size: 30rpx;
position: relative;
}
.flow-list custom-li,
.addres-list custom-li {
margin-top: 25rpx;
display: block;
}
.flow-list custom-li:first-child,
.addres-list custom-li:first-child {
margin-top: 0;
}
.flow-distribution-right .icon-xiangyoujiantou {
font-size: 26rpx;
position: absolute;
right: 15px;
top: 50%;
margin-top: -16rpx;
color: #999;
}
.flow-checkout-address text {
padding-right: 5rpx;
}
.flow-header-right .icon-xiangyoujiantou {
position: absolute;
right: 15px;
top: 50%;
margin-top: -13rpx;
font-size: 32rpx;
color: #999;
}
.flow-shopList .flow-list-left image {
width: 180rpx;
height: 180rpx;
}
.profile-btn button {
background: #ff5656;
color: white;
margin-bottom: 20rpx;
}
.flow-checkout-header .icon-dingwei {
position: absolute;
top: 50%;
left: 15px;
font-size: 40rpx;
color: #777;
margin-top: -20rpx;
}
.index-cont-search {
width: 100%;
font-size: 28rpx;
position: relative;
background: #f7f7f7;
}
.index-cont-search icon {
position: absolute;
left: 50%;
margin-left: -70rpx;
top: 50%;
margin-top: -15rpx;
}
.index-cont-search text {
margin-left: 72rpx;
}
@-webkit-keyframes shop {
0% {
transform: translateY(-80px);
}
50% {
transform: translateY(0px);
}
100% {
transform: translateY(-80px);
}
}
@keyframes shop {
0% {
transform: translateY(-80px);
}
50% {
transform: translateY(0px);
}
100% {
transform: translateY(-80px);
}
}
.user-orderJtou {
font-size: 26rpx;
}
.address-box .left-name {
width: 95px;
}
.address-box .right-cont {
font-size: 30rpx;
}
.address-box .right-cont input {
width: 100%;
font-size: 30rpx;
color: #444;
}
.address-cont-box picker {
display: inline-block;
margin-right: 15px;
width: 100%;
}
.button {
border: 1px solid green;
border-radius: 2px;
}
.picker {
padding: 13px;
background-color: #fff;
}
.profile-list {
padding: 24rpx 0;
border-bottom: 1px solid #e8e8e8;
}
.profile-list .admin {
font-size: 30rpx;
}
.profile-btn button {
font-size: 34rpx;
}
.profile-btn button[disabled] {
background: #f16474;
color: white;
}
.btn-green button {
background: #1aad19;
color: white;
}
.btn-green button[disabled] {
background: #9de49c;
color: white;
}
.search-box .left {
width: 28px;
}
.search-box .left icon {
padding: 18rpx;
}
.search-box .right {
flex: 1;
}
.xEmojiView {
margin: 15rpx 0;
}
.seconds-kill-li {
padding: 10rpx;
box-sizing: border-box;
width: 33.3%;
float: left;
}
.sale-button-box {
padding: 10px 0;
overflow: hidden;
}
.sale-button,
.recent-button {
background: #fff;
padding: 10rpx;
border-radius: 50px;
justify-content: center;
text-align: center;
font-size: 26rpx;
border: 1px solid #e8e8e8;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: 30rpx;
line-height: 30rpx;
}
.divider-line {
height: 20rpx;
background: #f7f7f7;
margin: 0 -40rpx;
}
/* noresult */
.noresult {
position: fixed;
top: 50px;
bottom: 0;
left: 0;
right: 0;
z-index: 9;
background: #fff;
}
.noresult .cot {
width: 100%;
position: absolute;
top: 50%;
left: 0;
text-align: center;
margin-top: -140px;
}
.noresult .img {
width: 200px;
margin: 0 auto;
}
.noresult .img image {
width: 200px;
height: 182.9px;
display: block;
}
.noresult .text {
font-size: 14px;
color: #999;
margin-top: 20px;
display: block;
}
/* noresult end */
.fix-Full-button {
bottom: 68rpx !important;
}
.fix-Full-button::after {
content: ' ';
position: fixed;
bottom: 0 !important;
left: 0 !important;
right: 0 !important;
height: 68rpx !important;
width: 100%;
background: #fff;
}
.f-cr {
color: #ff5656 !important;
}
.c-blue {
color: #3372FC !important;
}
JavaScript
1
https://gitee.com/ripperTs/micro-engine-module-wxapp.git
git@gitee.com:ripperTs/micro-engine-module-wxapp.git
ripperTs
micro-engine-module-wxapp
微擎模块小程序框架
master

搜索帮助