页面
28
components/Advertisement/Advertisement.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view class="advertisement">广告</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.advertisement {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
background: #ff0000;
|
||||
}
|
||||
/* 样式定义 */
|
||||
</style>
|
||||
222
components/contentList/contentList.vue
Normal file
@@ -0,0 +1,222 @@
|
||||
<template>
|
||||
<scroll-view scroll-y="true" class="scroll">
|
||||
<uni-card class="content-list" v-for="(item, index) in list">
|
||||
<!-- `````````````````````````` -->
|
||||
<image class="headShot" src="../../static/logo.png" mode="scaleToFill" />
|
||||
<!-- `````````````````````````````````````` -->
|
||||
<view class="content-list-title">
|
||||
<view class="cardname">{{ item.title }}</view>
|
||||
<view class="content-list-info">
|
||||
<view :class="{Gendermale:Gender,Genderfemale:!Gender}"><!-- 性别换背景 -->
|
||||
<image v-if="Gender" class="Genderimg" src="../../static/female.png" mode="scaleToFill" />
|
||||
<image v-else class="Genderimg" src="../../static/female.png" mode="scaleToFill" />
|
||||
<view class="age">{{ item.gender }}</view>
|
||||
</view>
|
||||
<view class="RoomID">房间ID:{{ item.id }}</view>
|
||||
<view class="Charm">魅力值</view>
|
||||
<view class="charmValue"> {{ item.score }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- `````````````````````````````````````````````````````` -->
|
||||
</uni-card>
|
||||
</scroll-view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
Gender: true,
|
||||
// 列表数据
|
||||
list: [
|
||||
{
|
||||
title: "极乐世界",
|
||||
id: "9088",
|
||||
gender: "男",
|
||||
score: 8.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界2",
|
||||
id: "9089",
|
||||
gender: "女",
|
||||
score: 7.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8,
|
||||
},
|
||||
],
|
||||
// 列表数据结束
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.scroll {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.content-list {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 712rpx;
|
||||
height: 161rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
margin-bottom: 12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.headShot {
|
||||
width: 101rpx;
|
||||
height: 101rpx;
|
||||
border-radius: 50rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 33rpx;
|
||||
}
|
||||
.content-list-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.cardname {
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.Genderimg {
|
||||
width: 15rpx;
|
||||
height: 15rpx;
|
||||
margin-left: 10rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.age {
|
||||
color: #ffffff;
|
||||
font-size: 14rpx;
|
||||
}
|
||||
|
||||
.Gendermale{
|
||||
background: url(../../static/maleimg.png) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Genderfemale{
|
||||
background: url(../../static/femaleimg.png) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.RoomID {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
margin-right: 152rpx;
|
||||
}
|
||||
.Charm {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
.charmValue {
|
||||
font-size: 23rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
</style>
|
||||
259
components/tabBar/tabBar.vue
Normal file
@@ -0,0 +1,259 @@
|
||||
<template>
|
||||
<view class="tab-block">
|
||||
|
||||
<ul class="tab-list flex flex-center"
|
||||
:class="showMiddleButton === true ? 'tab-list-middle' : 'tab-list-default'">
|
||||
<li v-for="(item, index) in tabList" :class="'list-item flex flex-column flex-middle ' + item.middleClass"
|
||||
@click="handlePush(item, index)" :key="index">
|
||||
<view class="item-img-box">
|
||||
<image class="item-img" :src="tabIndex == index ? item.selectedIconPath : item.iconPath" />
|
||||
</view>
|
||||
<view class="item-text font-20" :style="{ color: tabIndex == index ? '#1DD2F9' : '#A7A3A3' }">{{
|
||||
item.text }}</view>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- <view class="tab-bar" v-show="showTabBar === true"></view> -->
|
||||
<view @touchmove.stop.prevent="disabledScroll">
|
||||
<!-- <uni-popup ref="addSuccess" type="bottom">
|
||||
<imgSuccess @closeSuccess="closeSuccess"></imgSuccess>
|
||||
</uni-popup> -->
|
||||
</view>
|
||||
<moduleSelect ref="createModule"></moduleSelect>
|
||||
</view>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import moduleSelect from './moduleSelect.vue'
|
||||
import {
|
||||
getCurrentInstance,
|
||||
defineProps,
|
||||
onMounted,
|
||||
reactive,
|
||||
ref
|
||||
} from 'vue';
|
||||
//定义弹窗组件
|
||||
// const addSuccess = ref(null);
|
||||
|
||||
// let showTabBar = ref(false);
|
||||
let showMiddleButton = ref(false);
|
||||
|
||||
const props = defineProps({
|
||||
tabIndex: Number
|
||||
})
|
||||
let tabList = reactive([{
|
||||
iconPath: '/static/mh/img/tabbar1.png',
|
||||
selectedIconPath: '/static/mh/img/tabbarSetl1.png',
|
||||
text: '探索',
|
||||
pagePath: '/pages/index/index',
|
||||
middleClass: ''
|
||||
},
|
||||
{
|
||||
iconPath: '/static/mh/img/tabbar3.png',
|
||||
selectedIconPath: '/static/mh/img/tabbarSetl3.png',
|
||||
// text: '消息',
|
||||
text: 'AI绘图',
|
||||
pagePath: '/pages/messages/messages',
|
||||
middleClass: ''
|
||||
},
|
||||
{
|
||||
iconPath: '/static/mh/img/add.png',
|
||||
selectedIconPath: '/static/mh/img/add.png',
|
||||
text: '',
|
||||
pagePath: '/pages/c/c',
|
||||
middleClass: ''
|
||||
},
|
||||
{
|
||||
iconPath: '/static/mh/img/tabbar2.png',
|
||||
selectedIconPath: '/static/mh/img/tabbarSetl2.png',
|
||||
text: '换背景',
|
||||
// text: '社区',
|
||||
pagePath: '/pages/like/like'
|
||||
},
|
||||
{
|
||||
iconPath: '/static/mh/img/tabbar4.png',
|
||||
selectedIconPath: '/static/mh/img/tabbarSetl4.png',
|
||||
text: '我的',
|
||||
pagePath: '/pages/my/my',
|
||||
middleClass: ''
|
||||
}
|
||||
]);
|
||||
onMounted(() => {
|
||||
setTabBar();
|
||||
// getSystemInfo()
|
||||
});
|
||||
|
||||
uni.getSystemInfo({
|
||||
success: function (res) {
|
||||
// iPhone机型有横杆的导航栏高度大于40
|
||||
console.log('机型',res.deviceType);
|
||||
if (res.safeArea.top > 40) {
|
||||
console.log('苹果的底部栏大小',res.safeArea.top);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
//判断中间按钮是否突出显示
|
||||
function setTabBar() {
|
||||
let tabLength = tabList.length;
|
||||
if (tabLength % 2) {
|
||||
showMiddleButton.value = true;
|
||||
let middleIndex = Math.floor(tabLength / 2);
|
||||
tabList[middleIndex].middleClass = 'mid-button';
|
||||
}
|
||||
}
|
||||
//点击按钮
|
||||
function handlePush(item, index) {
|
||||
if (index === 2) {
|
||||
//打开弹窗
|
||||
// addSuccess.value.open();
|
||||
openPopupQuantity()
|
||||
return;
|
||||
} else if (index === 1) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/create/wenshengPicture/wenshengPicture"
|
||||
})
|
||||
} else if (index === 3) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/create/backgroundPicture/backgroundPicture"
|
||||
})
|
||||
} else {
|
||||
uni.switchTab({
|
||||
url: item.pagePath
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
const createModule = ref()
|
||||
|
||||
function openPopupQuantity() {
|
||||
createModule.value.open()
|
||||
}
|
||||
//组件返回关闭指令
|
||||
function closeSuccess() {
|
||||
// addSuccess.value.close();
|
||||
}
|
||||
//解决弹出层后页面还可以滚动
|
||||
const disabledScroll = () => {
|
||||
return false
|
||||
}
|
||||
|
||||
//兼容iPhoneX以上底部黑线条的显示
|
||||
// function getSystemInfo() {
|
||||
// uni.getSystemInfo({
|
||||
// success: res => {
|
||||
// // X及以上的异形屏top为44,非异形屏为20
|
||||
// if (res.safeArea.top > 20) {
|
||||
// showTabBar.value = true;
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.flex {
|
||||
display: flex;
|
||||
flex-flow: row wrap;
|
||||
}
|
||||
|
||||
.flex-center {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.flex-column {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.flex-middle {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.font-20 {
|
||||
font-size: 20rpx;
|
||||
}
|
||||
|
||||
.tab-block {
|
||||
position: relative;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
// left: 0;
|
||||
z-index: 999;
|
||||
background-size: contain;
|
||||
width: 100vw;
|
||||
background-color: #111111;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
.tab-list {
|
||||
height: 100rpx;
|
||||
padding: 0; //解决偏移
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.tab-list-default {
|
||||
background-color: #ffffff;
|
||||
border-top: 1px #dddddd solid;
|
||||
}
|
||||
|
||||
.tab-list-middle {
|
||||
position: relative;
|
||||
|
||||
// background: url('https://res.paquapp.com/popmartvip/home/nav_bar_bg_2x.png') no-repeat center center;
|
||||
background-size: cover;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
flex: 1;
|
||||
|
||||
.item-img-box {
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
margin-bottom: 9rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
// width: 44rpx;
|
||||
// height: 42rpx;
|
||||
width: 38rpx;
|
||||
height: 38rpx;
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
|
||||
.mid-button {
|
||||
position: relative;
|
||||
|
||||
.item-img-box {
|
||||
width: 150rpx;
|
||||
height: 148rpx;
|
||||
margin-bottom: 9rpx;
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
top: -104rpx;
|
||||
}
|
||||
|
||||
.item-img {
|
||||
width: 150rpx;
|
||||
height: 116rpx;
|
||||
}
|
||||
|
||||
.item-text {
|
||||
font-size: 20rpx;
|
||||
position: absolute;
|
||||
z-index: 1002;
|
||||
bottom: -40rpx;
|
||||
color: #393a41;
|
||||
}
|
||||
}
|
||||
|
||||
.tab-bar {
|
||||
height: 30rpx;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
92
components/topNavigation/topNavigation.vue
Normal file
@@ -0,0 +1,92 @@
|
||||
<template>
|
||||
<view class="topNavigation">
|
||||
<view
|
||||
@click="RealTimePk"
|
||||
:class="{ Selectcss: Select, NoSelectcss: !Select }"
|
||||
class="RealTime"
|
||||
>实时PK</view
|
||||
>
|
||||
<view
|
||||
@click="MakeAppointmentPK"
|
||||
:class="{ Selectcss: !Select, NoSelectcss: Select }"
|
||||
class="MakeAppointment"
|
||||
>预约PK</view
|
||||
>
|
||||
<view @click="screening" class="Screening">筛选</view>
|
||||
<image @click="Search" src="../../static/Searching.png" class="filter-icon" />
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
Select: true,
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
RealTimePk() {
|
||||
this.Select = true;
|
||||
this.$emit("RealTimePk");//触发实时PK事件
|
||||
},
|
||||
MakeAppointmentPK() {
|
||||
this.Select = false;
|
||||
this.$emit("MakeAppointmentPK");//触发预约PK事件
|
||||
},
|
||||
screening() {
|
||||
this.$emit("screening");//触发筛选事件
|
||||
},
|
||||
Search() {
|
||||
this.$emit("Search");//触发搜索事件
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.topNavigation {
|
||||
width: 100%;
|
||||
height: 114.5rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.Screening {
|
||||
width: 93rpx;
|
||||
height: 50rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 4rpx;
|
||||
font-size: 23rpx;
|
||||
color: #3b3b3b;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.filter-icon {
|
||||
width: 33rpx;
|
||||
height: 33rpx;
|
||||
}
|
||||
.RealTime {
|
||||
margin: 0 39rpx 0 41rpx;
|
||||
}
|
||||
.MakeAppointment {
|
||||
margin-right: 233rpx;
|
||||
}
|
||||
.Screening {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.Selectcss {
|
||||
width: 146rpx;
|
||||
height: 39rpx;
|
||||
font-size: 42rpx;
|
||||
color: #0e1011;
|
||||
}
|
||||
.NoSelectcss {
|
||||
width: 108rpx;
|
||||
height: 29rpx;
|
||||
font-size: 31rpx;
|
||||
color: #727a7b;
|
||||
}
|
||||
</style>
|
||||
16
pages.json
@@ -1,5 +1,11 @@
|
||||
{
|
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
|
||||
"pages": [
|
||||
{
|
||||
"path": "pages/Home/Home",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/index/index",
|
||||
"style": {
|
||||
@@ -8,10 +14,8 @@
|
||||
}
|
||||
],
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"navigationStyle": "custom",
|
||||
"statusBarBackground": "#ffffff"
|
||||
},
|
||||
"uniIdRouter": {}
|
||||
}
|
||||
|
||||
79
pages/Home/Home.vue
Normal file
@@ -0,0 +1,79 @@
|
||||
<template>
|
||||
<view class="page">
|
||||
<image src="../../static/HomeBackground.png" class="HomeBackground"></image>
|
||||
</view>
|
||||
<view class="top-navigation-container">
|
||||
<top-navigation></top-navigation>
|
||||
</view>
|
||||
<view class="Advertisement">
|
||||
<advertisement></advertisement>
|
||||
</view>
|
||||
<view class="contentList">
|
||||
<contentList></contentList>
|
||||
</view>
|
||||
<view class="tabBar">
|
||||
<!-- <tabBar></tabBar> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import topNavigation from "../../components/topNavigation/topNavigation";
|
||||
import Advertisement from "../../components/Advertisement/Advertisement";
|
||||
import contentList from "../../components/contentList/contentList";
|
||||
// import tabBar from "../../components/tabBar/tabBar";
|
||||
export default {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
onLoad() {
|
||||
// 页面加载时执行
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
Advertisement,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.page {
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1620rpx;
|
||||
}
|
||||
|
||||
.HomeBackground {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
.top-navigation-container {
|
||||
position: fixed;
|
||||
top: 160rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 114.5rpx;
|
||||
}
|
||||
.Advertisement {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
z-index: 100;
|
||||
}
|
||||
.contentList {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1300rpx;
|
||||
}
|
||||
|
||||
</style>
|
||||
BIN
static/HomeBackground.png
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
static/Searching.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
static/female.png
Normal file
|
After Width: | Height: | Size: 477 B |
BIN
static/femaleimg.png
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
static/maleimg.png
Normal file
|
After Width: | Height: | Size: 623 B |
1
unpackage/dist/dev/.sourcemap/mp-weixin/app.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tconsole.log('App Launch')\r\n\t\t},\r\n\t\tonShow: function() {\r\n\t\t\tconsole.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\tconsole.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t/*每个页面公共css */\r\n</style>\n","import App from './App'\n\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;AACC,MAAK,YAAU;AAAA,EACd,UAAU,WAAW;AACpBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAW;AAClBA,kBAAAA,MAAY,MAAA,OAAA,iBAAA,UAAU;AAAA,EACvB;AACD;ACIM,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/assets.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"assets.js","sources":["static/HomeBackground.png","static/logo.png","static/Searching.png","static/female.png"],"sourcesContent":["export default \"__VITE_ASSET__71648407__\"","export default \"__VITE_ASSET__46719607__\"","export default \"__VITE_ASSET__0a32c808__\"","export default \"__VITE_ASSET__f873eff9__\""],"names":[],"mappings":";AAAA,MAAe,eAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,aAAA;;;;;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/Advertisement/Advertisement.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Advertisement.js","sources":["components/Advertisement/Advertisement.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL0FkdmVydGlzZW1lbnQvQWR2ZXJ0aXNlbWVudC52dWU"],"sourcesContent":["<template>\r\n <view class=\"advertisement\">广告</view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n data() {\r\n return {\r\n title: 'Hello'\r\n }\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n.advertisement {\r\n width: 100%;\r\n height: 200rpx;\r\n background: #ff0000;\r\n}\r\n /* 样式定义 */\r\n</style>","import Component from 'D:/项目/tk-mini-program/components/Advertisement/Advertisement.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;AAKI,MAAK,YAAU;AAAA,EACX,OAAO;AACH,WAAO;AAAA,MACH,OAAO;AAAA,IACX;AAAA,EACH;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAET;AACJ;;;;;AChBJ,GAAG,gBAAgB,SAAS;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/contentList/contentList.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/tabBar/tabBar.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/topNavigation/topNavigation.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"topNavigation.js","sources":["components/topNavigation/topNavigation.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9jb21wb25lbnRzL3RvcE5hdmlnYXRpb24vdG9wTmF2aWdhdGlvbi52dWU"],"sourcesContent":["<template>\r\n <view class=\"topNavigation\">\r\n <view\r\n @click=\"RealTimePk\"\r\n :class=\"{ Selectcss: Select, NoSelectcss: !Select }\"\r\n class=\"RealTime\"\r\n >实时PK</view\r\n >\r\n <view\r\n @click=\"MakeAppointmentPK\"\r\n :class=\"{ Selectcss: !Select, NoSelectcss: Select }\"\r\n class=\"MakeAppointment\"\r\n >预约PK</view\r\n >\r\n <view @click=\"screening\" class=\"Screening\">筛选</view>\r\n <image @click=\"Search\" src=\"../../static/Searching.png\" class=\"filter-icon\" />\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n data() {\r\n return {\r\n title: \"Hello\",\r\n Select: true,\r\n };\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n RealTimePk() {\r\n this.Select = true;\r\n this.$emit(\"RealTimePk\");//触发实时PK事件\r\n },\r\n MakeAppointmentPK() {\r\n this.Select = false;\r\n this.$emit(\"MakeAppointmentPK\");//触发预约PK事件\r\n },\r\n screening() {\r\n this.$emit(\"screening\");//触发筛选事件\r\n },\r\n Search() {\r\n this.$emit(\"Search\");//触发搜索事件\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.topNavigation {\r\n width: 100%;\r\n height: 114.5rpx;\r\n display: flex;\r\n align-items: center;\r\n}\r\n.Screening {\r\n width: 93rpx;\r\n height: 50rpx;\r\n background: #ffffff;\r\n border-radius: 4rpx;\r\n font-size: 23rpx;\r\n color: #3b3b3b;\r\n text-align: center;\r\n line-height: 50rpx;\r\n}\r\n.filter-icon {\r\n width: 33rpx;\r\n height: 33rpx;\r\n}\r\n.RealTime {\r\n margin: 0 39rpx 0 41rpx;\r\n}\r\n.MakeAppointment {\r\n margin-right: 233rpx;\r\n}\r\n.Screening {\r\n margin-right: 20rpx;\r\n}\r\n.Selectcss {\r\n width: 146rpx;\r\n height: 39rpx;\r\n font-size: 42rpx;\r\n color: #0e1011;\r\n}\r\n.NoSelectcss {\r\n width: 108rpx;\r\n height: 29rpx;\r\n font-size: 31rpx;\r\n color: #727a7b;\r\n}\r\n</style>\r\n","import Component from 'D:/项目/tk-mini-program/components/topNavigation/topNavigation.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AAoBA,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;AAAA,MACL,OAAO;AAAA,MACP,QAAQ;AAAA;EAEX;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA,IACP,aAAa;AACX,WAAK,SAAS;AACd,WAAK,MAAM,YAAY;AAAA,IACxB;AAAA,IACD,oBAAoB;AAClB,WAAK,SAAS;AACd,WAAK,MAAM,mBAAmB;AAAA,IAC/B;AAAA,IACD,YAAY;AACV,WAAK,MAAM,WAAW;AAAA,IACvB;AAAA,IACD,SAAS;AACP,WAAK,MAAM,QAAQ;AAAA,IACpB;AAAA,EACF;AACH;;;;;;;;;;;;;;;AC7CA,GAAG,gBAAgB,SAAS;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/Home/Home.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"Home.js","sources":["pages/Home/Home.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvSG9tZS9Ib21lLnZ1ZQ"],"sourcesContent":["<template>\r\n <view class=\"page\">\r\n <image src=\"../../static/HomeBackground.png\" class=\"HomeBackground\"></image>\r\n </view>\r\n <view class=\"top-navigation-container\">\r\n <top-navigation></top-navigation>\r\n </view>\r\n <view class=\"Advertisement\">\r\n <advertisement></advertisement>\r\n </view>\r\n <view class=\"contentList\"> \r\n <contentList></contentList>\r\n </view>\r\n <view class=\"tabBar\">\r\n <!-- <tabBar></tabBar> -->\r\n </view>\r\n</template>\r\n\r\n<script>\r\nimport topNavigation from \"../../components/topNavigation/topNavigation\";\r\nimport Advertisement from \"../../components/Advertisement/Advertisement\";\r\nimport contentList from \"../../components/contentList/contentList\";\r\n// import tabBar from \"../../components/tabBar/tabBar\";\r\nexport default {\r\n data() {\r\n return {};\r\n },\r\n onLoad() {\r\n // 页面加载时执行\r\n },\r\n methods: {\r\n // 方法定义\r\n },\r\n components: {\r\n topNavigation,\r\n Advertisement,\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.page {\r\n position: relative;\r\n width: 750rpx;\r\n height: 1620rpx;\r\n}\r\n\r\n.HomeBackground {\r\n position: absolute;\r\n top: 0;\r\n left: 0;\r\n width: 100%;\r\n height: 100%;\r\n z-index: -1;\r\n}\r\n.top-navigation-container {\r\n position: fixed;\r\n top: 160rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 114.5rpx;\r\n}\r\n.Advertisement {\r\n position: fixed;\r\n top: 300rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 100rpx;\r\n z-index: 100;\r\n}\r\n.contentList {\r\n position: fixed;\r\n top: 300rpx;\r\n left: 0;\r\n width: 100%;\r\n height: 1300rpx;\r\n}\r\n\r\n</style>\r\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/Home/Home.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAmBA,MAAO,gBAAe,MAAW;AACjC,MAAO,gBAAe,MAAW;AAGjC,MAAK,YAAU;AAAA,EACb,OAAO;AACL,WAAO;EACR;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS;AAAA;AAAA,EAER;AAAA,EACD,YAAY;AAAA,IACV;AAAA,IACA;AAAA,EACD;AACH;;;;;;;;;;;;;;;;;ACpCA,GAAG,WAAW,eAAe;"}
|
||||
1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sources":["pages/index/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"content\">\r\n\t\t<image class=\"logo\" src=\"/static/logo.png\"></image>\r\n\t\t<view class=\"text-area\">\r\n\t\t\t<text class=\"title\">{{title}}</text>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttitle: 'Hello'\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style>\r\n\t.content {\r\n\t\tdisplay: flex;\r\n\t\tflex-direction: column;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.logo {\r\n\t\theight: 200rpx;\r\n\t\twidth: 200rpx;\r\n\t\tmargin-top: 200rpx;\r\n\t\tmargin-left: auto;\r\n\t\tmargin-right: auto;\r\n\t\tmargin-bottom: 50rpx;\r\n\t}\r\n\r\n\t.text-area {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.title {\r\n\t\tfont-size: 36rpx;\r\n\t\tcolor: #8f8f94;\r\n\t}\r\n</style>\n","import MiniProgramPage from 'D:/项目/tk-mini-program/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;AAUC,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,OAAO;AAAA,IACR;AAAA,EACA;AAAA,EACD,SAAS;AAAA,EAER;AAAA,EACD,SAAS,CAET;AACD;;;;;;;;ACrBD,GAAG,WAAW,eAAe;"}
|
||||
27
unpackage/dist/dev/mp-weixin/app.js
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
if (!Math) {
|
||||
"./pages/Home/Home.js";
|
||||
"./pages/index/index.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:4", "App Launch");
|
||||
},
|
||||
onShow: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:7", "App Show");
|
||||
},
|
||||
onHide: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:10", "App Hide");
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
return {
|
||||
app
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|
||||
11
unpackage/dist/dev/mp-weixin/app.json
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/Home/Home",
|
||||
"pages/index/index"
|
||||
],
|
||||
"window": {
|
||||
"navigationStyle": "custom",
|
||||
"statusBarBackground": "#ffffff"
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
||||
3
unpackage/dist/dev/mp-weixin/app.wxss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
/*每个页面公共css */
|
||||
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
10
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
const _imports_0$2 = "/static/HomeBackground.png";
|
||||
const _imports_0$1 = "/static/logo.png";
|
||||
const _imports_0 = "/static/Searching.png";
|
||||
const _imports_1 = "/static/female.png";
|
||||
exports._imports_0 = _imports_0$2;
|
||||
exports._imports_0$1 = _imports_0$1;
|
||||
exports._imports_0$2 = _imports_0;
|
||||
exports._imports_1 = _imports_1;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||
7911
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
Normal file
20
unpackage/dist/dev/mp-weixin/components/Advertisement/Advertisement.js
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-b94d73cb"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/Advertisement/Advertisement.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/Advertisement/Advertisement.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/Advertisement/Advertisement.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="advertisement data-v-b94d73cb">广告</view>
|
||||
7
unpackage/dist/dev/mp-weixin/components/Advertisement/Advertisement.wxss
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
.advertisement.data-v-b94d73cb {
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
background: #ff0000;
|
||||
}
|
||||
/* 样式定义 */
|
||||
145
unpackage/dist/dev/mp-weixin/components/contentList/contentList.js
vendored
Normal file
@@ -0,0 +1,145 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
Gender: true,
|
||||
// 列表数据
|
||||
list: [
|
||||
{
|
||||
title: "极乐世界",
|
||||
id: "9088",
|
||||
gender: "男",
|
||||
score: 8.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界2",
|
||||
id: "9089",
|
||||
gender: "女",
|
||||
score: 7.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
},
|
||||
{
|
||||
title: "极乐世界3",
|
||||
id: "9090",
|
||||
gender: "男",
|
||||
score: 9.8
|
||||
}
|
||||
]
|
||||
// 列表数据结束
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_uni_card = common_vendor.resolveComponent("uni-card");
|
||||
_component_uni_card();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.f($data.list, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.title)
|
||||
}, $data.Gender ? {
|
||||
b: common_assets._imports_1
|
||||
} : {
|
||||
c: common_assets._imports_1
|
||||
}, {
|
||||
d: common_vendor.t(item.gender),
|
||||
e: common_vendor.t(item.id),
|
||||
f: common_vendor.t(item.score),
|
||||
g: "4813d59a-0-" + i0
|
||||
});
|
||||
}),
|
||||
b: common_assets._imports_0$1,
|
||||
c: $data.Gender,
|
||||
d: $data.Gender ? 1 : "",
|
||||
e: !$data.Gender ? 1 : ""
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-4813d59a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/contentList/contentList.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/contentList/contentList.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/contentList/contentList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<scroll-view scroll-y="true" class="scroll data-v-4813d59a"><uni-card wx:for="{{a}}" wx:for-item="item" u-s="{{['d']}}" class="content-list data-v-4813d59a" u-i="{{item.g}}" bind:__l="__l"><image class="headShot data-v-4813d59a" src="{{b}}" mode="scaleToFill"/><view class="content-list-title data-v-4813d59a"><view class="cardname data-v-4813d59a">{{item.a}}</view><view class="content-list-info data-v-4813d59a"><view class="{{['data-v-4813d59a', d && 'Gendermale', e && 'Genderfemale']}}"><image wx:if="{{c}}" class="Genderimg data-v-4813d59a" src="{{item.b}}" mode="scaleToFill"/><image wx:else class="Genderimg data-v-4813d59a" src="{{item.c}}" mode="scaleToFill"/><view class="age data-v-4813d59a">{{item.d}}</view></view><view class="RoomID data-v-4813d59a">房间ID:{{item.e}}</view><view class="Charm data-v-4813d59a">魅力值</view><view class="charmValue data-v-4813d59a">{{item.f}}</view></view></view></uni-card></scroll-view>
|
||||
79
unpackage/dist/dev/mp-weixin/components/contentList/contentList.wxss
vendored
Normal file
@@ -0,0 +1,79 @@
|
||||
|
||||
.scroll.data-v-4813d59a {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.content-list.data-v-4813d59a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 712rpx;
|
||||
height: 161rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 15rpx;
|
||||
margin-bottom: 12rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.headShot.data-v-4813d59a {
|
||||
width: 101rpx;
|
||||
height: 101rpx;
|
||||
border-radius: 50rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 33rpx;
|
||||
}
|
||||
.content-list-info.data-v-4813d59a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.cardname.data-v-4813d59a {
|
||||
font-size: 31rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.Genderimg.data-v-4813d59a {
|
||||
width: 15rpx;
|
||||
height: 15rpx;
|
||||
margin-left: 10rpx;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.age.data-v-4813d59a {
|
||||
color: #ffffff;
|
||||
font-size: 14rpx;
|
||||
}
|
||||
.Gendermale.data-v-4813d59a{
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAilJREFUWEftWTtPFFEU/r6ZJUuJiSQujwKRCfQkttJobJRY6Ax/ABNNKGiBAmwtTNZk9w+40BCtiDZYSmI/kxmFAmGNkIgdhFmPuUPW7C6vWVZ3ZhimnfP6zr3ncc8hQnz3PS/b5eOuAPcAGQV5EyLXSGZCsP9TEhHxQf6EyDrAz2Dlwy9df78yNHRwniKeRTC+sdHVeXA4TfApgOvnCYvw/65ACvvZjpdvBwb2TrPjVLCPbdfSyFcEuiME0ZRqAXYoMlUaMUonMR4De2d1NZPL9eYBTjalKVbEUiyXt55/HBvza82qA6uA3ujpX6LIo1jZfgFjhFz+vr35pBZwHVjLdgtgkk+00StSLA0bKt8E31+wKkZ18s0FnBhvFpGJagwHYI+yru8mKRmF9bBKWvvZjKGydADWdL7MEzIbVkDS6ETjwqJxa45Bw1DBt5jX0Vb9u7uno4+m4zwg9HetSos7v6DykKbt5Uk8i7uxrdongtcK7CcSt1sVFnt+wRpNx/txGbPwsYqrWknT8Q4JtP310u6bIIBPy/Gk3Yqj0peuk01XzKYkG0uQjVNVZ9PUQaWqNz569bgLBGeiKgn/W69AXiwOG7Ppe88qz1q2a+EyTio0baJkDAbTxvoZlOMWkj1VDDmDUmSpmi5WAedy/XlAEjw3ZrFc3jx7blx7CSz7qyX8nayNALFDalPVGG281Fe7nkaP1G/xMAoiui0exAfUFg/rAJra4v0Bqcv8upqc0XEAAAAASUVORK5CYII=) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.Genderfemale.data-v-4813d59a{
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAAfCAYAAABZGLWTAAAAAXNSR0IArs4c6QAAAi1JREFUWEflWU1rE1EUPaeGFGEiCShIdVXQrZuCW1e6U3BT2j9gwSYTcZVi5WFlZlVMTIXkDyhuBJe66rKCm24rdCV+NIWUZEBb41yZ0ZYk9mMyETLPN9u5575z7nv3fdxLRPg+5PPjExdw3fd5Q8ApUiYB5gCkIsD/tUkHkKYINwl5L/Dffv3MN5eq1d2TBuJxBqKKWS8t90HMATh7krMR/t+GoGbtcZmqvHMUjyPFem5+RjBWAXBuhCIGHbpB+LZVqr44DPiXWFHXUl76ygqIO4OOlBh7Qd3aW5+nWu10c+oRK0qlvHTzJYjbiSEelwjxyvqem6ZSB4J7xLYcu0adZ7QvMCKon1moBPtN+B2I/ZOjz+MGMqk4wp/dz+FQbFMVs6lx2dBsM4oa30Znl5dzqrwTim27hUcAF6Oi9bOTpUzp6UMGF4bzE2MfE36ODhvf7S+f/ItsOfM3yVOvh/WWdLzIz1tsO4UVkHeTTnZofiLP2HLsNRJXh3aWcAcE3gUzuwVSpyth3LA22HbtHyN6vcQlHRfXCcRKXLRuONNmtrAFGJKzLddeI8zZjU06Zw26QRl1Nw5fPY69BOKBbkdJZL6Cx5mFyqJ579kgQv9vpYKzVqkcVht7alBtx65pXVXsX9eCeuawGlRgZ1R18bdgQ+rG3avAc4szAtGwI0B7P0f7V/XxvZ4nxaz3TaNez2ku816MXk93VLq7eCSnBJgEMMIuHpoENkUG6+L9AlWo7Kxo5cagAAAAAElFTkSuQmCC) no-repeat center;
|
||||
width: 56.3rpx;
|
||||
height: 29.58rpx;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.RoomID.data-v-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
margin-right: 152rpx;
|
||||
}
|
||||
.Charm.data-v-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #a3a3a3;
|
||||
line-height: 38rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
.charmValue.data-v-4813d59a {
|
||||
font-size: 23rpx;
|
||||
color: #161616;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
45
unpackage/dist/dev/mp-weixin/components/topNavigation/topNavigation.js
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello",
|
||||
Select: true
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
RealTimePk() {
|
||||
this.Select = true;
|
||||
this.$emit("RealTimePk");
|
||||
},
|
||||
MakeAppointmentPK() {
|
||||
this.Select = false;
|
||||
this.$emit("MakeAppointmentPK");
|
||||
},
|
||||
screening() {
|
||||
this.$emit("screening");
|
||||
},
|
||||
Search() {
|
||||
this.$emit("Search");
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o((...args) => $options.RealTimePk && $options.RealTimePk(...args)),
|
||||
b: $data.Select ? 1 : "",
|
||||
c: !$data.Select ? 1 : "",
|
||||
d: common_vendor.o((...args) => $options.MakeAppointmentPK && $options.MakeAppointmentPK(...args)),
|
||||
e: !$data.Select ? 1 : "",
|
||||
f: $data.Select ? 1 : "",
|
||||
g: common_vendor.o((...args) => $options.screening && $options.screening(...args)),
|
||||
h: common_vendor.o((...args) => $options.Search && $options.Search(...args)),
|
||||
i: common_assets._imports_0$2
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ce2f6748"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/topNavigation/topNavigation.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/components/topNavigation/topNavigation.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/topNavigation/topNavigation.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="topNavigation data-v-ce2f6748"><view bindtap="{{a}}" class="{{[b && 'Selectcss', c && 'NoSelectcss', 'RealTime', 'data-v-ce2f6748']}}">实时PK</view><view bindtap="{{d}}" class="{{[e && 'Selectcss', f && 'NoSelectcss', 'MakeAppointment', 'data-v-ce2f6748']}}">预约PK</view><view bindtap="{{g}}" class="Screening data-v-ce2f6748">筛选</view><image bindtap="{{h}}" src="{{i}}" class="filter-icon data-v-ce2f6748"/></view>
|
||||
42
unpackage/dist/dev/mp-weixin/components/topNavigation/topNavigation.wxss
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
|
||||
.topNavigation.data-v-ce2f6748 {
|
||||
width: 100%;
|
||||
height: 114.5rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.Screening.data-v-ce2f6748 {
|
||||
width: 93rpx;
|
||||
height: 50rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 4rpx;
|
||||
font-size: 23rpx;
|
||||
color: #3b3b3b;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.filter-icon.data-v-ce2f6748 {
|
||||
width: 33rpx;
|
||||
height: 33rpx;
|
||||
}
|
||||
.RealTime.data-v-ce2f6748 {
|
||||
margin: 0 39rpx 0 41rpx;
|
||||
}
|
||||
.MakeAppointment.data-v-ce2f6748 {
|
||||
margin-right: 233rpx;
|
||||
}
|
||||
.Screening.data-v-ce2f6748 {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.Selectcss.data-v-ce2f6748 {
|
||||
width: 146rpx;
|
||||
height: 39rpx;
|
||||
font-size: 42rpx;
|
||||
color: #0e1011;
|
||||
}
|
||||
.NoSelectcss.data-v-ce2f6748 {
|
||||
width: 108rpx;
|
||||
height: 29rpx;
|
||||
font-size: 31rpx;
|
||||
color: #727a7b;
|
||||
}
|
||||
37
unpackage/dist/dev/mp-weixin/pages/Home/Home.js
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const topNavigation = () => "../../components/topNavigation/topNavigation.js";
|
||||
const Advertisement = () => "../../components/Advertisement/Advertisement.js";
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {
|
||||
// 方法定义
|
||||
},
|
||||
components: {
|
||||
topNavigation,
|
||||
Advertisement
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_top_navigation = common_vendor.resolveComponent("top-navigation");
|
||||
const _component_advertisement = common_vendor.resolveComponent("advertisement");
|
||||
const _easycom_contentList2 = common_vendor.resolveComponent("contentList");
|
||||
(_component_top_navigation + _component_advertisement + _easycom_contentList2)();
|
||||
}
|
||||
const _easycom_contentList = () => "../../components/contentList/contentList.js";
|
||||
if (!Math) {
|
||||
_easycom_contentList();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-7ffebbf4"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/Home/Home.js.map
|
||||
8
unpackage/dist/dev/mp-weixin/pages/Home/Home.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "首页",
|
||||
"usingComponents": {
|
||||
"top-navigation": "../../components/topNavigation/topNavigation",
|
||||
"advertisement": "../../components/Advertisement/Advertisement",
|
||||
"content-list": "../../components/contentList/contentList"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/Home/Home.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="page data-v-7ffebbf4"><image src="{{a}}" class="HomeBackground data-v-7ffebbf4"></image></view><view class="top-navigation-container data-v-7ffebbf4"><top-navigation class="data-v-7ffebbf4" u-i="7ffebbf4-0" bind:__l="__l"></top-navigation></view><view class="Advertisement data-v-7ffebbf4"><advertisement class="data-v-7ffebbf4" u-i="7ffebbf4-1" bind:__l="__l"></advertisement></view><view class="contentList data-v-7ffebbf4"><content-list class="data-v-7ffebbf4" u-i="7ffebbf4-2" bind:__l="__l"></content-list></view><view class="tabBar data-v-7ffebbf4"></view>
|
||||
37
unpackage/dist/dev/mp-weixin/pages/Home/Home.wxss
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
|
||||
.page.data-v-7ffebbf4 {
|
||||
position: relative;
|
||||
width: 750rpx;
|
||||
height: 1620rpx;
|
||||
}
|
||||
.HomeBackground.data-v-7ffebbf4 {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
.top-navigation-container.data-v-7ffebbf4 {
|
||||
position: fixed;
|
||||
top: 160rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 114.5rpx;
|
||||
}
|
||||
.Advertisement.data-v-7ffebbf4 {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
z-index: 100;
|
||||
}
|
||||
.contentList.data-v-7ffebbf4 {
|
||||
position: fixed;
|
||||
top: 300rpx;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 1300rpx;
|
||||
}
|
||||
|
||||
22
unpackage/dist/dev/mp-weixin/pages/index/index.js
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
title: "Hello"
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_assets._imports_0$1,
|
||||
b: common_vendor.t($data.title)
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/pages/index/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="content"><image class="logo" src="{{a}}"></image><view class="text-area"><text class="title">{{b}}</text></view></view>
|
||||
23
unpackage/dist/dev/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.logo {
|
||||
height: 200rpx;
|
||||
width: 200rpx;
|
||||
margin-top: 200rpx;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
.text-area {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
.title {
|
||||
font-size: 36rpx;
|
||||
color: #8f8f94;
|
||||
}
|
||||
36
unpackage/dist/dev/mp-weixin/project.config.json
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"description": "项目配置文件。",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"postcss": false,
|
||||
"minified": false,
|
||||
"newFeature": true,
|
||||
"bigPackageSizeSupport": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "",
|
||||
"appid": "touristappid",
|
||||
"projectname": "tk-mini-program",
|
||||
"condition": {
|
||||
"search": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"current": -1,
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
}
|
||||
BIN
unpackage/dist/dev/mp-weixin/static/HomeBackground.png
vendored
Normal file
|
After Width: | Height: | Size: 80 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/Searching.png
vendored
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/female.png
vendored
Normal file
|
After Width: | Height: | Size: 477 B |
BIN
unpackage/dist/dev/mp-weixin/static/femaleimg.png
vendored
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
unpackage/dist/dev/mp-weixin/static/logo.png
vendored
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/maleimg.png
vendored
Normal file
|
After Width: | Height: | Size: 623 B |