Commit 408874c6 by 前端

Merge branch 'v1.0.1' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.1

2 parents eb6d66bc 02809a5e
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-07 17:09:53
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-04-11 16:49:21
* @LastEditTime: 2024-04-11 17:33:00
* @FilePath: \gl_tape\App.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -24,7 +24,16 @@ export default {
keepScreenOn: true,
});
},
onShow: function () {},
onShow: function () {
const userInfo = uni.$storage.get('userInfo') || {}
if (!userInfo.shopMerchantId || !userInfo.shopMerchantName) {
uni.$storage.rm("userInfo");
uni.$storage.rm("sessionId");
uni.reLaunch({
url: "/pages/common/login",
})
}
},
onHide: function () {
// if (this.isStart && !this.isEnd) {
// const recorderManager = uni.getRecorderManager();
......
......@@ -103,7 +103,6 @@ export default {
.tips-content {
padding: 48rpx;
box-sizing: border-box;
border-bottom: 1px solid #e8e8e8;
height: calc(100% - 100rpx);
.tips-title {
position: relative;
......@@ -137,6 +136,7 @@ export default {
align-items: center;
justify-content: center;
height: 100rpx;
border-top: 1px solid #e8e8e8;
.close {
color: #6c6c70;
......
......@@ -193,6 +193,11 @@ export default {
showPopup (e) {
this.$refs[e].open()
},
closeAllPopup(){
this.$refs.carBrandListVisible.close()
this.$refs.carBoxVisible.close()
this.$refs.employeeBoxVisible.close()
}
}
}
</script>
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @LastEditors: huyue
* @LastEditTime: 2024-04-11 14:24:39
* @LastEditTime: 2024-04-11 17:12:16
-->
<template>
<uni-popup
......@@ -130,6 +130,7 @@ export default {
},
// 显示弹窗
show() {
this.payActive = 1
// 通过组件定义的ref调用uni-popup方法 ,如果传入参数 ,type 属性将失效 ,仅支持 ['top','left','bottom','right','center']
this.$refs.popup.open("bottom");
this.findPayInfo();
......@@ -186,7 +187,7 @@ export default {
margin-top: 40rpx;
.tab-item {
width: 320rpx;
padding: 24rpx 0 28rpx;
padding: 24rpx 0;
text-align: center;
background-color: #fff;
color: #666;
......
......@@ -26,6 +26,7 @@
<media_1
:views="media[1]"
:penSwitch="penSwitch"
ref="media1"
/>
</view>
<view :class="['view', { showView: id == 2 }]">
......@@ -168,6 +169,7 @@ export default {
},
/**切换素材 */
choose (e) {
if(this.id == 1) this.$refs.media1.closeAllPopup()
this.id = e.id;
this.getFindSoureDetail(e.id);
},
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @LastEditors: huyue
* @LastEditTime: 2024-04-11 09:53:23
* @LastEditTime: 2024-04-11 16:04:44
-->
<template>
<view class="information-entry">
......@@ -239,15 +239,13 @@ export default {
this.isPass = Object.values(customerInfo).every((value) => !!value);
});
},
onShow() {
if (!this.isPreview) {
this.infoList = this.infoList.map((item) => {
if (item.imgUrl) {
delete item.imgUrl;
}
return item;
});
}
onBackPress() {
this.infoList = this.infoList.map((item) => {
if (item.imgUrl) {
delete item.imgUrl;
}
return item;
});
},
methods: {
...mapMutations("audio", ["setBooks"]),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!