|
@@ -123,22 +123,41 @@
|
|
|
</div>
|
|
|
</transition>
|
|
|
</div>
|
|
|
- <div class="add_desk" @touchmove.prevent v-if="addDesktop && !isStandalone && !addDesktops">
|
|
|
- <div class="addgif">
|
|
|
- <template v-if="modes == 'B'">
|
|
|
+ <!-- -->
|
|
|
+ <div class="add_desk" @touchmove.prevent v-if="addDesktop && !isStandalone">
|
|
|
+ <template v-if="modes == 'B'">
|
|
|
+ <div class="addgif">
|
|
|
<div class="addpng">
|
|
|
- <img src="../../src/assets/addtips.png" width="100%" />
|
|
|
+ <img
|
|
|
+ src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/addtips.png"
|
|
|
+ width="100%"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div class="add-gif">
|
|
|
- <img src="../../src/assets/adddeskot.gif" />
|
|
|
+ <img
|
|
|
+ src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/adddeskot.gif"
|
|
|
+ />
|
|
|
</div>
|
|
|
- </template>
|
|
|
- <template v-else>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="modes == 'A'">
|
|
|
+ <div class="addgif">
|
|
|
<div class="popimg">
|
|
|
- <img src="../assets/popimg.png" width="100%" />
|
|
|
+ <img
|
|
|
+ src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/popimg.png"
|
|
|
+ width="100%"
|
|
|
+ />
|
|
|
</div>
|
|
|
- </template>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <div class="global-img">
|
|
|
+ <img
|
|
|
+ src="https://zhuishuyun.oss-cn-hangzhou.aliyuncs.com/zsy_ios_app/zsy_ios_img/guide/add_global.png"
|
|
|
+ width="100%"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
<div
|
|
|
class="share"
|
|
@@ -865,13 +884,13 @@ export default {
|
|
|
//是否从派单链接进来的标识
|
|
|
if (yun) this.yun = yun;
|
|
|
|
|
|
- let addDestops = getKeyByWay("addDestop");
|
|
|
+ /* let addDestops = getKeyByWay("addDestop");
|
|
|
if (addDestops == "true" || addDestops == true) {
|
|
|
this.addDestops = true;
|
|
|
- }
|
|
|
+ } */
|
|
|
//处理用户逻辑
|
|
|
const token = getKeyByWay("token");
|
|
|
- if (token) {
|
|
|
+ if (token) {
|
|
|
//有token 上报加桌状态
|
|
|
setUserMode(
|
|
|
Number(window.navigator.standalone) || 0,
|
|
@@ -1060,6 +1079,19 @@ export default {
|
|
|
};
|
|
|
</script>
|
|
|
<style lang="scss">
|
|
|
+.global-img {
|
|
|
+ position: absolute;
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ img {
|
|
|
+ margin: auto;
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+}
|
|
|
.blank_page {
|
|
|
position: fixed;
|
|
|
background-color: #fff;
|