Merge remote-tracking branch 'origin/main'

main
13233904609 4 months ago
commit 4455961bc4

@ -1,2 +1,5 @@
# SHOPRO_DEV_BASE_URL = https://yanghaodong.51vip.biz # SHOPRO_DEV_BASE_URL = https://yanghaodong.51vip.biz
SHOPRO_DEV_BASE_URL = http://192.168.1.118:48080 # SHOPRO_DEV_BASE_URL = http://192.168.1.114:48080
# 线上地址
SHOPRO_DEV_BASE_URL = https://zda.huamar.com

@ -1,2 +1,2 @@
SHOPRO_DEV_BASE_URL = https://123456789.shopro.cn SHOPRO_DEV_BASE_URL = https://zda.huamar.com

@ -15,7 +15,7 @@
## 🐯 商城简介 ## 🐯 商城简介
**芋道商城**,基于 [芋道开发平台](https://github.com/YunaiV/ruoyi-vue-pro) 构建,以开发者为中心,打造中国第一流的 Java 开源商城系统,全部开源,个人与企业可 100% 免费使用。 **郑大钒水**,基于 [郑大钒水平台](https://github.com/YunaiV/ruoyi-vue-pro) 构建,以开发者为中心,打造中国第一流的 Java 开源商城系统,全部开源,个人与企业可 100% 免费使用。
> 有任何问题,或者想要的功能,可以在 Issues 中提给艿艿。 > 有任何问题,或者想要的功能,可以在 Issues 中提给艿艿。
> >

@ -184,7 +184,7 @@
"versionCode": 100 "versionCode": 100
}, },
"mp-weixin": { "mp-weixin": {
"appid": "wx53b5ac263b9cdb5b", "appid": "wx879300e525dc9847",
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"minified": true, "minified": true,

@ -1,9 +1,9 @@
{ {
"id": "shopro", "id": "shopro",
"name": "shopro", "name": "shopro",
"displayName": "芋道商城", "displayName": "郑大钒水",
"version": "2.1.0", "version": "2.1.0",
"description": "芋道商城一套代码同时发行到iOS、Android、H5、微信小程序多个平台请使用手机扫码快速体验强大功能", "description": "郑大钒水一套代码同时发行到iOS、Android、H5、微信小程序多个平台请使用手机扫码快速体验强大功能",
"scripts": { "scripts": {
"prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"" "prettier": "prettier --write \"{pages,sheep}/**/*.{js,json,tsx,css,less,scss,vue,html,md}\""
}, },

@ -186,8 +186,8 @@
items: [], // items: [], //
price: {}, // price: {}, //
}, },
deliType:2, deliType:2,
pickUpInfo:{},// pickUpInfo:{},//
addressInfo: {}, // addressInfo: {}, //
showCoupon: false, // showCoupon: false, //
couponInfo: [], // couponInfo: [], //
@ -230,9 +230,18 @@
// //
function onConfirm() { function onConfirm() {
if (!state.addressInfo.id) { console.log(state.deliType, '11111111111111111');
sheep.$helper.toast('请选择收货地址');
return; if (state.deliType == 1) {
if (!state.addressInfo.id) {
sheep.$helper.toast('请选择收货地址');
return;
}
}else{
if (!state.pickUpInfo.id) {
sheep.$helper.toast('请选择自提门店');
return;
}
} }
submitOrder(); submitOrder();
} }
@ -250,7 +259,7 @@
items: state.orderPayload.items, items: state.orderPayload.items,
couponId: state.orderPayload.couponId, couponId: state.orderPayload.couponId,
addressId: state.deliType === 1 ? state.addressInfo.id: null, addressId: state.deliType === 1 ? state.addressInfo.id: null,
pickUpStoreId:state.deliType === 2 ? state.pickUpInfo.id : null, pickUpStoreId:state.deliType === 2 ? state.pickUpInfo.id : null,
deliveryType: state.deliType, // TODO deliveryType: state.deliType, // TODO
pointStatus: false, // TODO pointStatus: false, // TODO
combinationActivityId: state.orderPayload.combinationActivityId, combinationActivityId: state.orderPayload.combinationActivityId,

@ -17,7 +17,7 @@
<view class="pay-title ss-p-l-30 ss-m-y-30">选择支付方式</view> <view class="pay-title ss-p-l-30 ss-m-y-30">选择支付方式</view>
<radio-group @change="onTapPay"> <radio-group @change="onTapPay">
<label class="pay-type-item" v-for="item in state.payMethods" :key="item.title"> <label class="pay-type-item" v-for="item in state.payMethods" :key="item.title">
<view <view v-if="!item.disabled"
class="pay-item ss-flex ss-col-center ss-row-between ss-p-x-30 border-bottom" class="pay-item ss-flex ss-col-center ss-row-between ss-p-x-30 border-bottom"
:class="{ 'disabled-pay-item': item.disabled }" :class="{ 'disabled-pay-item': item.disabled }"
> >

@ -2,7 +2,7 @@
<template> <template>
<view> <view>
<!-- 标题栏 --> <!-- 标题栏 -->
<view class="head-box ss-m-b-60"> <!-- <view class="head-box ss-m-b-60">
<view class="ss-flex ss-m-b-20"> <view class="ss-flex ss-m-b-20">
<view class="head-title head-title-line head-title-animation">短信登录</view> <view class="head-title head-title-line head-title-animation">短信登录</view>
<view class="head-title-active ss-m-r-40" @tap="showAuthModal('accountLogin')"> <view class="head-title-active ss-m-r-40" @tap="showAuthModal('accountLogin')">
@ -10,10 +10,10 @@
</view> </view>
</view> </view>
<view class="head-subtitle">未注册的手机号验证后自动注册账号</view> <view class="head-subtitle">未注册的手机号验证后自动注册账号</view>
</view> </view> -->
<!-- 表单项 --> <!-- 表单项 -->
<uni-forms <!-- <uni-forms
ref="smsLoginRef" ref="smsLoginRef"
v-model="state.model" v-model="state.model"
:rules="state.rules" :rules="state.rules"
@ -54,7 +54,7 @@
</template> </template>
</uni-easyinput> </uni-easyinput>
</uni-forms-item> </uni-forms-item>
</uni-forms> </uni-forms> -->
</view> </view>
</template> </template>

@ -104,7 +104,7 @@
width: 100%; width: 100%;
.auto-login-btn { .auto-login-btn {
width: 68rpx; width: 68rpx;
height: 68rpx; height: 168rpx;
border-radius: 50%; border-radius: 50%;
margin: 0 30rpx; margin: 0 30rpx;
} }

@ -31,7 +31,7 @@
> >
<!-- 7.1 微信小程序的快捷登录 --> <!-- 7.1 微信小程序的快捷登录 -->
<view v-if="sheep.$platform.name === 'WechatMiniProgram'" class="ss-flex register-box"> <view v-if="sheep.$platform.name === 'WechatMiniProgram'" class="ss-flex register-box">
<view class="register-title">还没有账号?</view> <!-- <view class="register-title">还没有账号?</view> -->
<button class="ss-reset-button login-btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber"> <button class="ss-reset-button login-btn" open-type="getPhoneNumber" @getphonenumber="getPhoneNumber">
快捷登录 快捷登录
</button> </button>

@ -36,14 +36,14 @@
</button> </button>
<!-- 操作 生成链接 --> <!-- 操作 生成链接 -->
<button <!-- <button
v-if="shareConfig.methods.includes('link')" v-if="shareConfig.methods.includes('link')"
class="share-item share-btn ss-flex-col ss-col-center" class="share-item share-btn ss-flex-col ss-col-center"
@tap="onShareByCopyLink" @tap="onShareByCopyLink"
> >
<image class="share-img" :src="sheep.$url.static('/static/img/shop/share/share_link.png')" mode="" /> <image class="share-img" :src="sheep.$url.static('/static/img/shop/share/share_link.png')" mode="" />
<text class="share-title">复制链接</text> <text class="share-title">复制链接</text>
</button> </button> -->
</view> </view>
<view class="share-foot ss-flex ss-row-center ss-col-center" @tap="closeShareModal"> <view class="share-foot ss-flex ss-row-center ss-col-center" @tap="closeShareModal">
取消 取消

@ -164,10 +164,11 @@ const checkUpdate = async (silence = true) => {
// 获取订阅消息模板 // 获取订阅消息模板
async function getSubscribeTemplate() { async function getSubscribeTemplate() {
const { error, data } = await third.wechat.subscribeTemplate(); // const { error, data } = await third.wechat.subscribeTemplate();
if (error === 0) { // if (error === 0) {
subscribeEventList = data; // subscribeEventList = data;
} // }
console.log('获取订阅消息模板');
} }
// 订阅消息 // 订阅消息

Loading…
Cancel
Save