完成第一个界面

master
Gary 3 months ago
parent a11a8629be
commit 37cf0f03b1

@ -8,6 +8,7 @@
<option name="scanNum" value="1" />
<option name="type" value="store" />
<option name="uniapp" value="true" />
<option name="uniappHx" value="true" />
<option name="vueVersion" value="3" />
</component>
</project>

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UniappSupport">
<option name="uniapp" value="true" />
<option name="pluginEnabled" value="true" />
<option name="netImgFuns">
<set>
<option value="" />
</set>
</option>
<option name="isUniapp" value="true" />
<option name="vueVersion" value="3" />
</component>
</project>

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/fitjourney-front" vcs="Git" />
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

@ -13,5 +13,10 @@
</script>
<style>
/*每个页面公共css */
</style>

@ -0,0 +1,17 @@
所有页面的静态资源图片等都放在static文件中
分为三个板块:
1.登录注册板块
包含手机号登录账号密码登录注册index是动画过度界面
2.首页板块
包含四个部分 一个是首页puppy聊天对话个人中心社区
3.信息填写界面
如果是第一次登录要进行个人信息填写 如果不是第一次登录则跳过

@ -11,6 +11,13 @@ const app = new Vue({
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {

@ -48,6 +48,10 @@
},
/* */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",

@ -1,74 +1,30 @@
{
"pages": [
//pageshttps://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"path": "pages/transition/page1/page1",
"style": {
"navigationBarTitleText": "uni-app"
"navigationStyle": "custom"
}
},
{
"path": "pages/phone_code_login/phone_code_login",
"path": "pages/transition/page2/page2",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"navigationStyle": "custom"
}
},
{
"path": "pages/phone_login/phone_login",
"path": "pages/transition/page3/page3",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"navigationStyle": "custom"
}
},
{
"path": "pages/account_login/account_login",
"path": "pages/transition/page4/page4",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/register/register",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/information/information/information",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/homepages/self_information/self_information",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/homepages/puppy_chat/puppy_chat",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "pages/homepages/community/community",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"navigationStyle": "custom"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"uniIdRouter": {}
"uniIdRouter": {},
"tabBar": null
}

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,46 @@
<template>
<view class="background">
<!-- fit journey 文字说明-->
<image class="fit_journey_text" src="@/static/transition/page1/pictures/fit_journey_text.png"></image>
<!--按钮-->
<image class="button" @click="click" src="@/static/transition/page1/pictures/button.png"></image>
</view>
</template>
<script>
export default {
methods: {
click() {
uni.navigateTo({
url: '/pages/transition/page2/page2' // page2
});
}
}
}
</script>
<style lang="scss">
.background {
background-image: url('@/static/transition/page1/pictures/background.png');
background-size: cover;
background-position: center;
height: 100vh;
}
.fit_journey_text {
position: absolute;
width: 285px;
height: 167px;
left: calc(50% - 285px / 2 + 0.5px);
top: 292px;
}
.button {
position: absolute;
width: 315px;
height: 60px;
left: calc(50% - 315px / 2 + 0.5px);
top: 772px;
}
</style>

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,8 @@
{
"hash": "3dcffc29",
"configHash": "cc60d382",
"lockfileHash": "e3b0c442",
"browserHash": "e601f541",
"optimized": {},
"chunks": {}
}

@ -0,0 +1,3 @@
{
"type": "module"
}

@ -0,0 +1,30 @@
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
if (!Math) {
"./pages/information/information/information.js";
"./pages/homepages/self_information/self_information.js";
"./pages/homepages/puppy_chat/puppy_chat.js";
"./pages/homepages/community/community.js";
"./pages/homepages/main/main.js";
"./static/homepages/main/main.js";
}
const _sfc_main = {
onLaunch: function() {
console.log("App Launch");
},
onShow: function() {
console.log("App Show");
},
onHide: function() {
console.log("App Hide");
}
};
function createApp() {
const app = common_vendor.createSSRApp(_sfc_main);
return {
app
};
}
createApp().app.mount("#app");
exports.createApp = createApp;

@ -0,0 +1,22 @@
{
"pages": [
"pages/homepages",
"pages/phone_code_login/phone_code_login",
"pages/phone_login/phone_login",
"pages/account_login/account_login",
"pages/register/register",
"pages/information/information/information",
"pages/homepages/self_information/self_information",
"pages/homepages/puppy_chat/puppy_chat",
"pages/homepages/community/community",
"pages/homepages/main/main",
"static/homepages/main/main"
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"usingComponents": {}
}

@ -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;}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "uni-app",
"usingComponents": {}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,4 @@
{
"navigationBarTitleText": "uni-app",
"usingComponents": {}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -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": "fitjourney前端代码",
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}

@ -0,0 +1,12 @@
"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = {
data() {
return {};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);

@ -0,0 +1,5 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"usingComponents": {}
}

@ -0,0 +1,17 @@
<template>
<view>
</view>
</template>
<script>
export default {
data() {
return {};
}
}
</script>
<style lang="scss">
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Loading…
Cancel
Save