Created
February 16, 2022 07:51
-
-
Save badasscodr/0596282ddee8eb700a4b01940f6eb43b to your computer and use it in GitHub Desktop.
file belongs to sigmawebstore-by -ali
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ShopTopArea = { | |
template: /* html */ ` | |
<div class="desktop-tab"> | |
<div class="shop-top-bar d-flex"> | |
<!-- Right Side Start --> | |
<div class="select-shoing-wrap d-flex align-items-center"> | |
<select class="form-control form-control-lg"> | |
<option>Default</option> | |
<option value="3"> Price, low to high</option> | |
<option value="4"> Price, high to low</option> | |
</select> | |
</div> | |
<!-- Right Side End --> | |
<!-- Right Side Start --> | |
<div class="select-shoing-wrap d-flex align-items-center"> | |
<div class="shot-product"> | |
{{selected}}<p>Show:</p> | |
</div> | |
<div class="shop-select show"> | |
<select | |
class="form-control | |
form-control-lg" | |
v-model="selected" | |
@change="func" | |
> | |
<option | |
v-for="option in options" | |
:key="option" | |
> | |
{{option}} | |
</option> | |
</select> | |
</div> | |
</div> | |
</div> | |
</div> | |
`, | |
props: ["options", "selected", "getLime"], | |
data() { | |
return {}; | |
}, | |
methods: { | |
func() { | |
this.getLime(); | |
console.log("func"); | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment