微信云开发官网
https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/guide/model/init-sdk.html const { init } = require('@cloudbase/wx-cloud-client-sdk') 这行代码不是小程序段代码写的么?能在云函数中写?写了运行一直报错啊
https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/guide/wechatpay/profitsharing.htmlhttps://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/guide/wechatpay/profitsharing.html 调用cloudpay提示无分账权限,商户号已开通分账功能。
现象:【任何】云函数(含最小函数)均无法创建/更新,报"更新云函数失败" 已排除:未欠费、未隔离、主账号、换函数名/最小代码/IDE/控制台均失败 API 查询环境返回空列表 环境ID:cloud1-2ge0b1zp2d5dac56 函数名称:getopenid
云开发调用sendSmsV2 或 sendSms,接口返回正常,但是看日志全是MK:100C)运营商关键词拦截? 参考问题: https://developers.weixin.qq.com/community/develop/doc/000c6cd9e9cae002ce04908b66e400 https://developers.weixin.qq.com/community/minihome/doc/000c84e49743f8ab6de3283e760800 [图片] 【XX车位】功能上新,跳转小程序 https://tcbe.cn/RShTGPvL,拒收请回复R 【XX车位】你好,跳转小程序 https://tcbe.cn/RShTGPvL,拒收请回复R 以上两个简单的都被 运营商拦截关键字 是否可能是【XX车位】未通过腾讯云备案导致?但是你们腾讯云短信服务现在也不再允许使用小程序名称备案短信签名了~
[图片]在尝试申请开通微信小程序云开发时,提示没有免费体验资格,想了解下什么原因
在微信开发者工具中无法打开云开发控制台,尝试以下两个方案后也没有解决 遇到微信云开发控制台打不开的情况,您可以尝试以下解决方案: 1. 更新微信开发者工具:确保您使用的微信开发者工具是最新版本,因为旧版本在插件更新时可能会出现问题。 2. 临时解决方案:如果更新开发者工具后问题仍然存在,可以尝试以下步骤: - 打开微信开发者工具,点击左上角“微信开发者工具”菜单 - 选择“调试”选项 - 点击“插件目录”以打开插件目录 - 将插件目录(WeappPlugins)重命名(例如改为 WeappPlugins_1)
[图片]/* pages/cart/cart.wxss */ .container { background-color: #f5f5f5; min-height: 100vh; padding: 0 16rpx 320rpx 16rpx; box-sizing: border-box; width: 100%; max-width: 100%; } .empty-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80vh; } .empty-cart image { width: 200rpx; height: 200rpx; margin-bottom: 20rpx; opacity: 0.5; } .empty-text { font-size: 28rpx; color: #999; margin-bottom: 30rpx; } .go-shopping-btn { width: 200rpx; height: 70rpx; background-color: #4CAF50; color: #fff; border-radius: 35rpx; font-size: 28rpx; min-height: 70rpx; } .cart-content { padding-bottom: 20rpx; } .member-benefit-bar { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); padding: 15rpx 15rpx; margin: 10rpx 0; border-radius: 12rpx; } .benefit-content { display: flex; align-items: center; flex-wrap: wrap; } .member-icon { font-size: 32rpx; margin-right: 10rpx; } .benefit-text { font-size: 26rpx; color: #333; flex: 1; } .benefit-amount { font-size: 28rpx; color: #E53E3E; font-weight: bold; } .points-tip { width: 100%; margin-top: 10rpx; font-size: 24rpx; color: #666; } .smart-recommend-bar { background-color: #FFF3E0; margin: 10rpx 0; border-radius: 12rpx; overflow: hidden; } .recommend-tip { display: flex; justify-content: space-between; align-items: center; padding: 15rpx 20rpx; border-bottom: 1rpx solid rgba(255, 152, 0, 0.3); } .tip-text { font-size: 24rpx; color: #E65100; flex: 1; } .recommend-btn { width: 120rpx; height: 50rpx; background-color: #FF9800; color: #fff; border-radius: 25rpx; font-size: 24rpx; min-height: 50rpx; } .recommend-products { white-space: nowrap; padding: 15rpx; } .recommend-item { display: inline-block; width: 160rpx; margin-right: 15rpx; text-align: center; } .recommend-item image { width: 120rpx; height: 120rpx; border-radius: 8rpx; } .recommend-name { display: block; font-size: 22rpx; color: #333; margin-top: 8rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .recommend-price { display: block; font-size: 24rpx; color: #E53E3E; font-weight: bold; } .delivery-mode-bar { display: flex; background-color: #fff; margin: 8rpx 0; border-radius: 10rpx; overflow: hidden; padding: 4rpx; width: 100%; box-sizing: border-box; } .mode-option { flex: 1; padding: 12rpx 8rpx; text-align: center; border: 2rpx solid #e5e5e5; transition: all 0.3s; border-radius: 6rpx; margin: 0 3rpx; min-width: 0; } .mode-option.active { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.1); } .mode-icon { font-size: 24rpx; display: block; margin-bottom: 2rpx; } .mode-text { font-size: 22rpx; color: #333; display: block; line-height: 1.2; } .mode-tip { font-size: 14rpx; color: #999; display: block; margin-top: 4rpx; line-height: 1.2; } .select-all-bar { display: flex; align-items: center; background-color: #fff; padding: 15rpx 15rpx; margin: 0; border-radius: 12rpx 12rpx 0 0; width: 100%; box-sizing: border-box; justify-content: flex-start; align-items: center; } .checkbox { width: 40rpx; height: 40rpx; border: 2rpx solid #e5e5e5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15rpx; } .checkbox.checked { background-color: #4CAF50; border-color: #4CAF50; } .check-icon { color: #fff; font-size: 24rpx; font-weight: bold; } .selected-count { font-size: 24rpx; color: #999; margin-left: 20rpx; } .cart-list { background-color: #fff; margin: 0; border-radius: 0 0 12rpx 12rpx; overflow: hidden; width: 100%; box-sizing: border-box; } .cart-item { display: flex; padding: 20rpx 16rpx; border-bottom: 1rpx solid #f0f0f0; position: relative; box-sizing: border-box; width: 100%; max-width: 100%; flex-wrap: nowrap; align-items: flex-start; overflow: visible; } .cart-item.invalid { opacity: 0.6; } .cart-item.expiring { border-left: 4rpx solid #FF9800; } .invalid-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; } .invalid-text { font-size: 28rpx; color: #999; margin-bottom: 20rpx; } .replace-btn { width: 200rpx; height: 60rpx; background-color: #4CAF50; color: #fff; border-radius: 30rpx; font-size: 26rpx; margin-bottom: 15rpx; min-height: 60rpx; } .remove-invalid-btn { width: 200rpx; height: 60rpx; background-color: #fff; color: #999; border: 1rpx solid #e5e5e5; border-radius: 30rpx; font-size: 26rpx; min-height: 60rpx; } .expiring-tip { display: flex; align-items: center; padding: 10rpx 15rpx; background-color: #FFF3E0; border-radius: 8rpx; margin-bottom: 10rpx; } .expiring-icon { margin-right: 8rpx; } .expiring-tip text { font-size: 22rpx; color: #E65100; } .item-info { flex: 1; display: flex; margin-left: 12rpx; min-width: 0; box-sizing: border-box; flex-shrink: 1; max-width: 100%; overflow: visible; } .item-info image { width: 110rpx; height: 110rpx; border-radius: 8rpx; flex-shrink: 0; } .item-details { flex: 1; margin-left: 12rpx; display: flex; flex-direction: column; min-width: 0; flex-shrink: 1; max-width: 100%; overflow: visible; } .item-tags { display: flex; flex-wrap: wrap; margin-bottom: 6rpx; max-width: 100%; } .tag { font-size: 18rpx; padding: 3rpx 8rpx; border-radius: 4rpx; margin-right: 6rpx; margin-bottom: 4rpx; } .pick-tag { background-color: #E8F5E9; color: #2E7D32; } .retail-tag { background-color: #E3F2FD; color: #1565C0; } .member-tag { background-color: #FFF8E1; color: #F57F17; } .item-name { font-size: 26rpx; color: #333; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex-shrink: 1; word-break: break-all; min-height: 70rpx; } .item-spec { font-size: 22rpx; color: #999; margin: 6rpx 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .stock-warning { display: flex; align-items: center; padding: 6rpx 10rpx; background-color: #FFEBEE; border-radius: 6rpx; margin: 6rpx 0; max-width: 100%; overflow: hidden; } .warning-icon { margin-right: 4rpx; flex-shrink: 0; } .warning-text { font-size: 20rpx; color: #C62828; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pick-stock, .retail-stock { font-size: 20rpx; color: #666; margin: 4rpx 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .price-quantity-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10rpx; width: 100%; flex-shrink: 1; } .price-container { display: flex; align-items: center; flex-wrap: wrap; } .item-price { font-size: 32rpx; color: #E53E3E; font-weight: bold; margin-right: 10rpx; } .original-price { font-size: 24rpx; color: #999; text-decoration: line-through; margin-right: 10rpx; } .member-discount-label { font-size: 20rpx; color: #FF9800; background-color: #FFF3E0; padding: 2rpx 8rpx; border-radius: 4rpx; } .quantity-control { display: flex; align-items: center; flex-shrink: 0; } .quantity-btn { width: 50rpx; height: 50rpx; border: 1rpx solid #e5e5e5; border-radius: 8rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; background-color: #f5f5f5; min-height: 50rpx; flex-shrink: 0; } .quantity { width: 70rpx; text-align: center; font-size: 26rpx; flex-shrink: 0; } .quantity-input { width: 90rpx; text-align: center; font-size: 28rpx; flex-shrink: 0; border: none; background: transparent; outline: none; height: 50rpx; line-height: 50rpx; padding: 0; margin: 0; color: #333; } .item-actions { display: flex; flex-direction: column; justify-content: center; margin-left: 8rpx; flex-shrink: 0; } .action-btn { padding: 8rpx 12rpx; font-size: 22rpx; border-radius: 6rpx; margin-bottom: 8rpx; min-height: 44rpx; } .aftersale-btn { background-color: #f5f5f5; color: #666; } .delete-btn { background-color: transparent; color: #999; font-size: 28rpx; } .stored-value-section, .points-deduct-section { background-color: #fff; margin: 10rpx 0; padding: 16rpx; border-radius: 12rpx; box-sizing: border-box; max-width: 100%; overflow: hidden; } .stored-value-info, .points-info { display: flex; align-items: center; margin-bottom: 15rpx; } .stored-label, .points-label { font-size: 26rpx; color: #666; } .stored-amount { font-size: 32rpx; color: #E53E3E; font-weight: bold; } .points-amount { font-size: 28rpx; color: #FF9800; font-weight: bold; } .points-tip { font-size: 24rpx; color: #999; margin-left: 10rpx; } .stored-value-use, .points-use { display: flex; align-items: center; } .stored-value-use text, .points-use text { font-size: 26rpx; color: #333; margin-left: 10rpx; } .shipping-tip-bar { background-color: #E8F5E9; margin: 10rpx 0; padding: 12rpx 16rpx; border-radius: 12rpx; font-size: 24rpx; color: #2E7D32; box-sizing: border-box; max-width: 100%; overflow: hidden; } .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: #fff; border-top: 1rpx solid #e5e5e5; padding: 12rpx 16rpx; z-index: 100; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); box-sizing: border-box; max-width: 100%; overflow-x: hidden; } .price-summary { margin-bottom: 15rpx; } .price-row { display: flex; justify-content: space-between; align-items: center; padding: 8rpx 0; } .price-label { font-size: 26rpx; color: #666; } .price-value { font-size: 26rpx; color: #333; } .price-row.discount .price-value { color: #4CAF50; } .price-row.total { border-top: 1rpx solid #f0f0f0; padding-top: 15rpx; margin-top: 10rpx; } .price-row.total .price-label { font-size: 28rpx; color: #333; font-weight: bold; } .total-amount { font-size: 36rpx; color: #E53E3E; font-weight: bold; } .points-earn-tip { text-align: right; font-size: 22rpx; color: #FF9800; margin-top: 8rpx; } .checkout-btn { width: 100%; height: 80rpx; background-color: #4CAF50; color: #fff; border-radius: 40rpx; font-size: 30rpx; min-height: 80rpx; } .checkout-btn.disabled, .checkout-btn:disabled { background-color: #ccc; } .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { width: 85%; max-height: 80vh; background-color: #fff; border-radius: 16rpx; overflow: hidden; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 25rpx 30rpx; border-bottom: 1rpx solid #f0f0f0; } .modal-title { font-size: 32rpx; color: #333; font-weight: bold; } .modal-close { font-size: 40rpx; color: #999; padding: 10rpx; } .modal-body { padding: 30rpx; max-height: 60vh; overflow-y: auto; } .modal-footer { display: flex; border-top: 1rpx solid #f0f0f0; } .cancel-btn, .confirm-btn { flex: 1; height: 90rpx; font-size: 30rpx; border-radius: 0; min-height: 90rpx; } .cancel-btn { background-color: #fff; color: #666; border-right: 1rpx solid #f0f0f0; } .confirm-btn { background-color: #4CAF50; color: #fff; } .confirm-btn.disabled, .confirm-btn:disabled { background-color: #ccc; } .form-item { margin-bottom: 25rpx; } .form-label { font-size: 28rpx; color: #333; margin-bottom: 15rpx; display: block; } .picker-value { padding: 20rpx; background-color: #f5f5f5; border-radius: 8rpx; font-size: 28rpx; color: #333; } .appointment-products { margin-bottom: 25rpx; } .section-title { font-size: 26rpx; color: #666; margin-bottom: 15rpx; } .product-list-mini { background-color: #f9f9f9; border-radius: 8rpx; padding: 15rpx; } .product-mini { display: flex; justify-content: space-between; padding: 10rpx 0; border-bottom: 1rpx solid #f0f0f0; } .product-mini:last-child { border-bottom: none; } .product-name-mini { font-size: 26rpx; color: #333; } .product-quantity-mini { font-size: 26rpx; color: #999; } .stock-info { display: flex; align-items: center; padding: 15rpx; background-color: #f5f5f5; border-radius: 8rpx; } .stock-label { font-size: 26rpx; color: #666; } .stock-value { font-size: 28rpx; color: #4CAF50; font-weight: bold; } .stock-value.low { color: #E53E3E; } .agreement-content { padding: 10rpx 0; } .agreement-item { display: flex; align-items: center; padding: 15rpx 0; } .agreement-item text { font-size: 26rpx; color: #333; } .agreement-item .link { color: #4CAF50; } .payment-options { padding: 10rpx 0; } .payment-option { display: flex; align-items: center; padding: 25rpx; border: 2rpx solid #e5e5e5; border-radius: 12rpx; margin-bottom: 15rpx; } .payment-option.selected { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.05); } .option-icon { font-size: 40rpx; margin-right: 20rpx; } .option-info { flex: 1; } .option-name { font-size: 28rpx; color: #333; display: block; } .option-balance { font-size: 24rpx; color: #999; display: block; margin-top: 5rpx; } .option-amount { font-size: 32rpx; color: #E53E3E; font-weight: bold; } .points-deduct-info { text-align: center; padding: 15rpx; background-color: #FFF3E0; border-radius: 8rpx; font-size: 24rpx; color: #E65100; } .pending-cart-info { text-align: center; padding: 30rpx; } .pending-cart-info image { width: 120rpx; height: 120rpx; margin-bottom: 20rpx; } .pending-text { font-size: 30rpx; color: #333; display: block; margin-bottom: 15rpx; } .pending-tip { font-size: 24rpx; color: #999; display: block; } .replace-info { margin-bottom: 25rpx; } .replace-text { font-size: 28rpx; color: #333; display: block; margin-bottom: 10rpx; } .replace-tip { font-size: 26rpx; color: #666; display: block; } .replace-products { display: flex; flex-direction: column; } .replace-item { display: flex; align-items: center; padding: 20rpx; border: 2rpx solid #e5e5e5; border-radius: 12rpx; margin-bottom: 15rpx; } .replace-item.selected { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.05); } .replace-item image { width: 100rpx; height: 100rpx; border-radius: 8rpx; margin-right: 20rpx; } .replace-item-info { flex: 1; } .replace-item-name { font-size: 28rpx; color: #333; display: block; } .replace-item-price { font-size: 28rpx; color: #E53E3E; font-weight: bold; display: block; margin-top: 8rpx; } .select-indicator { width: 40rpx; height: 40rpx; background-color: #4CAF50; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24rpx; } 还有: /* pages/cart/cart.wxss */ .container { background-color: #f5f5f5; min-height: 100vh; padding: 0 16rpx 320rpx 16rpx; box-sizing: border-box; width: 100%; max-width: 100%; } .empty-cart { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 80vh; } .empty-cart image { width: 200rpx; height: 200rpx; margin-bottom: 20rpx; opacity: 0.5; } .empty-text { font-size: 28rpx; color: #999; margin-bottom: 30rpx; } .go-shopping-btn { width: 200rpx; height: 70rpx; background-color: #4CAF50; color: #fff; border-radius: 35rpx; font-size: 28rpx; min-height: 70rpx; } .cart-content { padding-bottom: 20rpx; } .member-benefit-bar { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); padding: 15rpx 15rpx; margin: 10rpx 0; border-radius: 12rpx; } .benefit-content { display: flex; align-items: center; flex-wrap: wrap; } .member-icon { font-size: 32rpx; margin-right: 10rpx; } .benefit-text { font-size: 26rpx; color: #333; flex: 1; } .benefit-amount { font-size: 28rpx; color: #E53E3E; font-weight: bold; } .points-tip { width: 100%; margin-top: 10rpx; font-size: 24rpx; color: #666; } .smart-recommend-bar { background-color: #FFF3E0; margin: 10rpx 0; border-radius: 12rpx; overflow: hidden; } .recommend-tip { display: flex; justify-content: space-between; align-items: center; padding: 15rpx 20rpx; border-bottom: 1rpx solid rgba(255, 152, 0, 0.3); } .tip-text { font-size: 24rpx; color: #E65100; flex: 1; } .recommend-btn { width: 120rpx; height: 50rpx; background-color: #FF9800; color: #fff; border-radius: 25rpx; font-size: 24rpx; min-height: 50rpx; } .recommend-products { white-space: nowrap; padding: 15rpx; } .recommend-item { display: inline-block; width: 160rpx; margin-right: 15rpx; text-align: center; } .recommend-item image { width: 120rpx; height: 120rpx; border-radius: 8rpx; } .recommend-name { display: block; font-size: 22rpx; color: #333; margin-top: 8rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .recommend-price { display: block; font-size: 24rpx; color: #E53E3E; font-weight: bold; } .delivery-mode-bar { display: flex; background-color: #fff; margin: 8rpx 0; border-radius: 10rpx; overflow: hidden; padding: 4rpx; width: 100%; box-sizing: border-box; } .mode-option { flex: 1; padding: 12rpx 8rpx; text-align: center; border: 2rpx solid #e5e5e5; transition: all 0.3s; border-radius: 6rpx; margin: 0 3rpx; min-width: 0; } .mode-option.active { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.1); } .mode-icon { font-size: 24rpx; display: block; margin-bottom: 2rpx; } .mode-text { font-size: 22rpx; color: #333; display: block; line-height: 1.2; } .mode-tip { font-size: 14rpx; color: #999; display: block; margin-top: 4rpx; line-height: 1.2; } .select-all-bar { display: flex; align-items: center; background-color: #fff; padding: 15rpx 15rpx; margin: 0; border-radius: 12rpx 12rpx 0 0; width: 100%; box-sizing: border-box; justify-content: flex-start; align-items: center; } .checkbox { width: 40rpx; height: 40rpx; border: 2rpx solid #e5e5e5; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15rpx; } .checkbox.checked { background-color: #4CAF50; border-color: #4CAF50; } .check-icon { color: #fff; font-size: 24rpx; font-weight: bold; } .selected-count { font-size: 24rpx; color: #999; margin-left: 20rpx; } .cart-list { background-color: #fff; margin: 0; border-radius: 0 0 12rpx 12rpx; overflow: hidden; width: 100%; box-sizing: border-box; } .cart-item { display: flex; padding: 20rpx 16rpx; border-bottom: 1rpx solid #f0f0f0; position: relative; box-sizing: border-box; width: 100%; max-width: 100%; flex-wrap: nowrap; align-items: flex-start; overflow: visible; } .cart-item.invalid { opacity: 0.6; } .cart-item.expiring { border-left: 4rpx solid #FF9800; } .invalid-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 255, 255, 0.9); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; } .invalid-text { font-size: 28rpx; color: #999; margin-bottom: 20rpx; } .replace-btn { width: 200rpx; height: 60rpx; background-color: #4CAF50; color: #fff; border-radius: 30rpx; font-size: 26rpx; margin-bottom: 15rpx; min-height: 60rpx; } .remove-invalid-btn { width: 200rpx; height: 60rpx; background-color: #fff; color: #999; border: 1rpx solid #e5e5e5; border-radius: 30rpx; font-size: 26rpx; min-height: 60rpx; } .expiring-tip { display: flex; align-items: center; padding: 10rpx 15rpx; background-color: #FFF3E0; border-radius: 8rpx; margin-bottom: 10rpx; } .expiring-icon { margin-right: 8rpx; } .expiring-tip text { font-size: 22rpx; color: #E65100; } .item-info { flex: 1; display: flex; margin-left: 12rpx; min-width: 0; box-sizing: border-box; flex-shrink: 1; max-width: 100%; overflow: visible; } .item-info image { width: 110rpx; height: 110rpx; border-radius: 8rpx; flex-shrink: 0; } .item-details { flex: 1; margin-left: 12rpx; display: flex; flex-direction: column; min-width: 0; flex-shrink: 1; max-width: 100%; overflow: visible; } .item-tags { display: flex; flex-wrap: wrap; margin-bottom: 6rpx; max-width: 100%; } .tag { font-size: 18rpx; padding: 3rpx 8rpx; border-radius: 4rpx; margin-right: 6rpx; margin-bottom: 4rpx; } .pick-tag { background-color: #E8F5E9; color: #2E7D32; } .retail-tag { background-color: #E3F2FD; color: #1565C0; } .member-tag { background-color: #FFF8E1; color: #F57F17; } .item-name { font-size: 26rpx; color: #333; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; flex-shrink: 1; word-break: break-all; min-height: 70rpx; } .item-spec { font-size: 22rpx; color: #999; margin: 6rpx 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .stock-warning { display: flex; align-items: center; padding: 6rpx 10rpx; background-color: #FFEBEE; border-radius: 6rpx; margin: 6rpx 0; max-width: 100%; overflow: hidden; } .warning-icon { margin-right: 4rpx; flex-shrink: 0; } .warning-text { font-size: 20rpx; color: #C62828; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pick-stock, .retail-stock { font-size: 20rpx; color: #666; margin: 4rpx 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .price-quantity-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10rpx; width: 100%; flex-shrink: 1; } .price-container { display: flex; align-items: center; flex-wrap: wrap; } .item-price { font-size: 32rpx; color: #E53E3E; font-weight: bold; margin-right: 10rpx; } .original-price { font-size: 24rpx; color: #999; text-decoration: line-through; margin-right: 10rpx; } .member-discount-label { font-size: 20rpx; color: #FF9800; background-color: #FFF3E0; padding: 2rpx 8rpx; border-radius: 4rpx; } .quantity-control { display: flex; align-items: center; flex-shrink: 0; } .quantity-btn { width: 50rpx; height: 50rpx; border: 1rpx solid #e5e5e5; border-radius: 8rpx; display: flex; align-items: center; justify-content: center; font-size: 28rpx; background-color: #f5f5f5; min-height: 50rpx; flex-shrink: 0; } .quantity { width: 70rpx; text-align: center; font-size: 26rpx; flex-shrink: 0; } .quantity-input { width: 90rpx; text-align: center; font-size: 28rpx; flex-shrink: 0; border: none; background: transparent; outline: none; height: 50rpx; line-height: 50rpx; padding: 0; margin: 0; color: #333; } .item-actions { display: flex; flex-direction: column; justify-content: center; margin-left: 8rpx; flex-shrink: 0; } .action-btn { padding: 8rpx 12rpx; font-size: 22rpx; border-radius: 6rpx; margin-bottom: 8rpx; min-height: 44rpx; } .aftersale-btn { background-color: #f5f5f5; color: #666; } .delete-btn { background-color: transparent; color: #999; font-size: 28rpx; } .stored-value-section, .points-deduct-section { background-color: #fff; margin: 10rpx 0; padding: 16rpx; border-radius: 12rpx; box-sizing: border-box; max-width: 100%; overflow: hidden; } .stored-value-info, .points-info { display: flex; align-items: center; margin-bottom: 15rpx; } .stored-label, .points-label { font-size: 26rpx; color: #666; } .stored-amount { font-size: 32rpx; color: #E53E3E; font-weight: bold; } .points-amount { font-size: 28rpx; color: #FF9800; font-weight: bold; } .points-tip { font-size: 24rpx; color: #999; margin-left: 10rpx; } .stored-value-use, .points-use { display: flex; align-items: center; } .stored-value-use text, .points-use text { font-size: 26rpx; color: #333; margin-left: 10rpx; } .shipping-tip-bar { background-color: #E8F5E9; margin: 10rpx 0; padding: 12rpx 16rpx; border-radius: 12rpx; font-size: 24rpx; color: #2E7D32; box-sizing: border-box; max-width: 100%; overflow: hidden; } .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background-color: #fff; border-top: 1rpx solid #e5e5e5; padding: 12rpx 16rpx; z-index: 100; box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05); box-sizing: border-box; max-width: 100%; overflow-x: hidden; } .price-summary { margin-bottom: 15rpx; } .price-row { display: flex; justify-content: space-between; align-items: center; padding: 8rpx 0; } .price-label { font-size: 26rpx; color: #666; } .price-value { font-size: 26rpx; color: #333; } .price-row.discount .price-value { color: #4CAF50; } .price-row.total { border-top: 1rpx solid #f0f0f0; padding-top: 15rpx; margin-top: 10rpx; } .price-row.total .price-label { font-size: 28rpx; color: #333; font-weight: bold; } .total-amount { font-size: 36rpx; color: #E53E3E; font-weight: bold; } .points-earn-tip { text-align: right; font-size: 22rpx; color: #FF9800; margin-top: 8rpx; } .checkout-btn { width: 100%; height: 80rpx; background-color: #4CAF50; color: #fff; border-radius: 40rpx; font-size: 30rpx; min-height: 80rpx; } .checkout-btn.disabled, .checkout-btn:disabled { background-color: #ccc; } .modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.5); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-content { width: 85%; max-height: 80vh; background-color: #fff; border-radius: 16rpx; overflow: hidden; } .modal-header { display: flex; justify-content: space-between; align-items: center; padding: 25rpx 30rpx; border-bottom: 1rpx solid #f0f0f0; } .modal-title { font-size: 32rpx; color: #333; font-weight: bold; } .modal-close { font-size: 40rpx; color: #999; padding: 10rpx; } .modal-body { padding: 30rpx; max-height: 60vh; overflow-y: auto; } .modal-footer { display: flex; border-top: 1rpx solid #f0f0f0; } .cancel-btn, .confirm-btn { flex: 1; height: 90rpx; font-size: 30rpx; border-radius: 0; min-height: 90rpx; } .cancel-btn { background-color: #fff; color: #666; border-right: 1rpx solid #f0f0f0; } .confirm-btn { background-color: #4CAF50; color: #fff; } .confirm-btn.disabled, .confirm-btn:disabled { background-color: #ccc; } .form-item { margin-bottom: 25rpx; } .form-label { font-size: 28rpx; color: #333; margin-bottom: 15rpx; display: block; } .picker-value { padding: 20rpx; background-color: #f5f5f5; border-radius: 8rpx; font-size: 28rpx; color: #333; } .appointment-products { margin-bottom: 25rpx; } .section-title { font-size: 26rpx; color: #666; margin-bottom: 15rpx; } .product-list-mini { background-color: #f9f9f9; border-radius: 8rpx; padding: 15rpx; } .product-mini { display: flex; justify-content: space-between; padding: 10rpx 0; border-bottom: 1rpx solid #f0f0f0; } .product-mini:last-child { border-bottom: none; } .product-name-mini { font-size: 26rpx; color: #333; } .product-quantity-mini { font-size: 26rpx; color: #999; } .stock-info { display: flex; align-items: center; padding: 15rpx; background-color: #f5f5f5; border-radius: 8rpx; } .stock-label { font-size: 26rpx; color: #666; } .stock-value { font-size: 28rpx; color: #4CAF50; font-weight: bold; } .stock-value.low { color: #E53E3E; } .agreement-content { padding: 10rpx 0; } .agreement-item { display: flex; align-items: center; padding: 15rpx 0; } .agreement-item text { font-size: 26rpx; color: #333; } .agreement-item .link { color: #4CAF50; } .payment-options { padding: 10rpx 0; } .payment-option { display: flex; align-items: center; padding: 25rpx; border: 2rpx solid #e5e5e5; border-radius: 12rpx; margin-bottom: 15rpx; } .payment-option.selected { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.05); } .option-icon { font-size: 40rpx; margin-right: 20rpx; } .option-info { flex: 1; } .option-name { font-size: 28rpx; color: #333; display: block; } .option-balance { font-size: 24rpx; color: #999; display: block; margin-top: 5rpx; } .option-amount { font-size: 32rpx; color: #E53E3E; font-weight: bold; } .points-deduct-info { text-align: center; padding: 15rpx; background-color: #FFF3E0; border-radius: 8rpx; font-size: 24rpx; color: #E65100; } .pending-cart-info { text-align: center; padding: 30rpx; } .pending-cart-info image { width: 120rpx; height: 120rpx; margin-bottom: 20rpx; } .pending-text { font-size: 30rpx; color: #333; display: block; margin-bottom: 15rpx; } .pending-tip { font-size: 24rpx; color: #999; display: block; } .replace-info { margin-bottom: 25rpx; } .replace-text { font-size: 28rpx; color: #333; display: block; margin-bottom: 10rpx; } .replace-tip { font-size: 26rpx; color: #666; display: block; } .replace-products { display: flex; flex-direction: column; } .replace-item { display: flex; align-items: center; padding: 20rpx; border: 2rpx solid #e5e5e5; border-radius: 12rpx; margin-bottom: 15rpx; } .replace-item.selected { border-color: #4CAF50; background-color: rgba(76, 175, 80, 0.05); } .replace-item image { width: 100rpx; height: 100rpx; border-radius: 8rpx; margin-right: 20rpx; } .replace-item-info { flex: 1; } .replace-item-name { font-size: 28rpx; color: #333; display: block; } .replace-item-price { font-size: 28rpx; color: #E53E3E; font-weight: bold; display: block; margin-top: 8rpx; } .select-indicator { width: 40rpx; height: 40rpx; background-color: #4CAF50; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24rpx; }
调用失败 Error: cloud.callFunction:fail Error: errCode: -601034 | errMsg: 没有权限,请先开通云开发或者云托管 (callId: 1774600625130-0.9216513786643641) (trace: 16:37:5 start->16:37:5 system error (Error: errCode: -601034 | errMsg: 没有权限,请先开通云开发或者云托管), abort) at N (<anonymous>:1:255194) at <anonymous>:1:293368(env: Windows,mp,2.01.2510280; lib: 3.15.1)
小程序访问不了,也没收到云开发欠费信息。小程序ID名称:久佑汽车膜
{ "apiIdentifier": "lowcode/DesignProcessInternalMethod", "code": "FailedOperation", "message": "[FailedOperation] Oops! Something went wrong.", "reqId": "d6dcfdf5-f9dd-4649-ac2d-75d830273e83", "reason": "操作失败。mysql syntax error code:1364, detail:Field '_openid' doesn't have a default value", "pageUrl": "/db/mysql/model/shop_spu_cate?sourceType=internal_mysql&dbLinkName=default&dbName=cloud1-9gvijns22e147d70", "v": "1.17.0", "t": "2026-03-26 11:37:18", "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36", "loginUin": 100046655321, "envId": "cloud1-9gvijns22e147d70" }
添加业务域名需要先在域名根目录下上传校验文件,问题是云开发的云存储域名“tcb.qcloud.la”开发者又不能操作,校验文件上传到哪里?!
https://developers.weixin.qq.com/doc/service/api/base/api_getaccesstoken.html;在云函数中调用此接口返回错误信息,让我配置白名单,但是云函数的ip是变化的,这个怎么解决
关键步骤如下,请问如何修改? 我是在云开发CMS后台创建了文章表和标签表,然后给文章表创建数据并关联了标签表数据进行添加,出现以下问题: 1.在文章表中新增标签信息字段,并关联了标签表(一对多的关系) [图片] 然后自动会在标签表中反向生成“标签集合”字段,关系是多对一,且无法修改关系; [图片] 2.编辑第一条文章,添加如图2个标签; [图片] 编辑第二篇文章,添加“个人情况”标签 [图片] 发现第一篇文章中,只剩下“人事问题”的标签,另一个标签消失了。 [图片]
云开发服务在小程序上线后是否还有免费额度,还是发布之后就一定需要按量付费或者升级套餐了。
[图片] 这里无法选择云开发 是什么问题
https://developers.weixin.qq.com/miniprogram/dev/wxcloudservice/wxcloud/reference-sdk-api/database/command/Command.elemMatch.html_.elemMatch(_.gt(80).lt(100)) _.elemMatch(_.gt(80).lt(100))这么写查不出来,得写成_.elemMatch(_.gt(80)&&_.lt(100))才能查出来,具体是否是查的区间值,我还在验证 ,
[图片]
删除cloudbase体验版之前环境后,再次开通体验版环境时,兑换码申请后还是之前的,导致无法开通,如何x如何申请新的兑换码
我配置了这个别的厂商的大模型,但是在调用的时候,拉取不到这个模型 [图片] [图片]
[图片]
小程序示例
小程序官方示例Demo,包含云开发示例。
小程序示例
扫码体验