<template>
  <view class="diamond-line-container">
    <!-- 左侧横线 -->
    <view class="line"></view>
    <!-- 中间菱形 -->
    <view class="diamond"></view>
    <!-- 右侧横线 -->
    <view class="line"></view>
  </view>
</template>

<script>
	export default {
		name:"diamondLine",
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.diamond-line-container {
  display: flex;
  align-items: center;
  // width: 100%;
  margin: 40rpx 26rpx; 
}

/* 横线样式 */
.line {
  flex: 1; 
  height: 2rpx; 
  background-color: rgba(0, 0, 0, 0.3); 
}

/* 菱形样式 */
.diamond {
  width: 22rpx; 
  height: 22rpx; 
  margin: 0 26rpx; 
  border: 2rpx solid #AFB0B3;
  transform: rotate(45deg); 
}
</style>
