diff --git a/packages/card/detail.vue b/packages/card/detail.vue index 3adc362..87c347f 100644 --- a/packages/card/detail.vue +++ b/packages/card/detail.vue @@ -46,7 +46,7 @@ scope: 'scope.writePhotosAlbum', success: (res) => { uni.downloadFile({ - url: '../../static/cardimg1.jpg', + url: '/static/cardimg1.jpg', filePath:filePath, success(res) { console.log(res) @@ -77,7 +77,7 @@ } - \ No newline at end of file diff --git a/packages/card/index.vue b/packages/card/index.vue index ac60114..64d68b3 100644 --- a/packages/card/index.vue +++ b/packages/card/index.vue @@ -2,7 +2,7 @@ - + @@ -40,6 +40,7 @@ duration: 500, indicatorColor: 'rgba(204,204,203,.5)', indicatorActiveColor: '#b98b44', + currentSwiperIndex:0, form: { code: '', }, @@ -47,6 +48,10 @@ } }, methods: { + onSwiperChange(e) { + + this.currentSwiperIndex = e.detail.current; + }, getScanCode() { // uni.scanCode({ // onlyFromCamera: false, @@ -79,7 +84,7 @@ } - \ No newline at end of file diff --git a/pages/change/change.vue b/pages/change/change.vue index f09c250..61a6b22 100644 --- a/pages/change/change.vue +++ b/pages/change/change.vue @@ -150,9 +150,7 @@ background-color: #f4f3f2; border: none; padding: 0 !important; - border: none !important; - font-size: 20rpx; color: #676767; } @@ -160,11 +158,6 @@ /deep/ .u-form-item.password{ background-image: url(../../static/icon-change2.png); } - /deep/ .u-input{ - - - } - /deep/ .u-form-item .u-input__input{ display: block; border: none; diff --git a/static/cardbg.png b/static/cardbg.png new file mode 100644 index 0000000..8f6df51 Binary files /dev/null and b/static/cardbg.png differ