first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
"version": "0.0",
"configurations": [{
"app-plus" :
{
"launchtype" : "local"
},
"default" :
{
"launchtype" : "local"
},
"h5" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
]
}

View File

@@ -0,0 +1,21 @@
<script>
export default {
onLaunch: function() {
console.log('App Launch')
},
onShow: function() {
console.log('App Show')
},
onHide: function() {
console.log('App Hide')
},
// 全局变量
globalData: {
}
}
</script>
<style>
@import "@/less/_.less";
</style>

View File

@@ -0,0 +1,52 @@
<template>
<view class="item_list">
<div class="item" v-for="(v,i) in list" :key="i">
<div class="newest_img">
<!-- <router-link :to="v.id"> -->
<image :src="v.preview" :alt="v.title">
<!-- </router-link> -->
<span>{{v.total}}P</span>
</div>
<div class="newest_text">
<div>
<!-- <router-link :to="v.id"> -->
<p class="t">{{v.title}}</p>
<p v-if(v.hasOwnProperty(source)) class="source">{{v.source}}</p>
<!-- </router-link> -->
</div>
<div v-if(v.hasOwnProperty(tags)) class="tags">
<div v-for="(it,index) in v.tags" :key="index" class="tags_item">
<div>
{{ it.title }}
</div>
</div>
</div>
</div>
</div>
</view>
</template>
<script>
export default {
name: "item_list",
props: {
list: {
type: Array,
default: () => []
}
},
data() {
return {};
},
created() {
console.log(this.list)
},
methods:{
}
};
</script>
<style lang="less" scoped>
@import "@/less/components/item.less";
</style>

View File

