|
@@ -28,6 +28,12 @@
|
|
|
<writeSign @getBase64="getBase64"></writeSign>
|
|
<writeSign @getBase64="getBase64"></writeSign>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- 加载提示 -->
|
|
|
|
|
+ <view class="loading-overlay" v-if="isLoading">
|
|
|
|
|
+ <view class="loading-spinner"></view>
|
|
|
|
|
+ <text class="loading-text">加载中...</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -48,6 +54,7 @@ const info = ref({})
|
|
|
const show = ref(false)
|
|
const show = ref(false)
|
|
|
const popupRef = ref(null)
|
|
const popupRef = ref(null)
|
|
|
const imgList = ref([])
|
|
const imgList = ref([])
|
|
|
|
|
+const isLoading = ref(true)
|
|
|
|
|
|
|
|
onLoad((options) => {
|
|
onLoad((options) => {
|
|
|
tId.value = options.id;
|
|
tId.value = options.id;
|
|
@@ -62,6 +69,8 @@ function init() {
|
|
|
httpApi.getHetongInfo({id: tId.value}).then(res => {
|
|
httpApi.getHetongInfo({id: tId.value}).then(res => {
|
|
|
info.value = res.data;
|
|
info.value = res.data;
|
|
|
imgList.value = res.data.base64List;
|
|
imgList.value = res.data.base64List;
|
|
|
|
|
+ }).finally(() => {
|
|
|
|
|
+ isLoading.value = false;
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|