Commit c976a1ed by fengzhaoyu

静态

parents
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/createOrEditSchedule/createOrEditSchedule"
}
};
if(!self.Map || !self.Set || !self.Symbol) {
importScripts('https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.3/es6-set-map-symbol.js');
}
\ No newline at end of file
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
if(!self.__appxInited) {
self.__appxInited = 1;
require('./config$');
var AFAppX = self.AFAppX.getAppContext
? self.AFAppX.getAppContext().AFAppX
: self.AFAppX;
self.getCurrentPages = AFAppX.getCurrentPages;
self.getApp = AFAppX.getApp;
self.Page = AFAppX.Page;
self.App = AFAppX.App;
self.my = AFAppX.bridge || AFAppX.abridge;
self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;
if(AFAppX.registerApp) {
AFAppX.registerApp({
appJSON: appXAppJson,
});
}
function success() {
require('../../app');
require('../../pages/createOrEditSchedule/createOrEditSchedule?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
}
self.bootstrapApp ? self.bootstrapApp({ success }) : success();
}
\ No newline at end of file
App({
onLaunch(options) {
// 第一次打开
// options.query == {number:1}
console.info('App onLaunch');
},
onShow(options) {
// 从后台被 scheme 重新打开
// options.query == {number:1}
},
});
{
"pages": [
"pages/createOrEditSchedule/createOrEditSchedule",
"pages/index/index"
],
"window": {
"defaultTitle": "My App"
}
}
/* Logo 字体 */
@font-face {
font-family: "iconfont logo";
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}
.logo {
font-family: "iconfont logo";
font-size: 160px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* tabs */
.nav-tabs {
position: relative;
}
.nav-tabs .nav-more {
position: absolute;
right: 0;
bottom: 0;
height: 42px;
line-height: 42px;
color: #666;
}
#tabs {
border-bottom: 1px solid #eee;
}
#tabs li {
cursor: pointer;
width: 100px;
height: 40px;
line-height: 40px;
text-align: center;
font-size: 16px;
border-bottom: 2px solid transparent;
position: relative;
z-index: 1;
margin-bottom: -1px;
color: #666;
}
#tabs .active {
border-bottom-color: #f00;
color: #222;
}
.tab-container .content {
display: none;
}
/* 页面布局 */
.main {
padding: 30px 100px;
width: 960px;
margin: 0 auto;
}
.main .logo {
color: #333;
text-align: left;
margin-bottom: 30px;
line-height: 1;
height: 110px;
margin-top: -50px;
overflow: hidden;
*zoom: 1;
}
.main .logo a {
font-size: 160px;
color: #333;
}
.helps {
margin-top: 40px;
}
.helps pre {
padding: 20px;
margin: 10px 0;
border: solid 1px #e7e1cd;
background-color: #fffdef;
overflow: auto;
}
.icon_lists {
width: 100% !important;
overflow: hidden;
*zoom: 1;
}
.icon_lists li {
width: 100px;
margin-bottom: 10px;
margin-right: 20px;
text-align: center;
list-style: none !important;
cursor: default;
}
.icon_lists li .code-name {
line-height: 1.2;
}
.icon_lists .icon {
display: block;
height: 100px;
line-height: 100px;
font-size: 42px;
margin: 10px auto;
color: #333;
-webkit-transition: font-size 0.25s linear, width 0.25s linear;
-moz-transition: font-size 0.25s linear, width 0.25s linear;
transition: font-size 0.25s linear, width 0.25s linear;
}
.icon_lists .icon:hover {
font-size: 100px;
}
.icon_lists .svg-icon {
/* 通过设置 font-size 来改变图标大小 */
width: 1em;
/* 图标和文字相邻时,垂直对齐 */
vertical-align: -0.15em;
/* 通过设置 color 来改变 SVG 的颜色/fill */
fill: currentColor;
/* path 和 stroke 溢出 viewBox 部分在 IE 下会显示
normalize.css 中也包含这行 */
overflow: hidden;
}
.icon_lists li .name,
.icon_lists li .code-name {
color: #666;
}
/* markdown 样式 */
.markdown {
color: #666;
font-size: 14px;
line-height: 1.8;
}
.highlight {
line-height: 1.5;
}
.markdown img {
vertical-align: middle;
max-width: 100%;
}
.markdown h1 {
color: #404040;
font-weight: 500;
line-height: 40px;
margin-bottom: 24px;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
color: #404040;
margin: 1.6em 0 0.6em 0;
font-weight: 500;
clear: both;
}
.markdown h1 {
font-size: 28px;
}
.markdown h2 {
font-size: 22px;
}
.markdown h3 {
font-size: 16px;
}
.markdown h4 {
font-size: 14px;
}
.markdown h5 {
font-size: 12px;
}
.markdown h6 {
font-size: 12px;
}
.markdown hr {
height: 1px;
border: 0;
background: #e9e9e9;
margin: 16px 0;
clear: both;
}
.markdown p {
margin: 1em 0;
}
.markdown>p,
.markdown>blockquote,
.markdown>.highlight,
.markdown>ol,
.markdown>ul {
width: 80%;
}
.markdown ul>li {
list-style: circle;
}
.markdown>ul li,
.markdown blockquote ul>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown>ul li p,
.markdown>ol li p {
margin: 0.6em 0;
}
.markdown ol>li {
list-style: decimal;
}
.markdown>ol li,
.markdown blockquote ol>li {
margin-left: 20px;
padding-left: 4px;
}
.markdown code {
margin: 0 3px;
padding: 0 5px;
background: #eee;
border-radius: 3px;
}
.markdown strong,
.markdown b {
font-weight: 600;
}
.markdown>table {
border-collapse: collapse;
border-spacing: 0px;
empty-cells: show;
border: 1px solid #e9e9e9;
width: 95%;
margin-bottom: 24px;
}
.markdown>table th {
white-space: nowrap;
color: #333;
font-weight: 600;
}
.markdown>table th,
.markdown>table td {
border: 1px solid #e9e9e9;
padding: 8px 16px;
text-align: left;
}
.markdown>table th {
background: #F7F7F7;
}
.markdown blockquote {
font-size: 90%;
color: #999;
border-left: 4px solid #e9e9e9;
padding-left: 0.8em;
margin: 1em 0;
}
.markdown blockquote p {
margin: 0;
}
.markdown .anchor {
opacity: 0;
transition: opacity 0.3s ease;
margin-left: 8px;
}
.markdown .waiting {
color: #ccc;
}
.markdown h1:hover .anchor,
.markdown h2:hover .anchor,
.markdown h3:hover .anchor,
.markdown h4:hover .anchor,
.markdown h5:hover .anchor,
.markdown h6:hover .anchor {
opacity: 1;
display: inline-block;
}
.markdown>br,
.markdown>p>br {
clear: both;
}
.hljs {
display: block;
background: white;
padding: 0.5em;
color: #333333;
overflow-x: auto;
}
.hljs-comment,
.hljs-meta {
color: #969896;
}
.hljs-string,
.hljs-variable,
.hljs-template-variable,
.hljs-strong,
.hljs-emphasis,
.hljs-quote {
color: #df5000;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-type {
color: #a71d5d;
}
.hljs-literal,
.hljs-symbol,
.hljs-bullet,
.hljs-attribute {
color: #0086b3;
}
.hljs-section,
.hljs-name {
color: #63a35c;
}
.hljs-tag {
color: #333333;
}
.hljs-title,
.hljs-attr,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo {
color: #795da3;
}
.hljs-addition {
color: #55a532;
background-color: #eaffea;
}
.hljs-deletion {
color: #bd2c00;
background-color: #ffecec;
}
.hljs-link {
text-decoration: underline;
}
/* 代码高亮 */
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/
code[class*="language-"],
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
pre[class*="language-"]::-moz-selection,
pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection,
code[class*="language-"] ::-moz-selection {
text-shadow: none;
background: #b3d4fc;
}
pre[class*="language-"]::selection,
pre[class*="language-"] ::selection,
code[class*="language-"]::selection,
code[class*="language-"] ::selection {
text-shadow: none;
background: #b3d4fc;
}
@media print {
code[class*="language-"],
pre[class*="language-"] {
text-shadow: none;
}
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre)>code[class*="language-"],
pre[class*="language-"] {
background: #f5f2f0;
}
/* Inline code */
:not(pre)>code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: slategray;
}
.token.punctuation {
color: #999;
}
.namespace {
opacity: .7;
}
.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
color: #905;
}
.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
color: #690;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #9a6e3a;
background: hsla(0, 0%, 100%, .5);
}
.token.atrule,
.token.attr-value,
.token.keyword {
color: #07a;
}
.token.function,
.token.class-name {
color: #DD4A68;
}
.token.regex,
.token.important,
.token.variable {
color: #e90;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
@font-face {
font-family: 'iconfont'; /* project id 1593023 */
src: url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.eot');
src: url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.eot?#iefix') format('embedded-opentype'),
url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.woff2') format('woff2'),
url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.woff') format('woff'),
url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.ttf') format('truetype'),
url('//at.alicdn.com/t/font_1593023_dkmcmul6b1o.svg#iconfont') format('svg');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.iconyoujinru:before {
content: "\e636";
}
.iconxuanzhong:before {
content: "\e637";
}
.iconweigouxuan:before {
content: "\e638";
}
.iconyigouxuan:before {
content: "\e63a";
}
.iconbeifangren:before {
content: "\e63c";
}
.icondingwei:before {
content: "\e63d";
}
.iconxialakuang:before {
content: "\e63e";
}
.iconsousuo:before {
content: "\e63f";
}
.iconhuiyizhuti:before {
content: "\e641";
}
.iconhuiyimiaoshu:before {
content: "\e642";
}
.iconshijian:before {
content: "\e643";
}
.iconchongfu:before {
content: "\e644";
}
.iconcanhuiren1:before {
content: "\e646";
}
.iconhuiyishi:before {
content: "\e647";
}
.icondidianmiaoshu:before {
content: "\e64b";
}
.iconhuiqiantixing:before {
content: "\e64c";
}
.iconfuben:before {
content: "\e64d";
}
.icontianjia:before {
content: "\e64e";
}
.iconshanchu:before {
content: "\e64f";
}
.iconkai:before {
content: "\e650";
}
.iconguan:before {
content: "\e651";
}
.iconzhankai:before {
content: "\e652";
}
.iconshouqi:before {
content: "\e653";
}
.iconxuanzhong1:before {
content: "\e654";
}
.iconweigouxuan1:before {
content: "\e655";
}
{
"id": "1593023",
"name": "会议室",
"font_family": "iconfont",
"css_prefix_text": "icon",
"description": "",
"glyphs": [
{
"icon_id": "12620785",
"name": "youjinru",
"font_class": "youjinru",
"unicode": "e636",
"unicode_decimal": 58934
},
{
"icon_id": "12620950",
"name": "xuanzhong",
"font_class": "xuanzhong",
"unicode": "e637",
"unicode_decimal": 58935
},
{
"icon_id": "12621118",
"name": "weigouxuan",
"font_class": "weigouxuan",
"unicode": "e638",
"unicode_decimal": 58936
},
{
"icon_id": "12621397",
"name": "yigouxuan",
"font_class": "yigouxuan",
"unicode": "e63a",
"unicode_decimal": 58938
},
{
"icon_id": "12621592",
"name": "beifangren",
"font_class": "beifangren",
"unicode": "e63c",
"unicode_decimal": 58940
},
{
"icon_id": "12621601",
"name": "dingwei",
"font_class": "dingwei",
"unicode": "e63d",
"unicode_decimal": 58941
},
{
"icon_id": "12622650",
"name": "xialakuang",
"font_class": "xialakuang",
"unicode": "e63e",
"unicode_decimal": 58942
},
{
"icon_id": "12623341",
"name": "sousuo",
"font_class": "sousuo",
"unicode": "e63f",
"unicode_decimal": 58943
},
{
"icon_id": "12624539",
"name": "huiyizhuti",
"font_class": "huiyizhuti",
"unicode": "e641",
"unicode_decimal": 58945
},
{
"icon_id": "12624692",
"name": "huiyimiaoshu",
"font_class": "huiyimiaoshu",
"unicode": "e642",
"unicode_decimal": 58946
},
{
"icon_id": "12624721",
"name": "shijian",
"font_class": "shijian",
"unicode": "e643",
"unicode_decimal": 58947
},
{
"icon_id": "12624765",
"name": "chongfu",
"font_class": "chongfu",
"unicode": "e644",
"unicode_decimal": 58948
},
{
"icon_id": "12624781",
"name": "canhuiren",
"font_class": "canhuiren1",
"unicode": "e646",
"unicode_decimal": 58950
},
{
"icon_id": "12624802",
"name": "huiyishi",
"font_class": "huiyishi",
"unicode": "e647",
"unicode_decimal": 58951
},
{
"icon_id": "12626853",
"name": "didianmiaoshu",
"font_class": "didianmiaoshu",
"unicode": "e64b",
"unicode_decimal": 58955
},
{
"icon_id": "12626991",
"name": "huiqiantixing",
"font_class": "huiqiantixing",
"unicode": "e64c",
"unicode_decimal": 58956
},
{
"icon_id": "12627665",
"name": "fuben",
"font_class": "fuben",
"unicode": "e64d",
"unicode_decimal": 58957
},
{
"icon_id": "12628220",
"name": "tianjia",
"font_class": "tianjia",
"unicode": "e64e",
"unicode_decimal": 58958
},
{
"icon_id": "12628546",
"name": "shanchu",
"font_class": "shanchu",
"unicode": "e64f",
"unicode_decimal": 58959
},
{
"icon_id": "12628872",
"name": "kai",
"font_class": "kai",
"unicode": "e650",
"unicode_decimal": 58960
},
{
"icon_id": "12628961",
"name": "guan",
"font_class": "guan",
"unicode": "e651",
"unicode_decimal": 58961
},
{
"icon_id": "12645018",
"name": "zhankai",
"font_class": "zhankai",
"unicode": "e652",
"unicode_decimal": 58962
},
{
"icon_id": "12645078",
"name": "shouqi",
"font_class": "shouqi",
"unicode": "e653",
"unicode_decimal": 58963
},
{
"icon_id": "12827163",
"name": "2xuanzhong",
"font_class": "xuanzhong1",
"unicode": "e654",
"unicode_decimal": 58964
},
{
"icon_id": "12827169",
"name": "weigouxuan",
"font_class": "weigouxuan1",
"unicode": "e655",
"unicode_decimal": 58965
}
]
}
<view>
New Page
</view>
\ No newline at end of file
@import "../../font/iconfont.acss";
page {
background: #f6f6f6;
font-family: PingFangSC-Regular;
font-size: 34rpx;
color: #191F25;
}
.theme {
border-top: 1rpx solid rgba(25, 31, 37, 0.12);
overflow: hidden;
background: #fff;
color: #191F25;
padding: 30rpx 32rpx;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
}
.theme input {
width: 100%;
padding-left: 0;
height: 52rpx;
line-height: 52rpx;
}
.place, .participants, .remind, .time {
background: #fff;
display: flex;
margin-top: 16rpx;
height: 112rpx;
padding: 0 32rpx;
border-bottom: 1rpx solid rgba(25, 31, 37, 0.12);
}
.selectTime {
background: #3296FA;
color: white;
}
.time {
height: 132rpx;
display: flex;
padding: 0;
}
.timeContainer {
font-family: DINAlternate-Bold;
display: flex;
height: 34rpx;
margin-top: 22rpx;
}
.yearTime {
margin-right: 24rpx;
}
.dayTime {
text-indent: 0;
}
.weekTime {
font-size: 26rpx;
margin-top: 15rpx;
/* color: rgba(152, 165, 179, 0.56); */
}
.startTime, .endTime {
width: 50%;
height: 100%;
}
.startTime {
background: #3296FA;
text-indent: 32rpx;
color: white;
position: relative;
}
.line {
height: 100%;
width: 132rpx;
background: #3296FA;
position: absolute;
right: -18rpx;
top: 0;
transform: rotate(45deg)
}
.endTime {
text-indent: 75rpx;
}
.icon, .text {
height: 100%;
line-height: 112rpx;
vertical-align: center;
}
.icon {
font-size: 40rpx;
width: 30rpx;
margin-right: 27rpx;
text-align: center;
}
.remind .text {
width: 100%;
display: flex;
justify-content: space-between;
}
.close {
color: rgba(25, 31, 37, 0.28);
}
.save {
padding: 32rpx 34rpx;
background: #fff;
position: fixed;
bottom: 0;
left: 0;
right: 0;
}
.save>view {
font-size: 36rpx;
text-align: center;
line-height: 96rpx;
width: 686rpx;
height: 96rpx;
color: #fff;
background: #3296FA;
border: 1px solid rgba(25, 31, 37, 0.12);
border-radius: 48px;
}
\ No newline at end of file
<view class="createOrEditSchedule">
<!-- 主题 -->
<view class="theme">
<input placeholder="添加主题" />
</view>
<!-- 时间 -->
<view class="time">
<view class="startTime">
<view class="timeContainer">
<view class="yearTime">
2月4日
</view>
<view class="dayTime">
09:30
</view>
</view>
<view class="weekTime">
周三
</view>
<!-- <view class="line">
</view> -->
</view>
<view class="endTime">
<view class="timeContainer">
<view class="yearTime">
2月4日
</view>
<view class="dayTime">
09:30
</view>
</view>
<view class="weekTime">
周三
</view>
</view>
</view>
<!-- 地点 -->
<view class="place">
<view class="icon iconfont icondingwei">
</view>
<view class="text">
添加地点
</view>
</view>
<!-- 参会人 -->
<view class="participants">
<view class="icon iconfont iconcanhuiren1">
</view>
<view class="text">
添加参会人
</view>
</view>
<!-- 提醒 -->
<view class="remind">
<view class="icon iconfont iconhuiqiantixing">
</view>
<view class="text">
<text>提前15分钟提醒</text>
<text class="close iconshanchu iconfont"></text>
</view>
</view>
<!-- 保存 -->
<view class="save">
<view>
立即创建
</view>
</view>
</view>
\ No newline at end of file
Page({
data: {},
onLoad() {
dd.setNavigationBar({
title: '创建会议'
})
},
});
Page({
onLoad(query) {
// 页面加载
this.setTitle('会议安排')
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
// 标题被点击
},
onPullDownRefresh() {
// 页面被下拉
},
onReachBottom() {
// 页面被拉到底部
},
onShareAppMessage() {
// 返回自定义分享信息
return {
title: 'My App',
desc: 'My App description',
path: 'pages/index/index',
};
},
});
<view>
Create edit schedule
</view>
Page({
onLoad(query) {
// 页面加载
},
onReady() {
// 页面加载完成
},
onShow() {
// 页面显示
},
onHide() {
// 页面隐藏
},
onUnload() {
// 页面被关闭
},
onTitleClick() {
// 标题被点击
},
onPullDownRefresh() {
// 页面被下拉
},
onReachBottom() {
// 页面被拉到底部
},
onShareAppMessage() {
// 返回自定义分享信息
return {
title: 'My App',
desc: 'My App description',
path: 'pages/index/index',
};
},
});
{}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment