From 72d5f8b7c363c8e47c72fd78b51b6d47f4ec1a29 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com>
Date: Tue, 4 Apr 2023 10:30:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/ServiceDetails/ServiceDetails.scss | 2 +-
pages/ServiceDetails/ServiceDetails.vue | 4 ++--
store/index.js | 8 ++++----
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pages/ServiceDetails/ServiceDetails.scss b/pages/ServiceDetails/ServiceDetails.scss
index 178a9e2..c897a0c 100644
--- a/pages/ServiceDetails/ServiceDetails.scss
+++ b/pages/ServiceDetails/ServiceDetails.scss
@@ -266,7 +266,6 @@
top:10%;
width: 65%;
.top,.bottom{
- height: 30rpx;
view {
width: 100%;
font-size: 32rpx;
@@ -279,6 +278,7 @@
}
.bottom {
+ height: 60rpx;
view {
font-size: 25rpx;
color: #969394;
diff --git a/pages/ServiceDetails/ServiceDetails.vue b/pages/ServiceDetails/ServiceDetails.vue
index 5161114..bea494e 100644
--- a/pages/ServiceDetails/ServiceDetails.vue
+++ b/pages/ServiceDetails/ServiceDetails.vue
@@ -92,7 +92,7 @@
-
+
{{rateimgtitle.title}}
@@ -109,7 +109,7 @@
不满意
-
+
diff --git a/store/index.js b/store/index.js
index c431573..3f65a44 100644
--- a/store/index.js
+++ b/store/index.js
@@ -12,8 +12,6 @@ const store = new Vuex.Store({
//相当于同步的操作
//点击确认
subscribesuccess(state) {
- const openids = uni.getStorageSync('openid');
- const patientIds = uni.getStorageSync('patientId');
wx.requestSubscribeMessage({
tmplIds: [
'-IxZeEkkXFhoSwGtBHbipKQ6kjEmkdTkswKeOypSsNQ',
@@ -26,8 +24,6 @@ const store = new Vuex.Store({
})
},
integralsubscribesuccess(state) {
- const openids = uni.getStorageSync('openid');
- const patientIds = uni.getStorageSync('patientId');
wx.requestSubscribeMessage({
tmplIds: [
'S_c9bR4znSWpXg-6ACIMn7AkaR11dzo113XM8w4CKz0'
@@ -41,6 +37,8 @@ const store = new Vuex.Store({
actions: {
//相当于异步的操作,不能直接改变state的值,只能通过触发mutations的方法才能改变
integralopenPopup(contxt) {
+ const openids = uni.getStorageSync('openid');
+ const patientIds = uni.getStorageSync('patientId');
// 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
wx.getSetting({
withSubscriptions: true, // 是否获取用户订阅消息的订阅状态,默认false不返回
@@ -54,6 +52,8 @@ const store = new Vuex.Store({
},
// 是否设置过授权
openPopup(contxt) {
+ const openids = uni.getStorageSync('openid');
+ const patientIds = uni.getStorageSync('patientId');
// 获取用户的当前设置,判断是否点击了“总是保持以上,不在询问”
wx.getSetting({
withSubscriptions: true, // 是否获取用户订阅消息的订阅状态,默认false不返回