看板
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_image2 = common_vendor.resolveComponent("u-image");
|
||||
const _easycom_u_cell_item2 = common_vendor.resolveComponent("u-cell-item");
|
||||
const _easycom_u_cell_group2 = common_vendor.resolveComponent("u-cell-group");
|
||||
const _easycom_u_button2 = common_vendor.resolveComponent("u-button");
|
||||
(_easycom_u_image2 + _easycom_u_cell_item2 + _easycom_u_cell_group2 + _easycom_u_button2)();
|
||||
}
|
||||
const _easycom_u_image = () => "../../../uni_modules/uview-pro/components/u-image/u-image.js";
|
||||
const _easycom_u_cell_item = () => "../../../uni_modules/uview-pro/components/u-cell-item/u-cell-item.js";
|
||||
const _easycom_u_cell_group = () => "../../../uni_modules/uview-pro/components/u-cell-group/u-cell-group.js";
|
||||
const _easycom_u_button = () => "../../../uni_modules/uview-pro/components/u-button/u-button.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_image + _easycom_u_cell_item + _easycom_u_cell_group + _easycom_u_button)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "index",
|
||||
setup(__props) {
|
||||
const src = common_vendor.ref("https://ik.imagekit.io/anyup/uview-pro/logo/default.png");
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
width: "300rpx",
|
||||
height: "300rpx",
|
||||
shape: "circle",
|
||||
["bg-color"]: "var(--u-bg-color)",
|
||||
src: src.value
|
||||
}),
|
||||
b: common_vendor.p({
|
||||
title: "姓名",
|
||||
value: "张三",
|
||||
arrow: false
|
||||
}),
|
||||
c: common_vendor.p({
|
||||
title: "联系方式",
|
||||
value: "13395515136",
|
||||
arrow: false
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
title: "所属单位",
|
||||
value: "xxxxxxxxxxxxxx单位",
|
||||
arrow: false
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
type: "primary"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/index/about/index.js.map
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-image": "../../../uni_modules/uview-pro/components/u-image/u-image",
|
||||
"u-cell-item": "../../../uni_modules/uview-pro/components/u-cell-item/u-cell-item",
|
||||
"u-cell-group": "../../../uni_modules/uview-pro/components/u-cell-group/u-cell-group",
|
||||
"u-button": "../../../uni_modules/uview-pro/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="u-wrap u-padding-bottom-70"><view class="photo u-flex u-row-center u-padding-40"><u-image wx:if="{{a}}" u-i="8f3d2368-0" bind:__l="__l" u-p="{{a}}"></u-image></view><u-cell-group u-s="{{['d']}}" u-i="8f3d2368-1" bind:__l="__l"><u-cell-item wx:if="{{b}}" u-i="8f3d2368-2,8f3d2368-1" bind:__l="__l" u-p="{{b}}"></u-cell-item><u-cell-item wx:if="{{c}}" u-i="8f3d2368-3,8f3d2368-1" bind:__l="__l" u-p="{{c}}"></u-cell-item><u-cell-item wx:if="{{d}}" u-i="8f3d2368-4,8f3d2368-1" bind:__l="__l" u-p="{{d}}"></u-cell-item></u-cell-group><view class="fab"><u-button wx:if="{{e}}" u-s="{{['d']}}" u-i="8f3d2368-5" bind:__l="__l" u-p="{{e}}">退出</u-button></view></view>
|
||||
@@ -0,0 +1,84 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
:root,
|
||||
page {
|
||||
/* 纯色 */
|
||||
--u-white-color: #ffffff;
|
||||
--u-black-color: #000000;
|
||||
--u-main-color: #303133;
|
||||
--u-content-color: #606266;
|
||||
--u-tips-color: #909399;
|
||||
--u-light-color: #c0c4cc;
|
||||
--u-border-color: #e4e7ed;
|
||||
--u-divider-color: #e4e7ed;
|
||||
--u-mask-color: rgba(0, 0, 0, 0.4);
|
||||
--u-shadow-color: rgba(0, 0, 0, 0.1);
|
||||
/* 背景色 */
|
||||
--u-bg-color: #f3f4f6;
|
||||
--u-bg-white: #ffffff;
|
||||
--u-bg-gray-light: #f1f1f1;
|
||||
--u-bg-gray-dark: #2f343c;
|
||||
--u-bg-black: #000000;
|
||||
/* 主色 */
|
||||
--u-type-primary: #17447a;
|
||||
--u-type-primary-light: #d5dde7;
|
||||
--u-type-primary-disabled: #8fa6c3;
|
||||
--u-type-primary-dark: #123662;
|
||||
/* 警告色 */
|
||||
--u-type-warning: #ff9900;
|
||||
--u-type-warning-disabled: #fcbd71;
|
||||
--u-type-warning-dark: #f29100;
|
||||
--u-type-warning-light: #fdf6ec;
|
||||
/* 成功色 */
|
||||
--u-type-success: #19be6b;
|
||||
--u-type-success-disabled: #71d5a1;
|
||||
--u-type-success-dark: #18b566;
|
||||
--u-type-success-light: #dbf1e1;
|
||||
/* 错误色 */
|
||||
--u-type-error: #fa3534;
|
||||
--u-type-error-disabled: #fab6b6;
|
||||
--u-type-error-dark: #dd6161;
|
||||
--u-type-error-light: #fef0f0;
|
||||
/* 信息色 */
|
||||
--u-type-info: #909399;
|
||||
--u-type-info-disabled: #c8c9cc;
|
||||
--u-type-info-dark: #82848a;
|
||||
--u-type-info-light: #f4f4f5;
|
||||
}
|
||||
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-wrap {
|
||||
background-color: #ffffff;
|
||||
width: 100%;
|
||||
height: calc(100vh - 52px - env(safe-area-inset-bottom));
|
||||
}
|
||||
.u-wrap .fab {
|
||||
padding: 20rpx 40rpx;
|
||||
position: fixed;
|
||||
bottom: 200rpx;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: 9999999999999;
|
||||
}
|
||||
Reference in New Issue
Block a user