| @@ -8,10 +8,7 @@ | |||||
| </swiper> | </swiper> | ||||
| <view class="indicator"> | <view class="indicator"> | ||||
| <view class="{{ currentIndex == 0 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="0"></view> | |||||
| <view class="{{ currentIndex == 1 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="1"></view> | |||||
| <view class="{{ currentIndex == 2 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="2"></view> | |||||
| <view class="{{ currentIndex == 3 ? 'active item' : 'item' }}" bindtap="switchImg" data-index="3"></view> | |||||
| <view wx:for="{{ swiperList }}" wx:key="index" class="{{ currentIndex == index ? 'active item' : 'item' }}" bindtap="switchImg" data-index="{{index}}"></view> | |||||
| </view> | </view> | ||||
| <button class="downloadImage" bindtap="downloadImage">保存到手机</button> | <button class="downloadImage" bindtap="downloadImage">保存到手机</button> | ||||
| @@ -0,0 +1,28 @@ | |||||
| { | |||||
| "appid": "wx75cf14e3a0d45821", | |||||
| "compileType": "miniprogram", | |||||
| "libVersion": "3.2.4", | |||||
| "packOptions": { | |||||
| "ignore": [], | |||||
| "include": [] | |||||
| }, | |||||
| "setting": { | |||||
| "coverView": true, | |||||
| "es6": true, | |||||
| "postcss": true, | |||||
| "minified": true, | |||||
| "enhance": true, | |||||
| "showShadowRootInWxmlPanel": true, | |||||
| "packNpmRelationList": [], | |||||
| "babelSetting": { | |||||
| "ignore": [], | |||||
| "disablePlugins": [], | |||||
| "outputPath": "" | |||||
| } | |||||
| }, | |||||
| "condition": {}, | |||||
| "editorSetting": { | |||||
| "tabIndent": "insertSpaces", | |||||
| "tabSize": 2 | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,7 @@ | |||||
| { | |||||
| "description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", | |||||
| "projectname": "miniprogram", | |||||
| "setting": { | |||||
| "compileHotReLoad": true | |||||
| } | |||||
| } | |||||
| @@ -1,5 +1,5 @@ | |||||
| // const BASEURL = "http://192.168.1.105:7600/C" | // const BASEURL = "http://192.168.1.105:7600/C" | ||||
| const BASEURL = "https://zhixiangtest.malls.iformall.com/C" | |||||
| const BASEURL = "https://zhixiang.malls.iformall.com/C" | |||||
| class request { | class request { | ||||
| constructor(address) { | constructor(address) { | ||||
| @@ -0,0 +1,24 @@ | |||||
| { | |||||
| "name": "Metavatar_DCIM_Wapp", | |||||
| "lockfileVersion": 2, | |||||
| "requires": true, | |||||
| "packages": { | |||||
| "": { | |||||
| "dependencies": { | |||||
| "@vant/weapp": "^1.10.18" | |||||
| } | |||||
| }, | |||||
| "node_modules/@vant/weapp": { | |||||
| "version": "1.10.18", | |||||
| "resolved": "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.18.tgz", | |||||
| "integrity": "sha512-BEmBGVKTBfP7Re41k27Tm6lKjdWmEN0APxLWMeiYtXn7koVxrzSAdwZgZguUD7vm1lMsMhAgAIq0IMoMm/ubkQ==" | |||||
| } | |||||
| }, | |||||
| "dependencies": { | |||||
| "@vant/weapp": { | |||||
| "version": "1.10.18", | |||||
| "resolved": "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.18.tgz", | |||||
| "integrity": "sha512-BEmBGVKTBfP7Re41k27Tm6lKjdWmEN0APxLWMeiYtXn7koVxrzSAdwZgZguUD7vm1lMsMhAgAIq0IMoMm/ubkQ==" | |||||
| } | |||||
| } | |||||
| } | |||||
| @@ -3,6 +3,6 @@ | |||||
| "@vant/weapp@^1.10.18": | "@vant/weapp@^1.10.18": | ||||
| version "1.10.18" | |||||
| resolved "https://registry.yarnpkg.com/@vant/weapp/-/weapp-1.10.18.tgz#8029e49c6f519cabe3da4e098070c3abfa6c6e24" | |||||
| integrity sha512-BEmBGVKTBfP7Re41k27Tm6lKjdWmEN0APxLWMeiYtXn7koVxrzSAdwZgZguUD7vm1lMsMhAgAIq0IMoMm/ubkQ== | |||||
| "integrity" "sha512-BEmBGVKTBfP7Re41k27Tm6lKjdWmEN0APxLWMeiYtXn7koVxrzSAdwZgZguUD7vm1lMsMhAgAIq0IMoMm/ubkQ==" | |||||
| "resolved" "https://registry.npmmirror.com/@vant/weapp/-/weapp-1.10.18.tgz" | |||||
| "version" "1.10.18" | |||||