Commit 0e781c3e authored by tangfh's avatar tangfh

remove unpackage

parent 708b1203
unpackage/
\ No newline at end of file
"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
if (!Math) {
"./pages/index/index.js";
"./pages/dynamic/dynamic.js";
"./pages/my/my.js";
"./pages/login/login.js";
"./pages/seting/seting.js";
}
const _sfc_main = {
onLaunch: function() {
console.log("App Launch");
},
onShow: function() {
console.log("App Show");
},
onHide: function() {
console.log("App Hide");
}
};
const App = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/develop/fashion/smallapp/uni-app-base/App.vue"]]);
function createApp() {
const app = common_vendor.createSSRApp(App);
return {
app
};
}
createApp().app.mount("#app");
exports.createApp = createApp;
{
"pages": [
"pages/index/index",
"pages/dynamic/dynamic",
"pages/my/my",
"pages/login/login",
"pages/seting/seting"
],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"navigationStyle": "custom",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"backgroundColor": "#FFFFFF",
"color": "#999999",
"selectedColor": "#333333",
"borderStyle": "black",
"list": [
{
"iconPath": "static/icon_home_unselected.png",
"selectedIconPath": "static/icon_home.png",
"text": "首页",
"pagePath": "pages/index/index"
},
{
"iconPath": "static/icon_dynamic_unselected.png",
"selectedIconPath": "static/icon_dynamic.png",
"text": "动态",
"pagePath": "pages/dynamic/dynamic"
},
{
"iconPath": "static/icon_my_unselected.png",
"selectedIconPath": "static/icon_my.png",
"text": "我的",
"pagePath": "pages/my/my"
}
]
},
"usingComponents": {}
}
\ No newline at end of file
/*每个页面公共css */
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;}
\ No newline at end of file
This diff is collapsed.
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "动态",
navBarHeight: 0,
scrollViewHeight: 1e3,
refresherTriggered: false,
loadMoreViewShow: false,
// loadMoreViewContentText: {contentnomore:"到底啦~"},
loadMoreViewStatus: "loading",
items: [{}, {}, {}, {}, {}, {}],
page: 1,
maxPage: 3
};
},
onLoad() {
common_vendor.index.setTabBarBadge({
index: 0,
text: "6"
});
common_vendor.index.showTabBarRedDot({
index: 2
});
var systemInfo = common_vendor.index.getSystemInfoSync();
this.scrollViewHeight = systemInfo.screenHeight - (common_vendor.index.getSystemInfoSync().statusBarHeight + this.$refs.navBar.height) - (systemInfo.safeAreaInsets.bottom + 44);
},
methods: {
onFashionLogoClick() {
common_vendor.index.showToast({
title: "fashion"
});
},
onRefresh(e) {
console.log(e);
var _this = this;
_this.page = 1;
_this.refresherTriggered = true;
setTimeout(() => {
_this.loadMoreViewShow = false;
_this.loadMoreViewStatus = "loading";
_this.items = [{}, {}, {}, {}, {}, {}];
_this.refresherTriggered = false;
}, 1e3);
},
onLoadMore(e) {
var _this = this;
_this.loadMoreViewShow = true;
if (_this.page >= _this.maxPage) {
_this.loadMoreViewStatus = "noMore";
return;
}
_this.loadMoreViewStatus = "loading";
_this.page++;
setTimeout(() => {
_this.items = _this.items.concat([{}, {}, {}]);
_this.loadMoreViewShow = false;
}, 1e3);
}
}
};
if (!Array) {
const _easycom_uni_nav_bar2 = common_vendor.resolveComponent("uni-nav-bar");
const _easycom_uni_load_more2 = common_vendor.resolveComponent("uni-load-more");
(_easycom_uni_nav_bar2 + _easycom_uni_load_more2)();
}
const _easycom_uni_nav_bar = () => "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";
const _easycom_uni_load_more = () => "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
if (!Math) {
(_easycom_uni_nav_bar + _easycom_uni_load_more)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.o((...args) => $options.onFashionLogoClick && $options.onFashionLogoClick(...args)),
b: common_vendor.sr("navBar", "9fc97e20-0"),
c: common_vendor.p({
["status-bar"]: "true",
border: "false",
color: "#FFFFFF",
fixed: "true"
}),
d: common_vendor.f($data.items, (item, index, i0) => {
return {
a: index
};
}),
e: $data.loadMoreViewShow
}, $data.loadMoreViewShow ? {
f: common_vendor.p({
status: $data.loadMoreViewStatus,
["icon-size"]: 16
})
} : {}, {
g: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args)),
h: common_vendor.o((...args) => $options.onLoadMore && $options.onLoadMore(...args)),
i: $data.refresherTriggered,
j: $data.scrollViewHeight + "px"
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/pages/dynamic/dynamic.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "动态",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar",
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more"
}
}
\ No newline at end of file
<view class="content"><uni-nav-bar wx:if="{{c}}" u-s="{{['left']}}" u-r="navBar" class="uni-navi-bar r" u-i="9fc97e20-0" bind:__l="__l" u-p="{{c}}"><image class="image-fashion-logo" src="/static/icon_fashion.png" mode="widthFix" bindtap="{{a}}" slot="left"></image></uni-nav-bar><scroll-view class="scroll-view" scroll-y="true" enable-back-to-top="true" refresher-enabled="true" lower-threshold="100" bindrefresherrefresh="{{g}}" bindscrolltolower="{{h}}" refresher-triggered="{{i}}" style="{{'height:' + j}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="a" class="view-tmp2"></view><uni-load-more wx:if="{{e}}" u-i="9fc97e20-1" bind:__l="__l" u-p="{{f}}"/></scroll-view></view>
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "首页",
navBarHeight: 0,
scrollViewHeight: 1e3,
refresherTriggered: false,
loadMoreViewShow: false,
loadMoreViewContentText: { contentnomore: "到底啦~" },
loadMoreViewStatus: "noMore",
items: [{}, {}, {}, {}, {}, {}]
};
},
onLoad() {
common_vendor.index.setTabBarBadge({
index: 0,
text: "6"
});
common_vendor.index.showTabBarRedDot({
index: 2
});
var systemInfo = common_vendor.index.getSystemInfoSync();
this.scrollViewHeight = systemInfo.screenHeight - (common_vendor.index.getSystemInfoSync().statusBarHeight + this.$refs.navBar.height) - (systemInfo.safeAreaInsets.bottom + 44);
},
methods: {
onFashionLogoClick() {
common_vendor.index.showToast({
title: "fashion"
});
},
onRefresh(e) {
console.log(e);
var _this = this;
_this.refresherTriggered = true;
setTimeout(() => {
_this.refresherTriggered = false;
}, 1e3);
},
onLoadMore(e) {
var _this = this;
_this.loadMoreViewShow = true;
},
onItemClick(index) {
common_vendor.index.navigateTo({
url: "/pages/login/login?index=" + index
});
}
}
};
if (!Array) {
const _easycom_uni_nav_bar2 = common_vendor.resolveComponent("uni-nav-bar");
const _easycom_uni_load_more2 = common_vendor.resolveComponent("uni-load-more");
(_easycom_uni_nav_bar2 + _easycom_uni_load_more2)();
}
const _easycom_uni_nav_bar = () => "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";
const _easycom_uni_load_more = () => "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
if (!Math) {
(_easycom_uni_nav_bar + _easycom_uni_load_more)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.o((...args) => $options.onFashionLogoClick && $options.onFashionLogoClick(...args)),
b: common_vendor.sr("navBar", "af264554-0"),
c: common_vendor.p({
["status-bar"]: "true",
border: false,
color: "#FFFFFF",
fixed: "true"
}),
d: common_vendor.f($data.items, (item, index, i0) => {
return {
a: index,
b: common_vendor.o(($event) => $options.onItemClick(index), index)
};
}),
e: $data.loadMoreViewShow
}, $data.loadMoreViewShow ? {
f: common_vendor.p({
status: $data.loadMoreViewStatus,
["icon-size"]: 16,
["content-text"]: $data.loadMoreViewContentText
})
} : {}, {
g: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args)),
h: common_vendor.o((...args) => $options.onLoadMore && $options.onLoadMore(...args)),
i: $data.refresherTriggered,
j: $data.scrollViewHeight + "px"
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/pages/index/index.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "首页",
"usingComponents": {
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar",
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more"
}
}
\ No newline at end of file
<view class="content"><uni-nav-bar wx:if="{{c}}" u-s="{{['left']}}" u-r="navBar" class="uni-navi-bar r" u-i="af264554-0" bind:__l="__l" u-p="{{c}}"><image class="image-fashion-logo" src="/static/icon_fashion.png" mode="widthFix" bindtap="{{a}}" slot="left"></image></uni-nav-bar><scroll-view class="scroll-view" scroll-y="true" enable-back-to-top="true" refresher-enabled="true" bindrefresherrefresh="{{g}}" bindscrolltolower="{{h}}" refresher-triggered="{{i}}" style="{{'height:' + j}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="a" class="view-tmp1" bindtap="{{item.b}}"></view><uni-load-more wx:if="{{e}}" u-i="af264554-1" bind:__l="__l" u-p="{{f}}"/></scroll-view></view>
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
.image-fashion-logo {
width: 136rpx;
}
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "登录",
navBarHeight: 0,
scrollViewHeight: 1e3,
refresherTriggered: false,
loadMoreViewShow: false,
loadMoreViewContentText: { contentnomore: "到底啦~" },
loadMoreViewStatus: "noMore",
items: [{}, {}, {}, {}, {}, {}]
};
},
onLoad() {
var systemInfo = common_vendor.index.getSystemInfoSync();
this.scrollViewHeight = systemInfo.screenHeight - (common_vendor.index.getSystemInfoSync().statusBarHeight + this.$refs.navBar.height) - systemInfo.safeAreaInsets.bottom;
},
methods: {
onNavBarLeftClick() {
common_vendor.index.navigateBack();
},
onRefresh(e) {
console.log(e);
var _this = this;
_this.refresherTriggered = true;
setTimeout(() => {
_this.refresherTriggered = false;
}, 1e3);
},
onLoadMore(e) {
var _this = this;
_this.loadMoreViewShow = true;
}
}
};
if (!Array) {
const _easycom_uni_nav_bar2 = common_vendor.resolveComponent("uni-nav-bar");
const _easycom_uni_load_more2 = common_vendor.resolveComponent("uni-load-more");
(_easycom_uni_nav_bar2 + _easycom_uni_load_more2)();
}
const _easycom_uni_nav_bar = () => "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";
const _easycom_uni_load_more = () => "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
if (!Math) {
(_easycom_uni_nav_bar + _easycom_uni_load_more)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.sr("navBar", "7ae53644-0"),
b: common_vendor.o($options.onNavBarLeftClick),
c: common_vendor.p({
["status-bar"]: "true",
border: false,
color: "#333333",
fixed: "true",
["left-icon"]: "left",
["left-text"]: "放回",
title: "登录"
}),
d: common_vendor.f($data.items, (item, index, i0) => {
return {
a: index
};
}),
e: $data.loadMoreViewShow
}, $data.loadMoreViewShow ? {
f: common_vendor.p({
status: $data.loadMoreViewStatus,
["icon-size"]: 16,
["content-text"]: $data.loadMoreViewContentText
})
} : {}, {
g: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args)),
h: common_vendor.o((...args) => $options.onLoadMore && $options.onLoadMore(...args)),
i: $data.refresherTriggered,
j: $data.scrollViewHeight + "px"
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/pages/login/login.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "登录",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar",
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more"
}
}
\ No newline at end of file
<view class="content"><uni-nav-bar wx:if="{{c}}" u-r="navBar" class="uni-navi-bar r" bindclickLeft="{{b}}" u-i="7ae53644-0" bind:__l="__l" u-p="{{c}}"></uni-nav-bar><scroll-view class="scroll-view" scroll-y="true" enable-back-to-top="true" refresher-enabled="true" bindrefresherrefresh="{{g}}" bindscrolltolower="{{h}}" refresher-triggered="{{i}}" style="{{'height:' + j}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="a" class="view-tmp4"></view><uni-load-more wx:if="{{e}}" u-i="7ae53644-1" bind:__l="__l" u-p="{{f}}"/></scroll-view></view>
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
.image-fashion-logo {
width: 136rpx;
}
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "我的",
navBarHeight: 0,
scrollViewHeight: 1e3,
refresherTriggered: false,
loadMoreViewShow: false,
loadMoreViewStatus: "more",
items: [{}, {}, {}, {}, {}, {}]
};
},
onLoad() {
common_vendor.index.setTabBarBadge({
index: 0,
text: "6"
});
common_vendor.index.showTabBarRedDot({
index: 2
});
var systemInfo = common_vendor.index.getSystemInfoSync();
this.scrollViewHeight = systemInfo.screenHeight - (common_vendor.index.getSystemInfoSync().statusBarHeight + this.$refs.navBar.height) - (systemInfo.safeAreaInsets.bottom + 44);
},
methods: {
onFashionLogoClick() {
common_vendor.index.showToast({
title: "fashion"
});
},
onRefresh(e) {
console.log(e);
var _this = this;
_this.refresherTriggered = true;
setTimeout(() => {
_this.refresherTriggered = false;
}, 1e3);
},
onLoadMore(e) {
var _this = this;
_this.loadMoreViewShow = true;
_this.loadMoreViewStatus = "more";
setTimeout(() => {
_this.loadMoreViewStatus = "loading";
}, 300);
setTimeout(() => {
_this.loadMoreViewShow = false;
}, 1300);
}
}
};
if (!Array) {
const _easycom_uni_nav_bar2 = common_vendor.resolveComponent("uni-nav-bar");
const _easycom_uni_load_more2 = common_vendor.resolveComponent("uni-load-more");
(_easycom_uni_nav_bar2 + _easycom_uni_load_more2)();
}
const _easycom_uni_nav_bar = () => "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";
const _easycom_uni_load_more = () => "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
if (!Math) {
(_easycom_uni_nav_bar + _easycom_uni_load_more)();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: common_vendor.o((...args) => $options.onFashionLogoClick && $options.onFashionLogoClick(...args)),
b: common_vendor.sr("navBar", "a0481aa0-0"),
c: common_vendor.p({
["status-bar"]: "true",
border: "false",
color: "#FFFFFF",
fixed: "true"
}),
d: common_vendor.f($data.items, (item, index, i0) => {
return {
a: index
};
}),
e: $data.loadMoreViewShow
}, $data.loadMoreViewShow ? {
f: common_vendor.p({
status: $data.loadMoreViewStatus,
["icon-size"]: 16
})
} : {}, {
g: common_vendor.o((...args) => $options.onRefresh && $options.onRefresh(...args)),
h: common_vendor.o((...args) => $options.onLoadMore && $options.onLoadMore(...args)),
i: $data.refresherTriggered,
j: $data.scrollViewHeight + "px"
});
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/pages/my/my.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-nav-bar": "../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar",
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more"
}
}
\ No newline at end of file
<view class="content"><uni-nav-bar wx:if="{{c}}" u-s="{{['left']}}" u-r="navBar" class="uni-navi-bar r" u-i="a0481aa0-0" bind:__l="__l" u-p="{{c}}"><image class="image-fashion-logo" src="/static/icon_fashion.png" mode="widthFix" bindtap="{{a}}" slot="left"></image></uni-nav-bar><scroll-view class="scroll-view" scroll-y="true" enable-back-to-top="true" refresher-enabled="true" bindrefresherrefresh="{{g}}" bindscrolltolower="{{h}}" refresher-triggered="{{i}}" style="{{'height:' + j}}"><view wx:for="{{d}}" wx:for-item="item" wx:key="a" class="view-tmp3"></view><uni-load-more wx:if="{{e}}" u-i="a0481aa0-1" bind:__l="__l" u-p="{{f}}"/></scroll-view></view>
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
data() {
return {
title: "设置"
};
},
methods: {}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {};
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/pages/seting/seting.vue"]]);
wx.createPage(MiniProgramPage);
{
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false,
"usingComponents": {}
}
\ No newline at end of file
<view class="content"><text>设置</text></view>
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
},
"setting": {
"urlCheck": false,
"es6": true,
"postcss": false,
"minified": false,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"condition": false
},
"compileType": "miniprogram",
"libVersion": "2.31.0",
"appid": "wx4d5084992a8778c0",
"projectname": "uni-app-base",
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
}
}
\ No newline at end of file
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "uni-app-base",
"setting": {
"compileHotReLoad": true
}
}
\ No newline at end of file
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.view-status-bar {
width: 100%;
height: var(--status-bar-height);
}
.uni-navi-bar {
width: 100%;
color: #333333;
}
.view-tmp1 {
width: 100%;
height: 300rpx;
background-color: #FFCCCC;
margin-bottom: 10rpx;
}
.view-tmp2 {
width: 100%;
height: 300rpx;
background-color: #CCFFCC;
margin-bottom: 10rpx;
}
.view-tmp3 {
width: 100%;
height: 300rpx;
background-color: #99CCFF;
margin-bottom: 10rpx;
}
.view-tmp4 {
width: 100%;
height: 300rpx;
background-color: #CCCCCC;
margin-bottom: 10rpx;
}
.scroll-view {
height: 1000rpx;
}
\ No newline at end of file
"use strict";
const uni_modules_uniIcons_components_uniIcons_icons = require("./icons.js");
const common_vendor = require("../../../../common/vendor.js");
const getVal = (val) => {
const reg = /^[0-9]*$/g;
return typeof val === "number" || reg.test(val) ? val + "px" : val;
};
const _sfc_main = {
name: "UniIcons",
emits: ["click"],
props: {
type: {
type: String,
default: ""
},
color: {
type: String,
default: "#333333"
},
size: {
type: [Number, String],
default: 16
},
customPrefix: {
type: String,
default: ""
}
},
data() {
return {
icons: uni_modules_uniIcons_components_uniIcons_icons.icons.glyphs
};
},
computed: {
unicode() {
let code = this.icons.find((v) => v.font_class === this.type);
if (code) {
return unescape(`%u${code.unicode}`);
}
return "";
},
iconSize() {
return getVal(this.size);
}
},
methods: {
_onClick() {
this.$emit("click");
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $props.color,
b: $options.iconSize,
c: common_vendor.n("uniui-" + $props.type),
d: common_vendor.n($props.customPrefix),
e: common_vendor.n($props.customPrefix ? $props.type : ""),
f: common_vendor.o((...args) => $options._onClick && $options._onClick(...args))
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/uni_modules/uni-icons/components/uni-icons/uni-icons.vue"]]);
wx.createComponent(Component);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<text style="{{'color:' + a + ';' + ('font-size:' + b)}}" class="{{['uni-icons', c, d, e]}}" bindtap="{{f}}"></text>
\ No newline at end of file
"use strict";
const en = {
"uni-load-more.contentdown": "Pull up to show more",
"uni-load-more.contentrefresh": "loading...",
"uni-load-more.contentnomore": "No more data"
};
const zhHans = {
"uni-load-more.contentdown": "上拉显示更多",
"uni-load-more.contentrefresh": "正在加载...",
"uni-load-more.contentnomore": "没有更多数据了"
};
const zhHant = {
"uni-load-more.contentdown": "上拉顯示更多",
"uni-load-more.contentrefresh": "正在加載...",
"uni-load-more.contentnomore": "沒有更多數據了"
};
const messages = {
en,
"zh-Hans": zhHans,
"zh-Hant": zhHant
};
exports.messages = messages;
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const uni_modules_uniLoadMore_components_uniLoadMore_i18n_index = require("./i18n/index.js");
let platform;
setTimeout(() => {
platform = common_vendor.index.getSystemInfoSync().platform;
}, 16);
const {
t
} = common_vendor.initVueI18n(uni_modules_uniLoadMore_components_uniLoadMore_i18n_index.messages);
const _sfc_main = {
name: "UniLoadMore",
emits: ["clickLoadMore"],
props: {
status: {
// 上拉的状态:more-loading前;loading-loading中;noMore-没有更多了
type: String,
default: "more"
},
showIcon: {
type: Boolean,
default: true
},
iconType: {
type: String,
default: "auto"
},
iconSize: {
type: Number,
default: 24
},
color: {
type: String,
default: "#777777"
},
contentText: {
type: Object,
default() {
return {
contentdown: "",
contentrefresh: "",
contentnomore: ""
};
}
},
showText: {
type: Boolean,
default: true
}
},
data() {
return {
webviewHide: false,
platform,
imgBase64: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmV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dXdT/C1LeGbg4rnBaAihDFJH12W5ulfNCNe/xTsP3bp8ikzJs5BF+5PNfAQYAPaseTdsEcaYAAAAASUVORK5CYII="
};
},
computed: {
iconSnowWidth() {
return (Math.floor(this.iconSize / 24) || 1) * 2;
},
contentdownText() {
return this.contentText.contentdown || t("uni-load-more.contentdown");
},
contentrefreshText() {
return this.contentText.contentrefresh || t("uni-load-more.contentrefresh");
},
contentnomoreText() {
return this.contentText.contentnomore || t("uni-load-more.contentnomore");
}
},
mounted() {
},
methods: {
onClick() {
this.$emit("clickLoadMore", {
detail: {
status: this.status
}
});
}
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: !$data.webviewHide && ($props.iconType === "circle" || $props.iconType === "auto" && $data.platform === "android") && $props.status === "loading" && $props.showIcon
}, !$data.webviewHide && ($props.iconType === "circle" || $props.iconType === "auto" && $data.platform === "android") && $props.status === "loading" && $props.showIcon ? {
b: $props.color,
c: $props.iconSize / 12,
d: $props.color,
e: $props.iconSize / 12,
f: $props.color,
g: $props.iconSize / 12,
h: $props.iconSize + "px",
i: $props.iconSize + "px"
} : !$data.webviewHide && $props.status === "loading" && $props.showIcon ? {
k: $data.imgBase64,
l: $props.iconSize + "px",
m: $props.iconSize + "px"
} : {}, {
j: !$data.webviewHide && $props.status === "loading" && $props.showIcon,
n: $props.showText
}, $props.showText ? {
o: common_vendor.t($props.status === "more" ? $options.contentdownText : $props.status === "loading" ? $options.contentrefreshText : $options.contentnomoreText),
p: $props.color
} : {}, {
q: common_vendor.o((...args) => $options.onClick && $options.onClick(...args))
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue"]]);
wx.createComponent(Component);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view class="uni-load-more" bindtap="{{q}}"><view wx:if="{{a}}" style="{{'width:' + h + ';' + ('height:' + i)}}" class="uni-load-more__img uni-load-more__img--android-MP"><view class="uni-load-more__img-icon" style="{{'border-top-color:' + b + ';' + ('border-top-width:' + c)}}"></view><view class="uni-load-more__img-icon" style="{{'border-top-color:' + d + ';' + ('border-top-width:' + e)}}"></view><view class="uni-load-more__img-icon" style="{{'border-top-color:' + f + ';' + ('border-top-width:' + g)}}"></view></view><view wx:elif="{{j}}" style="{{'width:' + l + ';' + ('height:' + m)}}" class="uni-load-more__img uni-load-more__img--ios-H5"><image src="{{k}}" mode="widthFix"></image></view><text wx:if="{{n}}" class="uni-load-more__text" style="{{'color:' + p}}">{{o}}</text></view>
\ No newline at end of file
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.uni-load-more {
display: flex;
flex-direction: row;
height: 40px;
align-items: center;
justify-content: center;
}
.uni-load-more__text {
font-size: 14px;
margin-left: 8px;
}
.uni-load-more__img {
width: 24px;
height: 24px;
}
.uni-load-more__img--nvue {
color: #666666;
}
.uni-load-more__img--android,
.uni-load-more__img--ios {
width: 24px;
height: 24px;
transform: rotate(0deg);
}
.uni-load-more__img--android {
animation: loading-ios 1s 0s linear infinite;
}
@keyframes loading-android {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.uni-load-more__img--ios-H5 {
position: relative;
animation: loading-ios-H5 1s 0s step-end infinite;
}
.uni-load-more__img--ios-H5 image {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
}
@keyframes loading-ios-H5 {
0% {
transform: rotate(0deg);
}
8% {
transform: rotate(30deg);
}
16% {
transform: rotate(60deg);
}
24% {
transform: rotate(90deg);
}
32% {
transform: rotate(120deg);
}
40% {
transform: rotate(150deg);
}
48% {
transform: rotate(180deg);
}
56% {
transform: rotate(210deg);
}
64% {
transform: rotate(240deg);
}
73% {
transform: rotate(270deg);
}
82% {
transform: rotate(300deg);
}
91% {
transform: rotate(330deg);
}
100% {
transform: rotate(360deg);
}
}
.uni-load-more__img--android-MP {
position: relative;
width: 24px;
height: 24px;
transform: rotate(0deg);
animation: loading-ios 1s 0s ease infinite;
}
.uni-load-more__img--android-MP .uni-load-more__img-icon {
position: absolute;
box-sizing: border-box;
width: 100%;
height: 100%;
border-radius: 50%;
border: solid 2px transparent;
border-top: solid 2px #777777;
transform-origin: center;
}
.uni-load-more__img--android-MP .uni-load-more__img-icon:nth-child(1) {
animation: loading-android-MP-1 1s 0s linear infinite;
}
.uni-load-more__img--android-MP .uni-load-more__img-icon:nth-child(2) {
animation: loading-android-MP-2 1s 0s linear infinite;
}
.uni-load-more__img--android-MP .uni-load-more__img-icon:nth-child(3) {
animation: loading-android-MP-3 1s 0s linear infinite;
}
@keyframes loading-android {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes loading-android-MP-1 {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(90deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes loading-android-MP-2 {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(180deg);
}
100% {
transform: rotate(360deg);
}
}
@keyframes loading-android-MP-3 {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(270deg);
}
100% {
transform: rotate(360deg);
}
}
\ No newline at end of file
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const statusBar = () => "./uni-status-bar.js";
const getVal = (val) => typeof val === "number" ? val + "px" : val;
const _sfc_main = {
name: "UniNavBar",
components: {
statusBar
},
emits: ["clickLeft", "clickRight", "clickTitle"],
props: {
dark: {
type: Boolean,
default: false
},
title: {
type: String,
default: ""
},
leftText: {
type: String,
default: ""
},
rightText: {
type: String,
default: ""
},
leftIcon: {
type: String,
default: ""
},
rightIcon: {
type: String,
default: ""
},
fixed: {
type: [Boolean, String],
default: false
},
color: {
type: String,
default: ""
},
backgroundColor: {
type: String,
default: ""
},
statusBar: {
type: [Boolean, String],
default: false
},
shadow: {
type: [Boolean, String],
default: false
},
border: {
type: [Boolean, String],
default: true
},
height: {
type: [Number, String],
default: 44
},
leftWidth: {
type: [Number, String],
default: 60
},
rightWidth: {
type: [Number, String],
default: 60
},
stat: {
type: [Boolean, String],
default: ""
}
},
computed: {
themeBgColor() {
if (this.dark) {
if (this.backgroundColor) {
return this.backgroundColor;
} else {
return this.dark ? "#333" : "#FFF";
}
}
return this.backgroundColor || "#FFF";
},
themeColor() {
if (this.dark) {
if (this.color) {
return this.color;
} else {
return this.dark ? "#fff" : "#333";
}
}
return this.color || "#333";
},
navbarHeight() {
return getVal(this.height);
},
leftIconWidth() {
return getVal(this.leftWidth);
},
rightIconWidth() {
return getVal(this.rightWidth);
}
},
mounted() {
if (common_vendor.index.report && this.stat && this.title !== "") {
common_vendor.index.report("title", this.title);
}
},
methods: {
onClickLeft() {
this.$emit("clickLeft");
},
onClickRight() {
this.$emit("clickRight");
},
onClickTitle() {
this.$emit("clickTitle");
}
}
};
if (!Array) {
const _component_status_bar = common_vendor.resolveComponent("status-bar");
const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
(_component_status_bar + _easycom_uni_icons2)();
}
const _easycom_uni_icons = () => "../../../uni-icons/components/uni-icons/uni-icons.js";
if (!Math) {
_easycom_uni_icons();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return common_vendor.e({
a: $props.statusBar
}, $props.statusBar ? {} : {}, {
b: $props.leftIcon.length > 0
}, $props.leftIcon.length > 0 ? {
c: common_vendor.p({
color: $options.themeColor,
type: $props.leftIcon,
size: "20"
})
} : {}, {
d: $props.leftText.length
}, $props.leftText.length ? {
e: common_vendor.t($props.leftText),
f: $options.themeColor,
g: !$props.leftIcon.length > 0 ? 1 : ""
} : {}, {
h: common_vendor.o((...args) => $options.onClickLeft && $options.onClickLeft(...args)),
i: $options.leftIconWidth,
j: $props.title.length > 0
}, $props.title.length > 0 ? {
k: common_vendor.t($props.title),
l: $options.themeColor
} : {}, {
m: common_vendor.o((...args) => $options.onClickTitle && $options.onClickTitle(...args)),
n: $props.rightIcon.length
}, $props.rightIcon.length ? {
o: common_vendor.p({
color: $options.themeColor,
type: $props.rightIcon,
size: "22"
})
} : {}, {
p: $props.rightText.length && !$props.rightIcon.length
}, $props.rightText.length && !$props.rightIcon.length ? {
q: common_vendor.t($props.rightText),
r: $options.themeColor
} : {}, {
s: common_vendor.o((...args) => $options.onClickRight && $options.onClickRight(...args)),
t: $options.rightIconWidth,
v: $options.themeColor,
w: $options.themeBgColor,
x: $options.navbarHeight,
y: $props.fixed ? 1 : "",
z: $props.shadow ? 1 : "",
A: $props.border ? 1 : "",
B: $options.themeBgColor,
C: $options.themeColor,
D: $props.fixed
}, $props.fixed ? common_vendor.e({
E: $props.statusBar
}, $props.statusBar ? {} : {}, {
F: $options.navbarHeight
}) : {}, {
G: $props.dark ? 1 : "",
H: $props.fixed ? 1 : ""
});
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-26544265"], ["__file", "D:/develop/fashion/smallapp/uni-app-base/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue"]]);
wx.createComponent(Component);
{
"component": true,
"usingComponents": {
"status-bar": "./uni-status-bar",
"uni-icons": "../../../uni-icons/components/uni-icons/uni-icons"
}
}
\ No newline at end of file
<view class="{{['uni-navbar', 'data-v-26544265', G && 'uni-dark', H && 'uni-nvue-fixed']}}"><view class="{{['uni-navbar__content', 'data-v-26544265', y && 'uni-navbar--fixed', z && 'uni-navbar--shadow', A && 'uni-navbar--border']}}" style="{{'background-color:' + B + ';' + ('border-bottom-color:' + C)}}"><status-bar wx:if="{{a}}" class="data-v-26544265" u-i="26544265-0" bind:__l="__l"/><view style="{{'color:' + v + ';' + ('background-color:' + w) + ';' + ('height:' + x)}}" class="uni-navbar__header data-v-26544265"><view bindtap="{{h}}" class="uni-navbar__header-btns uni-navbar__header-btns-left data-v-26544265" style="{{'width:' + i}}"><block wx:if="{{$slots.left}}"><slot name="left"></slot></block><block wx:else><view wx:if="{{b}}" class="uni-navbar__content_view data-v-26544265"><uni-icons wx:if="{{c}}" class="data-v-26544265" u-i="26544265-1" bind:__l="__l" u-p="{{c}}"/></view><view wx:if="{{d}}" class="{{[g && 'uni-navbar-btn-icon-left', 'uni-navbar-btn-text', 'data-v-26544265']}}"><text class="data-v-26544265" style="{{'color:' + f + ';' + ('font-size:' + '12px')}}">{{e}}</text></view></block></view><view class="uni-navbar__header-container data-v-26544265" bindtap="{{m}}"><block wx:if="{{$slots.d}}"><slot></slot></block><block wx:else><view wx:if="{{j}}" class="uni-navbar__header-container-inner data-v-26544265"><text class="uni-nav-bar-text uni-ellipsis-1 data-v-26544265" style="{{'color:' + l}}">{{k}}</text></view></block></view><view bindtap="{{s}}" class="uni-navbar__header-btns uni-navbar__header-btns-right data-v-26544265" style="{{'width:' + t}}"><block wx:if="{{$slots.right}}"><slot name="right"></slot></block><block wx:else><view wx:if="{{n}}" class="data-v-26544265"><uni-icons wx:if="{{o}}" class="data-v-26544265" u-i="26544265-2" bind:__l="__l" u-p="{{o}}"/></view><view wx:if="{{p}}" class="uni-navbar-btn-text data-v-26544265"><text class="uni-nav-bar-right-text data-v-26544265" style="{{'color:' + r}}">{{q}}</text></view></block></view></view></view><view wx:if="{{D}}" class="uni-navbar__placeholder data-v-26544265"><status-bar wx:if="{{E}}" class="data-v-26544265" u-i="26544265-3" bind:__l="__l"/><view class="uni-navbar__placeholder-view data-v-26544265" style="{{'height:' + F}}"/></view></view>
\ No newline at end of file
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.uni-nav-bar-text.data-v-26544265 {
font-size: 14px;
}
.uni-nav-bar-right-text.data-v-26544265 {
font-size: 12px;
}
.uni-navbar__content.data-v-26544265 {
position: relative;
background-color: transparent;
}
.uni-navbar-btn-text.data-v-26544265 {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
line-height: 12px;
}
.uni-navbar__header.data-v-26544265 {
display: flex;
padding: 0 10px;
flex-direction: row;
height: 44px;
font-size: 12px;
}
.uni-navbar__header-btns.data-v-26544265 {
overflow: hidden;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
width: 120rpx;
justify-content: center;
align-items: center;
}
.uni-navbar__header-btns-left.data-v-26544265 {
display: flex;
width: 120rpx;
justify-content: flex-start;
align-items: center;
}
.uni-navbar__header-btns-right.data-v-26544265 {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
}
.uni-navbar__header-container.data-v-26544265 {
display: flex;
flex: 1;
padding: 0 10px;
overflow: hidden;
}
.uni-navbar__header-container-inner.data-v-26544265 {
display: flex;
flex: 1;
flex-direction: row;
align-items: center;
justify-content: center;
font-size: 12px;
overflow: hidden;
}
.uni-navbar__placeholder-view.data-v-26544265 {
height: 44px;
}
.uni-navbar--fixed.data-v-26544265 {
position: fixed;
z-index: 998;
left: 0;
right: 0;
}
.uni-navbar--shadow.data-v-26544265 {
box-shadow: 0 1px 6px #ccc;
}
.uni-navbar--border.data-v-26544265 {
border-bottom-width: 1rpx;
border-bottom-style: solid;
border-bottom-color: #eee;
}
.uni-ellipsis-1.data-v-26544265 {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
\ No newline at end of file
"use strict";
const common_vendor = require("../../../../common/vendor.js");
const _sfc_main = {
name: "UniStatusBar",
data() {
return {
statusBarHeight: common_vendor.index.getSystemInfoSync().statusBarHeight + "px"
};
}
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return {
a: $data.statusBarHeight
};
}
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/develop/fashion/smallapp/uni-app-base/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-status-bar.vue"]]);
wx.createComponent(Component);
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<view style="{{'height:' + a}}" class="uni-status-bar"><slot/></view>
\ No newline at end of file
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.uni-status-bar {
height: 20px;
}
\ 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