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