weixin_52219567 3 недель назад
Родитель
Сommit
28c60f7e9b
4 измененных файлов с 103 добавлено и 104 удалено
  1. 39 0
      src/addon/components/diy/group/index.vue
  2. 1 1
      src/app/stores/diy.ts
  3. 57 61
      src/manifest.json
  4. 6 42
      src/pages.json

+ 39 - 0
src/addon/components/diy/group/index.vue

@@ -301,6 +301,45 @@
     </view>
 </template>
 <script lang="ts" setup>
+   import diyActiveCube from '@/app/components/diy/active-cube/index.vue';
+   import diyCarouselSearch from '@/app/components/diy/carousel-search/index.vue';
+   import diyFloatBtn from '@/app/components/diy/float-btn/index.vue';
+   import diyFormAddress from '@/app/components/diy/form-address/index.vue';
+   import diyFormCheckbox from '@/app/components/diy/form-checkbox/index.vue';
+   import diyFormDate from '@/app/components/diy/form-date/index.vue';
+   import diyFormDateScope from '@/app/components/diy/form-date-scope/index.vue';
+   import diyFormEmail from '@/app/components/diy/form-email/index.vue';
+   import diyFormFile from '@/app/components/diy/form-file/index.vue';
+   import diyFormIdentity from '@/app/components/diy/form-identity/index.vue';
+   import diyFormIdentityPrivacy from '@/app/components/diy/form-identity-privacy/index.vue';
+   import diyFormImage from '@/app/components/diy/form-image/index.vue';
+   import diyFormInput from '@/app/components/diy/form-input/index.vue';
+   import diyFormLocation from '@/app/components/diy/form-location/index.vue';
+   import diyFormMobile from '@/app/components/diy/form-mobile/index.vue';
+   import diyFormNumber from '@/app/components/diy/form-number/index.vue';
+   import diyFormPrivacy from '@/app/components/diy/form-privacy/index.vue';
+   import diyFormPrivacyPop from '@/app/components/diy/form-privacy-pop/index.vue';
+   import diyFormRadio from '@/app/components/diy/form-radio/index.vue';
+   import diyFormSubmit from '@/app/components/diy/form-submit/index.vue';
+   import diyFormTable from '@/app/components/diy/form-table/index.vue';
+   import diyFormTextarea from '@/app/components/diy/form-textarea/index.vue';
+   import diyFormTime from '@/app/components/diy/form-time/index.vue';
+   import diyFormTimeScope from '@/app/components/diy/form-time-scope/index.vue';
+   import diyFormVideo from '@/app/components/diy/form-video/index.vue';
+   import diyFormWechatName from '@/app/components/diy/form-wechat-name/index.vue';
+   import diyGraphicNav from '@/app/components/diy/graphic-nav/index.vue';
+   import diyHorzBlank from '@/app/components/diy/horz-blank/index.vue';
+   import diyHorzLine from '@/app/components/diy/horz-line/index.vue';
+   import diyHotArea from '@/app/components/diy/hot-area/index.vue';
+   import diyImageAds from '@/app/components/diy/image-ads/index.vue';
+   import diyMemberInfo from '@/app/components/diy/member-info/index.vue';
+   import diyMemberLevel from '@/app/components/diy/member-level/index.vue';
+   import diyNotice from '@/app/components/diy/notice/index.vue';
+   import diyPictureShow from '@/app/components/diy/picture-show/index.vue';
+   import diyRichText from '@/app/components/diy/rich-text/index.vue';
+   import diyRubikCube from '@/app/components/diy/rubik-cube/index.vue';
+   import diyText from '@/app/components/diy/text/index.vue';
+   
    import diyArticle from '@/addon/cms/components/diy/article/index.vue';
    import diyGoodsCoupon from '@/addon/shop/components/diy/goods-coupon/index.vue';
    import diyGoodsList from '@/addon/shop/components/diy/goods-list/index.vue';

+ 1 - 1
src/app/stores/diy.ts

