revert: 所有代码与custom/common分支同
This commit is contained in:
@@ -2,17 +2,17 @@
|
||||
<view>
|
||||
<view class="content">
|
||||
<view class="goods-attr">
|
||||
<view class="title">{{ title }}</view>
|
||||
<view class="title">{{title}}</view>
|
||||
<view class="attr-wrap">
|
||||
<block v-for="(item, index) in list" :key="index">
|
||||
<view class="item">
|
||||
<text class="attr-name" :style="{ background: item.background }">{{ item.text }}</text>
|
||||
<text class="value-name" :style="{ color: item.color }">{{ item.value }}</text>
|
||||
<text class="attr-name" :style="{background: item.background}">{{item.text}}</text>
|
||||
<text class="value-name" :style="{color: item.color}">{{item.value}}</text>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<block v-if="g0 > 0">
|
||||
<block v-if="g0>0">
|
||||
<view class="foot">
|
||||
<view @tap="generateImage" class="item" style="margin-right:30rpx;">导出图片</view>
|
||||
<view @tap="generatePdf" class="item">导出PDF</view>
|
||||
@@ -60,7 +60,7 @@ export default {
|
||||
const filePath = res.tempFilePath;
|
||||
uni.shareFileMessage({
|
||||
filePath: filePath,
|
||||
success: () => { },
|
||||
success: () => {},
|
||||
fail: console.error
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user