diff --git a/.local.config.js b/.local.config.js
new file mode 100644
index 0000000..9026bc8
--- /dev/null
+++ b/.local.config.js
@@ -0,0 +1,39 @@
+// 本地调试配置示例文件
+// 复制此文件并重命名为 local.config.js 以使用自定义本地配置
+
+const localDevConfig = ({
+ '460': { // 制氧设备平台
+ uniacid: 460,
+ domain: 'https://xcx30.5g-quickapp.com/',
+ },
+ '2285': { // 数码喷墨墨水
+ uniacid: 2285,
+ domain: 'https://xcx.aigc-quickapp.com/',
+ },
+ '2811': { // POCT检测分析平台
+ uniacid: 2811,
+ domain: 'https://xcx.aigc-quickapp.com/',
+ },
+ '2724': { // 生物菌肥
+ uniacid: 2724,
+ domain: 'https://xcx.aigc-quickapp.com/',
+ },
+ '2505': { // 煤矿钻机
+ uniacid: 2505,
+ domain: 'https://xcx.aigc-quickapp.com/',
+ },
+ '2777': { // 养老服务
+ uniacid: 2777,
+ domain: 'https://xcx.aigc-quickapp.com/',
+ },
+ '1': { // 开发平台
+ uniacid: 1,
+ domain: 'https://dev.aigc-quickapp.com',
+ },
+ '1-test': { // 测试平台
+ uniacid: 1,
+ domain: 'https://test.aigc-quickapp.com',
+ },
+})['2285']; // 选择要使用的环境配置
+
+export default localDevConfig;
\ No newline at end of file
diff --git a/components-diy/diy-digit.vue b/components-diy/diy-digit.vue
index 4a51a91..83cdf74 100644
--- a/components-diy/diy-digit.vue
+++ b/components-diy/diy-digit.vue
@@ -1,4 +1,4 @@
-
+
@@ -38,16 +38,10 @@
diff --git a/pages_tool/components/img-cropping/cropping.vue b/components/img-cropping/img-cropping.vue
similarity index 100%
rename from pages_tool/components/img-cropping/cropping.vue
rename to components/img-cropping/img-cropping.vue
diff --git a/pages_promotion/components/l-time/l-time.vue b/components/l-time/l-time.vue
similarity index 100%
rename from pages_promotion/components/l-time/l-time.vue
rename to components/l-time/l-time.vue
diff --git a/pages_promotion/components/l-time/time.js b/components/l-time/time.js
similarity index 100%
rename from pages_promotion/components/l-time/time.js
rename to components/l-time/time.js
diff --git a/components/mescroll/mescroll-uni.vue b/components/mescroll/mescroll-uni.vue
index ccc425a..3d0ef07 100644
--- a/components/mescroll/mescroll-uni.vue
+++ b/components/mescroll/mescroll-uni.vue
@@ -62,8 +62,6 @@
// 引入回到顶部组件
import MescrollTop from './components/mescroll-top.vue';
- import nsLoading from '@/components/ns-loading/ns-loading.vue';
-
export default {
name: 'mescroll-uni',
components: {
diff --git a/pages_tool/components/myp-one/myp-one.vue b/components/myp-one/myp-one.vue
similarity index 100%
rename from pages_tool/components/myp-one/myp-one.vue
rename to components/myp-one/myp-one.vue
diff --git a/components/ns-adv/ns-adv.vue b/components/ns-adv/ns-adv.vue
index 0d44df7..978f3bd 100644
--- a/components/ns-adv/ns-adv.vue
+++ b/components/ns-adv/ns-adv.vue
@@ -1,120 +1,120 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/components/ns-birthday-gift/ns-birthday-gift.vue b/components/ns-birthday-gift/ns-birthday-gift.vue
index e34abb7..254126c 100644
--- a/components/ns-birthday-gift/ns-birthday-gift.vue
+++ b/components/ns-birthday-gift/ns-birthday-gift.vue
@@ -80,14 +80,10 @@
-
-
\ No newline at end of file
diff --git a/components/ns-goods-action-icon/ns-goods-action-icon.vue b/components/ns-goods-action-icon/ns-goods-action-icon.vue
index f958edd..dded95b 100644
--- a/components/ns-goods-action-icon/ns-goods-action-icon.vue
+++ b/components/ns-goods-action-icon/ns-goods-action-icon.vue
@@ -20,7 +20,6 @@
\ No newline at end of file
diff --git a/components/ns-goods-sku/ns-goods-sku.vue b/components/ns-goods-sku/ns-goods-sku.vue
index a7441d7..0c06877 100644
--- a/components/ns-goods-sku/ns-goods-sku.vue
+++ b/components/ns-goods-sku/ns-goods-sku.vue
@@ -214,7 +214,7 @@
\ No newline at end of file
diff --git a/components/ns-new-gift/ns-new-gift.vue b/components/ns-new-gift/ns-new-gift.vue
index a6553c9..eed5fa9 100644
--- a/components/ns-new-gift/ns-new-gift.vue
+++ b/components/ns-new-gift/ns-new-gift.vue
@@ -75,12 +75,8 @@
\ No newline at end of file
diff --git a/pages_tool/components/ns-progress/ns-progress.vue b/components/ns-progress/ns-progress.vue
similarity index 100%
rename from pages_tool/components/ns-progress/ns-progress.vue
rename to components/ns-progress/ns-progress.vue
diff --git a/components/ns-select-time/ns-select-time.vue b/components/ns-select-time/ns-select-time.vue
index 15a5553..8d39484 100644
--- a/components/ns-select-time/ns-select-time.vue
+++ b/components/ns-select-time/ns-select-time.vue
@@ -30,12 +30,8 @@
\ No newline at end of file
diff --git a/pages_goods/category.vue b/pages_goods/category.vue
index 57902b4..e43b94a 100644
--- a/pages_goods/category.vue
+++ b/pages_goods/category.vue
@@ -25,15 +25,11 @@
-
-
-
\ No newline at end of file
diff --git a/pages_goods/components/ns-goods-action-button/ns-goods-action-button.vue b/pages_goods/components/ns-goods-action-button/ns-goods-action-button.vue
deleted file mode 100644
index 7798141..0000000
--- a/pages_goods/components/ns-goods-action-button/ns-goods-action-button.vue
+++ /dev/null
@@ -1,96 +0,0 @@
-
- {{ disabledText }}
-
- {{ textPrice }}
- {{ text }}
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages_goods/components/ns-goods-action-icon/ns-goods-action-icon.vue b/pages_goods/components/ns-goods-action-icon/ns-goods-action-icon.vue
deleted file mode 100644
index f958edd..0000000
--- a/pages_goods/components/ns-goods-action-icon/ns-goods-action-icon.vue
+++ /dev/null
@@ -1,146 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- {{ text }}
- {{ cornerMark > 99 ? '99+' : cornerMark }}
-
-
-
-
-
-
-
-
diff --git a/pages_goods/components/ns-goods-action/ns-goods-action.vue b/pages_goods/components/ns-goods-action/ns-goods-action.vue
deleted file mode 100644
index 4e9e0f5..0000000
--- a/pages_goods/components/ns-goods-action/ns-goods-action.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
diff --git a/pages_goods/components/ns-goods-promotion/ns-goods-promotion.vue b/pages_goods/components/ns-goods-promotion/ns-goods-promotion.vue
deleted file mode 100644
index d102e84..0000000
--- a/pages_goods/components/ns-goods-promotion/ns-goods-promotion.vue
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
- 限时折扣
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
-
- 团购
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
- 拼团
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
- 秒杀
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
- 专题活动
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
- 砍价
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
- 拼团返利
- 当前商品正在参加{{ item.promotion_name }}
-
-
-
-
-
-
-
-
-
diff --git a/pages_goods/detail.vue b/pages_goods/detail.vue
index 875d0e2..e17cba1 100644
--- a/pages_goods/detail.vue
+++ b/pages_goods/detail.vue
@@ -521,38 +521,16 @@
\ No newline at end of file
diff --git a/pages_order/detail.vue b/pages_order/detail.vue
index 659d78b..16202b9 100644
--- a/pages_order/detail.vue
+++ b/pages_order/detail.vue
@@ -1,7 +1,8 @@
-
+
@@ -64,9 +65,9 @@
{{ orderData.delivery_store_name }}
@@ -108,8 +109,11 @@
复制
-
-
+
+
@@ -121,7 +125,8 @@
-
+
{{ goodsItem.sku_name }}
@@ -129,16 +134,18 @@
{{ x.spec_value_name }}
- {{ i < goodsItem.sku_spec_format.length - 1 ? '; ' : '' }}
-
+ {{ i < goodsItem.sku_spec_format.length - 1 ? '; ' : '' }}
{{ $lang('common.currencySymbol') }}
- {{ parseFloat(goodsItem.price).toFixed(2).split('.')[0] }}
- .{{ parseFloat(goodsItem.price).toFixed(2).split('.')[1] }}
+ {{
+ parseFloat(goodsItem.price).toFixed(2).split('.')[0]
+ }}
+ .{{
+ parseFloat(goodsItem.price).toFixed(2).split('.')[1] }}
@@ -152,8 +159,10 @@
次卡抵扣
-{{ $lang('common.currencySymbol') }}
- {{ parseFloat(goodsItem.card_promotion_money).toFixed(2).split('.')[0] }}
- .{{ parseFloat(goodsItem.card_promotion_money).toFixed(2).split('.')[1] }}
+ {{
+ parseFloat(goodsItem.card_promotion_money).toFixed(2).split('.')[0] }}
+ .{{
+ parseFloat(goodsItem.card_promotion_money).toFixed(2).split('.')[1] }}
@@ -164,7 +173,8 @@
{{ item.value.title }}:
-
+
@@ -176,13 +186,15 @@
-
+
{{ orderData.order_status == 10 ? '申请售后' : '申请退款' }}
-
+
{{ orderData.order_status == 10 ? '查看售后' : '查看退款' }}
@@ -315,11 +327,12 @@
我的卡包:
- 查看
+ 查看
-
-
+
@@ -608,216 +633,209 @@
\ No newline at end of file
diff --git a/pages_order/detail_point.vue b/pages_order/detail_point.vue
index a62cc38..37ee721 100644
--- a/pages_order/detail_point.vue
+++ b/pages_order/detail_point.vue
@@ -1,14 +1,18 @@
-
+
-
-
-
+
+
+
- {{ orderData.order_status == 0 ? '待支付' : orderData.order_status == 1 ? '已完成' : orderData.order_status == -1 ? '已关闭' : '' }}
+ {{ orderData.order_status == 0 ? '待支付' : orderData.order_status == 1 ? '已完成' :
+ orderData.order_status == -1 ? '已关闭' : '' }}
@@ -79,7 +83,7 @@
-
- 全部
- 全部
+
+ @click="changeCategory(item.category_id)">
{{ item.category_name }}
-
+
-
+
@@ -132,22 +132,16 @@
@@ -165,8 +159,10 @@ export default {
/deep/ .uni-popup__wrapper.uni-custom .uni-popup__wrapper-box {
max-height: unset !important;
}
+
.quick-nav {
margin-bottom: 20rpx;
+
.quick-nav-item {
display: flex;
align-items: center;
@@ -190,6 +186,7 @@ export default {
}
}
}
+
.content {
overflow: hidden;
padding: 0 30rpx 160rpx;
@@ -202,12 +199,14 @@ export default {
background-size: 100%;
background-repeat: no-repeat;
box-sizing: border-box;
+
.goods-item {
margin-bottom: 20rpx;
background: #ffffff;
padding: $padding;
display: flex;
border-radius: 10rpx;
+
&:last-child {
margin-bottom: 0;
}
@@ -221,6 +220,7 @@ export default {
border-radius: 10rpx;
overflow: hidden;
flex-shrink: 0;
+
image {
width: 100%;
height: 100%;
@@ -241,6 +241,7 @@ export default {
.goods-name {
width: 100%;
line-height: 1.3;
+
.name {
line-height: 1.3;
word-break: break-all;
@@ -250,10 +251,12 @@ export default {
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
+
.label-list {
display: flex;
align-items: center;
margin-top: 6rpx;
+
.label-item {
padding: 4rpx 10rpx;
font-size: $font-size-tag;
@@ -285,6 +288,7 @@ export default {
padding: 0 $padding;
border-radius: 50rpx;
border: 2rpx solid $base-color;
+
text {
color: $base-color;
border-radius: 40rpx;
@@ -299,6 +303,7 @@ export default {
}
}
}
+
.active-btn {
position: fixed;
bottom: 40rpx;
@@ -312,10 +317,12 @@ export default {
border-radius: 50rpx;
background-color: $base-color;
color: #fff;
+
.btn {
flex: 1;
text-align: center;
}
+
.share-btn {
margin: 0;
padding: 0;
@@ -355,6 +362,7 @@ export default {
border: none;
line-height: 1;
height: auto;
+
text {
margin-top: 20rpx;
font-size: $font-size-tag;
@@ -367,6 +375,7 @@ export default {
font-size: 80rpx;
line-height: initial;
}
+
.icon-fuzhilianjie,
.icon-pengyouquan,
.icon-haowuquan,
@@ -383,39 +392,48 @@ export default {
text-align: center;
}
}
+
.poster-layer {
.generate-poster {
padding: 40rpx 0;
+
.iconfont {
font-size: 80rpx;
color: #07c160;
line-height: initial;
}
- > view {
+
+ >view {
text-align: center;
+
&:last-child {
margin-top: 20rpx;
}
}
}
+
.image-wrap {
width: 64%;
height: 854rpx;
margin: 60rpx auto 40rpx auto;
box-shadow: 0 0 32rpx rgba(100, 100, 100, 0.3);
+
image {
width: 480rpx;
height: 854rpx;
}
}
+
.msg {
padding: 40rpx;
}
+
.save {
text-align: center;
height: 80rpx;
line-height: 80rpx;
}
+
.close {
position: absolute;
top: 0;
diff --git a/pages_promotion/fenxiao/index.vue b/pages_promotion/fenxiao/index.vue
index dc128d6..178e244 100644
--- a/pages_promotion/fenxiao/index.vue
+++ b/pages_promotion/fenxiao/index.vue
@@ -261,12 +261,8 @@
\ No newline at end of file
diff --git a/pages_promotion/fenxiao/ranking_list.vue b/pages_promotion/fenxiao/ranking_list.vue
index 6a134eb..32af31b 100644
--- a/pages_promotion/fenxiao/ranking_list.vue
+++ b/pages_promotion/fenxiao/ranking_list.vue
@@ -3,17 +3,22 @@
-
+
-
+
- {{info.nickname}}
+ {{ info.nickname }}
- 点击提现
- 我的团队
+ 点击提现
+ 我的团队
@@ -26,7 +31,7 @@
分销佣金
- {{ info.today_commission}}元
+ {{ info.today_commission }}元
@@ -50,7 +55,7 @@
推广人数
- {{ info.one_child_num}}人
+ {{ info.one_child_num }}人
@@ -67,20 +72,21 @@
- 佣金排行
- 推广排行
+ 佣金排行
+ 推广排行
{{ index + 1 }}
-
+
{{ item.nickname }}
- ¥{{ item.total_commission|moneyFormat }}
+ ¥{{ item.total_commission | moneyFormat }}
{{ item.child_num }}人
@@ -97,337 +103,331 @@
diff --git a/pages_promotion/fenxiao/relation.vue b/pages_promotion/fenxiao/relation.vue
index 36927b5..df61a30 100644
--- a/pages_promotion/fenxiao/relation.vue
+++ b/pages_promotion/fenxiao/relation.vue
@@ -73,9 +73,6 @@
\ No newline at end of file
diff --git a/pages_promotion/point/detail.vue b/pages_promotion/point/detail.vue
index 5dfd5ad..b035f3f 100644
--- a/pages_promotion/point/detail.vue
+++ b/pages_promotion/point/detail.vue
@@ -5,7 +5,8 @@
-
+
+
@@ -13,12 +14,21 @@
-
+
-
+
+
+
+
-
@@ -27,7 +37,8 @@
{{ pointInfo.point }}积分
- +{{ $lang('common.currencySymbol') }}{{ pointInfo.exchange_price }}
+ +{{ $lang('common.currencySymbol') }}{{ pointInfo.exchange_price
+ }}
@@ -35,26 +46,36 @@
{{ pointInfo.price }}
-
- 库存:{{ pointInfo.stock }}{{ pointInfo.stock >= 0 ? pointInfo.unit : '' }}
+
+ 库存:{{ pointInfo.stock }}{{
+ pointInfo.stock >= 0 ?
+ pointInfo.unit : '' }}
库存:无限{{ pointInfo.stock >= 0 ? pointInfo.unit : '' }}
- {{ isEnEnv ? pointInfo.en_goods_name : pointInfo.goods_name }}
+ {{ isEnEnv ? pointInfo.en_goods_name :
+ pointInfo.goods_name
+ }}
{{ pointInfo.name }}
- 内含{{ pointInfo.balance }}元
+ 内含{{ pointInfo.balance
+ }}元
无门槛优惠券
- {{ '满' + pointInfo.at_least + '减' + pointInfo.money }}
+ {{ '满' + pointInfo.at_least +
+ '减' + pointInfo.money
+ }}
满{{ pointInfo.at_least }}元
{{ pointInfo.discount }}折
- 最多优惠{{ pointInfo.discount_limit }}元
+ 最多优惠{{
+ pointInfo.discount_limit }}元
- {{ pointInfo.validity_type == 1 ? '领取之日起' + pointInfo.fixed_term + '天内有效' : $util.timeStampTurnTime(pointInfo.end_time) + '到期' }}
+ {{ pointInfo.validity_type == 1 ? '领取之日起' + pointInfo.fixed_term + '天内有效' :
+ $util.timeStampTurnTime(pointInfo.end_time) + '到期' }}
@@ -71,22 +92,23 @@
-
@@ -136,7 +165,8 @@
-
+
{{ item.service_name }}
@@ -144,7 +174,8 @@
-
+
@@ -152,41 +183,42 @@
- 兑换详情
+
+ 兑换详情
+
-
+
+
暂无兑换详情!
-
+
-
+
-
-
-
+
+
+
-
+
@@ -195,19 +227,10 @@
\ No newline at end of file
diff --git a/pages_promotion/point/order_list.vue b/pages_promotion/point/order_list.vue
index 66b6a83..7ed130c 100644
--- a/pages_promotion/point/order_list.vue
+++ b/pages_promotion/point/order_list.vue
@@ -84,9 +84,6 @@
-
-
\ No newline at end of file
diff --git a/pages_tool/contact/contact.vue b/pages_tool/contact/contact.vue
index 47a76d5..2f7bbbc 100644
--- a/pages_tool/contact/contact.vue
+++ b/pages_tool/contact/contact.vue
@@ -143,13 +143,9 @@
diff --git a/pages_tool/login/find.vue b/pages_tool/login/find.vue
index bf8281f..07d65a9 100644
--- a/pages_tool/login/find.vue
+++ b/pages_tool/login/find.vue
@@ -87,11 +87,7 @@
\ No newline at end of file
diff --git a/pages_tool/member/address.vue b/pages_tool/member/address.vue
index 055f213..82ff235 100644
--- a/pages_tool/member/address.vue
+++ b/pages_tool/member/address.vue
@@ -101,10 +101,6 @@ import {
Weixin
} from 'common/js/wx-jssdk.js';
import MescrollUni from "@/components/mescroll/my-list-mescroll.vue";
-import nsLogin from '@/components/ns-login/ns-login.vue';
-import loadingCover from '@/components/loading-cover/loading-cover.vue';
-import nsEmpty from '@/components/ns-empty/ns-empty.vue';
-
// #ifdef MP-WEIXIN
import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
// #endif
@@ -112,9 +108,6 @@ import privacyPopup from '@/components/wx-privacy-popup/privacy-popup.vue';
export default {
components: {
MescrollUni,
- nsLogin,
- loadingCover,
- nsEmpty,
// #ifdef MP-WEIXIN
privacyPopup
// #endif
diff --git a/pages_tool/member/address_edit.vue b/pages_tool/member/address_edit.vue
index d028016..cd0fa86 100644
--- a/pages_tool/member/address_edit.vue
+++ b/pages_tool/member/address_edit.vue
@@ -79,14 +79,10 @@
\ No newline at end of file
diff --git a/pages_tool/member/card_buy.vue b/pages_tool/member/card_buy.vue
index 9597f20..d188504 100644
--- a/pages_tool/member/card_buy.vue
+++ b/pages_tool/member/card_buy.vue
@@ -6,7 +6,8 @@
-
+
{{ memberInfo.nickname }}
@@ -22,26 +23,27 @@
:circular="swiperConfig.circular" :previous-margin="swiperConfig.previousMargin"
:next-margin="swiperConfig.nextMargin" @change="swiperChange" @animationfinish="animationfinish"
:current="curIndex">
-
+
+ ? 'item-left'
+ : i === curIndex + 1
+ ? 'item-right'
+ : 'item-center'
+ ]">
-
-
+
+
- {{ levelList[curIndex].level_name }}
- {{ levelList[curIndex].level_name }}可享受消费折扣和
- 会员大礼包等权益
-
+
+ {{ levelList[curIndex].level_name }}
+ {{
+ levelList[curIndex].level_name }}可享受消费折扣和
+
+ 会员大礼包等权益
+
@@ -78,8 +85,10 @@
-
-
+
+
{{ cardType[item.key].name }}
@@ -172,7 +181,8 @@
购买既视为同意
- 《{{ agreement.title }}》
+ 《{{ agreement.title
+ }}》
@@ -198,7 +208,8 @@
-
+
@@ -209,221 +220,210 @@
\ No newline at end of file
diff --git a/pages_tool/member/collection.vue b/pages_tool/member/collection.vue
index 5153e8b..66a83a5 100644
--- a/pages_tool/member/collection.vue
+++ b/pages_tool/member/collection.vue
@@ -35,10 +35,7 @@
diff --git a/pages_tool/order/refund.vue b/pages_tool/order/refund.vue
index 8d57d4e..7f7e6cb 100644
--- a/pages_tool/order/refund.vue
+++ b/pages_tool/order/refund.vue
@@ -104,11 +104,7 @@
+
+
diff --git a/pages_tool/components/uni-calendar/calendar.js b/uni_modules/uni-calendar/components/uni-calendar/calendar.js
similarity index 100%
rename from pages_tool/components/uni-calendar/calendar.js
rename to uni_modules/uni-calendar/components/uni-calendar/calendar.js
diff --git a/pages_tool/components/uni-calendar/uni-calendar-item.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
similarity index 100%
rename from pages_tool/components/uni-calendar/uni-calendar-item.vue
rename to uni_modules/uni-calendar/components/uni-calendar/uni-calendar-item.vue
diff --git a/pages_tool/components/uni-calendar/uni-calendar.vue b/uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
similarity index 100%
rename from pages_tool/components/uni-calendar/uni-calendar.vue
rename to uni_modules/uni-calendar/components/uni-calendar/uni-calendar.vue
diff --git a/pages_tool/components/uni-calendar/util.js b/uni_modules/uni-calendar/components/uni-calendar/util.js
similarity index 100%
rename from pages_tool/components/uni-calendar/util.js
rename to uni_modules/uni-calendar/components/uni-calendar/util.js
diff --git a/components/uni-count-down/uni-count-down.vue b/uni_modules/uni-count-down/components/uni-count-down/uni-count-down.vue
similarity index 95%
rename from components/uni-count-down/uni-count-down.vue
rename to uni_modules/uni-count-down/components/uni-count-down/uni-count-down.vue
index 2bdf21d..333817c 100644
--- a/components/uni-count-down/uni-count-down.vue
+++ b/uni_modules/uni-count-down/components/uni-count-down/uni-count-down.vue
@@ -1,252 +1,252 @@
-
-
-
- {{ d }}
-
- {{ showColon ? '天' : '天' }}
-
- {{ h }}
-
- {{ showColon ? ':' : '时' }}
-
- {{ i }}
-
- {{ showColon ? ':' : '分' }}
-
- {{ s }}
-
- 秒
-
-
-
-
+
+
+
+ {{ d }}
+
+ {{ showColon ? '天' : '天' }}
+
+ {{ h }}
+
+ {{ showColon ? ':' : '时' }}
+
+ {{ i }}
+
+ {{ showColon ? ':' : '分' }}
+
+ {{ s }}
+
+ 秒
+
+
+
+
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/changelog.md b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/changelog.md
new file mode 100644
index 0000000..401063e
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/changelog.md
@@ -0,0 +1,85 @@
+## 2.2.2(2021-12-10)
+- 修复 clear-icon 属性在小程序平台不生效的 bug
+## 2.2.1(2021-12-10)
+- 修复 日期范围选在小程序平台,必须多点击一次才能取消选中状态的 bug
+## 2.2.0(2021-11-19)
+- 优化 组件UI,并提供设计资源,详见:[https://uniapp.dcloud.io/component/uniui/resource](https://uniapp.dcloud.io/component/uniui/resource)
+- 文档迁移,详见:[https://uniapp.dcloud.io/component/uniui/uni-datetime-picker](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker)
+## 2.1.5(2021-11-09)
+- 新增 提供组件设计资源,组件样式调整
+## 2.1.4(2021-09-10)
+- 修复 hide-second 在移动端的 bug
+- 修复 单选赋默认值时,赋值日期未高亮的 bug
+- 修复 赋默认值时,移动端未正确显示时间的 bug
+## 2.1.3(2021-09-09)
+- 新增 hide-second 属性,支持只使用时分,隐藏秒
+## 2.1.2(2021-09-03)
+- 优化 取消选中时(范围选)直接开始下一次选择, 避免多点一次
+- 优化 移动端支持清除按钮,同时支持通过 ref 调用组件的 clear 方法
+- 优化 调整字号大小,美化日历界面
+- 修复 因国际化导致的 placeholder 失效的 bug
+## 2.1.1(2021-08-24)
+- 新增 支持国际化
+- 优化 范围选择器在 pc 端过宽的问题
+## 2.1.0(2021-08-09)
+- 新增 适配 vue3
+## 2.0.19(2021-08-09)
+- 新增 支持作为 uni-forms 子组件相关功能
+- 修复 在 uni-forms 中使用时,选择时间报 NAN 错误的 bug
+## 2.0.18(2021-08-05)
+- 修复 type 属性动态赋值无效的 bug
+- 修复 ‘确认’按钮被 tabbar 遮盖 bug
+- 修复 组件未赋值时范围选左、右日历相同的 bug
+## 2.0.17(2021-08-04)
+- 修复 范围选未正确显示当前值的 bug
+- 修复 h5 平台(移动端)报错 'cale' of undefined 的 bug
+## 2.0.16(2021-07-21)
+- 新增 return-type 属性支持返回 date 日期对象
+## 2.0.15(2021-07-14)
+- 修复 单选日期类型,初始赋值后不在当前日历的 bug
+- 新增 clearIcon 属性,显示框的清空按钮可配置显示隐藏(仅 pc 有效)
+- 优化 移动端移除显示框的清空按钮,无实际用途
+## 2.0.14(2021-07-14)
+- 修复 组件赋值为空,界面未更新的 bug
+- 修复 start 和 end 不能动态赋值的 bug
+- 修复 范围选类型,用户选择后再次选择右侧日历(结束日期)显示不正确的 bug
+## 2.0.13(2021-07-08)
+- 修复 范围选择不能动态赋值的 bug
+## 2.0.12(2021-07-08)
+- 修复 范围选择的初始时间在一个月内时,造成无法选择的bug
+## 2.0.11(2021-07-08)
+- 优化 弹出层在超出视窗边缘定位不准确的问题
+## 2.0.10(2021-07-08)
+- 修复 范围起始点样式的背景色与今日样式的字体前景色融合,导致日期字体看不清的 bug
+- 优化 弹出层在超出视窗边缘被遮盖的问题
+## 2.0.9(2021-07-07)
+- 新增 maskClick 事件
+- 修复 特殊情况日历 rpx 布局错误的 bug,rpx -> px
+- 修复 范围选择时清空返回值不合理的bug,['', ''] -> []
+## 2.0.8(2021-07-07)
+- 新增 日期时间显示框支持插槽
+## 2.0.7(2021-07-01)
+- 优化 添加 uni-icons 依赖
+## 2.0.6(2021-05-22)
+- 修复 图标在小程序上不显示的 bug
+- 优化 重命名引用组件,避免潜在组件命名冲突
+## 2.0.5(2021-05-20)
+- 优化 代码目录扁平化
+## 2.0.4(2021-05-12)
+- 新增 组件示例地址
+## 2.0.3(2021-05-10)
+- 修复 ios 下不识别 '-' 日期格式的 bug
+- 优化 pc 下弹出层添加边框和阴影
+## 2.0.2(2021-05-08)
+- 修复 在 admin 中获取弹出层定位错误的bug
+## 2.0.1(2021-05-08)
+- 修复 type 属性向下兼容,默认值从 date 变更为 datetime
+## 2.0.0(2021-04-30)
+- 支持日历形式的日期+时间的范围选择
+ > 注意:此版本不向后兼容,不再支持单独时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)
+## 1.0.6(2021-03-18)
+- 新增 hide-second 属性,时间支持仅选择时、分
+- 修复 选择跟显示的日期不一样的 bug
+- 修复 chang事件触发2次的 bug
+- 修复 分、秒 end 范围错误的 bug
+- 优化 更好的 nvue 适配
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/package.json b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/package.json
new file mode 100644
index 0000000..d2959e5
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/package.json
@@ -0,0 +1,90 @@
+{
+ "id": "uni-datetime-picker",
+ "displayName": "uni-datetime-picker 日期选择器",
+ "version": "2.2.2",
+ "description": "uni-datetime-picker 日期时间选择器,支持日历,支持范围选择",
+ "keywords": [
+ "uni-datetime-picker",
+ "uni-ui",
+ "uniui",
+ "日期时间选择器",
+ "日期时间"
+],
+ "repository": "https://github.com/dcloudio/uni-ui",
+ "engines": {
+ "HBuilderX": ""
+ },
+ "directories": {
+ "example": "../../temps/example_temps"
+ },
+ "dcloudext": {
+ "category": [
+ "前端组件",
+ "通用组件"
+ ],
+ "sale": {
+ "regular": {
+ "price": "0.00"
+ },
+ "sourcecode": {
+ "price": "0.00"
+ }
+ },
+ "contact": {
+ "qq": ""
+ },
+ "declaration": {
+ "ads": "无",
+ "data": "无",
+ "permissions": "无"
+ },
+ "npmurl": "https://www.npmjs.com/package/@dcloudio/uni-ui"
+ },
+ "uni_modules": {
+ "dependencies": [
+ "uni-scss",
+ "uni-icons"
+ ],
+ "encrypt": [],
+ "platforms": {
+ "cloud": {
+ "tcb": "y",
+ "aliyun": "y"
+ },
+ "client": {
+ "App": {
+ "app-vue": "y",
+ "app-nvue": "n"
+ },
+ "H5-mobile": {
+ "Safari": "y",
+ "Android Browser": "y",
+ "微信浏览器(Android)": "y",
+ "QQ浏览器(Android)": "y"
+ },
+ "H5-pc": {
+ "Chrome": "y",
+ "IE": "y",
+ "Edge": "y",
+ "Firefox": "y",
+ "Safari": "y"
+ },
+ "小程序": {
+ "微信": "y",
+ "阿里": "y",
+ "百度": "y",
+ "字节跳动": "y",
+ "QQ": "y"
+ },
+ "快应用": {
+ "华为": "u",
+ "联盟": "u"
+ },
+ "Vue": {
+ "vue2": "y",
+ "vue3": "y"
+ }
+ }
+ }
+ }
+}
diff --git a/uni_modules/uni-datetime-picker/components/uni-datetime-picker/readme.md b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/readme.md
new file mode 100644
index 0000000..940c0b2
--- /dev/null
+++ b/uni_modules/uni-datetime-picker/components/uni-datetime-picker/readme.md
@@ -0,0 +1,21 @@
+
+
+> `重要通知:组件升级更新 2.0.0 后,支持日期+时间范围选择,组件 ui 将使用日历选择日期,ui 变化较大,同时支持 PC 和 移动端。此版本不向后兼容,不再支持单独的时间选择(type=time)及相关的 hide-second 属性(时间选可使用内置组件 picker)。若仍需使用旧版本,可在插件市场下载*非uni_modules版本*,旧版本将不再维护`
+
+## DatetimePicker 时间选择器
+
+> **组件名:uni-datetime-picker**
+> 代码块: `uDatetimePicker`
+
+
+该组件的优势是,支持**时间戳**输入和输出(起始时间、终止时间也支持时间戳),可**同时选择**日期和时间。
+
+若只是需要单独选择日期和时间,不需要时间戳输入和输出,可使用原生的 picker 组件。
+
+**_点击 picker 默认值规则:_**
+
+- 若设置初始值 value, 会显示在 picker 显示框中
+- 若无初始值 value,则初始值 value 为当前本地时间 Date.now(), 但不会显示在 picker 显示框中
+
+### [查看文档](https://uniapp.dcloud.io/component/uniui/uni-datetime-picker)
+#### 如使用过程中有任何问题,或者您对uni-ui有一些好的建议,欢迎加入 uni-ui 交流群:871950839
\ No newline at end of file
diff --git a/components/uni-drawer/uni-drawer.vue b/uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue
similarity index 100%
rename from components/uni-drawer/uni-drawer.vue
rename to uni_modules/uni-drawer/components/uni-drawer/uni-drawer.vue
diff --git a/components/uni-grid-item/uni-grid-item.vue b/uni_modules/uni-grid-item/components/uni-grid-item/uni-grid-item.vue
similarity index 93%
rename from components/uni-grid-item/uni-grid-item.vue
rename to uni_modules/uni-grid-item/components/uni-grid-item/uni-grid-item.vue
index e7fb018..c0027de 100644
--- a/components/uni-grid-item/uni-grid-item.vue
+++ b/uni_modules/uni-grid-item/components/uni-grid-item/uni-grid-item.vue
@@ -19,12 +19,8 @@