@@ -115,7 +115,7 @@ const useDiyStore = defineStore('diy', {
             // #endif
         },
         // 选中正在编辑的组件
-        changeCurrentIndex(index: number, component: any = null) {
+        changeCurrentIndex(index: any, component: any = null) {
             // #ifdef H5
 
             // 实际展示禁止编辑

+ 57 - 61
src/manifest.json

@@ -1,24 +1,24 @@
 {
-    "name": "",
-    "appid": "__UNI__ED923AB",
-    "description": "",
-    "versionName": "1.0.0",
-    "versionCode": "100",
-    "transformPx": false,
-    "app-plus": {
-        "usingComponents": true,
-        "nvueStyleCompiler": "uni-app",
-        "compilerVersion": 3,
-        "splashscreen": {
-            "alwaysShowBeforeRender": true,
-            "waiting": true,
-            "autoclose": true,
-            "delay": 0
+    "name" : "",
+    "appid" : "__UNI__ED923AB",
+    "description" : "",
+    "versionName" : "1.0.0",
+    "versionCode" : "100",
+    "transformPx" : false,
+    "app-plus" : {
+        "usingComponents" : true,
+        "nvueStyleCompiler" : "uni-app",
+        "compilerVersion" : 3,
+        "splashscreen" : {
+            "alwaysShowBeforeRender" : true,
+            "waiting" : true,
+            "autoclose" : true,
+            "delay" : 0
         },
-        "modules": {},
-        "distribute": {
-            "android": {
-                "permissions": [
+        "modules" : {},
+        "distribute" : {
+            "android" : {
+                "permissions" : [
                     "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
                     "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
                     "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
@@ -36,63 +36,59 @@
                     "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
                 ]
             },
-            "ios": {},
-            "sdkConfigs": {}
+            "ios" : {},
+            "sdkConfigs" : {}
         }
     },
-    "quickapp": {},
-    "mp-weixin": {
-        "appid": "",
-        "setting": {
-            "urlCheck": false
+    "quickapp" : {},
+    "mp-weixin" : {
+        "appid" : "wx3d002d66868332a1",
+        "setting" : {
+            "urlCheck" : false
         },
-        "usingComponents": true,
-        "permission": {
-            "scope.userLocation": {
-                "desc": "为了更好地为您提供服务"
+        "usingComponents" : true,
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "为了更好地为您提供服务"
             },
-            "scope.writePhotosAlbum": {
-                "desc": "为了更好地为您提供服务"
+            "scope.writePhotosAlbum" : {
+                "desc" : "为了更好地为您提供服务"
             }
         },
-        "requiredPrivateInfos": [
-            "chooseLocation",
-            "getLocation",
-            "chooseAddress"
-        ],
-        "__usePrivacyCheck__": true
+        "requiredPrivateInfos" : [ "chooseLocation", "getLocation", "chooseAddress" ],
+        "__usePrivacyCheck__" : true
     },
-    "mp-alipay": {
-        "usingComponents": true
+    "mp-alipay" : {
+        "usingComponents" : true
     },
-    "mp-baidu": {
-        "usingComponents": true
+    "mp-baidu" : {
+        "usingComponents" : true
     },
-    "mp-toutiao": {
-        "usingComponents": true
+    "mp-toutiao" : {
+        "usingComponents" : true
     },
-    "uniStatistics": {
-        "enable": false
+    "uniStatistics" : {
+        "enable" : false
     },
-    "vueVersion": "3",
-    "h5": {
-        "router": {
-            "mode": "history",
-            "base": "/wap/"
+    "vueVersion" : "3",
+    "h5" : {
+        "router" : {
+            "mode" : "history",
+            "base" : "/wap/"
         },
-        "sdkConfigs": {
-            "maps": {
-                "qqmap": {
-                    "key": ""
+        "sdkConfigs" : {
+            "maps" : {
+                "qqmap" : {
+                    "key" : ""
                 }
             }
         },
         "async" : {
-          "loading" : "",
-          "error" : "",
-          "delay" : 0,
-          "timeout" : 3000
+            "loading" : "",
+            "error" : "",
+            "delay" : 0,
+            "timeout" : 3000
         }
     },
-    "fallbackLocale": "zh-Hans"
-}
+    "fallbackLocale" : "zh-Hans"
+}

+ 6 - 42
src/pages.json

@@ -7,13 +7,7 @@
                 // #ifndef H5
                 "navigationStyle": "custom",
                 // #endif
-                "navigationBarTitleText": "%pages.index.index%",
-                "usingComponents": {
-                    "diy-group": "../../../../addon/components/diy/group/index"
-                },
-                "componentPlaceholder": {
-                    "diy-group": "view"
-                }
+                "navigationBarTitleText": "%pages.index.index%"
             }
         },
         {
@@ -73,13 +67,7 @@
                 // #ifndef H5
                 "navigationStyle": "custom",
                 // #endif
-                "navigationBarTitleText": "%pages.index.diy%",
-                "usingComponents": {
-                    "diy-group": "../../../../addon/components/diy/group/index"
-                },
-                "componentPlaceholder": {
-                    "diy-group": "view"
-                }
+                "navigationBarTitleText": "%pages.index.diy%"
             }
         },
         {
@@ -88,13 +76,7 @@
                 // #ifndef H5
                 "navigationStyle": "custom",
                 // #endif
-                "navigationBarTitleText": "%pages.index.diy_form%",
-                "usingComponents": {
-                    "diy-group": "../../../../addon/components/diy/group/index"
-                },
-                "componentPlaceholder": {
-                    "diy-group": "view"
-                }
+                "navigationBarTitleText": "%pages.index.diy_form%"
             }
         },
         {
@@ -721,13 +703,7 @@
                         // #ifndef H5
                         "navigationStyle": "custom",
                         // #endif
-                        "navigationBarTitleText": "%shop_fenxiao.pages.level%",
-                        "usingComponents": {
-                            "ns-goods-recommend": "../../../../addon/shop/components/ns-goods-recommend/ns-goods-recommend"
-                        },
-                        "componentPlaceholder": {
-                            "ns-goods-recommend": "view"
-                        }
+                        "navigationBarTitleText": "%shop_fenxiao.pages.level%"
                     },
                     "needLogin": true
                 },
@@ -1124,10 +1100,6 @@
         },
         // PINTUAN_PAGE_END
 // {{ PAGE_END }}
-        {
-            "root": "app/components",
-            "pages": []
-        },
         {
             "root": "app/pages/member",
             "pages": [
@@ -1192,13 +1164,7 @@
                         // #ifndef H5
                         "navigationStyle": "custom",
                         // #endif
-                        "navigationBarTitleText": "%pages.member.index%",
-                        "usingComponents": {
-                            "diy-group": "../../../../addon/components/diy/group/index"
-                        },
-                        "componentPlaceholder": {
-                            "diy-group": "view"
-                        }
+                        "navigationBarTitleText": "%pages.member.index%"
                     }
                 },
                 {
@@ -1302,11 +1268,9 @@
     "uniIdRouter": {},
     "easycom": {
         "custom": {
-            "diy-group": "@/addon/components/diy/group/index.vue",
             "^u-(.*)": "uview-plus/components/u-$1/u-$1.vue",
             "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
-            "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
-            "diy-(\W.*)": "@/app/components/diy/$1/index.vue"
+            "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
         }
     }
 }