@@ -0,0 +1,372 @@
<template>
<view class="previewImage" :style="{ 'background-color': 'rgba(0,0,0,' + opacity + ')' }" v-if="show" @tap="close" @touchmove.stop.prevent>
<swiper class="swiper" :current="index" @change="swiperChange" :disable-touch="swiper" :circular="circular">
<swiper-item v-for="(img, i) in imgs" :key="'swiper-item-'+i" :id="'swiper-item-'+i">
<movable-area class="marea" scale-area>
<movable-view
:id="'movable-view-'+i"
:key="'movable-view-'+i"
class="mview"
direction="all"
:out-of-bounds="false"
:inertia="true"
damping="90"
friction="2"
scale="true"
scale-min="1"
scale-max="4"
:scale-value="scale"
@scale="onScale"
@change="movableChange"
>
<image
:id="'image-'+i"
:key="'movable-view'+i"
class="image"
:src="img"
:style="{ transform: 'rotateZ(' + deg + 'deg)' }"
:data-index="i"
:data-src="img"
mode="widthFix"
@touchmove="handletouchmove"
@touchstart="handletouchstart"
@touchend="handletouchend"
/>
</movable-view>
</movable-area>
</swiper-item>
</swiper>
<view class="page" v-if="imgs.length > 0">
<text class="text">{{ index + 1 }} / {{ imgs.length }}</text>
</view>
<view class="save" v-if="saveBtn" @click.stop.prevent="save"><text class="text">保存</text></view>
<view class="rotate" v-if="rotateBtn" @click.stop.prevent="rotate"><text class="text">旋转</text></view>
<view class="desc" v-if="descs.length > 0 && descs.length == imgs.length && descs[index].length > 0">{{ descs[index] }}</view>
</view>
</template>
<script>
export default {
name: 'ksj-previewImage', //插件名称
props: {
imgs: {
//图片列表
type: Array,
required: true,
default: () => {
return [];
}
},
descs: {
//描述列表
type: Array,
required: false,
default: () => {
return [];
}
},
//透明度,0到1之间。
opacity: {
type: Number,
default: 0.8
},
//保存按键
saveBtn: {
type: Boolean,
default: true
},
//旋转按键
rotateBtn: {
type: Boolean,
default: true
},
//循环预览
circular:{
type: Boolean,
default: false
}
},
data() {
return {
swiper:false,//是否禁用
show: false, //显示状态
index: 0, //当前页
deg: 0, //旋转角度
time: 0, //定时器
interval: 1000, //长按事件
scale: 1 //缩放比例
};
},
methods: {
//比例变化
onScale(e) {
},
//长按事件相关内容---------开始-------------------
//接触开始
handletouchstart(e) {
var tchs = e.touches.length;
if (tchs != 1) {
return false;
}
this.time = setTimeout(() => {
this.onLongPress(e);
}, this.interval);
return false;
},
//清除定时器
handletouchend() {
clearTimeout(this.time);
if (this.time != 0) {
//处理点击时间
}
return false;
},
//清除定时器
handletouchmove() {
clearTimeout(this.time);
this.time = 0;
},
// 处理长按事件
onLongPress(e) {
var src = e.currentTarget.dataset.src;
var index = e.currentTarget.dataset.index;
var data = { src: src, index: index };
this.$emit('longPress', data);
},
//长按事件相关内容---------结束-------------------
//图片改变
swiperChange(e) {
this.index = e.target.current; //更新当前图片index
this.$nextTick(function() {
this.scale = 1;
})
//this.deg = 0; //旋转角度
//this.swiper=true;
},
//移动变化
movableChange(e) {
//console.log(e);
/* if(this.old.scale <= 1){
this.swiper=false;
}else if(e.detail.x===0){
this.swiper=false;
} */
},
//保存
save(e) {
var _this = this;
var src = this.imgs[this.index];
//#ifdef MP-WEIXIN
//提前向用户发起授权请求
uni.authorize({
scope: 'scope.writePhotosAlbum',
success() {
console.log('kxj-previewImage:允许储存');
_this.downloadImg(src);
}
});
//#endif
//#ifdef APP-PLUS
this.downloadImg(src);
//#endif
//#ifdef H5
//非同源图片将直接打开
var abtn = document.createElement('a');
abtn.href = src;
abtn.download = '';
abtn.target = '_blank';
abtn.click();
//#endif
},
//下载并保存文件
downloadImg(src) {
//下载图片文件
uni.showLoading({
title: '大图提取中'
});
uni.downloadFile({
url: src,
success: function(res) {
console.log('kxj-previewImage:下载成功');
uni.hideLoading();
uni.saveImageToPhotosAlbum({
filePath: res.tempFilePath,
success: () => {
uni.showToast({
title: '已保存至相册',
duration: 1000
});
}
});
},
fail: function() {
uni.hideLoading();
uni.showToast({
title: '图片下载失败',
icon: 'none',
duration: 1000
});
}
});
},
//旋转
rotate(e) {
this.deg = this.deg == 270 ? 0 : this.deg + 90;
},
//打开
open(e) {
if (e === null || e === '') {
console.log('kxj-previewImage:打开参数无效');
return;
}
if (!isNaN(e)) {
if(e>=this.imgs.length){
console.log('kxj-previewImage:打开参数无效');
}else{
this.index = e;
}
} else {
var index = this.imgs.indexOf(e);
if(index===-1){
this.imgs = [e];
this.index = 0;
console.log('kxj-previewImage:未在图片地址数组中找到传入的图片,已为你自动打开单张预览模式')
}else{
this.index = this.imgs.indexOf(e);
}
}
console.log('kxj-previewImage:当前预览图片序号'+this.index);
this.show = true;
},
//关闭
close(e) {
this.show = false;
this.index = 0; //当前页
this.deg = 0; //旋转角度
this.time = 0; //定时器
this.interval = 1000; //长按事件
this.scale = 1; //缩放比例
}
}
};
</script>
<!--使用scss,只在本组件生效-->
<style lang="scss" scoped>
.previewImage {
z-index: 999;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #000000;
user-select: none;
.swiper {
width: 100%;
height: 100%;
.marea {
height: 100%;
width: 100%;
position: fixed;
overflow: hidden;
.mview {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
height: auto;
min-height: 100%;
.image {
width: 100%;
}
}
}
}
.page {
position: absolute;
width: 100%;
bottom: 20rpx;
text-align: center;
.text {
color: #fff;
font-size: 26rpx;
background-color: rgba(0, 0, 0, 0.5);
padding: 3rpx 16rpx;
border-radius: 20rpx;
user-select: none;
}
}
.save {
position: absolute;
left: 10rpx;
width: 120rpx;
height: 56rpx;
bottom: 10rpx;
text-align: center;
padding: 10rpx;
.text {
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 30rpx;
border-radius: 20rpx;
border: 1rpx solid #f1f1f1;
padding: 6rpx 22rpx;
user-select: none;
}
.text:active {
background-color: rgba(100, 100, 100, 0.5);
}
}
.rotate {
position: absolute;
right: 10rpx;
width: 120rpx;
height: 56rpx;
bottom: 10rpx;
text-align: center;
padding: 10rpx;
.text {
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 30rpx;
border-radius: 20rpx;
border: 1rpx solid #f1f1f1;
padding: 6rpx 22rpx;
user-select: none;
}
.text:active {
background-color: rgba(100, 100, 100, 0.5);
}
}
.desc {
position: absolute;
top: 0;
width: 100%;
padding: 5rpx 10rpx;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 28rpx;
letter-spacing: 3rpx;
user-select: none;
}
}
</style>

