This commit is contained in:
qiaojiale 2025-06-13 14:54:51 +08:00
parent 5f6ca8d800
commit 36d88c7d9b
19 changed files with 1842 additions and 1859 deletions

View File

@ -1,186 +1,169 @@
<template> <template>
<view class="container"> <view class="container">
<search @search="headerSearch" />
<view v-if="pageType">
<swiper class="banner" indicator-dots autoplay circular> <nav-footer />
<swiper-item v-for="(item, index) in bannerList" :key="index"> </view>
<image class="banner_item" :src="item.pic" mode="" /> </template>
</swiper-item>
</swiper> <script>
</view> import { request, picUrl, uniqueByField } from '../../../utils';
<view class="main"> import { apiArr } from '../../../api/community';
<tabularCard export default {
v-for="(item,index) in list" data() {
:key="index" return {
:item="item" pageType: 2,
:type="pageType" page_num: 1,
:isLast="index === list.length -1" page_size: 10,
:joinType="joinType" list: [],
@chooseCommunity="chooseCommunity" bannerList: [{
/> pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png'
</view> },
<nav-footer /> {
</view> pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png'
</template> },
{
<script> pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png'
import { request, picUrl, uniqueByField } from '../../../utils'; },
import { apiArr } from '../../../api/community'; ],
export default { blurdesc: '', //
data() { flag: false,
return { choose: true,
pageType: 2, joinType: "2"
page_num: 1, }
page_size: 10, },
list: [], onLoad(options) {
bannerList: [{ console.log('1231', options);
pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png' //
}, uni.setNavigationBarTitle({
{ title: options.title || '社区列表'
pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png' })
},
{ this.pageType = options?.type || '';
pic: 'https://wechat-img-file.oss-cn-beijing.aliyuncs.com/community/_assets/Group_62.png' this.joinType = options?.joinType || '2'
},
], // types === 2
blurdesc: '', // if(options?.types == 2){
flag: false, this.init(options?.type || '');
choose: true, }else{
joinType: "2" this.getUserCommunity()
} }
}, },
onLoad(options) {
console.log('1231', options);
// methods: {
uni.setNavigationBarTitle({
title: options.title || '社区列表' //
}) headerSearch(item) {
console.log('1', item);
this.pageType = options?.type || ''; let value = item.detail.__args__[0].value;
this.joinType = options?.joinType || '2' console.log('12112313221', value)
this.blurdesc = value;
// types === 2 this.page_num = 1;
if(options?.types == 2){ this.flag = false,
this.init(options?.type || ''); this.list = [],
}else{ this.init();
this.getUserCommunity() },
}
},
async init(type) {
console.log('12313', this);
methods: { const {
list,
// page_num,
headerSearch(item) { page_size,
console.log('1', item); blurdesc
let value = item.detail.__args__[0].value; } = this;
console.log('12112313221', value)
this.blurdesc = value; let url;
this.page_num = 1; // type
this.flag = false, if (type) {
this.list = [], url = 'bianming'
this.init(); } else {
}, url = apiArr.list
}
const res = await request(url, 'POST', {
async init(type) { page_num,
console.log('12313', this); page_size,
const { name: blurdesc || ''
list, });
page_num, console.log('11231321', res);
page_size,
blurdesc let flag = false;
} = this; if (res?.rows && res?.rows?.length == this.page_size) {
flag = true
let url; } else {
// type flag = false
if (type) { }
url = 'bianming' res?.rows && res?.rows.forEach(item => {
} else { item.pic = picUrl + item.pic
url = apiArr.list });
} console.log('变更后的', res);
const res = await request(url, 'POST', {
page_num, this.list = list.concat(res.rows || []),
page_size, this.page_num = this.page_num + 1;
name: blurdesc || '' this.flag = flag;
}); },
console.log('11231321', res);
async getUserCommunity() {
let flag = false; const { page_num, page_size, blurdesc } = this;
if (res?.rows && res?.rows?.length == this.page_size) { let param = {
flag = true page_num,
} else { page_size,
flag = false };
} if (blurdesc !== '') {
res?.rows && res?.rows.forEach(item => { param = {
item.pic = picUrl + item.pic page_num,
}); page_size,
console.log('变更后的', res); name: blurdesc,
};
this.list = list.concat(res.rows || []), }
this.page_num = this.page_num + 1; const res = await request(apiArr.getUserCommunity, 'POST', param);
this.flag = flag; console.log('reeee', res);
},
async getUserCommunity() { let communityList = []
const { page_num, page_size, blurdesc } = this; if(res?.rows){
let param = { communityList = uniqueByField(res.rows,'community_id')
page_num, }
page_size, communityList = communityList.map( item => item.community)
}; if(communityList.length == 0){
if (blurdesc !== '') { this.init(this.pageType || '');
param = { }else{
page_num, communityList.forEach(item => {
page_size, item.pic = picUrl + item.pic
name: blurdesc, });
}; console.log('变更后的', communityList);
} this.list = communityList;
const res = await request(apiArr.getUserCommunity, 'POST', param); }
console.log('reeee', res);
},
let communityList = []
if(res?.rows){
communityList = uniqueByField(res.rows,'community_id') chooseCommunity(e){
} console.log(e,'eeeee');
communityList = communityList.map( item => item.community) return;
if(communityList.length == 0){ // let community_id = e.detail
this.init(this.pageType || '');
}else{ const pages = getCurrentPages();
communityList.forEach(item => { if (pages.length < 2) return; //
item.pic = picUrl + item.pic const prevPage = pages[pages.length - 2]; //
}); // updateData
console.log('变更后的', communityList); if (prevPage.updateData) {
this.list = communityList; prevPage.updateData(e.detail);
} }
},
},
},
onReachBottom() {
if (this.flag) {
chooseCommunity(e){ this.init(this.pageType);
console.log(e,'eeeee'); };
return; },
// let community_id = e.detail }
</script>
const pages = getCurrentPages();
if (pages.length < 2) return; // <style>
const prevPage = pages[pages.length - 2]; // @import url("./index.css");
// updateData
if (prevPage.updateData) {
prevPage.updateData(e.detail);
}
},
},
onReachBottom() {
if (this.flag) {
this.init(this.pageType);
};
},
}
</script>
<style>
@import url("./index.css");
</style> </style>

View File

@ -1,364 +1,364 @@
{ {
"pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages "pages": [ //pageshttps://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "pages/login/login", "path": "pages/login/login",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "pages/shopcity/shopcity", "path": "pages/shopcity/shopcity",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "pages/webview/webview", "path": "pages/webview/webview",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "pages/user/index", "path": "pages/user/index",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path" : "packages/health/index/index", "path" : "packages/health/index/index",
"style" : "style" :
{ {
"navigationBarTitleText" : "智慧康养" "navigationBarTitleText" : "智慧康养"
} }
}, },
{ {
"path" : "packages/health/express/express", "path" : "packages/health/express/express",
"style" : "style" :
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
}, },
{ {
"path" : "packages/health/selfTest/selfTest", "path" : "packages/health/selfTest/selfTest",
"style" : "style" :
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
}, },
{ {
"path" : "packages/health/reportList/reportList", "path" : "packages/health/reportList/reportList",
"style" : "style" :
{ {
"navigationBarTitleText" : "体检报告" "navigationBarTitleText" : "体检报告"
} }
}, },
{ {
"path" : "packages/health/reportDesc/reportDesc", "path" : "packages/health/reportDesc/reportDesc",
"style" : "style" :
{ {
"navigationBarTitleText" : "" "navigationBarTitleText" : ""
} }
} }
], ],
"subPackages": [{ "subPackages": [{
"root": "kitchen", "root": "kitchen",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "厨房介绍", "navigationBarTitleText": "厨房介绍",
"navigationBarBackgroundColor": "#F9F9F9" "navigationBarBackgroundColor": "#F9F9F9"
} }
}, },
{ {
"path": "pay/index", "path": "pay/index",
"style": { "style": {
"navigationBarTitleText": "立即支付" "navigationBarTitleText": "立即支付"
} }
}, },
{ {
"path": "recharge/index", "path": "recharge/index",
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
] ]
}, },
{ {
"root": "packages/publicServer", "root": "packages/publicServer",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "便民服务", "navigationBarTitleText": "便民服务",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
} }
] ]
}, },
{ {
"root": "reservation", "root": "reservation",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "活动列表", "navigationBarTitleText": "活动列表",
"usingComponents": { "usingComponents": {
"dropdown": "/components/dropdown/dropdown" "dropdown": "/components/dropdown/dropdown"
} }
} }
}, },
{ {
"path": "receive/index", "path": "receive/index",
"style": { "style": {
"navigationBarTitleText": "我的预约" "navigationBarTitleText": "我的预约"
} }
}, },
{ {
"path": "pickPoint/index", "path": "pickPoint/index",
"style": { "style": {
"navigationBarTitleText": "自提点" "navigationBarTitleText": "自提点"
} }
}, },
{ {
"path": "ticketCode/index", "path": "ticketCode/index",
"style": { "style": {
"navigationBarTitleText": "券码" "navigationBarTitleText": "券码"
} }
} }
] ]
}, },
{ {
"root": "packages/community", "root": "packages/community",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "社区列表", "navigationBarTitleText": "我的房产",
"usingComponents": { "usingComponents": {
"tabularCard": "/components/tabularCard/tabularCard", "tabularCard": "/components/tabularCard/tabularCard",
"search": "/components/search/search", "search": "/components/search/search",
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "communityDetail/index", "path": "communityDetail/index",
"style": { "style": {
"navigationBarBackgroundColor": "#F9F9F9" "navigationBarBackgroundColor": "#F9F9F9"
} }
}, },
{ {
"path": "notice/index", "path": "notice/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "desc/desc", "path": "desc/desc",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "applyOwer/index", "path": "applyOwer/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "mycar/index", "path": "mycar/index",
"style": { "style": {
"navigationBarTitleText": "我的车辆" "navigationBarTitleText": "我的车辆"
} }
}, },
{ {
"path": "oneRepair/index", "path": "oneRepair/index",
"style": { "style": {
"navigationBarTitleText": "报事报修" "navigationBarTitleText": "报事报修"
} }
}, },
{ {
"path": "repairList/index", "path": "repairList/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "repairDetail/index", "path": "repairDetail/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "chooseMsg/index", "path": "chooseMsg/index",
"style": { "style": {
"navigationBarTitleText": "" "navigationBarTitleText": ""
} }
}, },
{ {
"path": "addCar/index", "path": "addCar/index",
"style": { "style": {
"navigationBarBackgroundColor": "#F9F9F9" "navigationBarBackgroundColor": "#F9F9F9"
} }
}, },
{ {
"path": "ownerList/index", "path": "ownerList/index",
"style": { "style": {
} }
} }
] ]
}, },
{ {
"root": "shopWrite", "root": "shopWrite",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "订单核销" "navigationBarTitleText": "订单核销"
} }
}, },
{ {
"path": "list/index", "path": "list/index",
"style": { "style": {
"navigationBarTitleText": "核销列表" "navigationBarTitleText": "核销列表"
} }
} }
] ]
}, },
{ {
"root": "packages/user", "root": "packages/user",
"pages": [{ "pages": [{
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "账户信息", "navigationBarTitleText": "账户信息",
"navigationBarBackgroundColor": "#F9F9F9", "navigationBarBackgroundColor": "#F9F9F9",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "uploadAvatar/index", "path": "uploadAvatar/index",
"style": { "style": {
"navigationBarTitleText": "上传头像", "navigationBarTitleText": "上传头像",
"navigationBarBackgroundColor": "#F9F9F9", "navigationBarBackgroundColor": "#F9F9F9",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "resetPwd/index", "path": "resetPwd/index",
"style": { "style": {
"navigationBarBackgroundColor": "#F9F9F9", "navigationBarBackgroundColor": "#F9F9F9",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "points/index", "path": "points/index",
"style": { "style": {
"navigationBarTitleText": "积分", "navigationBarTitleText": "积分",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "pointsSign/index", "path": "pointsSign/index",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "pointsRule/index", "path": "pointsRule/index",
"style": { "style": {
"navigationBarTitleText": "积分规则", "navigationBarTitleText": "积分规则",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "marketing/index", "path": "marketing/index",
"style": { "style": {
"navigationBarTitleText": "营销推广", "navigationBarTitleText": "营销推广",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "share/index", "path": "share/index",
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "customerService/index", "path": "customerService/index",
"style": {} "style": {}
} }
] ]
}, },
{ {
"root": "packages/communityService", "root": "packages/communityService",
"pages": [ "pages": [
{ {
"path": "index/index", "path": "index/index",
"style": { "style": {
"navigationBarTitleText": "社区服务", "navigationBarTitleText": "社区服务",
"usingComponents": { "usingComponents": {
"nav-footer": "/components/nav/nav" "nav-footer": "/components/nav/nav"
} }
} }
}, },
{ {
"path": "shopDetail/index", "path": "shopDetail/index",
"style": {} "style": {}
}, },
{ {
"path": "serviceMore/index", "path": "serviceMore/index",
"style": {} "style": {}
}, },
{ {
"path": "reservation/index", "path": "reservation/index",
"style": {} "style": {}
}, },
{ {
"path": "reservationApply/index", "path": "reservationApply/index",
"style": { "style": {
"usingComponents": { "usingComponents": {
"areaPopup": "/components/areaPopup/areaPopup" "areaPopup": "/components/areaPopup/areaPopup"
} }
} }
} }
] ]
} }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app", "navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8", "navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8" "backgroundColor": "#F8F8F8"
}, },
"uniIdRouter": {} "uniIdRouter": {}
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,259 +1,259 @@
@charset "UTF-8"; @charset "UTF-8";
/** /**
* 这里是uni-app内置的常用样式变量 * 这里是uni-app内置的常用样式变量
* *
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量 * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* *
*/ */
/** /**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能 * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
* *
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/ */
/* 颜色变量 */ /* 颜色变量 */
/* 行为相关颜色 */ /* 行为相关颜色 */
/* 文字基本颜色 */ /* 文字基本颜色 */
/* 背景颜色 */ /* 背景颜色 */
/* 边框颜色 */ /* 边框颜色 */
/* 尺寸变量 */ /* 尺寸变量 */
/* 文字尺寸 */ /* 文字尺寸 */
/* 图片尺寸 */ /* 图片尺寸 */
/* Border Radius */ /* Border Radius */
/* 水平间距 */ /* 水平间距 */
/* 垂直间距 */ /* 垂直间距 */
/* 透明度 */ /* 透明度 */
/* 文章场景相关 */ /* 文章场景相关 */
/* 注意要写在第一行同时给style标签加入lang="scss"属性 */ /* 注意要写在第一行同时给style标签加入lang="scss"属性 */
.u-line-1 { .u-line-1 {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
} }
.u-line-2 { .u-line-2 {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
} }
.u-line-3 { .u-line-3 {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
} }
.u-line-4 { .u-line-4 {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
-webkit-line-clamp: 4; -webkit-line-clamp: 4;
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
} }
.u-line-5 { .u-line-5 {
display: -webkit-box !important; display: -webkit-box !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
-webkit-line-clamp: 5; -webkit-line-clamp: 5;
-webkit-box-orient: vertical !important; -webkit-box-orient: vertical !important;
} }
.u-border { .u-border {
border-width: 0.5px !important; border-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-style: solid; border-style: solid;
} }
.u-border-top { .u-border-top {
border-top-width: 0.5px !important; border-top-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-top-style: solid; border-top-style: solid;
} }
.u-border-left { .u-border-left {
border-left-width: 0.5px !important; border-left-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-left-style: solid; border-left-style: solid;
} }
.u-border-right { .u-border-right {
border-right-width: 0.5px !important; border-right-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-right-style: solid; border-right-style: solid;
} }
.u-border-bottom { .u-border-bottom {
border-bottom-width: 0.5px !important; border-bottom-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-bottom-style: solid; border-bottom-style: solid;
} }
.u-border-top-bottom { .u-border-top-bottom {
border-top-width: 0.5px !important; border-top-width: 0.5px !important;
border-bottom-width: 0.5px !important; border-bottom-width: 0.5px !important;
border-color: #dadbde !important; border-color: #dadbde !important;
border-top-style: solid; border-top-style: solid;
border-bottom-style: solid; border-bottom-style: solid;
} }
.u-reset-button { .u-reset-button {
padding: 0; padding: 0;
background-color: transparent; background-color: transparent;
font-size: inherit; font-size: inherit;
line-height: inherit; line-height: inherit;
color: inherit; color: inherit;
} }
.u-reset-button::after { .u-reset-button::after {
border: none; border: none;
} }
.u-hover-class { .u-hover-class {
opacity: 0.7; opacity: 0.7;
} }
.u-primary-light { .u-primary-light {
color: #ecf5ff; color: #ecf5ff;
} }
.u-warning-light { .u-warning-light {
color: #fdf6ec; color: #fdf6ec;
} }
.u-success-light { .u-success-light {
color: #f5fff0; color: #f5fff0;
} }
.u-error-light { .u-error-light {
color: #fef0f0; color: #fef0f0;
} }
.u-info-light { .u-info-light {
color: #f4f4f5; color: #f4f4f5;
} }
.u-primary-light-bg { .u-primary-light-bg {
background-color: #ecf5ff; background-color: #ecf5ff;
} }
.u-warning-light-bg { .u-warning-light-bg {
background-color: #fdf6ec; background-color: #fdf6ec;
} }
.u-success-light-bg { .u-success-light-bg {
background-color: #f5fff0; background-color: #f5fff0;
} }
.u-error-light-bg { .u-error-light-bg {
background-color: #fef0f0; background-color: #fef0f0;
} }
.u-info-light-bg { .u-info-light-bg {
background-color: #f4f4f5; background-color: #f4f4f5;
} }
.u-primary-dark { .u-primary-dark {
color: #398ade; color: #398ade;
} }
.u-warning-dark { .u-warning-dark {
color: #f1a532; color: #f1a532;
} }
.u-success-dark { .u-success-dark {
color: #53c21d; color: #53c21d;
} }
.u-error-dark { .u-error-dark {
color: #e45656; color: #e45656;
} }
.u-info-dark { .u-info-dark {
color: #767a82; color: #767a82;
} }
.u-primary-dark-bg { .u-primary-dark-bg {
background-color: #398ade; background-color: #398ade;
} }
.u-warning-dark-bg { .u-warning-dark-bg {
background-color: #f1a532; background-color: #f1a532;
} }
.u-success-dark-bg { .u-success-dark-bg {
background-color: #53c21d; background-color: #53c21d;
} }
.u-error-dark-bg { .u-error-dark-bg {
background-color: #e45656; background-color: #e45656;
} }
.u-info-dark-bg { .u-info-dark-bg {
background-color: #767a82; background-color: #767a82;
} }
.u-primary-disabled { .u-primary-disabled {
color: #9acafc; color: #9acafc;
} }
.u-warning-disabled { .u-warning-disabled {
color: #f9d39b; color: #f9d39b;
} }
.u-success-disabled { .u-success-disabled {
color: #a9e08f; color: #a9e08f;
} }
.u-error-disabled { .u-error-disabled {
color: #f7b2b2; color: #f7b2b2;
} }
.u-info-disabled { .u-info-disabled {
color: #c4c6c9; color: #c4c6c9;
} }
.u-primary { .u-primary {
color: #3c9cff; color: #3c9cff;
} }
.u-warning { .u-warning {
color: #f9ae3d; color: #f9ae3d;
} }
.u-success { .u-success {
color: #5ac725; color: #5ac725;
} }
.u-error { .u-error {
color: #f56c6c; color: #f56c6c;
} }
.u-info { .u-info {
color: #909399; color: #909399;
} }
.u-primary-bg { .u-primary-bg {
background-color: #3c9cff; background-color: #3c9cff;
} }
.u-warning-bg { .u-warning-bg {
background-color: #f9ae3d; background-color: #f9ae3d;
} }
.u-success-bg { .u-success-bg {
background-color: #5ac725; background-color: #5ac725;
} }
.u-error-bg { .u-error-bg {
background-color: #f56c6c; background-color: #f56c6c;
} }
.u-info-bg { .u-info-bg {
background-color: #909399; background-color: #909399;
} }
.u-main-color { .u-main-color {
color: #303133; color: #303133;
} }
.u-content-color { .u-content-color {
color: #606266; color: #606266;
} }
.u-tips-color { .u-tips-color {
color: #909193; color: #909193;
} }
.u-light-color { .u-light-color {
color: #c0c4cc; color: #c0c4cc;
} }
.u-safe-area-inset-top { .u-safe-area-inset-top {
padding-top: 0; padding-top: 0;
padding-top: constant(safe-area-inset-top); padding-top: constant(safe-area-inset-top);
padding-top: env(safe-area-inset-top); padding-top: env(safe-area-inset-top);
} }
.u-safe-area-inset-right { .u-safe-area-inset-right {
padding-right: 0; padding-right: 0;
padding-right: constant(safe-area-inset-right); padding-right: constant(safe-area-inset-right);
padding-right: env(safe-area-inset-right); padding-right: env(safe-area-inset-right);
} }
.u-safe-area-inset-bottom { .u-safe-area-inset-bottom {
padding-bottom: 0; padding-bottom: 0;
padding-bottom: constant(safe-area-inset-bottom); padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom); padding-bottom: env(safe-area-inset-bottom);
} }
.u-safe-area-inset-left { .u-safe-area-inset-left {
padding-left: 0; padding-left: 0;
padding-left: constant(safe-area-inset-left); padding-left: constant(safe-area-inset-left);
padding-left: env(safe-area-inset-left); padding-left: env(safe-area-inset-left);
} }
::-webkit-scrollbar { ::-webkit-scrollbar {
display: none; display: none;
width: 0 !important; width: 0 !important;
height: 0 !important; height: 0 !important;
-webkit-appearance: none; -webkit-appearance: none;
background: transparent; background: transparent;
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,498 +1,498 @@
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.logo { .logo {
height: 200rpx; height: 200rpx;
width: 200rpx; width: 200rpx;
margin-top: 200rpx; margin-top: 200rpx;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 50rpx; margin-bottom: 50rpx;
} }
.text-area { .text-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.title { .title {
font-size: 36rpx; font-size: 36rpx;
color: #8f8f94; color: #8f8f94;
} }
.nav-box { .nav-box {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
position: relative; position: relative;
/* position: fixed; */ /* position: fixed; */
z-index: 2; z-index: 2;
} }
.nav-box .nav-bar { .nav-box .nav-bar {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.nav-box .nav-bar .nav-bar-left, .nav-box .nav-bar .nav-bar-left,
.nav-box .nav-bar .nav-bar-right { .nav-box .nav-bar .nav-bar-right {
padding: 0 20rpx; padding: 0 20rpx;
min-width: 36rpx; min-width: 36rpx;
} }
.nav-box .nav-bar .nav-bar-left van-icon { .nav-box .nav-bar .nav-bar-left van-icon {
vertical-align: sub; vertical-align: sub;
color: #333333; color: #333333;
} }
.nav-box .nav-bar .nav-bar-title { .nav-box .nav-bar .nav-bar-title {
flex: 1; flex: 1;
text-align: center; text-align: center;
font-weight: 400; font-weight: 400;
font-size: 36rpx; font-size: 36rpx;
color: #000000; color: #000000;
} }
.nav-box .nav-bar-title { .nav-box .nav-bar-title {
margin-left: -20rpx; margin-left: -20rpx;
} }
.indexBg { .indexBg {
width: 750rpx; width: 750rpx;
height: 775rpx; height: 775rpx;
position: absolute; position: absolute;
top: -20rpx; top: -20rpx;
left: 0; left: 0;
z-index: -1; z-index: -1;
} }
.searchBox { .searchBox {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 20rpx; margin: 0 20rpx;
margin-top: 35rpx; margin-top: 35rpx;
justify-content: space-between; justify-content: space-between;
} }
.searchBox_add { .searchBox_add {
display: flex; display: flex;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #000000; color: #000000;
} }
.searchBox_add image { .searchBox_add image {
width: 33rpx; width: 33rpx;
height: 33rpx; height: 33rpx;
margin-right: 10rpx; margin-right: 10rpx;
} }
.iptbox { .iptbox {
width: 480rpx; width: 480rpx;
height: 60rpx; height: 60rpx;
background: #FFFFFF; background: #FFFFFF;
border-radius: 100rpx; border-radius: 100rpx;
display: flex; display: flex;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
padding: 0 15rpx; padding: 0 15rpx;
justify-content: space-between; justify-content: space-between;
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #000000; color: #000000;
} }
.iptbox image { .iptbox image {
width: 33rpx; width: 33rpx;
height: 33rpx; height: 33rpx;
} }
.map { .map {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 20rpx; font-size: 20rpx;
color: #222222; color: #222222;
margin-left: 20rpx; margin-left: 20rpx;
} }
.map image { .map image {
width: 31rpx; width: 31rpx;
height: 31rpx; height: 31rpx;
margin-bottom: 6rpx; margin-bottom: 6rpx;
} }
.searchBox_msg { .searchBox_msg {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.swiper { .swiper {
width: 710rpx; width: 710rpx;
height: 300rpx; height: 300rpx;
margin: 0 auto; margin: 0 auto;
margin-top: 30rpx; margin-top: 30rpx;
position: relative; position: relative;
} }
.cirList { .cirList {
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: 22rpx; bottom: 22rpx;
-webkit-transform: translateX(-50%); -webkit-transform: translateX(-50%);
transform: translateX(-50%); transform: translateX(-50%);
display: flex; display: flex;
align-items: center; align-items: center;
} }
.cir { .cir {
width: 6rpx; width: 6rpx;
height: 6rpx; height: 6rpx;
border-radius: 50%; border-radius: 50%;
background-color: #fff; background-color: #fff;
margin-right: 6rpx; margin-right: 6rpx;
} }
.active { .active {
width: 12rpx; width: 12rpx;
height: 6rpx; height: 6rpx;
border-radius: 100rpx; border-radius: 100rpx;
} }
.tabList { .tabList {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
padding: 0 50rpx; padding: 0 50rpx;
margin-top: 40rpx; margin-top: 40rpx;
} }
.tabItem { .tabItem {
width: 33.33%; width: 33.33%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #222222; color: #222222;
margin-bottom: 46rpx; margin-bottom: 46rpx;
height: 100rpx; height: 100rpx;
justify-content: space-between; justify-content: space-between;
} }
.tabImg { .tabImg {
width: 54rpx; width: 54rpx;
max-height: 54rpx; max-height: 54rpx;
height: 54rpx; height: 54rpx;
} }
.tabImg image { .tabImg image {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
.Tit { .Tit {
font-weight: bold; font-weight: bold;
font-size: 32rpx; font-size: 32rpx;
color: #222222; color: #222222;
margin-left: 20rpx; margin-left: 20rpx;
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
.serverList { .serverList {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
margin-left: 20rpx; margin-left: 20rpx;
margin-right: 20rpx; margin-right: 20rpx;
justify-content: space-between; justify-content: space-between;
} }
.serverItem { .serverItem {
border-radius: 30rpx; border-radius: 30rpx;
width: 345rpx; width: 345rpx;
height: 188rpx; height: 188rpx;
box-sizing: border-box; box-sizing: border-box;
padding-top: 30rpx; padding-top: 30rpx;
padding-left: 40rpx; padding-left: 40rpx;
font-weight: bold; font-weight: bold;
font-size: 26rpx; font-size: 26rpx;
color: #222222; color: #222222;
position: relative; position: relative;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.serverItem1 { .serverItem1 {
background: linear-gradient(139deg, #FEF4F4 0%, #FEDCD2 100%); background: linear-gradient(139deg, #FEF4F4 0%, #FEDCD2 100%);
} }
.serverItem2 { .serverItem2 {
background: #F7F7F7; background: #F7F7F7;
} }
.serverItem3 { .serverItem3 {
background: linear-gradient(139deg, #FEFBF4 0%, #FEEFD2 100%); background: linear-gradient(139deg, #FEFBF4 0%, #FEEFD2 100%);
} }
.serverItem4 { .serverItem4 {
background: #EFF3FF; background: #EFF3FF;
} }
.serverItem1 image { .serverItem1 image {
position: absolute; position: absolute;
right: 13rpx; right: 13rpx;
top: 25rpx; top: 25rpx;
width: 172rpx; width: 172rpx;
height: 172rpx; height: 172rpx;
} }
.serverItem2 image { .serverItem2 image {
position: absolute; position: absolute;
right: 12rpx; right: 12rpx;
top: 57rpx; top: 57rpx;
width: 190rpx; width: 190rpx;
height: 127rpx; height: 127rpx;
} }
.serverItem3 image { .serverItem3 image {
width: 138rpx; width: 138rpx;
height: 123rpx; height: 123rpx;
position: absolute; position: absolute;
right: 30rpx; right: 30rpx;
top: 50rpx; top: 50rpx;
} }
.serverItem4 image { .serverItem4 image {
width: 143rpx; width: 143rpx;
height: 143rpx; height: 143rpx;
position: absolute; position: absolute;
top: 37rpx; top: 37rpx;
right: 16rpx; right: 16rpx;
} }
.List_tabList { .List_tabList {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 20rpx; margin: 0 20rpx;
margin-top: 24rpx; margin-top: 24rpx;
} }
.List_tabItem { .List_tabItem {
font-weight: 400; font-weight: 400;
font-size: 28rpx; font-size: 28rpx;
color: #555555; color: #555555;
margin-right: 60rpx; margin-right: 60rpx;
} }
.List_active { .List_active {
font-weight: bold; font-weight: bold;
font-size: 32rpx; font-size: 32rpx;
color: #222222; color: #222222;
position: relative; position: relative;
} }
.List_active::after { .List_active::after {
width: 63rpx; width: 63rpx;
height: 10rpx; height: 10rpx;
background: #FF512A; background: #FF512A;
border-radius: 0rpx; border-radius: 0rpx;
content: ''; content: '';
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: -10rpx; bottom: -10rpx;
-webkit-transform: translateX(-50%); -webkit-transform: translateX(-50%);
transform: translateX(-50%); transform: translateX(-50%);
} }
.List_active::before { .List_active::before {
content: ''; content: '';
width: 63rpx; width: 63rpx;
height: 10rpx; height: 10rpx;
background: #FF512A; background: #FF512A;
border-radius: 0rpx; border-radius: 0rpx;
-webkit-filter: blur(6.599999904632568rpx); -webkit-filter: blur(6.599999904632568rpx);
filter: blur(6.599999904632568rpx); filter: blur(6.599999904632568rpx);
position: absolute; position: absolute;
left: 50%; left: 50%;
bottom: -10rpx; bottom: -10rpx;
-webkit-transform: translateX(-50%); -webkit-transform: translateX(-50%);
transform: translateX(-50%); transform: translateX(-50%);
} }
.List { .List {
margin: 0 20rpx; margin: 0 20rpx;
margin-top: 30rpx; margin-top: 30rpx;
} }
.List_Item { .List_Item {
padding-top: 10rpx; padding-top: 10rpx;
padding-bottom: 30rpx; padding-bottom: 30rpx;
display: flex; display: flex;
} }
.List .List_Item:last-of-type .Item_msg { .List .List_Item:last-of-type .Item_msg {
border-bottom: none; border-bottom: none;
} }
.Item_img { .Item_img {
width: 180rpx; width: 180rpx;
height: 180rpx; height: 180rpx;
border-radius: 30rpx; border-radius: 30rpx;
margin-right: 30rpx; margin-right: 30rpx;
} }
.Item_msg { .Item_msg {
flex: 1; flex: 1;
padding-bottom: 55rpx; padding-bottom: 55rpx;
border-bottom: 1rpx solid #E6E6E6; border-bottom: 1rpx solid #E6E6E6;
} }
.Item_top { .Item_top {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.Item_top_name { .Item_top_name {
font-weight: 400; font-weight: 400;
font-size: 32rpx; font-size: 32rpx;
color: #000000; color: #000000;
} }
.Item_top_apart { .Item_top_apart {
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC; font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400; font-weight: 400;
font-size: 22rpx; font-size: 22rpx;
color: #a8682bcc; color: #a8682bcc;
} }
.Item_sceond { .Item_sceond {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #555555; color: #555555;
margin-top: 15rpx; margin-top: 15rpx;
} }
.Item_third { .Item_third {
display: flex; display: flex;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #999999; color: #999999;
margin-top: 18rpx; margin-top: 18rpx;
} }
.Item_third image { .Item_third image {
width: 24rpx; width: 24rpx;
height: 26rpx; height: 26rpx;
margin-right: 12rpx; margin-right: 12rpx;
} }
.Item_fourth { .Item_fourth {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 20rpx; margin-top: 20rpx;
} }
.Item_fourth_left { .Item_fourth_left {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.Item_fourth_right { .Item_fourth_right {
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #FFFFFF; color: #FFFFFF;
width: 150rpx; width: 150rpx;
height: 50rpx; height: 50rpx;
background: #D5AC66; background: #D5AC66;
border-radius: 100rpx; border-radius: 100rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.Item_fourth_left1 { .Item_fourth_left1 {
width: 110rpx; width: 110rpx;
height: 40rpx; height: 40rpx;
background: rgba(255, 81, 42, 0.1); background: rgba(255, 81, 42, 0.1);
border-radius: 100rpx; border-radius: 100rpx;
margin-right: 4rpx; margin-right: 4rpx;
} }
.Item_fourth_left1 { .Item_fourth_left1 {
width: 110rpx; width: 110rpx;
height: 40rpx; height: 40rpx;
background: rgba(255, 81, 42, 0.1); background: rgba(255, 81, 42, 0.1);
border-radius: 100rpx; border-radius: 100rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-weight: 400; font-weight: 400;
font-size: 22rpx; font-size: 22rpx;
color: #555555; color: #555555;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
margin-right: 20rpx; margin-right: 20rpx;
} }
.Item_fourth_left2 { .Item_fourth_left2 {
width: 110rpx; width: 110rpx;
height: 40rpx; height: 40rpx;
background: #FFF2DA; background: #FFF2DA;
border-radius: 100rpx; border-radius: 100rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
font-weight: 400; font-weight: 400;
font-size: 22rpx; font-size: 22rpx;
background: #FFF2DA; background: #FFF2DA;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.Item_fourth_left1 image { .Item_fourth_left1 image {
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
margin-right: 4rpx; margin-right: 4rpx;
} }
.Item_fourth_left2 image { .Item_fourth_left2 image {
width: 24rpx; width: 24rpx;
height: 24rpx; height: 24rpx;
margin-right: 4rpx; margin-right: 4rpx;
} }
.list { .list {
margin-top: 36rpx; margin-top: 36rpx;
} }
.item_tit { .item_tit {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin: 0 20rpx; margin: 0 20rpx;
margin-bottom: 32rpx; margin-bottom: 32rpx;
margin-top: 30rpx; margin-top: 30rpx;
} }
.item_tit_left { .item_tit_left {
font-weight: bold; font-weight: bold;
font-size: 28rpx; font-size: 28rpx;
color: #000000; color: #000000;
} }
.item_tit_right { .item_tit_right {
font-weight: 400; font-weight: 400;
font-size: 24rpx; font-size: 24rpx;
color: #D5AC66; color: #D5AC66;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.item_tit_right image { .item_tit_right image {
width: 12rpx; width: 12rpx;
height: 22rpx; height: 22rpx;
margin-left: 8rpx; margin-left: 8rpx;
} }
.item_goodsItem { .item_goodsItem {
display: flex; display: flex;
align-items: center; align-items: center;
margin: 0 20rpx; margin: 0 20rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.item_goodsItem_tit { .item_goodsItem_tit {
width: 180rpx; width: 180rpx;
height: 180rpx; height: 180rpx;
margin-right: 30rpx; margin-right: 30rpx;
margin-left: 19rpx; margin-left: 19rpx;
} }
.item_goodsItem_name { .item_goodsItem_name {
font-weight: 400; font-weight: 400;
font-size: 26rpx; font-size: 26rpx;
color: #222222; color: #222222;
margin-top: 20rpx; margin-top: 20rpx;
margin-left: 10rpx; margin-left: 10rpx;
} }
.item_goodsItem_msg { .item_goodsItem_msg {
font-weight: 400; font-weight: 400;
font-size: 22rpx; font-size: 22rpx;
color: #FF512A; color: #FF512A;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
margin-top: 6rpx; margin-top: 6rpx;
margin-left: 13rpx; margin-left: 13rpx;
} }
.item_goodsItem_msg view { .item_goodsItem_msg view {
font-weight: 500; font-weight: 500;
font-size: 36rpx; font-size: 36rpx;
} }
.item_goodsItem_msg text { .item_goodsItem_msg text {
font-size: 22rpx; font-size: 22rpx;
color: #FF512A; color: #FF512A;
} }
.item_goodsList { .item_goodsList {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 0 20rpx; padding: 0 20rpx;
} }
.list_item { .list_item {
padding-bottom: 32rpx; padding-bottom: 32rpx;
border-bottom: 1rpx solid #E6E6E6; border-bottom: 1rpx solid #E6E6E6;
} }
.btn { .btn {
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
background: rgba(255, 81, 42, 0.1); background: rgba(255, 81, 42, 0.1);
border-radius: 100rpx; border-radius: 100rpx;
padding: 7rpx 22rpx 7rpx 0; padding: 7rpx 22rpx 7rpx 0;
} }
.mobile { .mobile {
background: #FFF2DA; background: #FFF2DA;
margin-left: 20rpx; margin-left: 20rpx;
} }

View File

@ -1,29 +1,29 @@
{ {
"description": "项目配置文件。", "description": "项目配置文件。",
"packOptions": { "packOptions": {
"ignore": [], "ignore": [],
"include": [] "include": []
}, },
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"es6": false, "es6": false,
"postcss": false, "postcss": false,
"minified": false, "minified": false,
"newFeature": true, "newFeature": true,
"bigPackageSizeSupport": true, "bigPackageSizeSupport": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
} }
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "3.7.12", "libVersion": "3.7.12",
"appid": "wxb4018c78fa143450", "appid": "wxb4018c78fa143450",
"projectname": "ZHSQ", "projectname": "ZHSQ",
"condition": {}, "condition": {},
"editorSetting": { "editorSetting": {
"tabIndent": "insertSpaces", "tabIndent": "insertSpaces",
"tabSize": 2 "tabSize": 2
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "uniapp-ZHSQ", "projectname": "uniapp-ZHSQ",
"setting": { "setting": {
"compileHotReLoad": true "compileHotReLoad": true
} }
} }

View File

@ -1,80 +1,80 @@
@charset "UTF-8"; @charset "UTF-8";
/** /**
* 这里是uni-app内置的常用样式变量 * 这里是uni-app内置的常用样式变量
* *
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量 * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
* *
*/ */
/** /**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能 * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
* *
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/ */
/* 颜色变量 */ /* 颜色变量 */
/* 行为相关颜色 */ /* 行为相关颜色 */
/* 文字基本颜色 */ /* 文字基本颜色 */
/* 背景颜色 */ /* 背景颜色 */
/* 边框颜色 */ /* 边框颜色 */
/* 尺寸变量 */ /* 尺寸变量 */
/* 文字尺寸 */ /* 文字尺寸 */
/* 图片尺寸 */ /* 图片尺寸 */
/* Border Radius */ /* Border Radius */
/* 水平间距 */ /* 水平间距 */
/* 垂直间距 */ /* 垂直间距 */
/* 透明度 */ /* 透明度 */
/* 文章场景相关 */ /* 文章场景相关 */
@font-face { @font-face {
font-family: 'uicon-iconfont'; font-family: 'uicon-iconfont';
src: url("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf") format("truetype"); src: url("https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf") format("truetype");
} }
.u-icon.data-v-2ee87dc9 { .u-icon.data-v-2ee87dc9 {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.u-icon--left.data-v-2ee87dc9 { .u-icon--left.data-v-2ee87dc9 {
flex-direction: row-reverse; flex-direction: row-reverse;
align-items: center; align-items: center;
} }
.u-icon--right.data-v-2ee87dc9 { .u-icon--right.data-v-2ee87dc9 {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
.u-icon--top.data-v-2ee87dc9 { .u-icon--top.data-v-2ee87dc9 {
flex-direction: column-reverse; flex-direction: column-reverse;
justify-content: center; justify-content: center;
} }
.u-icon--bottom.data-v-2ee87dc9 { .u-icon--bottom.data-v-2ee87dc9 {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
} }
.u-icon__icon.data-v-2ee87dc9 { .u-icon__icon.data-v-2ee87dc9 {
font-family: uicon-iconfont; font-family: uicon-iconfont;
position: relative; position: relative;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
} }
.u-icon__icon--primary.data-v-2ee87dc9 { .u-icon__icon--primary.data-v-2ee87dc9 {
color: #3c9cff; color: #3c9cff;
} }
.u-icon__icon--success.data-v-2ee87dc9 { .u-icon__icon--success.data-v-2ee87dc9 {
color: #5ac725; color: #5ac725;
} }
.u-icon__icon--error.data-v-2ee87dc9 { .u-icon__icon--error.data-v-2ee87dc9 {
color: #f56c6c; color: #f56c6c;
} }
.u-icon__icon--warning.data-v-2ee87dc9 { .u-icon__icon--warning.data-v-2ee87dc9 {
color: #f9ae3d; color: #f9ae3d;
} }
.u-icon__icon--info.data-v-2ee87dc9 { .u-icon__icon--info.data-v-2ee87dc9 {
color: #909399; color: #909399;
} }
.u-icon__img.data-v-2ee87dc9 { .u-icon__img.data-v-2ee87dc9 {
height: auto; height: auto;
will-change: transform; will-change: transform;
} }
.u-icon__label.data-v-2ee87dc9 { .u-icon__label.data-v-2ee87dc9 {
line-height: 1; line-height: 1;
} }