Files
integral-shop/single_uniapp22miao/components/homeIndex/guide.vue
apple 079076a70e miao33: 从 main 同步 single_uniapp22miao,dart-sass 兼容修复,DEPLOY.md 更新
- 从 main 获取 single_uniapp22miao 子项目
- dart-sass: /deep/ -> ::v-deep,calc 运算符加空格
- DEPLOY.md 采用 shccd159 版本(4 子项目架构说明)

Made-with: Cursor
2026-03-16 11:16:42 +08:00

62 lines
1.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<template>
<!-- 辅助线 -->
<view>
<view class="lines" :style="[boxStyle]">
<view class="item" :style="[lineStyle]"></view>
</view>
</view>
</template>
<script>
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
export default {
name: 'guide',
props: {
dataConfig: {
type: Object,
default: () => {}
},
},
computed: {
//最外层盒子的样式
boxStyle() {
return {
background: `linear-gradient(${this.dataConfig.bgColor.color[0].item}, ${this.dataConfig.bgColor.color[1].item})`,
margin: this.dataConfig.mbConfig.val * 2 + 'rpx' + ' ' + this.dataConfig.lrConfig.val * 2 + 'rpx' +
' ' + 0,
}
},
//线条样式
lineStyle() {
return {
borderBottomWidth: 2*this.dataConfig.heightConfig.val + 'rpx',
borderBottomColor: this.dataConfig.lineColor.color[0].item,
borderBottomStyle: this.dataConfig.lineStyle.list[this.dataConfig.lineStyle.tabVal].style
}
}
},
}
</script>
<style lang="scss" scoped>
.lines {
padding: 0 20rpx;
.item {
width: 100%;
box-sizing: border-box;
border-bottom-color: #666;
border-bottom-width: 1px;
border-bottom-style: dotted;
}
}
</style>