Parcourir la source

更改图片下标

master
chutingting il y a 1 an
Parent
révision
0eba36eb3c
6 fichiers modifiés avec 64 ajouts et 8 suppressions
  1. +1
    -4
      miniprogram/pages/checkImg/checkImg.wxml
  2. +28
    -0
      miniprogram/project.config.json
  3. +7
    -0
      miniprogram/project.private.config.json
  4. +1
    -1
      miniprogram/utils/request.js
  5. +24
    -0
      package-lock.json
  6. +3
    -3
      yarn.lock

+ 1
- 4
miniprogram/pages/checkImg/checkImg.wxml Voir le fichier

@@ -8,10 +8,7 @@
</swiper>

<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>

<button class="downloadImage" bindtap="downloadImage">保存到手机</button>

+ 28
- 0
miniprogram/project.config.json Voir le fichier

@@ -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
}
}

+ 7
- 0
miniprogram/project.private.config.json Voir le fichier

@@ -0,0 +1,7 @@
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "miniprogram",
"setting": {
"compileHotReLoad": true
}
}

+ 1
- 1
miniprogram/utils/request.js Voir le fichier

@@ -1,5 +1,5 @@
// 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 {
constructor(address) {


+ 24
- 0
package-lock.json Voir le fichier

@@ -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
- 3
yarn.lock Voir le fichier

@@ -3,6 +3,6 @@


"@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"

Chargement…
Annuler
Enregistrer