View File

@@ -0,0 +1,35 @@
import http from "@/service";
import utils from "@/utils";
export default {
devBaseUrl: 'http://127.0.0.1:3000/api/json', // 开发阶段
testBaseUrl: '', // 测试阶段
prodBaseUrl: '', // 正式阶段
apiList: {
home: '/index',
type: '/class',
classList: '/classList',
},
VueComponents: [],
NotVuePlugins: [
{ n: '$http', v: http },
{ n: '$utils', v: utils },
],
CheckBaseUrl: function () {
switch (process.env.NODE_ENV) {
case "development":
return this.devBaseUrl;
break;
case "test":
return this.testBaseUrl;
break;
case "production":
return this.prodBaseUrl;
break;
default:
break;
}
}
}

View File

@@ -0,0 +1,68 @@
import config from "@/config"
export default class Http {
constructor() {}
async get(params) {
uni.showLoading({
title: '加载中...'
});
return new Promise((success, error) => {
uni.request({
url: config.CheckBaseUrl() + params.url,
method: "GET",
data: params.data,
header: Object.assign({
"Content-Type": "application/json; charset=utf-8",
}, params.headers),
success: (res) => {
this.interceptors(success, error, res.data)
}
});
})
}
async post(params) {
uni.showLoading({
title: '加载中...'
});
return new Promise((success, error) => {
uni.request({
url: config.CheckBaseUrl() + params.url,
method: "POST",
data: params.data,
header: Object.assign({
"Content-Type": "application/json; charset=utf-8",
}, params.headers),
success: (res) => {
this.interceptors(success, error, res.data)
}
});
})
}
interceptors(s, e, data) {
uni.hideLoading();
switch (data.status) {
case 200:
s(data.result)
break;
case 404:
uni.showToast({
title: data.msg,
duration: 2000
});
throw new Error(data.msg);
break;
default:
break;
}
}
}

View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<title></title>
<link rel="stylesheet" href="http://at.alicdn.com/t/font_2124975_273pse87hq8.css">
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>

View File

@@ -0,0 +1,3 @@
@import "./mixins/normalize.less";
@import "./mixins/resetUI.less";
@import "@/static/iconfont.css";

View File

