<template>
<!--SDK/weApp/sl-icon/index.wxml-->
<view class="icon">
	<view :class="'xiang '+name" :style="'color:'+color+';font-size:'+size">
		<view :class="'path'+(index+1)" v-for="(item,index) in pathLIst" :key="index"></view>
	</view>
</view>
</template>
<script>
export default {
	props:{
		name:{
			type:String,
			default:""
		},
		color:{
			type:String,
			default:""
		},
		size:{
			type:String,
			default:"30rpx"
		}
	},
	data(){
		return {
			pathLIst:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
		}
	}
}
</script>
<style lang="scss" scoped>
@font-face {
  font-family: 'icomoon';
  src:  url('./fonts/icomoon.eot?a2qzqh');
  src:  url('./fonts/icomoon.eot?a2qzqh#iefix') format('embedded-opentype'),
    url('./fonts/icomoon.ttf?a2qzqh') format('truetype'),
    url('./fonts/icomoon.woff?a2qzqh') format('woff'),
    url('./fonts/icomoon.svg?a2qzqh#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.xiang{
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
}
.icon-service:before {
  content: "\e945";
}
.icon-star:before {
  content: "\e944";
}
.icon-back:before {
  content: "\e943";
}
.icon-addCart:before {
  content: "\e942";
}
.icon-allProducts:before {
  content: "\e93e";
}
.icon-shoppingCart:before {
  content: "\e93f";
}
.icon-home:before {
  content: "\e940";
}
.icon-my:before {
  content: "\e941";
}
.icon-logo:before {
  content: "\e93d";
  color: #ce0e2d;
}
.icon-natural .path1:before {
  content: "\e90c";
  color: #7cc6f1;
}
.icon-natural .path2:before {
  content: "\e90d";
  margin-left: -1em;
 color: #7cc6f1;
}
.icon-natural .path3:before {
  content: "\e90e";
  margin-left: -1em;
  color: #7cc6f1;
}
.icon-natural .path4:before {
  content: "\e90f";
  margin-left: -1em;
  color: #7cc6f1;
}
.icon-Compensation:before {
  content: "\e910";
}
.icon-SF:before {
  content: "\e93c";
}
.icon-arrow-right:before {
  content: "\e90b";
  text-shadow: 0 3rpx 0rpx rgba(0,0,0,0.2);
}
.icon-location:before {
  content: "\e909";
  text-shadow: 0 3rpx 0rpx rgba(0,0,0,0.2);
}
.icon-search:before {
  content: "\e90a";
}
.icon-checkmark:before {
  content: "\e902";
}
.icon-close1:before {
  content: "\e903";
}
.icon-close2:before {
  content: "\e904";
}
.icon-plus:before {
  content: "\e905";
}
.icon-reduce:before {
  content: "\e906";
}
.icon-arrow-bottom:before {
  content: "\e907";
}
.icon-arrow-right-o:before {
  content: "\e900";
}
.icon-more:before {
  content: "\e901";
}
.icon-orderType6 .path1:before {
  content: "\e911";
  color: rgb(250, 113, 128);
}
.icon-orderType6 .path2:before {
  content: "\e912";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path3:before {
  content: "\e913";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path4:before {
  content: "\e914";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path5:before {
  content: "\e915";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path6:before {
  content: "\e916";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path7:before {
  content: "\e917";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path8:before {
  content: "\e918";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path9:before {
  content: "\e919";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path10:before {
  content: "\e91a";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType6 .path11:before {
  content: "\e91b";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType1 .path1:before {
  content: "\e91c";
  color: rgb(250, 113, 128);
}
.icon-orderType1 .path2:before {
  content: "\e91d";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType1 .path3:before {
  content: "\e91e";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType1 .path4:before {
  content: "\e91f";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType7 .path1:before {
  content: "\e920";
  color: rgb(250, 113, 128);
}
.icon-orderType7 .path2:before {
  content: "\e921";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType7 .path3:before {
  content: "\e922";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType7 .path4:before {
  content: "\e923";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType7 .path5:before {
  content: "\e924";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType5 .path1:before {
  content: "\e925";
  color: rgb(250, 113, 128);
}
.icon-orderType5 .path2:before {
  content: "\e926";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType5 .path3:before {
  content: "\e927";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType5 .path4:before {
  content: "\e928";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path1:before {
  content: "\e929";
  color: rgb(250, 113, 128);
}
.icon-orderType3 .path2:before {
  content: "\e92a";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path3:before {
  content: "\e92b";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path4:before {
  content: "\e92c";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path5:before {
  content: "\e92d";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path6:before {
  content: "\e92e";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path7:before {
  content: "\e92f";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType3 .path8:before {
  content: "\e930";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType4 .path1:before {
  content: "\e931";
  color: rgb(250, 113, 128);
}
.icon-orderType4 .path2:before {
  content: "\e932";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType4 .path3:before {
  content: "\e933";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType4 .path4:before {
  content: "\e934";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path1:before {
  content: "\e935";
  color: rgb(250, 113, 128);
}
.icon-orderType2 .path2:before {
  content: "\e936";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path3:before {
  content: "\e937";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path4:before {
  content: "\e938";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path5:before {
  content: "\e939";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path6:before {
  content: "\e93a";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}
.icon-orderType2 .path7:before {
  content: "\e93b";
  margin-left: -1em;
  color: rgb(255, 255, 255);
}

</style>

