This commit is contained in:
2025-05-13 16:56:30 +08:00
838 changed files with 923 additions and 88523 deletions

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "首页",
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-swiper": "/components/uview-ui/components/u-swiper/u-swiper",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -1,44 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.content .store {
background-color: #FFFAFB;
height: 108rpx;
}
.content .store .right-icon {
font-weight: bold;
margin-left: 4rpx;
}
.content .swiper {
height: 544rpx;
box-sizing: border-box;
width: 100%;
}
.content .swiper .balance {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 140rpx;
border-radius: 16rpx;
}
.content .order {
margin: 30rpx 20rpx;
}
.content .order > view {
border-radius: 16rpx;
padding: 40rpx 86rpx;
}

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "登录",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
}
}

View File

@ -1 +0,0 @@
<view class="login"><view class="u-font-xl bold-600 u-padding-top-56">获取你的昵称、头像</view><view><form data-event-opts="{{[['submit',[['doLogin',['$event']]]]]}}" bindsubmit="__e"><view class="u-flex u-row-between avatar u-m-t-80"><text>头像</text><view class="u-flex u-row-between flex1 u-m-l-30"><button class="u-flex u-row-between w-full" style="border:none;" hover-class="none" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><block wx:if="{{form.avatar}}"><u-image vue-id="11c35a68-1" src="{{form.avatar}}" width="100rpx" height="100rpx" shape="circle" bind:__l="__l"></u-image></block><block wx:else><view>点击授权头像</view></block><u-icon vue-id="11c35a68-2" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></button></view></view><view class="u-flex u-row-between avatar u-m-t-80"><text>昵称</text><view class="u-flex u-row-between flex1 u-m-l-30"><input name="nickname" type="nickname" placeholder="请输入昵称" placeholder-style="color: #000;" value="{{form.nickname}}"/><u-icon vue-id="11c35a68-3" name="arrow-right" color="#9F9EA4" size="32" bind:__l="__l"></u-icon></view></view><view class="menu"><view class="u-m-b-32"><button class="submit-btn" form-type="submit" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle">允许</button></view><u-button vue-id="11c35a68-4" hover-class="none" customStyle="{{({color:'#000',border:'none',padding:'16rpx 0'})}}" plain="{{true}}" hair-line="{{false}}" shape="circle" bind:__l="__l" vue-slots="{{['default']}}">拒绝</u-button></view></form><view class="u-m-t-32 u-flex u-row-center"><u-checkbox bind:input="__e" vue-id="11c35a68-5" shape="circle" active-color="{{themeColor}}" value="{{form.isAgree}}" data-event-opts="{{[['^input',[['__set_model',['$0','isAgree','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></u-checkbox></view></view></view>

View File

@ -1,35 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #fff;
}
.login {
margin: 0 32rpx;
}
.login .avatar text {
font-size: 48rpx;
}
.login .menu {
margin-top: 200rpx;
}
.login .submit-btn {
background-color: #254062;
border-radius: 200rpx;
color: #fff;
height: 81rpx;
line-height: 81rpx;
}

View File

@ -217,7 +217,8 @@ var _default = {
},
loginData: {},
mpLoginPopup: false,
mobilePopup: false
mobilePopup: false,
token: ''
};
},
onLoad: function onLoad() {},
@ -272,7 +273,10 @@ var _default = {
if (code == 1) {
if (data.is_new_user) {
uni.hideLoading();
_this.mpLoginPopup = true;
_this.token = data.token;
_this.$nextTick(function () {
_this.mpLoginPopup = true;
});
_this.loginData = data;
} else {
_this.loginHandle(data);

View File

@ -1,10 +0,0 @@
{
"navigationBarTitleText": "授权登录",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox",
"mplogin": "/components/mplogin/mplogin",
"mobile-login": "/components/mobile-login/mobile-login"
}
}

View File

@ -1 +0,0 @@
<view class="login"><view class="u-flex u-row-center logo"><u-image vue-id="35a7246c-1" src="{{cloudPath+'img/login-logo.png'}}" width="574rpx" height="432rpx" bind:__l="__l"></u-image></view><view class="u-text-center text-gray"><view>小程序需要登录注册才能使用相关功能,申请获取以下权限</view><view class="u-m-t-20">获得你的公开信息(昵称、头像、手机号码等)</view></view><view class="u-m-t-56"><view class="u-m-b-32"><u-button vue-id="35a7246c-2" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">快捷登录</u-button></view><view><u-button vue-id="35a7246c-3" hover-class="none" customStyle="{{$root.a0}}" plain="{{true}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">手机号登录/注册</u-button></view><u-button vue-id="35a7246c-4" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['testLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">测试账号一键登录</u-button></view><view class="u-m-t-32 u-flex u-row-center"><view><u-checkbox bind:input="__e" vue-id="35a7246c-5" shape="circle" active-color="{{themeColor}}" value="{{form.allow}}" data-event-opts="{{[['^input',[['__set_model',['$0','allow','$event',[]],['form']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意</view></u-checkbox></view><view class="u-flex protocol"><navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></view><mplogin bind:close="__e" bind:update="__e" bind:input="__e" vue-id="35a7246c-6" value="{{mpLoginPopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['handleSubmitInfo']]],['^input',[['__set_model',['','mpLoginPopup','$event',[]]]]]]}}" bind:__l="__l"></mplogin><mobile-login bind:close="__e" bind:update="__e" bind:input="__e" vue-id="35a7246c-7" value="{{mobilePopup}}" data-event-opts="{{[['^close',[['e1']]],['^update',[['handleSubmitMobile']]],['^input',[['__set_model',['','mobilePopup','$event',[]]]]]]}}" bind:__l="__l"></mobile-login></view>

View File

@ -1,29 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #fff;
}
.login {
margin: 0 64rpx;
}
.login .logo {
padding-top: 150rpx;
}
.login .protocol {
margin-top: -4rpx;
margin-left: -20rpx;
}

View File

@ -1,11 +0,0 @@
{
"navigationBarTitleText": "手机号登录/注册",
"usingComponents": {
"u-form": "/components/uview-ui/components/u-form/u-form",
"u-form-item": "/components/uview-ui/components/u-form-item/u-form-item",
"u-input": "/components/uview-ui/components/u-input/u-input",
"u-verification-code": "/components/uview-ui/components/u-verification-code/u-verification-code",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
}
}

View File

@ -1 +0,0 @@
<view class="login"><view class="title">手机号登录</view><view><u-form class="vue-ref" vue-id="b4d28524-1" model="{{form}}" data-ref="form" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item class="mobile" vue-id="{{('b4d28524-2')+','+('b4d28524-1')}}" label="+86" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-3')+','+('b4d28524-2')}}" placeholder="请输入电话" value="{{form.mobile}}" data-event-opts="{{[['^input',[['__set_model',['$0','mobile','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-form-item vue-id="{{('b4d28524-4')+','+('b4d28524-1')}}" bind:__l="__l" vue-slots="{{['default','right']}}"><u-input bind:input="__e" vue-id="{{('b4d28524-5')+','+('b4d28524-4')}}" placeholder="请输入验证码" value="{{form.code}}" data-event-opts="{{[['^input',[['__set_model',['$0','code','$event',[]],['form']]]]]}}" bind:__l="__l"></u-input><view slot="right"><u-verification-code class="vue-ref" vue-id="{{('b4d28524-6')+','+('b4d28524-4')}}" seconds="{{seconds}}" data-ref="uCode" data-event-opts="{{[['^end',[['end']]],['^start',[['start']]],['^change',[['codeChange']]]]}}" bind:end="__e" bind:start="__e" bind:change="__e" bind:__l="__l"></u-verification-code><u-button vue-id="{{('b4d28524-7')+','+('b4d28524-4')}}" size="mini" shape="circle" hover-class="none" data-event-opts="{{[['^tap',[['getCode']]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">{{tips}}</u-button></view></u-form-item></u-form></view><view class="u-m-t-32"><u-button vue-id="b4d28524-8" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['handleLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">登录/注册</u-button></view><view class="u-m-t-32 u-flex u-row-center"><u-checkbox vue-id="b4d28524-9" shape="circle" active-color="{{themeColor}}" value="{{form.checked}}" data-event-opts="{{[['^change',[['allowProtocol']]],['^input',[['__set_model',['$0','checked','$event',[]],['form']]]]]}}" bind:change="__e" bind:input="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="sm row-start">已阅读并同意<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=0">《服务协议》</navigator>和<navigator style="{{'color:'+(themeColor)+';'}}" hover-class="none" url="/pages/server_explan/server_explan?type=1">《隐私政策》</navigator></view></u-checkbox></view></view>

View File

@ -1,29 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #fff;
}
.login {
margin: 0 64rpx;
}
.login .title {
font-size: 56rpx;
padding-top: 190rpx;
}
.login .mobile {
margin-top: 96rpx;
}

View File

@ -1,13 +0,0 @@
{
"navigationBarTitleText": "我的",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"usingComponents": {
"u-avatar": "/components/uview-ui/components/u-avatar/u-avatar",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-line": "/components/uview-ui/components/u-line/u-line",
"u-grid": "/components/uview-ui/components/u-grid/u-grid",
"u-grid-item": "/components/uview-ui/components/u-grid-item/u-grid-item"
}
}

View File

@ -1 +0,0 @@
<view class="my u-relative"><view class="my-bg"><view class="u-text-center text-fff lg" style="{{'padding-top:'+(statusBar+'px')+';'}}">我的</view><view class="u-p-t-60 px32 text-fff"><navigator class="row-between" url="{{isLogin?'/pages/my/profile':'/pages/login/login'}}" hover-class="none"><view><block wx:if="{{isLogin}}"><view class="row u-col-top"><view><u-avatar vue-id="704e9d00-1" src="{{userInfo.avatar?userInfo.avatar:cloudPath+'img/icon_avatar_empty2.png'}}" size="112" bind:__l="__l"></u-avatar></view><view class="u-m-l-32 nr u-m-10"><view>{{userInfo.nickname}}</view><view class="u-m-t-16">{{userInfo.mobile||userInfo.sn}}</view></view></view></block><block wx:if="{{!isLogin}}"><view class="row u-col-top"><view><u-avatar vue-id="704e9d00-2" src="{{cloudPath+'img/icon_avatar_empty2.png'}}" size="112" bind:__l="__l"></u-avatar></view><view class="u-m-l-32 nr u-m-10"><view>点击登录</view><view class="u-m-t-16">登录体验更多功能</view></view></view></block></view><view><u-icon vue-id="704e9d00-3" name="arrow-right" size="40" color="#fff" bind:__l="__l"></u-icon></view></navigator></view></view><view class="block px32"><view class="bg-white u-m-t-34 balance row-between br16 u-p-l-22 u-p-r-22 box-shadown"><view><navigator class="u-flex u-row-center" url="/pages/my/wallet" hover-class="none"><u-image vue-id="704e9d00-4" src="{{cloudPath+'img/icon_balance.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.user_money||0.00}}</view><view class="text-default xs">余额</view></view></navigator></view><view><u-line class="u-line" vue-id="704e9d00-5" direction="col" length="47" bind:__l="__l"></u-line></view><view><navigator class="u-flex u-row-center" url="/bundle/pages/points/points" hover-class="none"><u-image vue-id="704e9d00-6" src="{{cloudPath+'img/icon_points.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.user_integral||0}}</view><view class="text-default xs">积分</view></view></navigator></view><view><u-line class="u-line" vue-id="704e9d00-7" direction="col" length="47" bind:__l="__l"></u-line></view><view><navigator class="u-flex u-row-center" url="/bundle/pages/coupon/coupon" hover-class="none"><u-image vue-id="704e9d00-8" src="{{cloudPath+'img/icon_coupon.png'}}" width="52" height="52" bind:__l="__l"></u-image><view class="u-m-l-60 u-text-center"><view class="nr">{{userInfo.coupon||0}}</view><view class="text-default xs u-text-center">券</view></view></navigator></view></view><view class="bg-white u-m-t-32 service br16 u-p-t-32 u-p-l-22 u-p-r-22 box-shadown"><view class="nr bold-600">服务功能</view><view><u-grid vue-id="704e9d00-9" col="{{4}}" border="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{menuList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><u-grid-item bind:click="__e" vue-id="{{('704e9d00-10-'+index)+','+('704e9d00-9')}}" data-event-opts="{{[['^click',[['tapMenu',['$0'],[[['menuList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-image vue-id="{{('704e9d00-11-'+index)+','+('704e9d00-10-'+index)}}" src="{{item.image}}" width="64" height="64" bind:__l="__l"></u-image><view class="grid-text mt10">{{item.name}}</view></u-grid-item></block></u-grid></view></view><view class="br16 u-m-t-32"><u-image vue-id="704e9d00-12" src="{{cloudPath+'img/activity.png'}}" height="264" bind:__l="__l"></u-image></view></view></view>

View File

@ -1,42 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #F6F6F6;
}
.my-bg {
background-image: url(http://jianbing-media.stnav.com/frontend/img/my_bg1.png);
height: 588rpx;
}
.block {
z-index: 1;
position: absolute;
left: 0;
right: 0;
top: 410rpx;
background-color: #F6F6F6;
border-top-left-radius: 40rpx;
border-top-right-radius: 40rpx;
}
.balance {
height: 132rpx;
}
.service {
height: 249rpx;
}
.box-shadown {
box-shadow: 0rpx 8rpx 8rpx 0rpx rgba(0, 0, 0, 0.05);
}

View File

@ -1,13 +0,0 @@
{
"navigationBarTitleText": "个人资料",
"usingComponents": {
"u-avatar": "/components/uview-ui/components/u-avatar/u-avatar",
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-form": "/components/uview-ui/components/u-form/u-form",
"u-form-item": "/components/uview-ui/components/u-form-item/u-form-item",
"u-input": "/components/uview-ui/components/u-input/u-input",
"mobile-login": "/components/mobile-login/mobile-login"
}
}

View File

@ -1 +0,0 @@
<view><view data-event-opts="{{[['tap',[['chooseAvatar',['$event']]]]]}}" class="u-m-t-34" bindtap="__e"><view class="row-center"><u-avatar vue-id="57f04267-1" src="{{userInfo.avatar?userInfo.avatar:cloudPath+'img/icon_avatar_empty2.png'}}" size="142" bind:__l="__l"></u-avatar></view><view class="nr text-default u-text-center u-m-t-16">点击更换头像</view></view><view class="u-m-l-62 u-m-r-62"><view data-event-opts="{{[['tap',[['changeName',['$event']]]]]}}" class="nr row-between u-col-center u-m-t-48" bindtap="__e"><view style="width:100rpx;">昵称</view><view class="flex1 u-m-l-80 row u-row-between u-col-center"><view>{{userInfo.nickname||''}}</view><view><u-image vue-id="57f04267-2" src="{{cloudPath+'img/icon_arrow_right.png'}}" width="44" height="44" bind:__l="__l"></u-image></view></view></view><view data-event-opts="{{[['tap',[['changeMobile',['$event']]]]]}}" class="nr row-between u-col-center u-m-t-48" bindtap="__e"><view style="width:100rpx;">手机号</view><view class="flex1 u-m-l-80 row u-row-between u-col-center"><view>{{$root.m0}}</view><view><u-image vue-id="57f04267-3" src="{{cloudPath+'img/icon_arrow_right.png'}}" width="44" height="44" bind:__l="__l"></u-image></view></view></view></view><view class="fixed left-0 right-0 save"><u-button vue-id="57f04267-4" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['save']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">保存</u-button></view><u-popup bind:input="__e" vue-id="57f04267-5" mode="center" border-radius="16" value="{{nickname.showPopup}}" data-event-opts="{{[['^input',[['__set_model',['$0','showPopup','$event',[]],['nickname']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="bg-white br16 w-full" style="width:70vw;"><view class="u-p-32"><view class="title xl u-text-center bold-500">修改用户名</view><view><u-form class="vue-ref" vue-id="{{('57f04267-6')+','+('57f04267-5')}}" model="{{nickname}}" data-ref="nicknameForm" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('57f04267-7')+','+('57f04267-6')}}" label="昵称" border-bottom="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><u-input bind:input="__e" vue-id="{{('57f04267-8')+','+('57f04267-7')}}" value="{{nickname.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],['nickname']]]]]}}" bind:__l="__l"></u-input></u-form-item><u-button vue-id="{{('57f04267-9')+','+('57f04267-6')}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['confirmChangeNickeName']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确定</u-button></u-form></view></view></view></u-popup><mobile-login vue-id="57f04267-10" hideCancleBtn="{{false}}" value="{{mobile.showPopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['updateMobile']]],['^input',[['__set_model',['$0','showPopup','$event',[]],['mobile']]]]]}}" bind:close="__e" bind:update="__e" bind:input="__e" bind:__l="__l"></mobile-login></view>

View File

@ -1,27 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #fff;
}
.save {
bottom: calc(52rpx + env(safe-area-inset-bottom));
height: 76rpx;
background-color: #212526;
color: #fff;
border-radius: 100rpx;
margin: 0 64rpx;
}

View File

@ -1,8 +0,0 @@
{
"navigationBarTitleText": "我的钱包",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-line": "/components/uview-ui/components/u-line/u-line",
"loading-footer": "/components/loading-footer/loading-footer"
}
}

View File

@ -1 +0,0 @@
<view class="wallet"><view class="bg"></view><view class="block"><view class="bg-white balance u-m-l-16 u-m-r-16 br24 column-center"><view>账户余额(元)</view><view class="u-m-t-14 bold-600 xxl">{{"¥ "+wallet.user_money}}</view></view><view class="bg-white wallet-btn u-m-t-24 u-m-l-16 u-m-r-16 row-between br24"><block wx:if="{{wallet.open_racharge==1}}"><view><navigator class="row" hover-class="none" url="/pages/recharge/balance"><u-image vue-id="9557a05a-1" src="{{cloudPath+'img/icon_my_wallet.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值</text></navigator></view></block><block wx:if="{{wallet.open_racharge==1}}"><view><u-line vue-id="9557a05a-2" color="#EEE" direction="col" length="60" bind:__l="__l"></u-line></view></block><view><navigator class="row" hover-class="none" url="/pages/recharge/record"><u-image vue-id="9557a05a-3" src="{{cloudPath+'img/icon_my_wallet_record.png'}}" width="56" height="56" bind:__l="__l"></u-image><text class="u-m-l-18 nr">充值记录</text></navigator></view></view><view class="list bg-white br16 u-p-32" style="height:962rpx;"><view class="lg">钱包明细</view><scroll-view style="height:880rpx;" scroll-y="true" refresher-enabled="{{true}}" refresher-triggered="{{isRefreshing}}" data-event-opts="{{[['refresherrefresh',[['refreshCallback',['$event']]]],['scrolltolower',[['upCallback',['$event']]]]]}}" bindrefresherrefresh="__e" bindscrolltolower="__e"><view class="u-m-t-16"><block wx:for="{{lists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-m-b-16"><view class="nr row-between"><view>{{item.source_type}}</view><view class="deduct">{{item.change_amount}}</view></view><view class="date xs u-m-t-16">{{item.change_amount}}</view></view></block></view><loading-footer vue-id="9557a05a-4" status="{{loadingStatus}}" bind:__l="__l"></loading-footer></scroll-view></view></view></view>

View File

@ -1,50 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.wallet {
position: relative;
}
.bg {
position: absolute;
left: 0;
right: 0;
background-color: #517AAD;
height: 320rpx;
}
.block {
position: absolute;
top: 24rpx;
left: 0;
right: 0;
}
.balance {
height: 209rpx;
}
.wallet-btn {
height: 150rpx;
padding: 0 100rpx;
}
.list {
margin: 22rpx 34rpx;
height: 962rpx;
box-shadow: 0rpx 6rpx 28rpx 4rpx rgba(0, 0, 0, 0.05);
}
.deduct {
color: rgba(0, 0, 0, 0.6);
}
.date {
color: rgba(0, 0, 0, 0.4);
}

View File

@ -1,7 +0,0 @@
{
"navigationBarTitleText": "订单",
"usingComponents": {
"u-tabs": "/components/uview-ui/components/u-tabs/u-tabs",
"order-list": "/components/order-list/order-list"
}
}

View File

@ -1 +0,0 @@
<view class="order"><view><u-tabs vue-id="3c50aaa2-1" list="{{list}}" is-scroll="{{false}}" current="{{current}}" active-color="{{themeColor}}" height="92" data-event-opts="{{[['^change',[['tabChange']]]]}}" bind:change="__e" bind:__l="__l"></u-tabs></view><view class="mx20 u-m-t-20"><order-list vue-id="3c50aaa2-2" type="{{type}}" bind:__l="__l"></order-list></view></view>

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "订单详情",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-line": "/components/uview-ui/components/u-line/u-line"
}
}

View File

@ -1 +0,0 @@
<view class="u-m-l-32 u-m-r-32"><view class="u-p-32 br16 bg-white u-m-t-16">滨江区XXX门店</view><view class="bg-white u-p-32 u-m-t-36 br8"><view class="row u-col-top"><view><u-image vue-id="768d0e9c-1" src="{{cloudPath+'img/banner.png'}}" width="124" height="124" border-radius="8" bind:__l="__l"></u-image></view><view><view class="u-font-32 u-m-l-16"><text class="bold-600">煎饼果子套餐</text><text class="u-font-24 u-m-l-8">x1</text></view><view class="sm text-999 u-m-l-16 u-m-t-8"><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text></view><view class="u-m-l-16 u-m-t-8 row"><view><price-format vue-id="768d0e9c-2" color="#FF4A18" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="u-m-l-8"><price-format vue-id="768d0e9c-3" lineThrough="{{true}}" color="#C0C0C0" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" bind:__l="__l"></price-format></view></view></view></view><view class="row-end"><u-button class="u-m-r-24" vue-id="768d0e9c-4" hover-class="none" customStyle="{{({height:'46rpx',color:'#454545',border:'1px solid #454545',borderRadius:'8rpx',padding:'0 8rpx',fontSize:'24rpx'})}}" plain="{{true}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">再来一单</u-button><u-button vue-id="768d0e9c-5" hover-class="none" customStyle="{{({height:'46rpx',color:'#454545',border:'1px solid #454545',borderRadius:'8rpx',padding:'0 8rpx',fontSize:'24rpx'})}}" plain="{{true}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">申请售后</u-button></view></view><view class="bg-white u-p-32 u-m-t-32"><view class="row-between"><view class="nr">商品总价</view><view><price-format vue-id="768d0e9c-6" color="#000" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="768d0e9c-7" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>订单运费</view><view>¥130.00</view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="768d0e9c-8" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>优惠券</view><view class="primary"><price-format vue-id="768d0e9c-9" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="768d0e9c-10" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>实付款</view><view class="primary"><price-format vue-id="768d0e9c-11" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view></view><view class="bg-white u-p-32 u-m-t-40 br8"><view class="bold-600 u-font-28">订单信息</view><view class="text-attr u-m-t-16"><view class="u-m-t-8 row-between"><view>订单编号:</view><view>134213234122321232123</view></view><view class="u-m-t-8 row-between"><view>支付方式:</view><view>微信支付</view></view><view class="u-m-t-8 row-between"><view>下单时间:</view><view>2022-11-10 15:26:07</view></view><view class="u-m-t-8 row-between"><view>付款时间:</view><view>2022-11-10 15:26:07</view></view><view class="u-m-t-8 row-between"><view>发货时间:</view><view>2022-11-10 15:26:07</view></view></view></view><view class="fixed row-end u-text-center btn-group bg-white u-p-t-20"><view class="mr20"><u-button vue-id="768d0e9c-12" hover-class="none" customStyle="{{$root.a0}}" plain="{{true}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">查看物流</u-button></view><view><u-button vue-id="768d0e9c-13" hover-class="none" customStyle="{{({width:'160rpx',height:'80rpx',backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0',borderRadius:'8rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认收货</u-button></view></view></view>

View File

@ -1,32 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #F6F8FA;
}
.text-attr {
color: #86909C;
}
.fixed {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding-bottom: env(safe-area-inset-bottom);
}
.btn-group > view {
height: 100rpx;
}

View File

@ -106,6 +106,9 @@ try {
orderGoods: function () {
return __webpack_require__.e(/*! import() | components/order-goods/order-goods */ "components/order-goods/order-goods").then(__webpack_require__.bind(null, /*! @/components/order-goods/order-goods.vue */ 540))
},
uInput: function () {
return Promise.all(/*! import() | components/uview-ui/components/u-input/u-input */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uview-ui/components/u-input/u-input")]).then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-input/u-input.vue */ 474))
},
uRadioGroup: function () {
return Promise.all(/*! import() | components/uview-ui/components/u-radio-group/u-radio-group */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/uview-ui/components/u-radio-group/u-radio-group")]).then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-radio-group/u-radio-group.vue */ 547))
},
@ -118,6 +121,18 @@ try {
uButton: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-button/u-button */ "components/uview-ui/components/u-button/u-button").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-button/u-button.vue */ 362))
},
uPopup: function () {
return __webpack_require__.e(/*! import() | components/uview-ui/components/u-popup/u-popup */ "components/uview-ui/components/u-popup/u-popup").then(__webpack_require__.bind(null, /*! @/components/uview-ui/components/u-popup/u-popup.vue */ 533))
},
tabs: function () {
return __webpack_require__.e(/*! import() | components/tabs/tabs */ "components/tabs/tabs").then(__webpack_require__.bind(null, /*! @/components/tabs/tabs.vue */ 742))
},
tab: function () {
return __webpack_require__.e(/*! import() | components/tab/tab */ "components/tab/tab").then(__webpack_require__.bind(null, /*! @/components/tab/tab.vue */ 749))
},
couponObj: function () {
return __webpack_require__.e(/*! import() | components/coupon-obj/coupon-obj */ "components/coupon-obj/coupon-obj").then(__webpack_require__.bind(null, /*! @/components/coupon-obj/coupon-obj.vue */ 756))
},
appointmentTime: function () {
return __webpack_require__.e(/*! import() | components/appointment-time/appointment-time */ "components/appointment-time/appointment-time").then(__webpack_require__.bind(null, /*! @/components/appointment-time/appointment-time.vue */ 561))
},
@ -146,8 +161,15 @@ var render = function () {
var a0 = {
need: _vm.orderInfo.team_need,
}
var g0 = !_vm.orderInfo.discount_amount ? _vm.usableCoupon.length : null
var g1 = !_vm.orderInfo.discount_amount && g0 ? _vm.usableCoupon.length : null
var g2 = _vm.showCoupon ? _vm.usableCoupon.length : null
var g3 = _vm.showCoupon ? _vm.unusableCoupon.length : null
if (!_vm._isMounted) {
_vm.e0 = function ($event) {
_vm.showCoupon = true
}
_vm.e1 = function ($event) {
_vm.timePopup = false
}
}
@ -156,6 +178,10 @@ var render = function () {
{
$root: {
a0: a0,
g0: g0,
g1: g1,
g2: g2,
g3: g3,
},
}
)
@ -384,6 +410,23 @@ var _order = __webpack_require__(/*! @/api/order */ 191);
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
//
var _default = {
data: function data() {
return {
@ -416,7 +459,17 @@ var _default = {
// 收货地址信息
addressId: '',
// 收货地址ID
storeInfo: {} // 门店信息
storeInfo: {},
// 门店信息
couponId: '',
// 优惠券ID
couponTabsIndex: 0,
// 优惠券Tabs索引
usableCoupon: [],
// 优惠券--可使用
unusableCoupon: [],
// 优惠券--不可用
showCoupon: false // 显示优惠券Popup
};
},
onLoad: function onLoad(options) {
@ -506,6 +559,12 @@ var _default = {
console.log(err);
});
},
// 选择优惠券
onSelectCoupon: function onSelectCoupon(value) {
this.couponId = value;
this.showCoupon = false;
this.handleOrderMethods('info');
},
// 点击订单提交
onSubmitOrder: function onSubmitOrder() {
var _this3 = this;

View File

@ -1,12 +0,0 @@
{
"navigationBarTitleText": "确认订单",
"usingComponents": {
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"order-goods": "/components/order-goods/order-goods",
"u-radio-group": "/components/uview-ui/components/u-radio-group/u-radio-group",
"u-radio": "/components/uview-ui/components/u-radio/u-radio",
"price-format": "/components/price-format/price-format",
"u-button": "/components/uview-ui/components/u-button/u-button",
"appointment-time": "/components/appointment-time/appointment-time"
}
}

View File

@ -1 +0,0 @@
<view class="px32"><view class="bg-white br16 row u-m-t-32"><view data-event-opts="{{[['tap',[['onAddressExpress',['$event']]]]]}}" hidden="{{!(addressTabsList[addressTabsIndex]['sign']==='express')}}" class="u-flex p24 w-full" bindtap="__e"><view><u-icon class="right-icon" vue-id="eeabff18-1" name="map" size="48" bind:__l="__l"></u-icon></view><view class="u-flex flex1 u-row-between"><view class="ml10"><block wx:if="{{address.id}}"><view class="md black bold"><text>{{address.contact}}</text><text class="ml10">{{address.telephone}}</text></view><view class="xs black mt10">{{address.province+address.city+address.district+address.address}}</view></block><block wx:else><view>请选择收货地址</view></block></view><view><u-icon class="ml10" vue-id="eeabff18-2" name="arrow-right" bind:__l="__l"></u-icon></view></view></view></view><view class="bg-white br16 row u-m-t-32"><order-goods vue-id="eeabff18-3" team="{{$root.a0}}" list="{{goodsLists}}" delivery="{{delivery}}" order_type="{{orderInfo.order_type}}" imageWidth="{{260}}" imageHeight="{{172}}" mode="comfirm" bind:__l="__l"></order-goods></view><view class="bg-white br16 p24 u-m-t-32"><view>备注</view><view class="flex1 u-m-t-16 mask">xxxx</view></view><view data-event-opts="{{[['tap',[['appointmentTime',['$event']]]]]}}" class="bg-white br16 p24 u-m-t-32 nr row-between" bindtap="__e"><view>预约时间</view><view class="row"><view class="u-m-r-10">16:00-16:30</view><u-icon vue-id="eeabff18-4" name="arrow-right" size="32" bind:__l="__l"></u-icon></view></view><view class="bg-white br16 p24 u-m-t-32 nr"><view class="row-between"><view class="row-center"><u-icon vue-id="eeabff18-5" name="weixin-circle-fill" color="#28C445" size="80" bind:__l="__l"></u-icon><view class="u-m-l-16 lg">微信</view></view><view class="flex1 row-end"><u-radio-group bind:input="__e" vue-id="eeabff18-6" value="{{pay.weixin}}" data-event-opts="{{[['^input',[['__set_model',['$0','weixin','$event',[]],['pay']]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('eeabff18-7')+','+('eeabff18-6')}}" shape="circle" active-color="{{themeColor}}" bind:__l="__l"></u-radio></u-radio-group></view></view></view><view class="fixed bg-white row-between px48 u-padding-top-20 u-padding-bottom-20"><view class="column u-text-center"><view class="row-center"><view class="count">共1件</view><view class="u-m-l-8">合计:</view><view class="primary" style="margin-top:-8rpx;"><price-format vue-id="eeabff18-8" price="{{12.9}}" subscriptSize="{{34}}" firstSize="{{56}}" secondSize="{{34}}" bind:__l="__l"></price-format></view></view></view><view class="u-m-l-64 flex1"><u-button vue-id="eeabff18-9" hover-class="none" customStyle="{{({height:'92rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['onSubmitOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">去支付</u-button></view></view><appointment-time bind:close="__e" bind:update="__e" bind:input="__e" vue-id="eeabff18-10" value="{{timePopup}}" data-event-opts="{{[['^close',[['e0']]],['^update',[['handleSubmitMobile']]],['^input',[['__set_model',['','timePopup','$event',[]]]]]]}}" bind:__l="__l"></appointment-time></view>

View File

@ -1,32 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.num {
color: #4E5969;
}
.mask {
color: #86909C;
}
.fixed {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding-bottom: env(safe-area-inset-bottom);
}
.count {
color: #86909C;
}

View File

@ -1,12 +0,0 @@
{
"navigationBarTitleText": "支付订单",
"usingComponents": {
"price-format": "/components/price-format/price-format",
"u-count-down": "/components/uview-ui/components/u-count-down/u-count-down",
"u-radio-group": "/components/uview-ui/components/u-radio-group/u-radio-group",
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-radio": "/components/uview-ui/components/u-radio/u-radio",
"u-loading": "/components/uview-ui/components/u-loading/u-loading",
"u-skeleton": "/components/uview-ui/components/u-skeleton/u-skeleton"
}
}

View File

@ -1 +0,0 @@
<view class="payment-pages"><view class="payment u-skeleton"><view class="payment-header"><price-format class="u-skeleton-fillet" vue-id="60968672-1" subscript-size="{{40}}" first-size="{{56}}" second-size="{{40}}" price="{{amount}}" weight="{{500}}" bind:__l="__l"></price-format><block wx:if="{{timeout>0}}"><view class="payment-count-down"><text>支付剩余时间</text><u-count-down vue-id="60968672-2" timestamp="{{timeout}}" font-size="{{22}}" bind:__l="__l"></u-count-down></view></block></view><view class="payment-main"><view class="payway-container u-skeleton-fillet"><u-radio-group bind:input="__e" style="width:100%;" vue-id="60968672-3" value="{{payway}}" data-event-opts="{{[['^input',[['__set_model',['','payway','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="payway"><block wx:for="{{paywayList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['changePayway',['$0'],[[['paywayList','id',item.id,'pay_way']]]]]]]}}" class="payway-item" bindtap="__e"><u-image vue-id="{{('60968672-4-'+index)+','+('60968672-3')}}" src="{{item.icon}}" width="48" height="48" mode="scaleToFill" bind:__l="__l"></u-image><view class="payway-item-content"><text class="payway-item-content-name">{{item.name}}</text><text class="payway-item-content-tips">{{item.extra}}</text></view><u-radio vue-id="{{('60968672-5-'+index)+','+('60968672-3')}}" shape="circle" name="{{item.pay_way}}" active-color="{{themeColor}}" bind:__l="__l"></u-radio></view></block></view></u-radio-group><block wx:if="{{!$root.g0}}"><view class="payway-empty">暂无支付方式</view></block></view></view><view class="payment-footer u-skeleton-fillet"><view data-event-opts="{{[['tap',[['handlePrepay',['$event']]]]]}}" class="{{['payment-submit',[(loadingPay)?'payment-submit--disabled':'']]}}" bindtap="__e"><u-loading vue-id="60968672-6" mode="circle" show="{{loadingPay}}" bind:__l="__l"></u-loading><text hidden="{{!(!loadingPay)}}">立即支付</text></view></view></view><u-skeleton vue-id="60968672-7" loading="{{loadingSkeleton}}" animation="{{true}}" bgColor="#FFF" bind:__l="__l"></u-skeleton></view>

View File

@ -1,122 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
height: 100%;
padding: 0;
}
.payment-pages {
height: 100%;
}
.payment-pages .payment {
display: flex;
flex-direction: column;
height: calc(100% - env(safe-area-inset-bottom));
}
.payment-pages .payment-header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 300rpx;
background: linear-gradient(270deg, #355883 0%, #254062 100%);
color: #FFFFFF;
}
.payment-pages .payment-main {
flex: 1;
margin-top: -40rpx;
padding: 0 20rpx;
overflow: hidden;
}
.payment-pages .payment-footer {
display: flex;
align-items: center;
height: 100rpx;
padding: 0 20rpx;
background-color: #FFFFFF;
}
.payment-pages .payment .payway-container {
padding: 0 20rpx;
border-radius: 7px;
background-color: #FFFFFF;
}
.payment-pages .payment .payway-container .payway-empty {
display: flex;
justify-content: center;
padding: 20rpx 0;
font-size: 26rpx;
color: #999999;
}
.payment-pages .payment .payway {
width: 100%;
}
.payment-pages .payment .payway-item {
width: 100%;
display: flex;
align-items: center;
height: 120rpx;
}
.payment-pages .payment .payway-item:nth-child(n+2) {
border-top: 1px dashed #E5E5E5;
}
.payment-pages .payment .payway-item-content {
flex: 1;
display: flex;
flex-direction: column;
margin-left: 16rpx;
}
.payment-pages .payment .payway-item-content-name {
font-size: 28rpx;
color: #101010;
}
.payment-pages .payment .payway-item-content-tips {
font-size: 22rpx;
color: #999999;
}
.payment-pages .payment-count-down {
display: flex;
justify-content: center;
align-items: center;
padding: 7rpx 25rpx;
border-radius: 60px;
margin-top: 10rpx;
font-size: 22rpx;
background-color: #FFFFFF;
color: #333333;
}
.payment-pages .payment-submit {
flex: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 74rpx;
font-size: 28rpx;
border-radius: 60px;
background: linear-gradient(270deg, #355883 0%, #254062 100%);
color: #FFFFFF;
}
.payment-pages .payment-submit--disabled::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
display: block;
content: "";
background: rgba(255, 255, 255, 0.3) !important;
}

View File

@ -1,13 +0,0 @@
{
"navigationBarTitleText": "充值余额",
"navigationStyle": "custom",
"usingComponents": {
"u-sticky": "/components/uview-ui/components/u-sticky/u-sticky",
"u-navbar": "/components/uview-ui/components/u-navbar/u-navbar",
"u-input": "/components/uview-ui/components/u-input/u-input",
"price-format": "/components/price-format/price-format",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"loading-view": "/components/loading-view/loading-view"
}
}

View File

@ -1 +0,0 @@
<view class="index home-bg" style="{{$root.s0}}"><u-sticky vue-id="52e688b9-1" offset-top="0" h5-nav-height="0" bg-color="transparent" enable="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><u-navbar vue-id="{{('52e688b9-2')+','+('52e688b9-1')}}" border-bottom="{{false}}" is-fixed="{{false}}" custom-class="home-bg" background="{{navBackground}}" is-back="{{true}}" backText=" " title="{{title}}" title-color="#fff" backIconColor="#fff" bind:__l="__l"></u-navbar></u-sticky><view class="row-center balance" style="{{'padding-top:'+(topSpace+'px')+';'}}"><view class="u-text-center w-full"><view class="text-fff" style="font-size:96rpx;">{{userInfo.user_money}}</view><view class="text-fff nr">充值余额</view></view></view><view class="content u-relative u-m-l-32 u-m-r-32" style="margin-top:132rpx;"><view class="input row-center br16"><view class="input-money"><u-input bind:input="__e" vue-id="52e688b9-3" placeholder="输入金额: 0" placeholder-style="color: #254062;" custom-style="{{({backgroundColor:'transparent'})}}" input-align="center" value="{{number}}" data-event-opts="{{[['^input',[['__set_model',['','number','$event',[]]]]]]}}" bind:__l="__l"></u-input></view></view><block wx:if="{{$root.g0>0}}"><view class="u-m-t-38"><view class="sm u-m-b-20 bold-400">选择充值套餐</view><view class="grid-container"><block wx:for="{{rechargeTemplate}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['rechargeFun',[['o',['id',item.id]]]]]]]}}" class="item active" bindtap="__e"><view class="xs text-666">充值</view><view class="text-333 md u-m-t-4">{{"¥"+item.money}}</view><view class="text-666 xxs u-m-t-2">{{"赠送"+item.give_money+"元"}}</view></view></block></view></view></block><view class="u-m-t-56"><view class="sm u-m-b-20 bold-400">加赠券 价值10元</view><view class="grid-container u-m-t-18"><view class="coupon u-text-center"><view class="sm text-666">赠券1张</view><view class="text-333 md u-m-t-28"><price-format vue-id="52e688b9-4" color="#FF0000" price="{{10}}" subscriptSize="{{22}}" firstSize="{{52}}" bind:__l="__l"></price-format></view><view class="text-666 sm u-m-t-30">满10元可用</view></view></view></view><view class="u-m-t-70 u-p-10"><view class="sm u-m-b-20 bold-400">充值说明</view><view class="text-999">1. 账户充值仅限在线方式支付,充值金额实时到账;</view><view class="text-999">2. 有问题请联系客服;</view></view><view class="u-m-t-42 u-p-b-20"><u-button vue-id="52e688b9-5" hover-class="none" customStyle="{{({height:'76rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'100rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['rechargeNow']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即充值</u-button></view></view><u-popup bind:input="__e" class="pay-popup" vue-id="52e688b9-6" closeable="{{true}}" round="{{true}}" mode="center" value="{{showPopup}}" data-event-opts="{{[['^input',[['__set_model',['','showPopup','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="content bg-white"><image class="img-icon" src="{{cloudPath+'img/icon_paySuccess.png'}}"></image><view class="xxl bold mt10">充值成功</view><block wx:if="{{rechargeInfo.give_integral||rechargeInfo.give_growth}}"><view class="lg u-mt-50">恭喜您获得<text><block wx:if="{{rechargeInfo.give_integral}}"><text class="primary">{{rechargeInfo.give_integral}}</text></block>积分</text><block wx:if="{{rechargeInfo.give_growth}}"><text>+<text class="primary">{{rechargeInfo.give_growth}}</text>成长值</text></block></view></block><u-button class="btn" vue-id="{{('52e688b9-7')+','+('52e688b9-6')}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'60rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^tap',[['onShowPopup']]]]}}" bind:tap="__e" bind:__l="__l" vue-slots="{{['default']}}">好的</u-button></view></u-popup><block wx:if="{{showLoading}}"><loading-view vue-id="52e688b9-8" id="van-toast" backgroundColor="rgba(0, 0, 0, 0)" bind:__l="__l"></loading-view></block></view>

View File

@ -1,75 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #fff;
}
.index {
background-size: 100% auto;
}
.home-bg {
background: url(http://jianbing-media.stnav.com/frontend/img/icon_recharge_bg.png) no-repeat;
background-size: 100% auto;
}
.input {
height: 124rpx;
background: #D3E0F1;
border: 2rpx solid #254062;
}
.input-money {
width: 180rpx;
}
.item {
width: 209rpx;
height: 155rpx;
background: #F5F5F5;
border: 1rpx solid #F5F5F5;
border-radius: 12rpx 12rpx 12rpx 12rpx;
padding: 20rpx 20rpx 12rpx 20rpx;
}
.active {
background: #F3F8FF;
border: 1rpx solid #254062;
}
.grid-container {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32rpx;
}
.coupon {
width: 207rpx;
height: 196rpx;
background: url(http://jianbing-media.stnav.com/frontend/img/coupon_bg1.png) no-repeat;
background-size: cover;
}
.coupon > view:first-child {
color: #845F2E;
margin-top: 4rpx;
}
.pay-popup .content {
padding: 40rpx 0;
text-align: center;
width: 560rpx;
border-radius: 20rpx;
}
.pay-popup .img-icon {
width: 168rpx;
height: 168rpx;
display: inline-block;
}
.pay-popup .btn {
margin: 80rpx 60rpx 0;
}

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "充值",
"usingComponents": {
"u-radio-group": "/components/uview-ui/components/u-radio-group/u-radio-group",
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-radio": "/components/uview-ui/components/u-radio/u-radio",
"u-button": "/components/uview-ui/components/u-button/u-button"
}
}

View File

@ -1 +0,0 @@
<view><view class="bg-white u-m-32 u-p-32 br16 block"><view class="nr">充值金额</view><view class="u-m-t-16"><text class="price">{{amount}}</text><text class="bold-400 nr u-m-l-16">元</text></view><view class="u-m-t-32 xs"><text class="recharge">充值金额:</text><text>{{amount+"元"}}</text></view></view><view class="bg-white u-m-32 u-p-32 br16 block payment"><view class="nr">选择支付方式</view><view class="payment-main"><view class="payway-container u-skeleton-fillet"><u-radio-group bind:input="__e" style="width:100%;" vue-id="55994940-1" value="{{payway}}" data-event-opts="{{[['^input',[['__set_model',['','payway','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="payway"><block wx:for="{{paywayList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><view data-event-opts="{{[['tap',[['changePayway',['$0'],[[['paywayList','id',item.id,'pay_way']]]]]]]}}" class="payway-item" bindtap="__e"><u-image vue-id="{{('55994940-2-'+index)+','+('55994940-1')}}" src="{{item.icon}}" width="48" height="48" mode="scaleToFill" bind:__l="__l"></u-image><view class="payway-item-content"><text class="payway-item-content-name">{{item.name}}</text><text class="payway-item-content-tips">{{item.extra}}</text></view><u-radio vue-id="{{('55994940-3-'+index)+','+('55994940-1')}}" shape="circle" name="{{item.pay_way}}" active-color="{{themeColor}}" bind:__l="__l"></u-radio></view></block></view></u-radio-group><block wx:if="{{!$root.g0}}"><view class="payway-empty">暂无支付方式</view></block></view></view></view><view class="fixed left-0 right-0 bottom-0 u-m-64"><u-button vue-id="55994940-4" hover-class="none" customStyle="{{({height:'76rpx',backgroundColor:themeColor,color:'#fff',border:'none',borderRadius:'100rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['handlePrepay']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即支付</u-button></view></view>

View File

@ -1,124 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.block {
box-shadow: 0rpx 10rpx 10rpx -6rpx rgba(0, 0, 0, 0.1), 0rpx 16rpx 20rpx 2rpx rgba(0, 0, 0, 0.06), 0rpx 6rpx 28rpx 4rpx rgba(0, 0, 0, 0.05);
}
.price {
font-size: 48rpx;
}
.unit {
color: #1f1f1f;
}
.recharge {
color: rgba(0, 0, 0, 0.6);
}
.payment {
display: flex;
flex-direction: column;
height: calc(100% - env(safe-area-inset-bottom));
}
.payment-header {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 300rpx;
background: linear-gradient(270deg, #355883 0%, #254062 100%);
color: #FFFFFF;
}
.payment-main {
flex: 1;
overflow: hidden;
}
.payment-footer {
display: flex;
align-items: center;
height: 100rpx;
padding: 0 20rpx;
background-color: #FFFFFF;
}
.payment .payway-container {
border-radius: 7px;
background-color: #FFFFFF;
}
.payment .payway-container .payway-empty {
display: flex;
justify-content: center;
padding: 20rpx 0;
font-size: 26rpx;
color: #999999;
}
.payment .payway {
width: 100%;
}
.payment .payway-item {
width: 100%;
display: flex;
align-items: center;
height: 120rpx;
}
.payment .payway-item:nth-child(n+2) {
border-top: 1px dashed #E5E5E5;
}
.payment .payway-item-content {
flex: 1;
display: flex;
flex-direction: column;
margin-left: 16rpx;
}
.payment .payway-item-content-name {
font-size: 28rpx;
color: #101010;
}
.payment .payway-item-content-tips {
font-size: 22rpx;
color: #999999;
}
.payment-count-down {
display: flex;
justify-content: center;
align-items: center;
padding: 7rpx 25rpx;
border-radius: 60px;
margin-top: 10rpx;
font-size: 22rpx;
background-color: #FFFFFF;
color: #333333;
}
.payment-submit {
flex: 1;
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 74rpx;
font-size: 28rpx;
border-radius: 60px;
background: linear-gradient(270deg, #355883 0%, #254062 100%);
color: #FFFFFF;
}
.payment-submit--disabled::before {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100%;
display: block;
content: "";
background: rgba(255, 255, 255, 0.3) !important;
}

View File

@ -1,4 +0,0 @@
{
"navigationBarTitleText": "充值记录",
"usingComponents": {}
}

View File

@ -1 +0,0 @@
<view class="recharge-code"><view class="list"><mescroll-body class="vue-ref" vue-id="7cf22236-1" up="{{upOption}}" data-ref="mescrollRef" data-event-opts="{{[['^init',[['mescrollInit']]],['^up',[['upCallback']]],['^down',[['downCallback']]]]}}" bind:init="__e" bind:up="__e" bind:down="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="p-t-20"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="bg-white item"><view class="row-between"><view class="black mb10">{{item.desc}}</view><view class="xl primary">{{"+"+item.total}}</view></view><view class="xs muted">{{item.create_time}}</view></view></block></view></mescroll-body></view></view>

View File

@ -1,22 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.recharge-code .list .item {
padding: 20rpx 30rpx;
}
.recharge-code .list .item:not(:last-of-type) {
border-bottom: 1px solid #E5E5E5;
}

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "退款",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-line": "/components/uview-ui/components/u-line/u-line",
"u-button": "/components/uview-ui/components/u-button/u-button"
}
}

View File

@ -1 +0,0 @@
<view class="u-m-l-32 u-m-r-32"><view class="u-p-32 br16 bg-white u-m-t-16">滨江区XXX门店</view><view class="bg-white u-p-32 u-m-t-36 br8"><view class="row u-col-top"><view><u-image vue-id="79737a00-1" src="{{cloudPath+'img/banner.png'}}" width="124" height="124" border-radius="8" bind:__l="__l"></u-image></view><view><view class="u-font-32 u-m-l-16"><text class="bold-600">煎饼果子套餐</text><text class="u-font-24 u-m-l-8">x1</text></view><view class="sm text-999 u-m-l-16 u-m-t-8"><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text></view><view class="u-m-l-16 u-m-t-8 row"><view><price-format vue-id="79737a00-2" color="#FF4A18" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="u-m-l-8"><price-format vue-id="79737a00-3" lineThrough="{{true}}" color="#C0C0C0" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{16.9}}" bind:__l="__l"></price-format></view></view></view></view></view><view class="bg-white u-p-32 u-m-t-32"><view class="row-between"><view class="nr">商品总价</view><view><price-format vue-id="79737a00-4" color="#000" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="79737a00-5" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>订单运费</view><view>¥130.00</view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="79737a00-6" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>优惠券</view><view class="primary"><price-format vue-id="79737a00-7" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view><view class="u-m-t-24 u-m-b-24"><u-line vue-id="79737a00-8" color="#E5E6EB" bind:__l="__l"></u-line></view><view class="row-between mt10"><view>实付款</view><view class="primary"><price-format vue-id="79737a00-9" price="{{12.9}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view></view></view><view class="bg-white u-p-32 u-m-t-40 br8"><view class="bold-600 u-font-28">订单信息</view><view class="text-attr u-m-t-16"><view class="u-m-t-8 row-between"><view>订单编号:</view><view>134213234122321232123</view></view><view class="u-m-t-8 row-between"><view>支付方式:</view><view>微信支付</view></view><view class="u-m-t-8 row-between"><view>下单时间:</view><view>2022-11-10 15:26:07</view></view><view class="u-m-t-8 row-between"><view>付款时间:</view><view>2022-11-10 15:26:07</view></view><view class="u-m-t-8 row-between"><view>发货时间:</view><view>2022-11-10 15:26:07</view></view></view></view><view class="fixed row-end u-text-center btn-group bg-white u-p-t-20"><view><u-button vue-id="79737a00-10" hover-class="none" customStyle="{{({width:'160rpx',height:'80rpx',backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0',borderRadius:'8rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['mpLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">确认退款</u-button></view></view></view>

View File

@ -1,32 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
page {
background-color: #F6F8FA;
}
.text-attr {
color: #86909C;
}
.fixed {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding-bottom: env(safe-area-inset-bottom);
}
.btn-group > view {
height: 100rpx;
}

View File

@ -1,5 +0,0 @@
{
"usingComponents": {
"u-parse": "/components/uview-ui/components/u-parse/u-parse"
}
}

View File

@ -1 +0,0 @@
<view><view class="main"><u-parse vue-id="429052e4-1" html="{{content}}" bind:__l="__l"></u-parse></view></view>

View File

@ -1,19 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.main {
padding: 20rpx;
}

View File

@ -1,13 +0,0 @@
{
"navigationBarTitleText": "商品搜索",
"usingComponents": {
"u-sticky": "/components/uview-ui/components/u-sticky/u-sticky",
"u-search": "/components/uview-ui/components/u-search/u-search",
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-popup": "/components/uview-ui/components/u-popup/u-popup",
"u-number-box": "/components/uview-ui/components/u-number-box/u-number-box",
"shop-spec": "/components/shop-spec/shop-spec"
}
}

View File

@ -1,52 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.goods-search .header-wrap .search {
box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.03);
position: relative;
z-index: 1;
}
.goods-search .header-wrap .header {
height: 80rpx;
}
.goods-search .header-wrap .header .tag {
height: 100%;
flex: 1;
}
.goods-search .content .search-words {
padding-left: 24rpx;
padding-bottom: 20rpx;
}
.goods-search .content .search-words .title {
padding: 26rpx 0;
}
.goods-search .content .search-words .words .item {
line-height: 52rpx;
height: 52rpx;
padding: 0 24rpx;
background-color: #F5F5F5;
}
.goods-search .content .goods-list {
overflow: hidden;
}
.goods-search .buy {
position: fixed;
left: 0;
right: 0;
bottom: env(safe-area-inset-bottom);
height: 100rpx;
background-color: #212526;
}

View File

@ -1,11 +0,0 @@
{
"navigationBarTitleText": "商品详情",
"usingComponents": {
"u-swiper": "/components/uview-ui/components/u-swiper/u-swiper",
"price-format": "/components/price-format/price-format",
"u-line": "/components/uview-ui/components/u-line/u-line",
"u-button": "/components/uview-ui/components/u-button/u-button",
"u-image": "/components/uview-ui/components/u-image/u-image",
"shop-spec": "/components/shop-spec/shop-spec"
}
}

View File

@ -1 +0,0 @@
<view><view class="shop"><view><u-swiper vue-id="73adca00-1" list="{{goods.goods_image}}" name="uri" height="500" border-radius="0" mode="number" indicator-pos="bottomRight" bind:__l="__l"></u-swiper></view><view class="bg-white mx24 px24 u-m-t-24 u-padding-top-20 u-padding-bottom-20 br24"><view class="nr">{{goods.name}}</view><view class="mt10 row u-row-between"><view class="row"><view class="primary"><price-format vue-id="73adca00-2" price="{{goods.min_price}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view class="sale u-text-center primary u-m-l-12">0折</view><view class="primary u-m-l-12"><price-format vue-id="73adca00-3" lineThrough="{{true}}" color="#999" subscriptSize="{{22}}" firstSize="{{22}}" secondSize="{{22}}" price="{{goods.market_price}}" bind:__l="__l"></price-format></view></view><view class="text-999">已售66</view></view><view class="u-m-t-20 u-m-b-20"><u-line vue-id="73adca00-4" color="#eee" bind:__l="__l"></u-line></view><view><view><text>须知</text><text class="text-999 ml20">周一至周日可用</text></view><view class="row-between mt20"><view><text>保障</text><text class="text-999 ml20">随时退 过期自动退</text></view><view><u-button vue-id="73adca00-5" hover-class="none" customStyle="{{({width:'116rpx',height:'46rpx',lineHeight:'46rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['openSpec']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">选规格</u-button></view></view></view></view><view class="u-m-t-24"><view class="u-m-l-48 nr">详情</view><view class="bg-white mx24 px24 u-m-t-24 u-p-t-20 u-p-b-20 br24"><u-image vue-id="73adca00-6" src="{{cloudPath+'img/banner.png'}}" height="600" bind:__l="__l"></u-image></view></view><view class="u-m-t-24"><view class="u-m-l-48 nr">购买须知</view><view class="bg-white mx24 px24 u-m-t-24 u-p-t-20 u-p-b-20 br24">这里是购买须知的内容</view></view></view><view class="fixed bg-white row-between px48 u-p-t-20 u-p-b-20"><view class="column u-text-center"><view class="row-center"><u-image vue-id="73adca00-7" src="{{cloudPath+'img/icon_store.png'}}" width="48" height="48" bind:__l="__l"></u-image></view><view>门店</view></view><view class="u-m-l-64 flex1"><u-button vue-id="73adca00-8" hover-class="none" customStyle="{{({height:'92rpx',fontSize:'24rpx',backgroundColor:themeColor,color:'#fff',border:'none',paddingTop:'8rpx'})}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['showSpecFun']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">立即购买</u-button></view></view><shop-spec vue-id="73adca00-9" name="{{goods.name}}" goods="{{goods}}" value="{{showSpec}}" data-event-opts="{{[['^close',[['e0']]],['^confirm',[['confirmSpec']]],['^buynow',[['onBuy']]],['^input',[['__set_model',['','showSpec','$event',[]]]]]]}}" bind:close="__e" bind:confirm="__e" bind:buynow="__e" bind:input="__e" bind:__l="__l"></shop-spec></view>

View File

@ -1,32 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.shop {
padding-bottom: 180rpx;
}
.shop .sale {
background-color: #FEFBEA;
width: 100rpx;
height: 30rpx;
line-height: 30rpx;
}
.fixed {
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding-bottom: env(safe-area-inset-bottom);
}

View File

@ -1,11 +0,0 @@
{
"navigationBarTitleText": "购物车",
"enablePullDownRefresh": true,
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"price-format": "/components/price-format/price-format",
"u-number-box": "/components/uview-ui/components/u-number-box/u-number-box",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button"
}
}

View File

@ -1 +0,0 @@
<view class="shop-cart"><view class="u-m-32"><block wx:if="{{$root.g0>0}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="u-text-right nr" bindtap="__e">{{!isEdit?'编辑':'完成'}}</view></block><block wx:for="{{cartLists}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="u-m-t-40"><view class="bg-white br16 u-p-24 row"><view class="select checkbox"><checkbox class="checkbox" type="circle" value="{{item.cart_id+''}}" checked="{{item.selected==1}}" data-event-opts="{{[['tap',[['changOneSelect',['$0','$1'],[[['cartLists','',index,'cart_id']],[['cartLists','',index,'selected']]]]]]]}}" bindtap="__e"></checkbox></view><view class="row flex1 u-col-top"><view><u-image vue-id="{{'9fac4ca8-1-'+index}}" src="{{item.img}}" width="160" height="160" border-radius="8" bind:__l="__l"></u-image></view><view class="u-m-l-16"><navigator url="{{'/pages/shop/shop?id='+item.goods_id}}" hover-class="none"><view class="u-line-2">{{item.name}}</view></navigator><view class="sm text-999 u-m-t-8 attr u-text-center u-p-l-16 u-p-r-16 u-p-6-8 u-p-b-8"><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text><text class="u-m-l-8 u-m-r-8">|</text><text>味浓芳香</text></view><view class="u-m-t-16 row-between"><view class="primary"><price-format vue-id="{{'9fac4ca8-2-'+index}}" price="{{item.price}}" subscriptSize="{{22}}" firstSize="{{34}}" secondSize="{{26}}" bind:__l="__l"></price-format></view><view><block wx:if="{{!isEdit}}"><view><u-number-box vue-id="{{'9fac4ca8-3-'+index}}" disabled="{{item.cart_status!=0}}" value="{{item.goods_num}}" min="{{1}}" max="{{item.item_stock}}" data-event-opts="{{[['^change',[['countChange',['$event','$0','$1'],[[['cartLists','',index,'cart_id']],[['cartLists','',index]]]]]]]}}" bind:change="__e" bind:__l="__l"></u-number-box></view></block><block wx:if="{{isEdit}}"><view data-event-opts="{{[['tap',[['deleteCartGoods',['$0'],[[['cartLists','',index,'cart_id']]]]]]]}}" catchtap="__e"><u-icon vue-id="{{'9fac4ca8-4-'+index}}" name="trash" size="32" color="#999" bind:__l="__l"></u-icon></view></block></view></view></view></view></view></view></block><block wx:if="{{!(cartType!=2)}}"><view hidden="{{!(!(cartType!=2))}}" class="cart-null column-center mb20" style="padding:80rpx 0 50rpx;"><image class="img-null" src="{{cloudPath+'img/cart_null.png'}}"></image><view class="muted mb20">购物车暂无任何商品~</view></view></block></view><block wx:if="{{!isLogin}}"><view class="login column-center u-m-t-80"><image class="img-null" src="{{cloudPath+'img/cart_null.png'}}" width="1200" height="1200" mode="aspectFill"></image><view class="muted mt20">登录后才能查看购物车哦</view><navigator class="mt20 br60 row-center btn text-default" url="/pages/login/login" hover-class="none"><text>去登录</text></navigator></view></block><block wx:if="{{!(cartType!=1)}}"><view class="fixed footer bg-white w-full row-between u-col-center px32"><view><checkbox-group data-event-opts="{{[['change',[['changeAllSelect',['$event']]]]]}}" class="row checkbox" bindchange="__e"><checkbox id="checkAll" value="all" checked="{{isSelectedAll}}"></checkbox><label class="ml10" for="checkAll">全选</label></checkbox-group></view><view class="row"><view class="row-center"><view>合计:</view><view class="primary u-m-l-8" style="margin-top:-8rpx;"><price-format vue-id="9fac4ca8-5" price="{{totalPrice}}" subscriptSize="{{32}}" firstSize="{{40}}" secondSize="{{32}}" bind:__l="__l"></price-format></view></view><view class="u-m-l-24"><u-button vue-id="9fac4ca8-6" hover-class="none" customStyle="{{({width:'228rpx',height:'80rpx',backgroundColor:themeColor,color:'#fff',border:'none',padding:'16rpx 0',borderRadius:'64rpx'})}}" hair-line="{{false}}" data-event-opts="{{[['^click',[['goToConfirm']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">结算</u-button></view></view></view></block></view>

View File

@ -1,31 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.shop-cart {
padding-bottom: 200rpx;
}
.attr {
background-color: #F5F5F5;
border-radius: 88rpx;
}
.fixed {
height: 112rpx;
position: fixed;
bottom: 0px;
left: 0;
right: 0;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
}

View File

@ -1,7 +0,0 @@
{
"navigationBarTitleText": "签到",
"usingComponents": {
"u-image": "/components/uview-ui/components/u-image/u-image",
"u-button": "/components/uview-ui/components/u-button/u-button"
}
}

View File

@ -1 +0,0 @@
<view><view class="signin"><view class="bold-700 title">每日签到</view><view class="day"><text class="lg">已经连续签到</text><text>{{signDays+"天"}}</text></view><view class="row-between u-m-t-32 u-m-l-24 u-m-r-24"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['sigin-day','column-center',[(currentDay==item.$orig.days&&canSign==0)?'current':'',(currentDay==item.$orig.days&&item.$orig.status==1||currentDay!=item.$orig.days&&item.$orig.status==1)?'normal':'',(currentDay==item.$orig.days&&item.$orig.status==0||currentDay!=item.$orig.days&&item.$orig.status==0)?'expire':'']]}}"><view class="date mt10">{{"第"+item.$orig.days+"天"}}</view><view class="mt10"><u-image vue-id="{{'4a92de40-1-'+index}}" src="{{item.m0}}" width="30" height="30" bind:__l="__l"></u-image></view><view class="points mt10">{{"x"+item.$orig.integral}}</view></view></block></view><view data-event-opts="{{[['tap',[['userSignFun',['$event']]]]]}}" class="u-m-t-26 signin-btn" bindtap="__e">{{''+(canSign==1?'已签到':'签到')+''}}</view></view><view class="bg-white ad row-between u-padding-left-20 u-padding-right-20"><view class="row"><view><u-image vue-id="4a92de40-2" src="{{cloudPath+'img/red-packet.png'}}" width="90" height="90" bind:__l="__l"></u-image></view><view class="ml20"><view class="bold-600 xs">看广告获取积分</view><view class="text-AE xxs u-m-t-12">每日观看5分钟最高可领取376金币</view></view></view><view><u-button vue-id="4a92de40-3" hover-class="none" customStyle="{{$root.a0}}" plain="{{true}}" hair-line="{{false}}" shape="circle" data-event-opts="{{[['^click',[['mobileLogin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">看广告</u-button></view></view></view>

View File

@ -1,79 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.signin {
height: 570rpx;
margin: 24rpx 20rpx 0;
background-image: url(http://jianbing-media.stnav.com/frontend/img/signin-bg.png);
background-repeat: no-repeat;
background-size: cover;
}
.signin .title {
font-size: 40rpx;
padding-top: 70rpx;
}
.signin .day {
margin-top: 72rpx;
margin-left: 24rpx;
}
.signin .day > text:first-child {
color: #141414;
}
.signin .day > text:last-child {
color: #099DF1;
font-size: 40rpx;
margin-left: 18rpx;
}
.signin .expire {
background-color: #eee;
color: #AFAFAF;
}
.signin .normal {
background-color: #F5F5F4;
color: #141414;
}
.signin .current {
background: linear-gradient(137deg, #099DF1 0%, #7BC7F2 100%);
color: #141414;
}
.signin .sigin-day {
width: 80rpx;
height: 150rpx;
border-radius: 40rpx;
padding: 8rpx;
}
.signin .sigin-day .date,
.signin .sigin-day .points {
white-space: nowrap;
font-size: 20rpx;
}
.signin .signin-btn {
background-color: #099DF1;
border-radius: 48rpx;
color: #fff;
height: 80rpx;
line-height: 80rpx;
text-align: center;
margin: 0 120rpx;
}
.ad {
height: 140rpx;
margin: 36rpx 20rpx;
border-radius: 18rpx;
}
.ad .text-AE {
color: #AEAEAE;
}

View File

@ -1,8 +0,0 @@
{
"navigationBarTitleText": "选择门店",
"usingComponents": {
"u-tag": "/components/uview-ui/components/u-tag/u-tag",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-image": "/components/uview-ui/components/u-image/u-image"
}
}

View File

@ -1,55 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.store .store-bg {
background: linear-gradient(180deg, #0CB5F1 0%, rgba(207, 235, 245, 0) 100%);
height: 420rpx;
}
.store .address {
position: absolute;
top: 24rpx;
margin: 0 24rpx;
padding: 0 20rpx;
left: 0;
right: 0;
border-radius: 24rpx;
height: 128rpx;
}
.store .store-list {
position: absolute;
top: 176rpx;
left: 0;
right: 0;
}
.store .store-list .block {
display: flex;
align-items: flex-start;
box-sizing: border-box;
}
.store .store-list .block .time {
color: #ACACAC;
}
.store .store-list .block .order::before {
content: "";
display: block;
width: 40rpx;
height: 210rpx;
border-left: 4rpx solid #eee;
margin-left: 10rpx;
}
.store .store-list .block .order {
white-space: nowrap;
}

View File

@ -1,9 +0,0 @@
{
"navigationBarTitleText": "门店",
"usingComponents": {
"u-search": "/components/uview-ui/components/u-search/u-search",
"u-icon": "/components/uview-ui/components/u-icon/u-icon",
"u-button": "/components/uview-ui/components/u-button/u-button",
"cate-one": "/components/cate-one/cate-one"
}
}

View File

@ -1 +0,0 @@
<view class="content"><view data-event-opts="{{[['tap',[['toSearch',['$event']]]]]}}" class="search" bindtap="__e"><u-search vue-id="2553bd08-1" placeholder="请输入商品名" disabled="{{true}}" bind:__l="__l"></u-search></view><view><view class="store u-flex u-row-between u-p-32"><view><view data-event-opts="{{[['tap',[['chooseStore',['$event']]]]]}}" class="lg bold-400 u-flex" bindtap="__e">MEET轻食店<u-icon class="right-icon u-m-l-4" vue-id="2553bd08-2" name="arrow-right" size="28" bind:__l="__l"></u-icon></view><view data-event-opts="{{[['tap',[['chooseAddress',['$event']]]]]}}" class="u-flex u-m-t-8" bindtap="__e"><u-icon vue-id="2553bd08-3" name="map" size="32" bind:__l="__l"></u-icon>门店地址</view></view><view><u-button vue-id="2553bd08-4" shape="circle" hair-line="{{false}}" hover-class="none" customStyle="{{({backgroundColor:themeColor,color:'#fff',border:'none',padding:'36rpx'})}}" data-event-opts="{{[['^click',[['signin']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">自取</u-button></view></view><cate-one vue-id="2553bd08-5" list="{{cateList}}" bind:__l="__l"></cate-one></view></view>

View File

@ -1,20 +0,0 @@
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
.store {
background-color: #FFFAFB;
height: 108rpx;
}