初始化参股
This commit is contained in:
31
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.js
vendored
Normal file
31
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.js
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
|
||||
__name: "section-header",
|
||||
props: {
|
||||
title: {},
|
||||
showMore: { type: Boolean }
|
||||
},
|
||||
emits: ["more"],
|
||||
setup(__props, _a) {
|
||||
var __emit = _a.emit;
|
||||
const emit = __emit;
|
||||
const handleMore = () => {
|
||||
emit("more");
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
"raw js";
|
||||
const __returned__ = common_vendor.e({
|
||||
a: common_vendor.t(_ctx.title),
|
||||
b: _ctx.showMore
|
||||
}, _ctx.showMore ? {
|
||||
c: common_vendor.o(handleMore)
|
||||
} : {}, {
|
||||
d: common_vendor.sei(common_vendor.gei(_ctx, ""), "view")
|
||||
});
|
||||
return __returned__;
|
||||
};
|
||||
}
|
||||
});
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/section-header/section-header.js.map
|
||||
4
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.json
vendored
Normal file
4
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.wxml
vendored
Normal file
1
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view id="{{d}}" change:eS="{{uV.sS}}" eS="{{$eS[d]}}" change:eA="{{uV.sA}}" eA="{{$eA[d]}}" class="{{['section-header', virtualHostClass]}}" style="{{virtualHostStyle}}" hidden="{{virtualHostHidden || false}}"><view class="section-left"><view class="section-line"></view><text class="section-title">{{a}}</text></view><view wx:if="{{b}}" class="section-right" bindtap="{{c}}"><text class="section-more">查看更多</text><text class="section-arrow">›</text></view></view><wxs src="/common/uniView.wxs" module="uV"/>
|
||||
60
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.wxss
vendored
Normal file
60
前端/unpackage/dist/dev/mp-weixin/components/section-header/section-header.wxss
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
:host{display:flex;flex-direction:column}
|
||||
/**
|
||||
* 优艺家沙发翻新 - 全局样式变量
|
||||
*/
|
||||
/* ========== 项目主题色 ========== */
|
||||
/* 辅助色 */
|
||||
/* 文字颜色 */
|
||||
/* 背景色 */
|
||||
/* 边框颜色 */
|
||||
/* 间距 */
|
||||
/* 圆角 */
|
||||
/* 阴影 */
|
||||
/* ========== uni-app 内置变量 ========== */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.section-header {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 32rpx 0 24rpx 0;
|
||||
}
|
||||
.section-left {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.section-line {
|
||||
width: 8rpx;
|
||||
height: 36rpx;
|
||||
background-color: #D4A574;
|
||||
border-radius: 4rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.section-title {
|
||||
font-size: 34rpx;
|
||||
font-weight: 600;
|
||||
color: #333333;
|
||||
}
|
||||
.section-right {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
.section-more {
|
||||
font-size: 26rpx;
|
||||
color: #909399;
|
||||
}
|
||||
.section-arrow {
|
||||
font-size: 32rpx;
|
||||
color: #909399;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user