li.shaoyi há 2 anos atrás
pai
commit
bc514396fe

+ 2 - 2
oem/gstj/manifest.json

@@ -5,9 +5,9 @@
     "name" : "甘肃碳交",
     /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.0.7",
+        "name" : "1.0.8",
         /*应用版本名称*/
-        "code" : 100007
+        "code" : 100008
     },
     "description" : "",
     /*应用描述信息*/

+ 2 - 2
oem/qxst/manifest.json

@@ -5,9 +5,9 @@
     "name" : "贵茶数字化",
     /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.0.11",
+        "name" : "1.0.15",
         /*应用版本名称*/
-        "code" : 100011
+        "code" : 100015
     },
     "description" : "",
     /*应用描述信息*/

+ 2 - 2
oem/zrwyt/manifest.json

@@ -5,9 +5,9 @@
     "name" : "中融文遗通",
     /*应用名称,程序桌面图标名称*/
     "version" : {
-        "name" : "1.0.3",
+        "name" : "1.0.7",
         /*应用版本名称*/
-        "code" : 100003
+        "code" : 100007
     },
     "description" : "",
     /*应用描述信息*/

+ 14 - 2
src/packages/gstj/views/order/position/Index.vue

@@ -1,7 +1,13 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的持仓" />
+            <app-navbar title="我的持仓">
+                <template #right v-if="selectedComponent.detail">
+                    <div class="button-more" @click="openComponent(selectedComponent.name)">
+                        <span>明细</span>
+                    </div>
+                </template>
+            </app-navbar>
         </template>
         <Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
             <template v-for="(item, index) in components" :key="index">
@@ -10,18 +16,22 @@
                 </Tab>
             </template>
         </Tabs>
+        <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
+            v-if="componentId && selectedComponent.detail" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
-import { shallowRef, defineAsyncComponent } from 'vue'
+import { shallowRef, computed, defineAsyncComponent } from 'vue'
 import { Tab, Tabs } from 'vant'
+import { useComponent } from '@/hooks/component'
 
 const components = [
     {
         name: 'goods',
         title: '订单持仓',
         component: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/list/Index.vue')),
+        detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/detail/Index.vue')),
     },
     {
         name: 'spot',
@@ -31,4 +41,6 @@ const components = [
 ]
 
 const active = shallowRef(0)
+const selectedComponent = computed(() => components[active.value])
+const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 </script>

+ 4 - 0
src/packages/gstj/views/user/login/index.less

@@ -6,4 +6,8 @@
             height: 1.6rem;
         }
     }
+
+    &-form {
+        box-shadow: 0 0 .72rem 0 rgba(0, 0, 0, .15);
+    }
 }

+ 13 - 1
src/packages/qdhs/views/order/position/Index.vue

@@ -1,20 +1,32 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的持仓" />
+            <app-navbar title="我的持仓">
+                <template #right>
+                    <div class="button-more" @click="openComponent('detail')">
+                        <span>明细</span>
+                    </div>
+                </template>
+            </app-navbar>
         </template>
         <component :is="components[0].component" />
+        <component ref="componentRef" :is="components[0].detail" @closed="closeComponent"
+            v-if="componentId" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { defineAsyncComponent } from 'vue'
+import { useComponent } from '@/hooks/component'
 
 const components = [
     {
         name: 'goods',
         title: '订单持仓',
         component: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/list/Index.vue')),
+        detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/detail/Index.vue')),
     },
 ]
+
+const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 </script>

+ 13 - 1
src/packages/qxst/views/order/position/Index.vue

@@ -1,20 +1,32 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的持仓" />
+            <app-navbar title="我的持仓">
+                <template #right>
+                    <div class="button-more" @click="openComponent('detail')">
+                        <span>明细</span>
+                    </div>
+                </template>
+            </app-navbar>
         </template>
         <component :is="components[0].component" />
+        <component ref="componentRef" :is="components[0].detail" @closed="closeComponent"
+            v-if="componentId" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
 import { defineAsyncComponent } from 'vue'
+import { useComponent } from '@/hooks/component'
 
 const components = [
     {
         name: 'goods',
         title: '订单持仓',
         component: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/list/Index.vue')),
+        detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/detail/Index.vue')),
     },
 ]
+
+const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 </script>

+ 14 - 2
src/packages/tc/views/order/position/Index.vue

@@ -1,7 +1,13 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的持仓" />
+            <app-navbar title="我的持仓">
+                <template #right v-if="selectedComponent.detail">
+                    <div class="button-more" @click="openComponent(selectedComponent.name)">
+                        <span>明细</span>
+                    </div>
+                </template>
+            </app-navbar>
         </template>
         <Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
             <template v-for="(item, index) in components" :key="index">
@@ -10,18 +16,22 @@
                 </Tab>
             </template>
         </Tabs>
+        <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
+            v-if="componentId && selectedComponent.detail" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
-import { shallowRef, defineAsyncComponent } from 'vue'
+import { shallowRef, computed, defineAsyncComponent } from 'vue'
 import { Tab, Tabs } from 'vant'
+import { useComponent } from '@/hooks/component'
 
 const components = [
     {
         name: 'goods',
         title: '订单持仓',
         component: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/list/Index.vue')),
+        detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/detail/Index.vue')),
     },
     {
         name: 'presale',
@@ -36,4 +46,6 @@ const components = [
 ]
 
 const active = shallowRef(0)
+const selectedComponent = computed(() => components[active.value])
+const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 </script>

+ 14 - 2
src/packages/zrwyt/views/order/position/Index.vue

@@ -1,7 +1,13 @@
 <template>
     <app-view>
         <template #header>
-            <app-navbar title="我的持仓" />
+            <app-navbar title="我的持仓">
+                <template #right v-if="selectedComponent.detail">
+                    <div class="button-more" @click="openComponent(selectedComponent.name)">
+                        <span>明细</span>
+                    </div>
+                </template>
+            </app-navbar>
         </template>
         <Tabs class="van-tabs--list" v-model:active="active" :swipe-threshold="4">
             <template v-for="(item, index) in components" :key="index">
@@ -10,18 +16,22 @@
                 </Tab>
             </template>
         </Tabs>
+        <component ref="componentRef" :is="selectedComponent.detail" @closed="closeComponent"
+            v-if="componentId && selectedComponent.detail" />
     </app-view>
 </template>
 
 <script lang="ts" setup>
-import { shallowRef, defineAsyncComponent } from 'vue'
+import { shallowRef, computed, defineAsyncComponent } from 'vue'
 import { Tab, Tabs } from 'vant'
+import { useComponent } from '@/hooks/component'
 
 const components = [
     {
         name: 'goods',
         title: '订单持仓',
         component: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/list/Index.vue')),
+        detail: defineAsyncComponent(() => import('@mobile/views/order/position/components/goods/detail/Index.vue')),
     },
     // {
     //     name: 'presale',
@@ -36,4 +46,6 @@ const components = [
 ]
 
 const active = shallowRef(0)
+const selectedComponent = computed(() => components[active.value])
+const { componentRef, componentId, openComponent, closeComponent } = useComponent()
 </script>