细节修改

version/0412
fanfan 9 months ago
parent 65140af1df
commit 1c78ff3629
  1. 2
      pages/cart/index.vue
  2. 6
      pages/index/index.vue
  3. 4
      pages/news/rules/rulesList.vue
  4. 2
      pages/news1/help.vue
  5. 5
      pages/user/index.vue

@ -79,7 +79,7 @@
</view> </view>
<view class="price"> <view class="price">
<text style="font-size: 20rpx;"></text> <text style="font-size: 20rpx;"></text>
<text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_max}}</text> <text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_min}}</text>
<text style="font-size: 20rpx;margin-left:10rpx;">到手价</text> <text style="font-size: 20rpx;margin-left:10rpx;">到手价</text>
<text style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text> <text style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text>
</view> </view>

@ -238,7 +238,7 @@
</view> </view>
<view class="price"> <view class="price">
<text style="font-size: 20rpx;"></text> <text style="font-size: 20rpx;"></text>
<text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_max}}</text> <text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_min}}</text>
<text style="font-size: 20rpx;margin-left:10rpx;">到手价</text> <text style="font-size: 20rpx;margin-left:10rpx;">到手价</text>
<text <text
style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text> style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text>
@ -259,7 +259,7 @@
<view class="topcontent"> <view class="topcontent">
<view class="shopTitle"> <view class="shopTitle">
<text class="title">{{cityInfo.shop_name}}</text> <text class="title">{{cityInfo.shop_name}}</text>
<text class="shopStatus">{{cityInfo.is_open==1?'营业中':'休息中'}}</text> <text class="shopStatus">营业中</text>
</view> </view>
<view class="rate"> <view class="rate">
<u-rate :count="5" inactive-color="#818181" active-color="#FA8C3D" v-model="cityInfo.star"> <u-rate :count="5" inactive-color="#818181" active-color="#FA8C3D" v-model="cityInfo.star">
@ -2263,4 +2263,4 @@
// height:10px; // height:10px;
// width:10px; // width:10px;
// } // }
</style> </style>

@ -26,14 +26,14 @@
} }
}, },
onLoad(options) { onLoad(options) {
this.itemInfo = JSON.parse(options.itemInfo) this.itemInfo = JSON.parse(decodeURIComponent(options.itemInfo))
this.title = this.itemInfo.name this.title = this.itemInfo.name
this.list = this.itemInfo.child this.list = this.itemInfo.child
}, },
methods: { methods: {
goRules(item) { goRules(item) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/news/rules/index?itemInfo=' + JSON.stringify(item) url: '/pages/news/rules/index?itemInfo=' + encodeURIComponent(JSON.stringify(item))
}) })
} }
} }

@ -50,7 +50,7 @@
methods: { methods: {
goListPage(item) { goListPage(item) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/news/rules/rulesList?itemInfo=' + JSON.stringify(item) url: '/pages/news/rules/rulesList?itemInfo=' + encodeURIComponent(JSON.stringify(item))
}) })
}, },
getHelpList() { getHelpList() {

@ -529,7 +529,7 @@
</view> </view>
<view class="price"> <view class="price">
<text style="font-size: 20rpx;"></text> <text style="font-size: 20rpx;"></text>
<text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_max}}</text> <text style="font-weight: bold;font-size: 36rpx;">{{item.goods_price_min}}</text>
<text style="font-size: 20rpx;margin-left:10rpx;">到手价</text> <text style="font-size: 20rpx;margin-left:10rpx;">到手价</text>
<text <text
style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text> style="color: #949494;font-size: 22rpx;text-decoration: line-through;">{{item.line_price_min}}</text>
@ -618,6 +618,7 @@
let rawData = JSON.parse(res.rawData) let rawData = JSON.parse(res.rawData)
this.userInfo.avatar_url = rawData.avatarUrl; this.userInfo.avatar_url = rawData.avatarUrl;
this.userInfo.nick_name = rawData.nickName; this.userInfo.nick_name = rawData.nickName;
console.log("用户信息", JSON.parse(res.rawData))
if (rawData) { if (rawData) {
that.headImgUpload(rawData.avatarUrl, rawData.nickName) that.headImgUpload(rawData.avatarUrl, rawData.nickName)
} else { } else {
@ -627,7 +628,7 @@
} }
}) })
}, },
nickSubmit(avatar_id, nick_name) { nickSubmit(avatar_id,nick_name) {
UserApi.editUser({ UserApi.editUser({
avatar_id: avatar_id, avatar_id: avatar_id,
nick_name: nick_name nick_name: nick_name

Loading…
Cancel
Save