Skip to content

Instantly share code, notes, and snippets.

@khaidam1tiki
Last active July 19, 2021 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khaidam1tiki/c4aa5b78ccd09bc6d20ac5d4ce225499 to your computer and use it in GitHub Desktop.
Save khaidam1tiki/c4aa5b78ccd09bc6d20ac5d4ce225499 to your computer and use it in GitHub Desktop.
<view class="sale-product-container" >
<view class="sale-product-header">
<my-icon glyphIcon="sale" size="{{21}}" />
<text class="sale-product-header-title" >
Giảm 50% cho tất cả sản phẩm
</text>
<my-icon lineIcon="right-arrow" size="{{21}}" />
</view>
<view class="sale-product-info-container" >
<image src="../../../../assets/images/sale-product.png" class="sale-product-image" />
<view class="sale-product-info" >
<text class="sale-product-name" >Chilling Vinyl</text>
<my-icon glyphIcon="blue-tick" size="{{13}}" />
<text class="sale-product-desc">Đĩa Vinyl - Hàng có sẵn & Pre-order</text>
<text class="sale-product-quantity" >412 sản phẩm</text>
</view>
</view>
</view>
{
"component": true,
"usingComponents": {
"my-icon": "../../../../components/MyIcon/index" // Component
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment