diff --git a/App.vue b/App.vue
index 8cda793..21b5f68 100644
--- a/App.vue
+++ b/App.vue
@@ -148,6 +148,10 @@
\ No newline at end of file
diff --git a/subPackages/equityGoods/detail.vue b/subPackages/equityGoods/detail.vue
new file mode 100644
index 0000000..4db8bb4
--- /dev/null
+++ b/subPackages/equityGoods/detail.vue
@@ -0,0 +1,706 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ swiperIndex + 1 }}/{{ topBanner.length }}
+
+
+
+
+
+
+
+ 食在苏州|世界美食之都巡礼
+
+ 限量
+ 1000份
+ 剩余 900份
+
+
+
+
+
+
+ ¥
+ 699.00
+
+
+
+ 1700收藏
+
+
+
+
+
+
+
+ 创作数字资产所属方者
+ 苏州xxx博物馆
+
+
+ 数字资产权力方
+ 江苏大运河见
+
+
+ 备案平台
+ 江苏文交所
+
+
+
+
+
+
+
+ 权益信息
+
+
+
+
+
+
+
+
+ {{ item.label }}
+ {{ item.content }}
+
+
+
+ {{
+ isEquityExpanded ? "收起" : "展开"
+ }}
+ ▼
+
+
+
+
+
+
+
+
+ {{ tab.name }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IP资产名称:
+ 食在苏州|世界美食之都巡礼
+
+
+ 创作者:
+ 苏州xxx博物馆
+
+
+ 发行数量:
+ 1000份
+
+
+ 发行时间:
+ 2024年6月16日
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+ {{ item.content }}
+
+
+
+ 本数字文创作品基于区块链技术发行,具有唯一性和不可篡改性。持有者享有以下权益:
+ 1.
+ 数字资产所有权:获得该数字文创作品的完整所有权,包括展示、收藏等权利;
+ 2.
+ 实物权益兑换:可凭此数字资产兑换相应的实物文创产品,包括限量版公仔、纪念品等;
+ 3.
+ 文化体验权益:享受苏州相关文化场所的优惠门票、专属活动参与资格等特殊权益;
+ 4.
+ 增值收益权:作为限量发行的数字资产,具有一定的收藏价值和增值潜力;
+ 5.
+ 社区会员权益:加入专属收藏者社区,享受优先购买新品、参与线下活动等会员特权。
+ 注:以上权益的具体实施细则以官方最终解释为准,部分权益可能存在时效性限制。
+
+
+
+
+
+
+
+
+
+
+ 立即购买
+
+
+
+
+
+
+
+
diff --git a/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
index a9c8776..9eb2cbc 100644
--- a/uni_modules/uni-transition/components/uni-transition/createAnimation.js
+++ b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
@@ -112,7 +112,9 @@ const animateTypes3 = ['width', 'height', 'left', 'right', 'top', 'bottom']
animateTypes1.concat(animateTypes2, animateTypes3).forEach(type => {
MPAnimation.prototype[type] = function(...args) {
// #ifndef APP-NVUE
- this.animation[type](...args)
+ if (this.animation && typeof this.animation[type] === 'function') {
+ this.animation[type](...args)
+ }
// #endif
// #ifdef APP-NVUE
this._nvuePushAnimates(type, args)
diff --git a/uni_modules/uni-transition/components/uni-transition/uni-transition.vue b/uni_modules/uni-transition/components/uni-transition/uni-transition.vue
index 2078dd3..a721cf4 100644
--- a/uni_modules/uni-transition/components/uni-transition/uni-transition.vue
+++ b/uni_modules/uni-transition/components/uni-transition/uni-transition.vue
@@ -135,16 +135,20 @@ export default {
if (!this.animation) return
for (let i in obj) {
try {
- if(typeof obj[i] === 'object'){
- this.animation[i](...obj[i])
- }else{
- this.animation[i](obj[i])
+ if (typeof this.animation[i] === 'function') {
+ if(typeof obj[i] === 'object'){
+ this.animation[i](...obj[i])
+ }else{
+ this.animation[i](obj[i])
+ }
}
} catch (e) {
console.error(`方法 ${i} 不存在`)
}
}
- this.animation.step(config)
+ if (this.animation && typeof this.animation.step === 'function') {
+ this.animation.step(config)
+ }
return this
},
/**
@@ -152,7 +156,9 @@ export default {
*/
run(fn) {
if (!this.animation) return
- this.animation.run(fn)
+ if (typeof this.animation.run === 'function') {
+ this.animation.run(fn)
+ }
},
// 开始过度动画
open() {
@@ -169,8 +175,12 @@ export default {
// TODO 定时器保证动画完全执行,目前有些问题,后面会取消定时器
this.timer = setTimeout(() => {
this.animation = createAnimation(this.config, this)
- this.tranfromInit(false).step()
- this.animation.run()
+ if (this.animation) {
+ this.tranfromInit(false).step()
+ if (typeof this.animation.run === 'function') {
+ this.animation.run()
+ }
+ }
this.$emit('change', {
detail: this.isShow
})
@@ -217,6 +227,7 @@ export default {
},
// 处理内置组合动画
tranfromInit(type) {
+ if (!this.animation) return this
let buildTranfrom = (type, mode) => {
let aniNum = null
if (mode === 'fade') {
@@ -236,7 +247,10 @@ export default {
aniNum = type ? '100%' : '0'
}
}
- this.animation[this.animationMode()[mode]](aniNum)
+ let methodName = this.animationMode()[mode]
+ if (this.animation && typeof this.animation[methodName] === 'function') {
+ this.animation[methodName](aniNum)
+ }
}
if (typeof this.modeClass === 'string') {
buildTranfrom(type, this.modeClass)