基于微信小程序的在线商城点单体系
前言:闲来无事,想以后自己开一个小超市大概小吃店,可以或许支持线上下单,既方便客户也方便自己。体系采用C#语言作为后端实现与小程序的交互,给用来学习大概想自己开个小店的朋友当个参考。
文末获取源码接洽
出色专栏连续更新推荐订阅,收藏关注不迷路
微信小程序实战开发专栏
一、项目介绍
- 小程序主要有首页、商品详情、购物车、个人中心等模块。
- 管理端主要有人员管理、商品管理、订单管理等模块。
复制代码 二、相关技术
- html+css+js:微信小程序界面。
- NetCore框架+C#程序语言:小程序及后台管理系统API的实现。
- Layui前端框架:web后台管理界面样式及数据渲染框架。
- SqlServer数据库:数据支持。
复制代码 三、小程序效果图
四、背景管理效果图
五、代码块
- <!-- 自定义顶部 start -->
- <view class="yx-custom" style="padding-top:{{statusBarHeight}}px;background-image: linear-gradient(43deg, #12C206,#00C90F);">
- <view class="headerBox">
- <view class="leftAddress">
- <image class="leftAddressIcon" src="{{imgUrl}}/upload/20220608/addressIcon.png" lazy-load="true"></image>
- <view class="leftAddressText little">橘猫餐厅</view>
- <image class="rightJtIcon" src="{{imgUrl}}/upload/20220608/jtBottom.png" lazy-load="true"></image>
- </view>
- <view class="appletsTitle"></view>
- </view>
- </view>
- <!-- 自定义顶部 占位标签 -->
- <view class="yx-empty_custom" style="padding-top:{{statusBarHeight}}px;"></view>
- <!-- banner图 -->
- <view style="background: url({{imgUrl}}/upload/20220608/topBackImg.png);background-size: 100% 100%;width:750rpx;height:324rpx;">
- <view class="bannerBottom"></view>
- </view>
- <!-- 分类及商品 -->
- <view class="containerBox" style="height:{{nowEquipmentHeight-((statusBarHeight*2)+162)}}px;">
- <scroll-view class="menu-left" scroll-y="true" style="height:{{nowEquipmentHeight-((statusBarHeight*2)+162)}}px;">
- <view wx:for="{{menuList}}" class="little {{menuIndex==index?'menu-item-check':'menu-item'}} {{item.prevClass}} {{item.nextClass}}"
- bindtap="clickMenu" data-index="{{index}}">{{item.title}}</view>
- <view class="bottomHeightBox"></view>
- </scroll-view>
- <scroll-view class="menu-right" scroll-y="true" style="height:{{nowEquipmentHeight-((statusBarHeight*2)+162)}}px;">
- <view class="menuTitleBox">
- <text>热门推荐</text>
- </view>
- <view class="productContainer">
- <view class="productItem" wx:for="{{20}}" bindtap="goDetail">
- <view class="productImage" style="background: url({{imgUrl}}/upload/20220608/ky.jpg);background-size: 100% 100%;"></view>
- <view class="productName little">超级无敌好吃美味烤鸭</view>
- <view class="productPriceBox">
- <view class="salePrice">
- <text style="font-size:22rpx;">¥</text>
- <text>58.88</text>
- <text style="font-weight:400;">/g</text>
- </view>
- <view class="oldPrice middleLine">¥98</view>
- </view>
- </view>
- </view>
- <view class="bottomHeightBox"></view>
- </scroll-view>
- </view>
- <!-- <image class="scanIcon" src="{{imgUrl}}/Areas/dfapi/Content/images/cp.png" lazy-load="true"></image> -->
- <image class="scanIcon" src="{{imgUrl}}{{scanUrl}}" lazy-load="true" bindtap="scanTableCode"></image>
复制代码 微信小程序全栈开发专栏点此订阅

- 文章源码及同系列教程可订阅本专栏,以实战为导向,逐步深入开发各个环节,融入打造完整全栈开发过程的经验。
- 订阅此专栏可添加博主微信获得额外增值服务,包括但不限于学习资料、简历修改、面试技巧、代码修正、职位内推等。
复制代码 免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |