Skip to content

Instantly share code, notes, and snippets.

View S-Maxime's full-sized avatar
🐛

SENECHAL Maxime S-Maxime

🐛
  • Nice - France
View GitHub Profile
<template>
<div class="zv-radio">
<label :for="id">
<input :id="id"
v-model="pickedData"
type="radio"
:value="value"
:name="value"
:disabled="disabled">
<span>{{ label }}</span>
<template>
<div class="zv-checkbox">
<label :for="id">
<input :id="id"
v-model="checkedData"
type="checkbox"
:value="value"
:name="name"
:disabled="disabled">
<span>{{ label }}</span>
<template>
<div class="zv-checkbox">
<label :for="id">
<input :id="id"
v-model="checked"
type="checkbox"
:value="value"
:name="name"
:disabled="disabled">
<span>{{ label }}</span>
<template>
<div>
<div class="zv-text-input">
<div class="label-input"
:class="error">
<input :ref="name"
v-mask="config"
:usingMask="usingMask"
:mask="mask"
:masked="masked"
<template>
<GridLayout class="tchat"
columns="*"
rows="auto, *, auto"
:class="$globalState.opacity ? 'opacity' : ''">
<Header :displayBorderRadius="true">
<FlexboxLayout alignItems="center" slot="left">
<Icon :icon="$icons.menu" class="menu"/>
<Icon :icon="$icons.hashtag" class="hashtag"/>
<Label text="general"
<template>
<StackLayout class="server">
<FlexboxLayout :class="[scrollY > 0 ? 'serverInfo addBorder' : 'serverInfo']">
<FlexboxLayout alignItems="center">
<Label text="X" marginRight="5"/>
<Label :text="server.name" class="serverName"/>
</FlexboxLayout>
<Icon :icon="$icons.verticalDots"/>
</FlexboxLayout>
computed: {
userAddresses () {
return rootStore.state.user.current ? rootStore.state.user.current.addresses : []
},
addresses () {
return this.userAddresses.map((address) => {
if (address.hasOwnProperty('custom_attributes') && address.custom_attributes.length > 0) {
for (let opt of address.custom_attributes) {
address[opt.attribute_code] = opt.value;
}
<template>
<Page :actionBarHidden="true">
<AbsoluteLayout height="100%" width="100%" backgroundColor="red">
<Image src="~/assets/back.jpg" stretch="fill" ref="back"
id="back" />
<Image src="~/assets/perso.png" id="perso" ref="perso" />
<!--<StackLayout id="test" ref="perso" :top="tx" :left="ty"></StackLayout>-->
</AbsoluteLayout>
</Page>
<template>
<Page :actionBarHidden="true">
<AbsoluteLayout height="100%" width="100%" backgroundColor="red">
<Image src="~/assets/back.jpg"
stretch="fill"
ref="back"
id="back"/>
<Image src="~/assets/perso.png"
id="perso"
ref="perso"/>
<template>
<Page :actionBarHidden="true">
<AbsoluteLayout height="100%" width="100%" backgroundColor="red">
<Image src="~/assets/back.jpg"
height="100%"
width="100%"
stretch="fill"/>
<Image src="~/assets/perso.png"
id="perso"
ref="perso"/>