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不返回