Commit ab0a780b authored by Mac's avatar Mac

1

parent 64b4a56f
<template> <template>
<view class="guidecarOrderdetails" :style="{'height':contentHeight}"> <view class="guidecarOrderdetails" :style="{'height':contentHeight}" >
<view class="u-skeleton" v-if="isExsitGoods" style="background: #FFF;"> <view class="u-skeleton" v-if="isExsitGoods" style="background: #FFF;">
<view class="g_top"> <view class="g_top">
<view class="row"> <view class="row">
...@@ -213,6 +213,7 @@ ...@@ -213,6 +213,7 @@
预订 预订
</view> </view>
</view> </view>
<u-skeleton v-if="loading" :loading="true" :animation="true" bgcolor="#FFF"></u-skeleton>
<u-divider :margin-top="20" :margin-bottom="20" bg-color="transparent">商品详情</u-divider> <u-divider :margin-top="20" :margin-bottom="20" bg-color="transparent">商品详情</u-divider>
<view class="details"> <view class="details">
<h-parse :content="detailContent" @navigate="clickDescription"></h-parse> <h-parse :content="detailContent" @navigate="clickDescription"></h-parse>
...@@ -250,6 +251,7 @@ ...@@ -250,6 +251,7 @@
}, },
data() { data() {
return { return {
loading: true,
pageTitle: "详情", pageTitle: "详情",
GoodsId:367468, GoodsId:367468,
g:{}, g:{},
...@@ -419,6 +421,7 @@ ...@@ -419,6 +421,7 @@
}, },
methods: { methods: {
init(){ init(){
this.loading = true;
uni.showLoading({ uni.showLoading({
title: "加载中", title: "加载中",
}); });
...@@ -451,8 +454,10 @@ ...@@ -451,8 +454,10 @@
// '< img style="margin-top:-4px;width:100%"' // '< img style="margin-top:-4px;width:100%"'
// ); // );
this.detailContent = richtext; this.detailContent = richtext;
this.loading = false;
}else{ }else{
this.isExsitGoods = false; this.isExsitGoods = false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment