flat:AI+
47
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -1,47 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const stores_useUserStore = require("./stores/useUserStore.js");
|
||||
const common_globalFunction = require("./common/globalFunction.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/mine/mine.js";
|
||||
"./pages/msglog/msglog.js";
|
||||
"./pages/careerfair/careerfair.js";
|
||||
"./pages/login/login.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "App",
|
||||
setup(__props) {
|
||||
stores_useUserStore.useUserStore();
|
||||
common_vendor.onLaunch(() => {
|
||||
console.log("App Launch");
|
||||
let openId = common_vendor.index.getStorageSync("openId") || "";
|
||||
if (openId) {
|
||||
console.log("有openid");
|
||||
} else {
|
||||
console.log("没有openid");
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
console.log("App Show");
|
||||
});
|
||||
common_vendor.onHide(() => {
|
||||
console.log("App Hide");
|
||||
});
|
||||
return () => {
|
||||
};
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
app.use(common_vendor.createPinia());
|
||||
app.provide("globalFunction", common_globalFunction.globalFunction);
|
||||
app.provide("deviceInfo", common_globalFunction.globalFunction.getdeviceInfo());
|
||||
return {
|
||||
app,
|
||||
Pinia: common_vendor.Pinia
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
53
unpackage/dist/dev/mp-weixin/app.json
vendored
@@ -1,53 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/mine/mine",
|
||||
"pages/msglog/msglog",
|
||||
"pages/careerfair/careerfair",
|
||||
"pages/login/login"
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#7A7E83",
|
||||
"selectedColor": "#3cc51f",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/tabbar/post.png",
|
||||
"selectedIconPath": "static/tabbar/posted.png",
|
||||
"text": "职位"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/careerfair/careerfair",
|
||||
"iconPath": "static/tabbar/calendar.png",
|
||||
"selectedIconPath": "static/tabbar/calendared.png",
|
||||
"text": "招聘会"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/msglog/msglog",
|
||||
"iconPath": "static/tabbar/chat4.png",
|
||||
"selectedIconPath": "static/tabbar/chat4.png",
|
||||
"text": "消息"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"iconPath": "static/tabbar/mine.png",
|
||||
"selectedIconPath": "static/tabbar/mine.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "用于用户选择地图查看位置"
|
||||
}
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
238
unpackage/dist/dev/mp-weixin/app.wxss
vendored
@@ -1,238 +0,0 @@
|
||||
|
||||
/*每个页面公共css */
|
||||
/* 公共样式表 */
|
||||
page {
|
||||
height: 100%;
|
||||
min-height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
|
||||
font-size: 28rpx;
|
||||
background-color: #f4f4f4;
|
||||
/* line-height: 1.8; */
|
||||
color: #333333;
|
||||
overflow: hidden;
|
||||
}
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.page-body {
|
||||
height: calc(100vh - var(--window-top) - var(--status-bar-height) - var(--window-bottom));
|
||||
}
|
||||
body,
|
||||
html {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
/* 布局调整 */
|
||||
/* 控制hover */
|
||||
.opctiy_8 {
|
||||
opacity: 0.8 !important;
|
||||
}
|
||||
.opctiy_7 {
|
||||
opacity: 0.7 !important;
|
||||
}
|
||||
.opctiy_6 {
|
||||
opacity: 0.6 !important;
|
||||
}
|
||||
.opctiy_5 {
|
||||
opacity: 0.5 !important;
|
||||
}
|
||||
.opctiy_4 {
|
||||
opacity: 0.4 !important;
|
||||
}
|
||||
.opctiy_3 {
|
||||
opacity: 0.3 !important;
|
||||
}
|
||||
.opctiy_2 {
|
||||
opacity: 0.2 !important;
|
||||
}
|
||||
.opctiy_1 {
|
||||
opacity: 0.1 !important;
|
||||
}
|
||||
/* 控制文字大小 */
|
||||
.fs_10 {
|
||||
font-size: 20rpx !important;
|
||||
}
|
||||
.fs_12 {
|
||||
font-size: 24rpx !important;
|
||||
}
|
||||
.fs_14 {
|
||||
font-size: 28rpx !important;
|
||||
}
|
||||
.fs_16 {
|
||||
font-size: 32rpx !important;
|
||||
}
|
||||
.fs_18 {
|
||||
font-size: 36rpx !important;
|
||||
}
|
||||
.fs_20 {
|
||||
font-size: 40rpx !important;
|
||||
}
|
||||
.fs_22 {
|
||||
font-size: 44rpx !important;
|
||||
}
|
||||
.fs_24 {
|
||||
font-size: 48rpx !important;
|
||||
}
|
||||
.fs_26 {
|
||||
font-size: 52rpx !important;
|
||||
}
|
||||
.fs_28 {
|
||||
font-size: 56rpx !important;
|
||||
}
|
||||
.fs_30 {
|
||||
font-size: 60rpx !important;
|
||||
}
|
||||
.fs_32 {
|
||||
font-size: 64rpx !important;
|
||||
}
|
||||
/* 控制字体粗细 */
|
||||
.fw_blod {
|
||||
font-weight: bold;
|
||||
}
|
||||
/* 控制字体颜色 */
|
||||
.color_D16B3F {
|
||||
color: #D16B3F !important;
|
||||
}
|
||||
.color_C7331D {
|
||||
color: #C7331D !important;
|
||||
}
|
||||
.color_666666 {
|
||||
color: #666666 !important;
|
||||
}
|
||||
.color_F8A52F {
|
||||
color: #F8A52F !important;
|
||||
}
|
||||
.color_999999 {
|
||||
color: #999999 !important;
|
||||
}
|
||||
.color_C7331D {
|
||||
color: #C7331D !important;
|
||||
}
|
||||
.color_333333 {
|
||||
color: #333333 !important;
|
||||
}
|
||||
.color_FFFFFF {
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
.color_E7612E {
|
||||
color: #E7612E !important;
|
||||
}
|
||||
.color_EF4B37 {
|
||||
color: #EF4B37 !important;
|
||||
}
|
||||
.color_5F5F5F {
|
||||
color: #5F5F5F !important;
|
||||
}
|
||||
.color_FB7307 {
|
||||
color: #FB7307 !important;
|
||||
}
|
||||
.color_4873D9 {
|
||||
color: #4873D9 !important;
|
||||
}
|
||||
.color_4E8ADE {
|
||||
color: #4E8ADE !important;
|
||||
}
|
||||
.color_D9D9D9 {
|
||||
color: #D9D9D9 !important;
|
||||
}
|
||||
/* 控制左右距离 */
|
||||
.mar_le30 {
|
||||
margin-left: 60rpx;
|
||||
}
|
||||
.mar_le25 {
|
||||
margin-left: 50rpx;
|
||||
}
|
||||
.mar_le20 {
|
||||
margin-left: 40rpx;
|
||||
}
|
||||
.mar_le15 {
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
.mar_le10 {
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
.mar_le5 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.mar_ri5 {
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
.mar_ri10 {
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.mar_ri15 {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
.mar_ri20 {
|
||||
margin-right: 40rpx;
|
||||
}
|
||||
.mar_ri25 {
|
||||
margin-right: 50rpx;
|
||||
}
|
||||
.mar_top5 {
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.mar_top10 {
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.mar_top15 {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
.mar_top20 {
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.mar_top25 {
|
||||
margin-top: 50rpx;
|
||||
}
|
||||
/* 控制字体粗细 */
|
||||
.fw_blod {
|
||||
font-weight: bold !important;
|
||||
}
|
||||
/* 控制背景色 */
|
||||
.bg_e8 {
|
||||
background-color: #e8e8e8 !important;
|
||||
}
|
||||
/* 控制背景色 */
|
||||
.bg_cc {
|
||||
background-color: #CCCCCC !important;
|
||||
}
|
||||
/* 控制背景色 */
|
||||
.bg_ff {
|
||||
background-color: #ffffff !important;
|
||||
}
|
||||
/* 弹性布局 */
|
||||
.fl_box {
|
||||
display: flex;
|
||||
}
|
||||
.fl_deri {
|
||||
flex-direction: column;
|
||||
}
|
||||
.fl_row {
|
||||
flex-direction: row;
|
||||
}
|
||||
.fl_justmiddle {
|
||||
justify-content: center;
|
||||
}
|
||||
.fl_juststart {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
.fl_justbet {
|
||||
justify-content: space-between;
|
||||
}
|
||||
.fl_justround {
|
||||
justify-content: space-around;
|
||||
}
|
||||
.fl_justend {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
.fl_almiddle {
|
||||
align-items: center;
|
||||
}
|
||||
.fl_alstart {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.fl_alend {
|
||||
align-items: flex-end;
|
||||
}
|
||||
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;}
|
@@ -1,7 +0,0 @@
|
||||
"use strict";
|
||||
const _imports_0 = "/static/logo.png";
|
||||
const _imports_1 = "/static/icon/woman.png";
|
||||
const _imports_2 = "/static/icon/man.png";
|
||||
exports._imports_0 = _imports_0;
|
||||
exports._imports_1 = _imports_1;
|
||||
exports._imports_2 = _imports_2;
|
@@ -1,61 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("./vendor.js");
|
||||
const stores_useUserStore = require("../stores/useUserStore.js");
|
||||
const msg = (title, duration = 1500, mask = false, icon = "none", image) => {
|
||||
if (Boolean(title) === false) {
|
||||
return;
|
||||
}
|
||||
common_vendor.index.showToast({
|
||||
title,
|
||||
duration,
|
||||
mask,
|
||||
icon,
|
||||
image
|
||||
});
|
||||
};
|
||||
const prePage = () => {
|
||||
let pages = getCurrentPages();
|
||||
let prePage2 = pages[pages.length - 2];
|
||||
return prePage2.$vm;
|
||||
};
|
||||
const navTo = function(url, needLogin) {
|
||||
if (needLogin && stores_useUserStore.useUserStore().hasLogin) {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/login/login"
|
||||
});
|
||||
return;
|
||||
}
|
||||
common_vendor.index.navigateTo({
|
||||
url
|
||||
});
|
||||
};
|
||||
function getdeviceInfo() {
|
||||
const globalData = {
|
||||
statusBarHeight: 0,
|
||||
// 状态导航栏高度
|
||||
topHeight: 0,
|
||||
// 距离顶部高度
|
||||
navHeight: 0,
|
||||
// 总体高度
|
||||
windowHeight: 0,
|
||||
// 可使用窗口高度
|
||||
tabBarHight: 0
|
||||
//底部导航栏高度
|
||||
};
|
||||
let systemInfo = common_vendor.index.getSystemInfoSync();
|
||||
globalData.windowHeight = systemInfo.screenHeight;
|
||||
globalData.tabBarHight = systemInfo.screenHeight - systemInfo.safeArea.bottom;
|
||||
globalData.statusBarHeight = systemInfo.statusBarHeight;
|
||||
return {
|
||||
...globalData
|
||||
};
|
||||
}
|
||||
const globalFunction = {
|
||||
"$api": {
|
||||
msg,
|
||||
prePage
|
||||
},
|
||||
navTo,
|
||||
getdeviceInfo
|
||||
};
|
||||
exports.globalFunction = globalFunction;
|
8339
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@@ -1,29 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "tab",
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
props: {
|
||||
current: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o(($event) => false),
|
||||
b: common_vendor.o(($event) => false),
|
||||
c: common_vendor.o(($event) => false),
|
||||
d: common_vendor.o(($event) => false),
|
||||
e: common_vendor.o(($event) => false),
|
||||
f: common_vendor.o(($event) => false),
|
||||
g: common_vendor.o(($event) => false),
|
||||
h: common_vendor.o(($event) => false),
|
||||
i: $props.current
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view class="tab-container"><view class="uni-margin-wrap"><swiper class="swiper" current="{{i}}" circular="{{false}}" indicator-dots="{{true}}" autoplay="{{false}}" interval="{{200}}" duration="{{2000}}"><swiper-item catchtouchmove="{{a}}"><slot name="tab0"></slot></swiper-item><swiper-item catchtouchmove="{{b}}"><slot name="tab1"></slot></swiper-item><swiper-item catchtouchmove="{{c}}"><slot name="tab2"></slot></swiper-item><swiper-item catchtouchmove="{{d}}"><slot name="tab3"></slot></swiper-item><swiper-item catchtouchmove="{{e}}"><slot name="tab4"></slot></swiper-item><swiper-item catchtouchmove="{{f}}"><slot name="tab5"></slot></swiper-item><swiper-item catchtouchmove="{{g}}"><slot name="tab6"></slot></swiper-item><swiper-item catchtouchmove="{{h}}"><slot name="tab7"></slot></swiper-item></swiper></view></view>
|
@@ -1,21 +0,0 @@
|
||||
.tab-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
.uni-margin-wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.swiper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.swiper-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
1
unpackage/dist/dev/mp-weixin/config.js
vendored
@@ -1 +0,0 @@
|
||||
"use strict";
|
@@ -1,13 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
methods: {}
|
||||
};
|
||||
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);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view></view>
|
@@ -1,31 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const stores_useUserStore = require("../../stores/useUserStore.js");
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const { $api, navTo } = common_vendor.inject("globalFunction");
|
||||
stores_useUserStore.useUserStore();
|
||||
const state = common_vendor.reactive({
|
||||
title: "123123123房贷首付打的手机家里好玩的很浓厚第卡后sdhiwohdijasnbdhoui1很努力"
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
console.log("onShow");
|
||||
});
|
||||
common_vendor.onLoad(() => {
|
||||
console.log("onLoad");
|
||||
navTo("/pages/login/login");
|
||||
});
|
||||
common_vendor.watch(
|
||||
() => state.title,
|
||||
(newValue, oldValue) => {
|
||||
},
|
||||
{ deep: true }
|
||||
);
|
||||
return (_ctx, _cache) => {
|
||||
return {};
|
||||
};
|
||||
}
|
||||
};
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
||||
wx.createPage(MiniProgramPage);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view class="content data-v-1cf27b2a"></view>
|
@@ -1,4 +0,0 @@
|
||||
.logo.data-v-1cf27b2a {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
@@ -1,29 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "tab",
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
props: {
|
||||
current: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o(($event) => false),
|
||||
b: common_vendor.o(($event) => false),
|
||||
c: common_vendor.o(($event) => false),
|
||||
d: common_vendor.o(($event) => false),
|
||||
e: common_vendor.o(($event) => false),
|
||||
f: common_vendor.o(($event) => false),
|
||||
g: common_vendor.o(($event) => false),
|
||||
h: common_vendor.o(($event) => false),
|
||||
i: $props.current
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view class="tab-container"><view class="uni-margin-wrap"><swiper class="swiper" current="{{i}}" circular="{{false}}" indicator-dots="{{false}}" autoplay="{{false}}" duration="{{500}}"><swiper-item catchtouchmove="{{a}}"><slot name="tab0"></slot></swiper-item><swiper-item catchtouchmove="{{b}}"><slot name="tab1"></slot></swiper-item><swiper-item catchtouchmove="{{c}}"><slot name="tab2"></slot></swiper-item><swiper-item catchtouchmove="{{d}}"><slot name="tab3"></slot></swiper-item><swiper-item catchtouchmove="{{e}}"><slot name="tab4"></slot></swiper-item><swiper-item catchtouchmove="{{f}}"><slot name="tab5"></slot></swiper-item><swiper-item catchtouchmove="{{g}}"><slot name="tab6"></slot></swiper-item><swiper-item catchtouchmove="{{h}}"><slot name="tab7"></slot></swiper-item></swiper></view></view>
|
@@ -1,21 +0,0 @@
|
||||
.tab-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: row;
|
||||
}
|
||||
.uni-margin-wrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.swiper {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.swiper-item {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
@@ -1,42 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
if (!Math) {
|
||||
tabcontrolVue();
|
||||
}
|
||||
const tabcontrolVue = () => "./components/tabcontrol.js";
|
||||
const _sfc_main = {
|
||||
__name: "login",
|
||||
setup(__props) {
|
||||
const { statusBarHeight } = common_vendor.inject("deviceInfo");
|
||||
const tabCurrent = common_vendor.ref(1);
|
||||
common_vendor.reactive({
|
||||
sex: 1
|
||||
});
|
||||
setTimeout(() => {
|
||||
console.log("gg");
|
||||
}, 4e3);
|
||||
const getuserinfo = (e) => {
|
||||
console.log(e);
|
||||
};
|
||||
function nextStep() {
|
||||
tabCurrent.value += 1;
|
||||
}
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.unref(statusBarHeight) + "px",
|
||||
b: common_assets._imports_0,
|
||||
c: common_vendor.o(getuserinfo),
|
||||
d: common_assets._imports_1,
|
||||
e: common_assets._imports_2,
|
||||
f: common_vendor.o(nextStep),
|
||||
g: common_vendor.o(nextStep),
|
||||
h: common_vendor.o(nextStep),
|
||||
i: common_vendor.p({
|
||||
current: tabCurrent.value
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createPage(_sfc_main);
|
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"tabcontrol-vue": "./components/tabcontrol"
|
||||
}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view class="container"><view style="{{'height:' + a}}"></view><tabcontrol-vue wx:if="{{i}}" u-s="{{['tab0','tab1','tab2','tab3']}}" u-i="665c1f0a-0" bind:__l="__l" u-p="{{i}}"><view slot="tab0"><view class="login-content"><image class="logo" src="{{b}}"></image><view class="logo-title">就业</view></view><view class="btns"><button open-type="getUserInfo" bindgetuserinfo="{{c}}" class="wxlogin">微信登录</button><view class="wxaddress">青岛市公共就业和人才服务中心</view></view></view><view class="tabtwo" slot="tab1"><view class="tabtwo-top"><view class="color_FFFFFF fs_30">选择您的性别1/6</view><view class="color_D9D9D9">个人信息仅用于推送优质内容</view></view><view class="fl_box fl_justmiddle"><view class="tabtwo-sex"><image class="sex-img" src="{{d}}"></image><view class="mar_top5">女</view><view class="dot"></view></view><view class="tabtwo-sex"><image class="sex-img" src="{{e}}"></image><view class="mar_top5">男</view><view class="dot doted"></view></view></view><view class="nextstep" bindtap="{{f}}">下一步</view></view><view class="tabtwo" slot="tab2"><view class="tabtwo-top"><view class="color_FFFFFF fs_30">选择您的年龄断段2/6</view><view class="color_D9D9D9">个人信息仅用于推送优质内容</view></view><view class="fl_box fl_deri"><view class="agebtn agebtned">30岁以下</view><view class="agebtn">31-40岁</view><view class="agebtn">41-50岁</view><view class="agebtn">51岁以上</view></view><view class="fl_box fl_justmiddle"></view><view class="nextstep" bindtap="{{g}}">下一步</view></view><view class="tabtwo" slot="tab3"><view class="tabtwo-top"><view class="color_FFFFFF fs_30">选择您的学历3/6</view><view class="color_D9D9D9">个人信息仅用于推送优质内容</view></view><view class="eduction-content"><view class="eductionbtn eductionbtned">30岁以下</view><view class="eductionbtn">31-40岁</view><view class="eductionbtn">41-50岁</view><view class="eductionbtn">51岁以上</view></view><view class="fl_box fl_justmiddle"></view><view class="nextstep" bindtap="{{h}}">下一步</view></view></tabcontrol-vue></view>
|
128
unpackage/dist/dev/mp-weixin/pages/login/login.wxss
vendored
@@ -1,128 +0,0 @@
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(#4778ec, #002979);
|
||||
position: relative;
|
||||
}
|
||||
.login-content {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 40%;
|
||||
transform: translate(-50%, -50%);
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
flex-wrap: nowrap;
|
||||
}
|
||||
.login-content .logo {
|
||||
width: 266rpx;
|
||||
height: 182rpx;
|
||||
}
|
||||
.login-content .logo-title {
|
||||
font-size: 88rpx;
|
||||
color: #fff;
|
||||
width: 180rpx;
|
||||
}
|
||||
.btns {
|
||||
position: absolute;
|
||||
top: 70%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
}
|
||||
.btns .wxlogin {
|
||||
width: 562rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 70rpx;
|
||||
background-color: #13c57c;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 140rpx;
|
||||
font-size: 70rpx;
|
||||
}
|
||||
.btns .wxaddress {
|
||||
color: #bbb;
|
||||
margin-top: 70rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.tabtwo {
|
||||
padding: 40rpx;
|
||||
}
|
||||
.tabtwo-top {
|
||||
margin: 222rpx 0 0 0;
|
||||
}
|
||||
.tabtwo-sex {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
color: #fff;
|
||||
font-size: 40rpx;
|
||||
margin: 200rpx 60rpx 0 60rpx;
|
||||
}
|
||||
.tabtwo-sex .sex-img {
|
||||
width: 184rpx;
|
||||
height: 184rpx;
|
||||
}
|
||||
.dot {
|
||||
width: 68rpx;
|
||||
height: 68rpx;
|
||||
border-radius: 50%;
|
||||
background: #d1d1d6;
|
||||
position: relative;
|
||||
}
|
||||
.dot:before {
|
||||
content: '';
|
||||
width: 44rpx;
|
||||
height: 44rpx;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 50%;
|
||||
background: #1e4baa;
|
||||
}
|
||||
.doted {
|
||||
background: #13c57c;
|
||||
}
|
||||
.doted:after {
|
||||
content: '';
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 50%;
|
||||
background: #13c57c;
|
||||
}
|
||||
.agebtn {
|
||||
width: 630rpx;
|
||||
height: 108rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #d9d9d9;
|
||||
text-align: center;
|
||||
line-height: 108rpx;
|
||||
font-size: 40rpx;
|
||||
margin-top: 50rpx;
|
||||
color: #606060;
|
||||
}
|
||||
.agebtned {
|
||||
background: #13c57c;
|
||||
color: #fff;
|
||||
}
|
||||
.nextstep {
|
||||
position: absolute;
|
||||
top: 80%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, 0);
|
||||
width: 630rpx;
|
||||
height: 98rpx;
|
||||
border-radius: 20rpx;
|
||||
background: #13c57c;
|
||||
text-align: center;
|
||||
line-height: 98rpx;
|
||||
font-size: 40rpx;
|
||||
color: #fff;
|
||||
}
|
||||
.eduction-content {
|
||||
display: grid;
|
||||
}
|
12
unpackage/dist/dev/mp-weixin/pages/mine/mine.js
vendored
@@ -1,12 +0,0 @@
|
||||
"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);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view></view>
|
@@ -1,12 +0,0 @@
|
||||
"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);
|
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {}
|
||||
}
|
@@ -1 +0,0 @@
|
||||
<view></view>
|
BIN
unpackage/dist/dev/mp-weixin/static/icon/man.png
vendored
Before Width: | Height: | Size: 1.9 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/icon/woman.png
vendored
Before Width: | Height: | Size: 1.8 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/logo.png
vendored
Before Width: | Height: | Size: 4.8 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/logo2.png
vendored
Before Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 412 B |
Before Width: | Height: | Size: 341 B |
BIN
unpackage/dist/dev/mp-weixin/static/tabbar/chat4.png
vendored
Before Width: | Height: | Size: 662 B |
BIN
unpackage/dist/dev/mp-weixin/static/tabbar/mine.png
vendored
Before Width: | Height: | Size: 677 B |
BIN
unpackage/dist/dev/mp-weixin/static/tabbar/post.png
vendored
Before Width: | Height: | Size: 509 B |
Before Width: | Height: | Size: 456 B |
@@ -1,30 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../common/vendor.js");
|
||||
const useUserStore = common_vendor.defineStore("user", () => {
|
||||
const hasLogin = common_vendor.ref(false);
|
||||
const openId = common_vendor.ref("");
|
||||
const userInfo = common_vendor.ref({});
|
||||
const token = common_vendor.ref("测试token");
|
||||
const login = (value) => {
|
||||
hasLogin.value = true;
|
||||
userInfo.value = value;
|
||||
openId.value = value.wxOpenId;
|
||||
token.value = value.token;
|
||||
common_vendor.index.setStorage({
|
||||
key: "token",
|
||||
data: value.token
|
||||
});
|
||||
};
|
||||
const logOut = () => {
|
||||
hasLogin = false;
|
||||
};
|
||||
return {
|
||||
hasLogin,
|
||||
openId,
|
||||
userInfo,
|
||||
token,
|
||||
login,
|
||||
logOut
|
||||
};
|
||||
});
|
||||
exports.useUserStore = useUserStore;
|
@@ -1,3 +0,0 @@
|
||||
"use strict";
|
||||
require("../common/vendor.js");
|
||||
require("../stores/useUserStore.js");
|