@@ -0,0 +1,60 @@
@import "../config/color.less";
@import "../config/size.less";
@import "../mixins/mixins.less";
.item_list {
padding: 30rpx 30rpx 0 30rpx;
box-sizing: border-box;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.item_list .item {
width: 48%;
margin-bottom: 30rpx;
}
.item_list .item .newest_img{
position: relative;
}
.item_list .newest_img image{
width: 100%;
border-radius: 10rpx;
}
.item_list .newest_img span{
position: absolute;
padding: 8rpx 14rpx;
background: rgb(251,114,153,0.73);
color: rgb(255,255,255,0.73);
font-size: 24rpx;
right: 20rpx;
bottom: 42rpx;
border-radius: 28rpx;
}
.newest_text .source {
color: #666;
font-size: 26rpx;
margin-bottom: 2rpx;
}
.item_list .newest_text .t{
color: #333;
font-size: 30rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-bottom: 8rpx;
}
.newest_text .tags {
display: flex;
flex-wrap: wrap;
margin-top: 8rpx;
}
.newest_text .tags_item {
padding: 4rpx 10rpx;
font-size: 24rpx;
background: #fb7299;
margin-right: 6rpx;
color: #fff;
border-radius: 18rpx;
margin-bottom: 6rpx;
}

View File

@@ -0,0 +1,4 @@
@themeColor: #fb7299;
@menuColor: #fe7fa2;
@colorWhite: white;

View File

@@ -0,0 +1,3 @@
@defaultSize: 14px;
@smallSize: 12px;
@bigSize_19: 19px;

View File

@@ -0,0 +1,476 @@
/*! normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Prevent adjustments of font size after orientation changes in IE and iOS.
*/
@charset "utf-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
//font-size: 0;
/*background: transparent;*/
}
table {
border-collapse:collapse;
border-spacing:0;
}
fieldset, img { border:0;}
address, caption, cite, code, dfn, em, strong, th, var {
font-style:normal;
font-weight:normal;
}
ol, ul { list-style:none; }
caption, th { text-align:left; }
h1, h2, h3, h4, h5, h6 {
font-size:200%;
font-weight:normal;
}
:focus { outline: 0;}
a{color: #000; text-decoration:none;}
a:hover img{ border:none;}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
input,button,select,textarea{outline:none}
textarea{resize:none}
@font-face {
font-family: "iconfont";
src: url('@/static/iconfont.ttf');
}
.content {
padding-top: calc(160rpx + var(--status-bar-height));
}
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove the margin in all browsers (opinionated).
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
* 2. Add the correct display in IE.
*/
article,
aside,
details, /* 1 */
figcaption,
figure,
footer,
header,
main, /* 2 */
menu,
nav,
section,
summary { /* 1 */
display: block;
}
/**
* Add the correct display in IE 9-.
*/
audio,
canvas,
progress,
video {
display: inline-block;
}
/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Add the correct display in IE 10-.
* 1. Add the correct display in IE.
*/
template, /* 1 */
[hidden] {
display: none;
}
/* Links
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
background-color: transparent; /* 1 */
-webkit-text-decoration-skip: objects; /* 2 */
}
/**
* Remove the outline on focused links when they are also active or hovered
* in all browsers (opinionated).
*/
a:active,
a:hover {
outline-width: 0;
}
/* Text-level semantics
========================================================================== */
/**
* 1. Remove the bottom border in Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
text-decoration: underline dotted; /* 2 */
}
/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/
b,
strong {
font-weight: inherit;
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* Add the correct font style in Android 4.3-.
*/
dfn {
font-style: italic;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Add the correct background and color in IE 9-.
*/
mark {
background-color: #ff0;
color: #000;
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10-.
*/
img {
border-style: none;
}
/**
* Hide the overflow in IE.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
* Add the correct margin in IE 8.
*/
figure {
margin: 1em 40px;
}
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box; /* 1 */
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/* Forms
========================================================================== */
/**
* 1. Change font properties to `inherit` in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
select,
textarea {
font: inherit; /* 1 */
margin: 0; /* 2 */
}
/**
* Restore the font weight unset by the previous rule.
*/
optgroup {
font-weight: bold;
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input { /* 1 */
overflow: visible;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select { /* 1 */
text-transform: none;
}
/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
* controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"], /* 1 */
[type="reset"],
[type="submit"] {
-webkit-appearance: button; /* 2 */
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Change the border, margin, and padding in all browsers (opinionated).
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box; /* 1 */
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
* Remove the default vertical scrollbar in IE.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
* Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
*/
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Correct the text style of placeholders in Chrome, Edge, and Safari.
*/
::-webkit-input-placeholder {
color: inherit;
opacity: 0.54;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}

View File

@@ -0,0 +1,84 @@
@import "../config/color.less";
@import "../config/size.less";
@import "../mixins/mixins.less";
.home {
.header {
position: fixed;
width: 100%;
height: 160rpx;
background: @themeColor;
padding-top: var(--status-bar-height);
top: 0;
left: 0;
right: 0;
z-index: 999;
.header_search {
height: 88rpx;
display: flex;
justify-content: space-between;
padding: 0 30rpx;
align-items: center;
box-sizing: border-box;
background: @themeColor;
.search {
width: 82%;
background: #fff;
height: 60rpx;
border-radius: 60rpx;
display: flex;
align-items: center;
box-sizing: border-box;
padding-left: 30rpx;
i {
color: #999;
font-size: 26rpx;
margin-right: 10rpx;
padding-top: 2rpx;
}
span {
font-size: 24rpx;
color: #999;
}
}
.icon-taozi1,
.icon-wo {
font-size: 45rpx;
color: @colorWhite;
}
}
.header_menu {
display: flex;
align-items: center;
background: @menuColor;
.menu_list {
width: calc(100vw - 80rpx);
white-space: nowrap;
padding-left: 30rpx;
text {
font-size: 26rpx;
flex-shrink: 0;
margin-right: 26rpx;
color: #d3d2d2;
}
.active {
color: @colorWhite !important;
}
}
.icon-edit {
width: 80rpx;
height: 72rpx;
font-size: 30rpx;
color: #e3e3e3;
line-height: 72rpx;
text-align: center;
}
}
}
.swiper {
height: calc(100vh - (160rpx + var(--status-bar-height)));
}
}
uni-swiper-item {
overflow-y: auto;
}

View File

@@ -0,0 +1,18 @@
import App from './App'
import Vue from 'vue'
import config from "@/config";
App.mpType = 'app'
Vue.config.productionTip = false
config.NotVuePlugins.forEach(v => Vue.prototype[v["n"]] = v["v"]);
const app = new Vue({
...App
});
app.$mount()

View File

@@ -0,0 +1,74 @@
{
"name" : "hbx-tpl",
"appid" : "__UNI__C902B1F",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* 模块配置 */
"modules" : {},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios打包配置 */
"ios" : {},
/* SDK配置 */
"sdkConfigs" : {
"ad" : {}
}
}
},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2"
}

View File

@@ -0,0 +1,69 @@
{
"pages": [
//pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/model/model",
"style": {
"navigationBarTitleText": "模特",
"enablePullDownRefresh": false
}
},
{
"path": "pages/me/me",
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
},
{
"path": "pages/mechanism/mechanism",
"style": {
"navigationBarTitleText": "机构",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#fb7299",
"backgroundColor": "#fb7299"
},
"tabBar": {
"color": "#7A7E83",
"selectedColor": "#fb7299",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/index/index",
"iconPath": "static/img/home.png",
"selectedIconPath": "static/img/home_ac.png",
"text": "首页"
},
{
"pagePath": "pages/mechanism/mechanism",
"iconPath": "static/img/mechanism.png",
"selectedIconPath": "static/img/mechanism_ac.png",
"text": "机构"
},
{
"pagePath": "pages/model/model",
"iconPath": "static/img/model.png",
"selectedIconPath": "static/img/model_ac.png",
"text": "模特"
},
{
"pagePath": "pages/me/me",
"iconPath": "static/img/me.png",
"selectedIconPath": "static/img/me_ac.png",
"text": "我的"
}
]
}
}

View File

@@ -0,0 +1,78 @@
<template>
<view class="home">
<div class="header">
<div class="header_search theme_color">
<i class="iconfont icon-taozi1"></i>
<div class="search">
<i class="iconfont icon-search"></i>
<span>198万张图,有你想要的...</span>
</div>
<i class="iconfont icon-wo"></i>
</div>
<div class="header_menu">
<scroll-view class="menu_list" scroll-x="true" :scroll-into-view="into">
<text @click="GetList(i)" v-for="(v,i) in list" :id="v.into" :class="i==Index?'active': ''" :key="i">{{ v.title }}</text>
</scroll-view>
<i class="iconfont icon-edit"></i>
</div>
</div>
<div class="content">
<swiper class="swiper" :current="Index" @change="pageChange">
<swiper-item v-for="(v,i) in list" :key="i">
<item v-if="v.content.length != 0" :list="v.content"></item>
</swiper-item>
</swiper>
</div>
</view>
</template>
<script>
export default {
data() {
return {
into: "",
Index: 0,
list: []
}
},
async created() {
await this.getType();
await this.getClassList();
},
methods: {
async pageChange(event) {
let { current } = event.detail
this.Index = current;
this.into = `title${current}`
await this.getClassList();
},
async GetList(i) {
this.Index = i;
},
async getType() {
let res = await this.$http.index.type();
this.list = res.principal;
},
async getClassList() {
if (this.list[this.Index].content.length == 0) {
let res = await this.$http.index.classList({
page: this.list[this.Index].page,
id: this.list[this.Index].id,
});
this.list[this.Index].page = res.current_page
this.list[this.Index].total_page = res.total_page
this.list[this.Index].content = [
...this.list[this.Index].content,
...res.data
]
console.log("this.list ==== ", this.list[this.Index].content)
}
}
},
}
</script>
<style lang="less" scoped>
@import "@/less/page/index.less";
</style>

View File

@@ -0,0 +1,22 @@
<template>
<view>
我的
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,22 @@
<template>
<view>
机构
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,22 @@
<template>
<view>
模特
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style>
</style>

View File

@@ -0,0 +1,3 @@
export default class carService {
}

View File

@@ -0,0 +1,9 @@
// 统一导出
import indexService from "@/service/indexService";
import carService from "@/service/carService";
export default {
index: new indexService(),
car: new carService(),
}

View File

@@ -0,0 +1,34 @@
import Http from "@/http";
import config from "@/config"
export default class indexService {
async home (data = {}, headers = {}) {
return await (new Http()).get({
url: config.apiList.home,
data: data,
headers: headers
})
}
async classList (data = {}, headers = {}) {
return await (new Http()).get({
url: config.apiList.classList,
data: data,
headers: headers
})
}
async type (data = {}, headers = {}) {
let res = await (new Http()).get({
url: config.apiList.type,
data: data,
headers: headers
});
res.principal.forEach((v,i) => {
v.into = `title${i}`
v.content = []
});
return res;
}
}

View File

@@ -0,0 +1,177 @@
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-weixin1:before {
content: "\e64f";
}
.icon-ziyuan:before {
content: "\e620";
}
.icon-zhuangtai:before {
content: "\e655";
}
.icon-eye:before {
content: "\e61b";
}
.icon-eye1:before {
content: "\e605";
}
.icon-goumai:before {
content: "\e73b";
}
.icon-tupian1:before {
content: "\e61e";
}
.icon-shipin:before {
content: "\e60c";
}
.icon-vip:before {
content: "\e6ba";
}
.icon-zongdailizhanghao:before {
content: "\e618";
}
.icon-zitiyanse:before {
content: "\ec85";
}
.icon-weixiao:before {
content: "\e603";
}
.icon-lahei:before {
content: "\e627";
}
.icon-xinbaniconshangchuan_huaban:before {
content: "\e602";
}
.icon-gif:before {
content: "\e70d";
}
.icon-zhendong:before {
content: "\e638";
}
.icon-tubiaozhizuomoban:before {
content: "\e601";
}
.icon-wushuju:before {
content: "\e642";
}
.icon-aixin:before {
content: "\e640";
}
.icon-xiangxia:before {
content: "\e636";
}
.icon-fenxiang:before {
content: "\e634";
}
.icon-xin:before {
content: "\e698";
}
.icon-clean:before {
content: "\e616";
}
.icon-qianjin-tongyong:before {
content: "\e610";
}
.icon-qianjin:before {
content: "\e604";
}
.icon-zuji:before {
content: "\e600";
}
.icon-guanyu:before {
content: "\e637";
}
.icon-xieyiguanli:before {
content: "\e6b2";
}
.icon-shengji:before {
content: "\e63c";
}
.icon-back1:before {
content: "\e619";
}
.icon-tuijian:before {
content: "\e60f";
}
.icon-huo:before {
content: "\e6c0";
}
.icon-home:before {
content: "\e617";
}
.icon-jigou:before {
content: "\e61a";
}
.icon-wo:before {
content: "\e611";
}
.icon-edit:before {
content: "\e696";
}
.icon-search:before {
content: "\e60a";
}
.icon-taozi1:before {
content: "\e61c";
}
.icon-taozi:before {
content: "\e89d";
}
.icon-me:before {
content: "\e61f";
}
.icon-gengduo:before {
content: "\e7ac";
}
.icon-dingwei:before {
content: "\e63e";
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1,76 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;
/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-color-hover:#f1f1f1;//点击状态颜色
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
/* 边框颜色 */
$uni-border-color:#c8c7cc;
/* 尺寸变量 */
/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16;
/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;
/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;
/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;
/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;
/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;

View File

@@ -0,0 +1,3 @@
andrCertfile=C:/kj/HBuilderX/plugins/app-safe-pack/Test.keystore
andrCertAlias=android
andrCertPass=ep/Tdjka4Y7WYqDB6/S7dw==

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<script>
var __UniViewStartTime__ = Date.now();
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title>View</title>
<link rel="stylesheet" href="view.css" />
</head>
<body>
<div id="app"></div>
<script src="__uniappes6.js"></script>
<script src="view.umd.min.js"></script>
<script src="app-view.js"></script>
</body>
</html>

View File

@@ -0,0 +1,8 @@
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/model/model","pages/me/me","pages/mechanism/mechanism"],"window":{"navigationBarTextStyle":"white","navigationBarBackgroundColor":"#fb7299","backgroundColor":"#fb7299"},"tabBar":{"color":"#7A7E83","selectedColor":"#fb7299","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/img/home.png","selectedIconPath":"static/img/home_ac.png","text":"首页"},{"pagePath":"pages/mechanism/mechanism","iconPath":"static/img/mechanism.png","selectedIconPath":"static/img/mechanism_ac.png","text":"机构"},{"pagePath":"pages/model/model","iconPath":"static/img/model.png","selectedIconPath":"static/img/model_ac.png","text":"模特"},{"pagePath":"pages/me/me","iconPath":"static/img/me.png","selectedIconPath":"static/img/me_ac.png","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"hbx-tpl","compilerVersion":"3.2.16","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/model/model","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"模特","enablePullDownRefresh":false}},{"path":"/pages/me/me","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":false}},{"path":"/pages/mechanism/mechanism","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"机构","enablePullDownRefresh":false}}];
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});

View File

@@ -0,0 +1 @@
(function(e){function r(r){for(var n,l,i=r[0],p=r[1],a=r[2],c=0,s=[];c<i.length;c++)l=i[c],Object.prototype.hasOwnProperty.call(o,l)&&o[l]&&s.push(o[l][0]),o[l]=0;for(n in p)Object.prototype.hasOwnProperty.call(p,n)&&(e[n]=p[n]);f&&f(r);while(s.length)s.shift()();return u.push.apply(u,a||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,i=1;i<t.length;i++){var p=t[i];0!==o[p]&&(n=!1)}n&&(u.splice(r--,1),e=l(l.s=t[0]))}return e}var n={},o={"app-config":0},u=[];function l(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=e,l.c=n,l.d=function(e,r,t){l.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},l.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(e,r){if(1&r&&(e=l(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(l.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)l.d(t,n,function(r){return e[r]}.bind(null,n));return t},l.n=function(e){var r=e&&e.__esModule?function(){return e["default"]}:function(){return e};return l.d(r,"a",r),r},l.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},l.p="/";var i=this["webpackJsonp"]=this["webpackJsonp"]||[],p=i.push.bind(i);i.push=r,i=i.slice();for(var a=0;a<i.length;a++)r(i[a]);var f=p;t()})([]);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
{"@platforms":["android","iPhone","iPad"],"id":"__UNI__C902B1F","name":"hbx-tpl","version":{"name":"1.0.0","code":"100"},"description":"","launch_path":"__uniappview.html","developer":{"name":"","email":"","url":""},"permissions":{"UniNView":{"description":"UniNView原生渲染"}},"plus":{"useragent":{"value":"uni-app","concatenate":true},"splashscreen":{"target":"id:1","autoclose":true,"waiting":true,"delay":0},"popGesture":"close","launchwebview":{"id":"1","kernel":"WKWebview"},"statusbar":{"immersed":"supportedDevice","style":"light","background":"#fb7299"},"usingComponents":true,"nvueStyleCompiler":"uni-app","compilerVersion":3,"distribute":{"google":{"permissions":["<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>","<uses-permission android:name=\"android.permission.VIBRATE\"/>","<uses-permission android:name=\"android.permission.READ_LOGS\"/>","<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>","<uses-feature android:name=\"android.hardware.camera.autofocus\"/>","<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>","<uses-permission android:name=\"android.permission.CAMERA\"/>","<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>","<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>","<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>","<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>","<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>","<uses-feature android:name=\"android.hardware.camera\"/>","<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"],"packagename":"uni.UNIC902B1F","password":"","aliasname":"","keystore":"html5plus://test","custompermissions":true},"apple":{"devices":"universal"},"plugins":{"ad":{},"audio":{"mp3":{"description":"Android平台录音支持MP3格式文件"}}},"orientation":["portrait-primary"],"icons":{"ios":{"prerendered":"false","iphone":{"app@2x":"","app@3x":"","spotlight@2x":"","spotlight@3x":"","settings@2x":"","settings@3x":"","notification@2x":"","notification@3x":""},"appstore":"","ipad":{"app":"","app@2x":"","proapp@2x":"","spotlight":"","spotlight@2x":"","settings":"","settings@2x":"","notification":"","notification@2x":""}},"android":{"hdpi":"","xhdpi":"","xxhdpi":"","xxxhdpi":""}},"splashscreen":{}},"allowsInlineMediaPlayback":true,"safearea":{"background":"#ffffff","bottom":{"offset":"auto"}},"uni-app":{"compilerVersion":"3.2.16","control":"uni-v3","nvueCompiler":"uni-app","renderer":"auto","nvue":{"flex-direction":"column"},"nvueLaunchMode":"normal"},"tabBar":{"color":"#7A7E83","selectedColor":"#fb7299","borderStyle":"rgba(0,0,0,0.4)","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/img/home.png","selectedIconPath":"static/img/home_ac.png","text":"首页"},{"pagePath":"pages/mechanism/mechanism","iconPath":"static/img/mechanism.png","selectedIconPath":"static/img/mechanism_ac.png","text":"机构"},{"pagePath":"pages/model/model","iconPath":"static/img/model.png","selectedIconPath":"static/img/model_ac.png","text":"模特"},{"pagePath":"pages/me/me","iconPath":"static/img/me.png","selectedIconPath":"static/img/me_ac.png","text":"我的"}],"height":"50px","child":["lauchwebview"],"selected":0},"launch_path":"__uniappview.html","adid":"125309060407"}}

View File

@@ -0,0 +1,177 @@
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-weixin1:before {
content: "\e64f";
}
.icon-ziyuan:before {
content: "\e620";
}
.icon-zhuangtai:before {
content: "\e655";
}
.icon-eye:before {
content: "\e61b";
}
.icon-eye1:before {
content: "\e605";
}
.icon-goumai:before {
content: "\e73b";
}
.icon-tupian1:before {
content: "\e61e";
}
.icon-shipin:before {
content: "\e60c";
}
.icon-vip:before {
content: "\e6ba";
}
.icon-zongdailizhanghao:before {
content: "\e618";
}
.icon-zitiyanse:before {
content: "\ec85";
}
.icon-weixiao:before {
content: "\e603";
}
.icon-lahei:before {
content: "\e627";
}
.icon-xinbaniconshangchuan_huaban:before {
content: "\e602";
}
.icon-gif:before {
content: "\e70d";
}
.icon-zhendong:before {
content: "\e638";
}
.icon-tubiaozhizuomoban:before {
content: "\e601";
}
.icon-wushuju:before {
content: "\e642";
}
.icon-aixin:before {
content: "\e640";
}
.icon-xiangxia:before {
content: "\e636";
}
.icon-fenxiang:before {
content: "\e634";
}
.icon-xin:before {
content: "\e698";
}
.icon-clean:before {
content: "\e616";
}
.icon-qianjin-tongyong:before {
content: "\e610";
}
.icon-qianjin:before {
content: "\e604";
}
.icon-zuji:before {
content: "\e600";
}
.icon-guanyu:before {
content: "\e637";
}
.icon-xieyiguanli:before {
content: "\e6b2";
}
.icon-shengji:before {
content: "\e63c";
}
.icon-back1:before {
content: "\e619";
}
.icon-tuijian:before {
content: "\e60f";
}
.icon-huo:before {
content: "\e6c0";
}
.icon-home:before {
content: "\e617";
}
.icon-jigou:before {
content: "\e61a";
}
.icon-wo:before {
content: "\e611";
}
.icon-edit:before {
content: "\e696";
}
.icon-search:before {
content: "\e60a";
}
.icon-taozi1:before {
content: "\e61c";
}
.icon-taozi:before {
content: "\e89d";
}
.icon-me:before {
content: "\e61f";
}
.icon-gengduo:before {
content: "\e7ac";
}
.icon-dingwei:before {
content: "\e63e";
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -0,0 +1,76 @@
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
$uni-color-primary: #007aff;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/* 文字基本颜色 */
$uni-text-color:#333;//基本色
$uni-text-color-inverse:#fff;//反色
$uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息
$uni-text-color-placeholder: #808080;
$uni-text-color-disable:#c0c0c0;
/* 背景颜色 */
$uni-bg-color:#ffffff;
$uni-bg-color-grey:#f8f8f8;
$uni-bg-color-hover:#f1f1f1;//点击状态颜色
$uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色
/* 边框颜色 */
$uni-border-color:#c8c7cc;
/* 尺寸变量 */
/* 文字尺寸 */
$uni-font-size-sm:12px;
$uni-font-size-base:14px;
$uni-font-size-lg:16;
/* 图片尺寸 */
$uni-img-size-sm:20px;
$uni-img-size-base:26px;
$uni-img-size-lg:40px;
/* Border Radius */
$uni-border-radius-sm: 2px;
$uni-border-radius-base: 3px;
$uni-border-radius-lg: 6px;
$uni-border-radius-circle: 50%;
/* 水平间距 */
$uni-spacing-row-sm: 5px;
$uni-spacing-row-base: 10px;
$uni-spacing-row-lg: 15px;
/* 垂直间距 */
$uni-spacing-col-sm: 4px;
$uni-spacing-col-base: 8px;
$uni-spacing-col-lg: 12px;
/* 透明度 */
$uni-opacity-disabled: 0.3; // 组件禁用态的透明度
/* 文章场景相关 */
$uni-color-title: #2C405A; // 文章标题颜色
$uni-font-size-title:20px;
$uni-color-subtitle: #555555; // 二级标题颜色
$uni-font-size-subtitle:26px;
$uni-color-paragraph: #3F536E; // 文章段落颜色
$uni-font-size-paragraph:15px;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
class utils {
test() {
console.log("工具函数");
}
}
export default new utils();