File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
uni_modules/uview-ui/components/u-rate Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 2727 <image class =" score-icon" src =" /static/images/score.png" ></image >
2828 </text >{{goodsDetail.basicInfo.minScore}}
2929 </view >
30+ <view v-if =" goodsDetail.basicInfo.originalPrice" class =" item original" >
31+ <text >¥</text >{{goodsDetail.basicInfo.originalPrice}}
32+ </view >
3033 </view >
3134 <!-- #ifdef MP -->
3235 <view class =" btns" >
752755 this .kanjiaSet ()
753756 },
754757 async kanjiaHelpDetail () {
755- console .log (this .curGoodsKanjia );
756- console .log (this .token );
757758 const res = await this .$wxapi .kanjiaHelpDetail (this .token , this .curGoodsKanjia .id , this
758759 .curKanjiaprogress .kanjiaInfo .uid )
759760 if (res .code == 0 ) {
760761 this .myHelpDetail = res .data
761762 }
762763 },
764+ async _pingtuanSet () {
765+ const res = await this .$wxapi .pingtuanSet (this .goodsDetail .basicInfo .id )
766+ if (res .code == 0 ) {
767+ this .pingtuanSet = res .data
768+ // 如果是拼团商品, 默认显示拼团价格
769+ this .goodsDetail .basicInfo .minPrice = this .goodsDetail .basicInfo .pingtuanPrice
770+ }
771+ },
763772 }
764773 }
765774 </script >
Original file line number Diff line number Diff line change 135135 </view >
136136 <view class =" l" ><u-line ></u-line ></view >
137137 </view >
138- <view v-for =" (item, index) in kanjiaList " :key =" index" class =" miaosha-goods-list" @click =" toDetailsTap" >
138+ <view v-for =" (item, index) in pingtuanList " :key =" index" class =" miaosha-goods-list" @click =" toDetailsTap" >
139139 <image :src =" item.pic" class =" image" mode =" aspectFill" lazy-load =" true" @click =" goDetail(item)" />
140140 <view class =" r" >
141141 <view class =" goods-title" @click =" goDetail(item)" >{{item.name}}</view >
Original file line number Diff line number Diff line change 3535 : inactiveColor
3636 "
3737 :custom-style =" {
38- padding: `0 ${$u.addUnit(gutter / 2)}`,
38+ 'padding-left': $u.addUnit(gutter / 2),
39+ 'padding-right': $u.addUnit(gutter / 2)
3940 }"
4041 :size =" size"
4142 ></u-icon >
6364 : inactiveColor
6465 "
6566 :custom-style =" {
66- padding: `0 ${$u.addUnit(gutter / 2)}`
67+ 'padding-left': $u.addUnit(gutter / 2),
68+ 'padding-right': $u.addUnit(gutter / 2)
6769 }"
6870 :size =" size"
6971 ></u-icon >
You can’t perform that action at this time.
0 commit comments