|
|
@@ -26,7 +26,7 @@
|
|
|
<bottomBtn :tabVal="tabVal" ref="bottomBtn"></bottomBtn>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="floatingIcon" v-dialogDrag>
|
|
|
+ <div class="floatingIcon" :style="setSIcontyle" v-dialogDrag>
|
|
|
<div class="AIIcon" @click="deepseek">
|
|
|
<van-icon class="img" :name="require('@/assets/ai.png')" size="40" />
|
|
|
</div>
|
|
|
@@ -62,6 +62,10 @@ export default {
|
|
|
hintTabPageIndex: 0,
|
|
|
isGZorJZ: null,
|
|
|
isLoading: false,
|
|
|
+ setSIcontyle: {
|
|
|
+ bottom: '85px',
|
|
|
+ right: '14px',
|
|
|
+ },
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -88,6 +92,13 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getDict();
|
|
|
+ let floatingIconStyle = JSON.parse(localStorage.getItem('floatingIcon'));
|
|
|
+ if (floatingIconStyle && floatingIconStyle.length) {
|
|
|
+ this.setSIcontyle = {
|
|
|
+ left: floatingIconStyle[0],
|
|
|
+ top: floatingIconStyle[1],
|
|
|
+ };
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
@@ -230,8 +241,6 @@ export default {
|
|
|
}
|
|
|
.floatingIcon {
|
|
|
position: absolute;
|
|
|
- bottom: 85px;
|
|
|
- right: 14px;
|
|
|
width: 40px;
|
|
|
z-index: 99999;
|
|
|
height: min-content;
|