Merge pull request '调试完成' (#311) from xbx into master
Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/311
This commit was merged in pull request #311.
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
<text>{{ goodsInfo.is_collect == 1 ? '已收藏' : '收藏' }}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="shuliang">
|
||||
<text>历史销售数量:{{goodsInfo.goods_salenum}}</text>
|
||||
<text>库存仅剩数量:{{goodsInfo.goods_storage}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="hr"></view>
|
||||
<!-- <navs :value="领券"></navs> -->
|
||||
@@ -776,7 +780,15 @@ export default {
|
||||
.goods-name {
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
}
|
||||
.shuliang{
|
||||
padding-top: 33rpx;
|
||||
font-size: 24rpx;
|
||||
color:#656565;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.price-collect {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -1252,6 +1264,7 @@ export default {
|
||||
font-size: 30rpx;
|
||||
color: #ff3131;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
.num {
|
||||
|
||||
28
pageB/tipsinfo/index.vue
Normal file
28
pageB/tipsinfo/index.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<view class="u-content">
|
||||
<u-parse :html="info"></u-parse>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
<script>
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
info:""
|
||||
}
|
||||
},
|
||||
onLoad(o){
|
||||
console.log(o.id)
|
||||
this.$u.api.tipsinfo({document_code:o.id}).then((res)=>{
|
||||
console.log(JSON.stringify(res))
|
||||
uni.setNavigationBarTitle({
|
||||
title: res.data.document_title
|
||||
});
|
||||
this.info = res.data.document_content
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user