Commit 3aee4dd6edf55096ae7c6b29e97534750b87998c
1 parent
a31f2941
商品详情页面的修改
Showing
2 changed files
with
4 additions
and
3 deletions
pages/getphone/getphone.js
| ... | ... | @@ -17,7 +17,8 @@ Page({ |
| 17 | 17 | var openid = getApp().globalData.openid; |
| 18 | 18 | |
| 19 | 19 | if (openid == "" || openid == null) { |
| 20 | - openid = getApp().globalData.userInfo.weapp_openid; | |
| 20 | + if (getApp().globalData.userInfo) | |
| 21 | + openid = getApp().globalData.userInfo.weapp_openid; | |
| 21 | 22 | } |
| 22 | 23 | |
| 23 | 24 | if(openid=="" || openid==null ){ | ... | ... |
pages/goods/goodsInfo/goodsInfo.wxml
| ... | ... | @@ -420,7 +420,7 @@ |
| 420 | 420 | <image class="xc_comment-img" src="{{iurl}}/miniapp/images/star-red.png" wx:for="{{item.sum_rank}}" wx:key="{{index}}"></image> |
| 421 | 421 | </view> |
| 422 | 422 | </view> |
| 423 | - <view class="xc_comment-font pj_word_size ellipsis-3"> | |
| 423 | + <view class="xc_comment-font fs22 ellipsis-3"> | |
| 424 | 424 | {{item.content?item.content:''}} |
| 425 | 425 | </view> |
| 426 | 426 | <view class="xc_comment-val"> |
| ... | ... | @@ -635,7 +635,7 @@ |
| 635 | 635 | <image class="star" src="{{iurl}}/miniapp/images/star-red.png" wx:for="{{item.sum_rank}}" wx:key="{{index}}"></image> |
| 636 | 636 | </view> |
| 637 | 637 | </view> |
| 638 | - <view class="xc-pirces"> | |
| 638 | + <view class="xc-pirces" > | |
| 639 | 639 | <text class="middle-font"> |
| 640 | 640 | {{item.content?item.content:''}} |
| 641 | 641 | </text> | ... | ... |