mirror of
https://github.com/Shchoholiev/shopping-assistant-web-client.git
synced 2025-04-05 00:59:38 +00:00
SA-201/ fix bags with frame
This commit is contained in:
parent
11daa4c9ef
commit
339980a31d
@ -96,7 +96,7 @@
|
|||||||
<div class="buttons-row">
|
<div class="buttons-row">
|
||||||
<button class="exit-button button-animation" @onclick="(() => NavigateToMain())"></button>
|
<button class="exit-button button-animation" @onclick="(() => NavigateToMain())"></button>
|
||||||
<button class="return-button button-animation" @onclick="(() => { LoadPreviousProduct(); })"></button>
|
<button class="return-button button-animation" @onclick="(() => { LoadPreviousProduct(); })"></button>
|
||||||
<button class="more-button button-animation" @onclick="(() => LoadMoreProducts())"></button>
|
<button class="more-button button-animation" @onclick="(() => NavigateToMain())"></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@ -30,25 +30,28 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="topic">
|
<div class="topic">
|
||||||
<div class="topic_one">
|
<div @onclick="() => ClickTopic(1)" class="topic_one">
|
||||||
<a class="button_topic_one">
|
<a class="button_topic_one">
|
||||||
Date
|
Date
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="topic_two">
|
<div @onclick="() => ClickTopic(2)" class="topic_two">
|
||||||
<a class="button_topic_two">
|
<a class="button_topic_two">
|
||||||
🎃 Halloween gift
|
🎃 Halloween gift
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="topic_three">
|
|
||||||
|
<div @onclick="() => ClickTopic(3)" class="topic_three">
|
||||||
<a class="button_topic_three">
|
<a class="button_topic_three">
|
||||||
🎁 Birthday gift
|
🎁 Birthday gift
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="chat_input">
|
<div class="chat_input">
|
||||||
<input @bind="inputValue" @onkeydown="Enter" @oninput="InputChanged" class="input_messages" type="text" id="chatInput"
|
<input @bind="inputValue" @onkeydown="Enter" @oninput="InputChanged" class="input_messages" type="text" id="chatInput"
|
||||||
placeholder="Describe what you are looking for...." autocomplete="off">
|
placeholder="Describe what you are looking for...." autocomplete="off">
|
||||||
@ -121,6 +124,20 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void ClickTopic(int input)
|
||||||
|
{
|
||||||
|
if (input == 1){
|
||||||
|
inputValue ="I need a present for a date";
|
||||||
|
}
|
||||||
|
if (input == 2){
|
||||||
|
inputValue ="I need a present for halloween";
|
||||||
|
}
|
||||||
|
if (input == 3){
|
||||||
|
inputValue ="I need a present for a birthday";
|
||||||
|
}
|
||||||
|
CreateNewChat();
|
||||||
|
}
|
||||||
private void InputChanged(ChangeEventArgs e)
|
private void InputChanged(ChangeEventArgs e)
|
||||||
{
|
{
|
||||||
// Оновіть значення поля введення при кожному введенні тексту
|
// Оновіть значення поля введення при кожному введенні тексту
|
||||||
|
Loading…
Reference in New Issue
Block a user