Commit ddf50bd4 by cen

fix:左边布局

1 parent 50bd8b19
<template>
<view class="left-side left-side-pad">
<image class="left-side-bg-img"
src="/static/images/home/left-bg.png"
mode="aspectFill" />
mode="aspectFill"
src="/static/images/home/left-bg.png" />
<view class="user-box user-box-clickable" @click="jumpPersonCenter">
<view class="user-info">
<view class="user-avatar"></view>
......@@ -328,9 +328,9 @@ function jumpPersonCenter(): void {
flex-direction: column;
justify-content: center;
position: absolute;
top: 50%;
// top: 50%;
left: 0;
transform: translateY(-50%);
// transform: translateY(-50%);
padding: 8px 0; /* toRpx(16) / 2 */
padding-left: 16px; /* toRpx(32) / 2 */
}
......
......@@ -5,14 +5,22 @@ import {
isOpenDatabase,
openDatabase,
selectSql,
SqliteFail,
SQLiteSuccess,
SqlOperationOptions
} from "@/uni_modules/lime-sqlite";
import { PathUtils } from "../../utils/path-utils.uts";
import TaskQueue from "../../utils/task-queue.uts";
// 说明:
// - SQLiteSuccess 类型在 App 端由 lime-sqlite 提供(仅 interface,运行时代码未导出)
// - Web 端模块不会实际导出该类型,直接 import 会导致运行时错误
// - 这里在业务侧声明一个结构兼容的类型,避免跨端编译/运行时报错
type SQLiteSuccess = {
data: any[] | null;
result: any[] | null;
errMsg?: string;
};
export default class SQLite {
static _queues = new Map<string, TaskQueue>();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!