first commit
This commit is contained in:
+103
@@ -0,0 +1,103 @@
|
||||
"use strict";
|
||||
var common_vendor = require("../../common/vendor.js");
|
||||
require("../../stores/index.js");
|
||||
var utils_common = require("../../utils/common.js");
|
||||
var stores_modules_user = require("../../stores/modules/user.js");
|
||||
require("../../stores/modules/tabIndex.js");
|
||||
require("../../stores/modules/AIResponse.js");
|
||||
require("../../stores/modules/rateLimit.js");
|
||||
if (!Array) {
|
||||
const _easycom_wd_text2 = common_vendor.resolveComponent("wd-text");
|
||||
const _easycom_wd_button2 = common_vendor.resolveComponent("wd-button");
|
||||
const _easycom_wd_card2 = common_vendor.resolveComponent("wd-card");
|
||||
const _easycom_wd_status_tip2 = common_vendor.resolveComponent("wd-status-tip");
|
||||
const _easycom_wd_message_box2 = common_vendor.resolveComponent("wd-message-box");
|
||||
const _easycom_wd_toast2 = common_vendor.resolveComponent("wd-toast");
|
||||
(_easycom_wd_text2 + _easycom_wd_button2 + _easycom_wd_card2 + _easycom_wd_status_tip2 + _easycom_wd_message_box2 + _easycom_wd_toast2)();
|
||||
}
|
||||
const _easycom_wd_text = () => "../../uni_modules/wot-design-uni/components/wd-text/wd-text.js";
|
||||
const _easycom_wd_button = () => "../../uni_modules/wot-design-uni/components/wd-button/wd-button.js";
|
||||
const _easycom_wd_card = () => "../../uni_modules/wot-design-uni/components/wd-card/wd-card.js";
|
||||
const _easycom_wd_status_tip = () => "../../uni_modules/wot-design-uni/components/wd-status-tip/wd-status-tip.js";
|
||||
const _easycom_wd_message_box = () => "../../uni_modules/wot-design-uni/components/wd-message-box/wd-message-box.js";
|
||||
const _easycom_wd_toast = () => "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast.js";
|
||||
if (!Math) {
|
||||
(NavBar + _easycom_wd_text + _easycom_wd_button + _easycom_wd_card + _easycom_wd_status_tip + _easycom_wd_message_box + _easycom_wd_toast)();
|
||||
}
|
||||
const NavBar = () => "../../components/NavBar.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "history",
|
||||
setup(__props) {
|
||||
const {
|
||||
yaoList
|
||||
} = common_vendor.storeToRefs(stores_modules_user.useUserStore());
|
||||
const message = common_vendor.useMessage();
|
||||
const toast = common_vendor.useToast();
|
||||
const delHistory = (index) => {
|
||||
message.confirm({
|
||||
title: "\u63D0\u793A",
|
||||
msg: "\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u8BB0\u5F55\u5417"
|
||||
}).then(() => {
|
||||
yaoList.value.splice(index, 1);
|
||||
toast.success("\u5220\u9664\u6210\u529F");
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
title: "\u5386\u53F2\u8BB0\u5F55"
|
||||
}),
|
||||
b: common_vendor.unref(yaoList).length
|
||||
}, common_vendor.unref(yaoList).length ? {
|
||||
c: common_vendor.f(common_vendor.unref(yaoList), (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "101dd8d4-2-" + i0 + "," + ("101dd8d4-1-" + i0),
|
||||
b: common_vendor.p({
|
||||
text: `${item.symbol1}\u53D8${item.symbol2}`,
|
||||
color: "#333",
|
||||
size: "32rpx",
|
||||
bold: true
|
||||
}),
|
||||
c: item.q
|
||||
}, item.q ? {
|
||||
d: "101dd8d4-3-" + i0 + "," + ("101dd8d4-1-" + i0),
|
||||
e: common_vendor.p({
|
||||
text: `\u5360${item.q}\u8BE6\u89E3`,
|
||||
color: "#333",
|
||||
size: "32rpx",
|
||||
bold: true
|
||||
})
|
||||
} : {}, {
|
||||
f: "101dd8d4-4-" + i0 + "," + ("101dd8d4-1-" + i0),
|
||||
g: common_vendor.p({
|
||||
text: item.result
|
||||
}),
|
||||
h: "101dd8d4-5-" + i0 + "," + ("101dd8d4-1-" + i0),
|
||||
i: common_vendor.p({
|
||||
text: common_vendor.unref(utils_common.formatDate)(new Date(item.time))
|
||||
}),
|
||||
j: common_vendor.o(($event) => delHistory(index)),
|
||||
k: "101dd8d4-6-" + i0 + "," + ("101dd8d4-1-" + i0),
|
||||
l: index,
|
||||
m: "101dd8d4-1-" + i0
|
||||
});
|
||||
}),
|
||||
d: common_vendor.p({
|
||||
size: "small",
|
||||
type: "error",
|
||||
plain: true
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
type: "rectangle"
|
||||
})
|
||||
} : {
|
||||
f: common_vendor.p({
|
||||
image: "https://asstes.snhaenigseal.cn/images/wot/content.png",
|
||||
tip: "\u6682\u65E0\u5185\u5BB9"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
var MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-101dd8d4"], ["__file", "D:/\u7F51\u6291\u4E91Time/\u79C1\u6D3B/2000\u7B97\u5366/src/pages/user/history.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"wd-text": "../../uni_modules/wot-design-uni/components/wd-text/wd-text",
|
||||
"wd-button": "../../uni_modules/wot-design-uni/components/wd-button/wd-button",
|
||||
"wd-card": "../../uni_modules/wot-design-uni/components/wd-card/wd-card",
|
||||
"wd-status-tip": "../../uni_modules/wot-design-uni/components/wd-status-tip/wd-status-tip",
|
||||
"wd-message-box": "../../uni_modules/wot-design-uni/components/wd-message-box/wd-message-box",
|
||||
"wd-toast": "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast",
|
||||
"nav-bar": "../../components/NavBar"
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
<nav-bar wx:if="{{a}}" class="data-v-101dd8d4" u-i="101dd8d4-0" bind:__l="__l" u-p="{{a}}"/><view class="content data-v-101dd8d4"><block wx:if="{{b}}"><wd-card wx:for="{{c}}" wx:for-item="item" wx:key="l" class="data-v-101dd8d4" u-s="{{['title','d','footer']}}" u-i="{{item.m}}" bind:__l="__l" u-p="{{e}}"><view slot="title"><wd-text wx:if="{{item.b}}" class="data-v-101dd8d4" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"/><wd-text wx:if="{{item.c}}" class="data-v-101dd8d4" u-i="{{item.d}}" bind:__l="__l" u-p="{{item.e}}"/></view><wd-text class="data-v-101dd8d4" u-i="{{item.f}}" bind:__l="__l" u-p="{{item.g}}"/><view class="footer data-v-101dd8d4" slot="footer"><wd-text wx:if="{{item.i}}" class="data-v-101dd8d4" u-i="{{item.h}}" bind:__l="__l" u-p="{{item.i}}"/><wd-button wx:if="{{d}}" class="data-v-101dd8d4" u-s="{{['d']}}" bindclick="{{item.j}}" u-i="{{item.k}}" bind:__l="__l" u-p="{{d}}">删除</wd-button></view></wd-card></block><view wx:else class="page data-v-101dd8d4"><wd-status-tip wx:if="{{f}}" class="data-v-101dd8d4" u-i="101dd8d4-7" bind:__l="__l" u-p="{{f}}"/></view></view><wd-message-box class="data-v-101dd8d4" u-i="101dd8d4-8" bind:__l="__l"/><wd-toast class="data-v-101dd8d4" u-i="101dd8d4-9" bind:__l="__l"/>
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.content.data-v-101dd8d4 {
|
||||
height: auto;
|
||||
}
|
||||
.page.data-v-101dd8d4 {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
height: 720rpx;
|
||||
background-color: #fff;
|
||||
}
|
||||
.footer.data-v-101dd8d4 {
|
||||
display: flex;
|
||||
gap: 32rpx;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
"use strict";
|
||||
var common_vendor = require("../../common/vendor.js");
|
||||
var api_modules_suggestion = require("../../api/modules/suggestion.js");
|
||||
var uni_modules_wotDesignUni_components_wdToast_index = require("../../uni_modules/wot-design-uni/components/wd-toast/index.js");
|
||||
require("../../uni_modules/wot-design-uni/locale/index.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/index.js");
|
||||
require("../../utils/request.js");
|
||||
require("../../config/api.config.js");
|
||||
require("../../uni_modules/wot-design-uni/components/common/util.js");
|
||||
require("../../uni_modules/wot-design-uni/components/common/AbortablePromise.js");
|
||||
require("../../uni_modules/wot-design-uni/locale/lang/zh-CN.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/constant.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/locale/en.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/utils.js");
|
||||
if (!Array) {
|
||||
const _easycom_wd_textarea2 = common_vendor.resolveComponent("wd-textarea");
|
||||
const _easycom_wd_button2 = common_vendor.resolveComponent("wd-button");
|
||||
const _easycom_wd_toast2 = common_vendor.resolveComponent("wd-toast");
|
||||
(_easycom_wd_textarea2 + _easycom_wd_button2 + _easycom_wd_toast2)();
|
||||
}
|
||||
const _easycom_wd_textarea = () => "../../uni_modules/wot-design-uni/components/wd-textarea/wd-textarea.js";
|
||||
const _easycom_wd_button = () => "../../uni_modules/wot-design-uni/components/wd-button/wd-button.js";
|
||||
const _easycom_wd_toast = () => "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast.js";
|
||||
if (!Math) {
|
||||
(NavBar + _easycom_wd_textarea + _easycom_wd_button + _easycom_wd_toast)();
|
||||
}
|
||||
const NavBar = () => "../../components/NavBar.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "suggestion",
|
||||
setup(__props) {
|
||||
const desc = common_vendor.ref("");
|
||||
const toast = uni_modules_wotDesignUni_components_wdToast_index.useToast();
|
||||
const submit = async () => {
|
||||
if (!desc.value) {
|
||||
toast.error("\u8BF7\u586B\u5199\u5EFA\u8BAE\u53CD\u9988");
|
||||
return;
|
||||
}
|
||||
await api_modules_suggestion.createSuggestion(
|
||||
desc.value
|
||||
).then((res) => {
|
||||
if (res.data) {
|
||||
toast.success("\u63D0\u4EA4\u6210\u529F");
|
||||
desc.value = "";
|
||||
} else {
|
||||
toast.error("\u63D0\u4EA4\u5931\u8D25");
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
title: "\u5EFA\u8BAE\u53CD\u9988"
|
||||
}),
|
||||
b: common_vendor.o(($event) => desc.value = $event),
|
||||
c: common_vendor.p({
|
||||
placeholder: "\u8BF7\u586B\u5199\u5EFA\u8BAE\u53CD\u9988",
|
||||
modelValue: desc.value
|
||||
}),
|
||||
d: common_vendor.o(submit),
|
||||
e: common_vendor.p({
|
||||
block: true
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
});
|
||||
var MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-c29aa418"], ["__file", "D:/\u7F51\u6291\u4E91Time/\u79C1\u6D3B/2000\u7B97\u5366/src/pages/user/suggestion.vue"]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"wd-textarea": "../../uni_modules/wot-design-uni/components/wd-textarea/wd-textarea",
|
||||
"wd-button": "../../uni_modules/wot-design-uni/components/wd-button/wd-button",
|
||||
"wd-toast": "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast",
|
||||
"nav-bar": "../../components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<nav-bar wx:if="{{a}}" class="data-v-c29aa418" u-i="c29aa418-0" bind:__l="__l" u-p="{{a}}"/><view class="content flex-col gap-4 data-v-c29aa418"><wd-textarea wx:if="{{c}}" class="data-v-c29aa418" u-i="c29aa418-1" bind:__l="__l" bindupdateModelValue="{{b}}" u-p="{{c}}"/><wd-button wx:if="{{e}}" class="data-v-c29aa418" u-s="{{['d']}}" bindclick="{{d}}" u-i="c29aa418-2" bind:__l="__l" u-p="{{e}}">提交</wd-button></view><wd-toast class="data-v-c29aa418" u-i="c29aa418-3" bind:__l="__l"/>
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.content.data-v-c29aa418 {
|
||||
width: calc(100% - 64rpx);
|
||||
padding: 32rpx;
|
||||
}
|
||||
+108
@@ -0,0 +1,108 @@
|
||||
"use strict";
|
||||
var common_vendor = require("../../common/vendor.js");
|
||||
require("../../stores/index.js");
|
||||
var uni_modules_wotDesignUni_components_wdToast_index = require("../../uni_modules/wot-design-uni/components/wd-toast/index.js");
|
||||
var uni_modules_wotDesignUni_components_wdMessageBox_index = require("../../uni_modules/wot-design-uni/components/wd-message-box/index.js");
|
||||
require("../../uni_modules/wot-design-uni/locale/index.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/index.js");
|
||||
var api_modules_config = require("../../api/modules/config.js");
|
||||
var config_api_config = require("../../config/api.config.js");
|
||||
var stores_modules_user = require("../../stores/modules/user.js");
|
||||
require("../../stores/modules/tabIndex.js");
|
||||
require("../../stores/modules/AIResponse.js");
|
||||
require("../../stores/modules/rateLimit.js");
|
||||
require("../../uni_modules/wot-design-uni/components/common/util.js");
|
||||
require("../../uni_modules/wot-design-uni/components/common/AbortablePromise.js");
|
||||
require("../../uni_modules/wot-design-uni/locale/lang/zh-CN.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/constant.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/locale/en.js");
|
||||
require("../../uni_modules/wot-design-uni/dayjs/utils.js");
|
||||
require("../../utils/request.js");
|
||||
if (!Array) {
|
||||
const _easycom_wd_img2 = common_vendor.resolveComponent("wd-img");
|
||||
const _easycom_wd_cell2 = common_vendor.resolveComponent("wd-cell");
|
||||
const _easycom_wd_cell_group2 = common_vendor.resolveComponent("wd-cell-group");
|
||||
const _easycom_wd_message_box2 = common_vendor.resolveComponent("wd-message-box");
|
||||
const _easycom_wd_toast2 = common_vendor.resolveComponent("wd-toast");
|
||||
(_easycom_wd_img2 + _easycom_wd_cell2 + _easycom_wd_cell_group2 + _easycom_wd_message_box2 + _easycom_wd_toast2)();
|
||||
}
|
||||
const _easycom_wd_img = () => "../../uni_modules/wot-design-uni/components/wd-img/wd-img.js";
|
||||
const _easycom_wd_cell = () => "../../uni_modules/wot-design-uni/components/wd-cell/wd-cell.js";
|
||||
const _easycom_wd_cell_group = () => "../../uni_modules/wot-design-uni/components/wd-cell-group/wd-cell-group.js";
|
||||
const _easycom_wd_message_box = () => "../../uni_modules/wot-design-uni/components/wd-message-box/wd-message-box.js";
|
||||
const _easycom_wd_toast = () => "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast.js";
|
||||
if (!Math) {
|
||||
(NavBar + _easycom_wd_img + _easycom_wd_cell + _easycom_wd_cell_group + _easycom_wd_message_box + _easycom_wd_toast)();
|
||||
}
|
||||
const NavBar = () => "../../components/NavBar.js";
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "user",
|
||||
setup(__props) {
|
||||
const message = uni_modules_wotDesignUni_components_wdMessageBox_index.useMessage();
|
||||
const toast = uni_modules_wotDesignUni_components_wdToast_index.useToast();
|
||||
const {
|
||||
yaoList
|
||||
} = common_vendor.storeToRefs(stores_modules_user.useUserStore());
|
||||
const avatar = common_vendor.ref("");
|
||||
api_modules_config.getPageConfig().then((res) => {
|
||||
avatar.value = res.avatar.formats.medium.url;
|
||||
});
|
||||
const list = [
|
||||
{
|
||||
title: "\u5386\u53F2\u8BB0\u5F55",
|
||||
isLink: true,
|
||||
url: "/pages/user/history"
|
||||
},
|
||||
{
|
||||
title: "\u6E05\u7A7A\u7F13\u5B58",
|
||||
isLink: true,
|
||||
onClick: () => {
|
||||
message.confirm({
|
||||
title: "\u63D0\u793A",
|
||||
msg: "\u6B64\u64CD\u4F5C\u5C06\u5220\u9664\u6240\u6709\u5386\u53F2\u6570\u636E\uFF0C\u662F\u5426\u786E\u5B9A\uFF1F"
|
||||
}).then(() => {
|
||||
yaoList.value = [];
|
||||
toast.success("\u6E05\u9664\u7F13\u5B58\u6210\u529F");
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
title: "\u5EFA\u8BAE\u53CD\u9988",
|
||||
isLink: true,
|
||||
url: "/pages/user/suggestion"
|
||||
}
|
||||
];
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
title: "\u4E2A\u4EBA\u4E2D\u5FC3"
|
||||
}),
|
||||
b: avatar.value
|
||||
}, avatar.value ? {
|
||||
c: common_vendor.p({
|
||||
src: common_vendor.unref(config_api_config.BASE_URL) + avatar.value,
|
||||
width: "160rpx",
|
||||
height: "160rpx",
|
||||
round: true
|
||||
})
|
||||
} : {}, {
|
||||
d: common_vendor.f(list, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.o(item.onClick),
|
||||
b: "1198f63b-3-" + i0 + ",1198f63b-2",
|
||||
c: common_vendor.p({
|
||||
title: item.title,
|
||||
["is-link"]: item.isLink,
|
||||
to: item.url
|
||||
})
|
||||
};
|
||||
}),
|
||||
e: common_vendor.p({
|
||||
border: true
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1198f63b"], ["__file", "D:/\u7F51\u6291\u4E91Time/\u79C1\u6D3B/2000\u7B97\u5366/src/pages/user/user.vue"]]);
|
||||
wx.createComponent(Component);
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"wd-img": "../../uni_modules/wot-design-uni/components/wd-img/wd-img",
|
||||
"wd-cell": "../../uni_modules/wot-design-uni/components/wd-cell/wd-cell",
|
||||
"wd-cell-group": "../../uni_modules/wot-design-uni/components/wd-cell-group/wd-cell-group",
|
||||
"wd-message-box": "../../uni_modules/wot-design-uni/components/wd-message-box/wd-message-box",
|
||||
"wd-toast": "../../uni_modules/wot-design-uni/components/wd-toast/wd-toast",
|
||||
"nav-bar": "../../components/NavBar"
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
<nav-bar wx:if="{{a}}" class="data-v-1198f63b" u-i="1198f63b-0" bind:__l="__l" u-p="{{a}}"/><view class="avatar data-v-1198f63b"><wd-img wx:if="{{b}}" class="data-v-1198f63b" u-i="1198f63b-1" bind:__l="__l" u-p="{{c}}"/></view><wd-cell-group wx:if="{{e}}" class="data-v-1198f63b" u-s="{{['d']}}" u-i="1198f63b-2" bind:__l="__l" u-p="{{e}}"><wd-cell wx:for="{{d}}" wx:for-item="item" class="data-v-1198f63b" bindclick="{{item.a}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"/></wd-cell-group><wd-message-box class="data-v-1198f63b" u-i="1198f63b-4" bind:__l="__l"/><wd-toast class="data-v-1198f63b" u-i="1198f63b-5" bind:__l="__l"/>
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.avatar.data-v-1198f63b {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin: 48rpx auto;
|
||||
}
|
||||
Reference in New Issue
Block a user