随着小程序的热度不断攀升,不少企业纷纷加入小程序的行列,相对而言小程序也特别适合点餐平台。首先,订餐平台流动性很强,消费者每天都要选择不同的餐饮平台。他们不可能选择一个下载一个应用程序,小程序也不需要下载,正好避免了这个缺点。其次,在点餐的时候,每个人都有一个非常急迫的心,就是想要能够马上点餐和付款,就等着菜做好了,这就要求平台操作既要简单又要快速!小程序正好满足了这个功能。因为平台上没有太多复杂的操作,速度也很快,所以体验绝对不亚于普通的原生APP。最后,因为餐厅毕竟不是纯粹的电商,很多都是中小企业,不能为了点餐而开发几十万的APP 。相对来说,小程序的价格比较低,也可以定制。开发,不同的企业可以根据自己的需求定制开发不同的系统功能,更适合企业做。
点餐外卖系统源码:c.ymzan.top
import java.applet.*;
import java.awt.event.*;
public class finals extends Applet implements ActionListener,ItemListener
{
int a;
Label iaLbl = new Label("Items Available:");
Checkbox friesBox = new Checkbox("Fries",false);
Checkbox spagBox = new Checkbox("Spaghetti",false);
Checkbox burgerBox = new Checkbox("Burger",false);
Checkbox drinksBox = new Checkbox("Drinks",false);
Label qtyLbl = new Label("Quantity");
TextField qty1Txt = new TextField(10);
TextField qty2Txt = new TextField(10);
TextField qty3Txt = new TextField(10);
TextField qty4Txt = new TextField(10);
Label sizeLbl = new Label("Size");
Choice fchoice = new Choice();
Choice schoice = new Choice();
Choice bchoice = new Choice();
Choice dchoice = new Choice();
Label tpLbl = new Label("Total Price:");
TextField tp1Txt = new TextField(10);
TextField tp2Txt = new TextField(10);
TextField tp3Txt = new TextField(10);
TextField tp4Txt = new TextField(10);
Label tocLbl = new Label("Type of Customer:");
CheckboxGroup optGroup = new CheckboxGroup();
Checkbox member = new Checkbox("Member(10% Discount)",false,optGroup);
Checkbox student = new Checkbox("Student(5% Discount)",false,optGroup);
Checkbox senior = new Checkbox("Senior Citizen(20% Discount)",false,optGroup);
Checkbox others = new Checkbox("Others",false,optGroup);
Label tiLbl = new Label("Total Items:");
TextField tiTxt = new TextField(10);
Label taLbl = new Label("Total Amount:");
TextField taTxt = new TextField(10);
Label disLbl = new Label("Discount:");
TextField disTxt = new TextField(10);
Label atpLbl = new Label("Amount to Pay:");
TextField atpTxt = new TextField(10);
Label arLbl = new Label("Amount Received:");
TextField arTxt = new TextField(10);
Label changeLbl = new Label("Change:");
TextField changeTxt = new TextField(10);
Button compButton = new Button("COMPUTE");
Button resetButton = new Button("RESET");
Button payButton = new Button("PAY");
int ti,ta,qty1,qty2,qty3,qty4,tp1=0,tp2=0,tp3=0,tp4=0,s1=40,f1=0,f2=0,b1=0,b2=0,d1=0,d2=0,d3=0;
double dis=0,atp=0,change=0,ar=0;
public void init()
{
setLayout(new GridLayout(8,7));
add(iaLbl);
add(friesBox);
friesBox.addItemListener(this);
add(spagBox);
spagBox.addItemListener(this);
add(burgerBox);
burgerBox.addItemListener(this);
add(drinksBox);
drinksBox.addItemListener(this);
add(qtyLbl);
add(qty1Txt);
add(qty2Txt);
add(qty3Txt);
add(qty4Txt);
add(sizeLbl);
add(fchoice);
fchoice.addItem("Regular P 30");
fchoice.addItem("Large P 40");
add(schoice);
schoice.addItem("P 40");
add(bchoice);
bchoice.addItem("Regular P 30");
bchoice.addItem("With Cheese P 35");
add(dchoice);
dchoice.addItem("Regular P 15");
dchoice.addItem("Medium P 20");
dchoice.addItem("Large P 25");
add(tpLbl);
add(tp1Txt);
add(tp2Txt);
add(tp3Txt);
add(tp4Txt);
add(tocLbl);
add(member);
member.addItemListener(this);
add(student);
student.addItemListener(this);
add(senior);
senior.addItemListener(this);
add(others);
others.addItemListener(this);
add(tiLbl);
add(tiTxt);
add(taLbl);
add(taTxt);
add(disLbl);
add(disTxt);
add(atpLbl);
add(atpTxt);
add(arLbl);
add(arTxt);
add(changeLbl);
add(changeTxt);
add(compButton);
compButton.addActionListener(this);
add(resetButton);
resetButton.addActionListener(this);
add(payButton);
payButton.addActionListener(this);
}
public void itemStateChanged(ItemEvent e)
{
if(member.getState())
a=1;
else if(student.getState())
a=2;
else if(senior.getState())
a=3;
else if(others.getState())
a=4;
}
public void actionPerformed(ActionEvent e)
{
String arg;
arg=e.getActionCommand();
if(e.getSource()==compButton)
{
if(friesBox.getState())
{
qty1=Integer.parseInt(qty1Txt.getText());
f1=30;
tp1=qty1*f1;
tp1Txt.setText("" +tp1);
}
else
{
qty1=Integer.parseInt(qty1Txt.getText());
f2=40;
tp1=qty1*f2;
tp1Txt.setText("" +tp1);
}
if(spagBox.getState())
{
qty2=Integer.parseInt(qty2Txt.getText());
tp2=qty2*s1;
tp2Txt.setText("" +tp2);
}
else
{
qty2=Integer.parseInt(qty2Txt.getText());
s1=0;
tp2=qty2*s1;
tp2Txt.setText("" +tp2);
}
if(burgerBox.getState())
{
qty3=Integer.parseInt(qty3Txt.getText());
b1=30;
tp3=qty3*b1;
tp3Txt.setText("" +tp3);
}
else
{
qty3=Integer.parseInt(qty3Txt.getText());
b2=35;
tp3=qty3*b2;
tp3Txt.setText("" +tp1);
}
if(drinksBox.getState())
{
qty4=Integer.parseInt(qty4Txt.getText());
d1=15;
tp4=qty3*d1;
tp4Txt.setText("" +tp4);
}
else if(drinksBox.getState())
{
qty4=Integer.parseInt(qty4Txt.getText());
d2=20;
tp4=qty4*d2;
tp4Txt.setText("" +tp4);
}
else if(drinksBox.getState())
{
qty4=Integer.parseInt(qty4Txt.getText());
d3=25;
tp4=qty4*d3;
tp4Txt.setText("" +tp4);
}
if(a==1)
{
ti=(qty1) + (qty2) + (qty3) + (qty4);
tiTxt.setText(""+ti);
ta=(tp1) + (tp2) + (tp3) + (tp4);
taTxt.setText(""+ta);
dis=ta * 0.1;
disTxt.setText(""+dis);
atp=ta;
atpTxt.setText(""+atp);
}
else if(a==2)
{
ti=(qty1) + (qty2) + (qty3) + (qty4);
tiTxt.setText(""+ti);
ta=(tp1) + (tp2) + (tp3) + (tp4);
taTxt.setText(""+ta);
dis=ta * 0.05;
disTxt.setText(""+dis);
atp=ta;
atpTxt.setText(""+atp);
}
else if(a==3)
{
ti=(qty1) + (qty2) + (qty3) + (qty4);
tiTxt.setText(""+ti);
ta=(tp1) + (tp2) + (tp3) + (tp4);
taTxt.setText(""+ta);
dis=ta * 0.2;
disTxt.setText(""+dis);
atp=ta;
atpTxt.setText(""+atp);
}
else if(a==4)
{
ti=(qty1) + (qty2) + (qty3) + (qty4);
tiTxt.setText(""+ti);
ta=(tp1) + (tp2) + (tp3) + (tp4);
taTxt.setText(""+ta);
disTxt.setText("" +dis);
atp=ta;
atpTxt.setText(""+atp);
}
repaint();
}
else if(e.getSource()==resetButton)
{
friesBox.setState(false);
spagBox.setState(false);
burgerBox.setState(false);
drinksBox.setState(false);
qty1Txt.setText("");
qty2Txt.setText("");
qty3Txt.setText("");
qty4Txt.setText("");
fchoice.select(0);
bchoice.select(0);
dchoice.select(0);
tp1Txt.setText("");
tp2Txt.setText("");
tp3Txt.setText("");
tp4Txt.setText("");
member.setState(false);
student.setState(false);
senior.setState(false);
others.setState(false);
tiTxt.setText("");
taTxt.setText("");
disTxt.setText("");
atpTxt.setText("");
arTxt.setText("");
changeTxt.setText("");
a=1;
ti=0;
ta=0;
dis=0;
qty1=0;
qty2=0;
qty3=0;
qty4=0;
tp1=0;
tp2=0;
tp3=0;
tp4=0;
repaint();
}
else if(e.getSource()==payButton)
{
ar=Integer.parseInt(arTxt.getText());
change=ar-atp;
changeTxt.setText("" +change);
}
repaint();
}
}
餐饮点餐外卖小程序源码对于餐饮行业来说非常实用,顾客到店后扫码下单,无需排队,在节省顾客排队时间的同时,也减少了餐厅的人力物力,大大提高了工作效率效率,所以一般来说,搭建微信小程序餐饮点餐外卖小程序有哪些特点,我们来具体分析一下。
一、稳定性高
首先, 餐饮点餐外卖小程序源码必须要有系统的稳定性,只有这样,餐厅才能真正做到无忧无虑,不用担心。
二、细节体验
一个顾客吃一顿饭,其实中间有很多环节,比如点菜、中途加菜、点错菜退货、买单后发现多点了一道菜……这一切在顾客用餐过程中很常见,餐饮点餐外卖小程序不仅仅是点餐后付款,像淘宝京东一样,但是用餐过程中的变化非常复杂,考虑到用餐过程中的每一个点,并仔细研究解决方案,使这些复杂的过程变得简单易用。
三、订购更多人
一般 3、5 一个人去吃饭很正常,那么餐饮点餐外卖小程序要支持这种情况,我们专门针对这个场景开发的多人点餐功能,顾客只要扫描同一张桌卡的二维码,就可以自动进入一个订单,从而实现一起点餐的功能,大家可以实时看到别人点了什么,别着急,大家会有点重。如果路上还有不去餐厅的小伙伴,可以通过微信聊天功能直接给朋友下单,邀请路上的朋友点餐,沟通高效,非常方便。传统点餐,受餐厅菜谱数量限制,点餐时往往需要来回传递菜单。
4、呼叫服务员
吃饭的时候,总是有需要,需要服务员帮忙解决,传统的方式就是让顾客掐脖子,有时候我什至还要去前台找服务员,另外,服务员也可能很忙,忘记了一个顾客的需求,这对顾客体验很不好,呼叫服务员的功能,顾客用餐时,只要扫描桌子上的二维码,就可以看到呼叫服务员的按钮, 来电后, 消息立即推送到服务员的手机, 服务员, 无论您身在何处, 都能及时了解客户的需求, 提供更及时的服务。
五、添加菜单
用餐过程中,点菜不够,加菜也是很常见的场景,加菜的功能,就是解决这个场景的问题,顾客扫二维码,进入下单页面添加菜品,添加信息会实时传送到服务员手机,提供更及时的服务,给顾客更好的消费体验。