chengjie 6 jaren geleden
bovenliggende
commit
5378265cee
4 gewijzigde bestanden met toevoegingen van 270 en 189 verwijderingen
  1. 2 1
      app.json
  2. 175 113
      pages/main/addItem.js
  3. 58 46
      pages/main/addItem.wxml
  4. 35 29
      pages/main/addItem.wxss

+ 2 - 1
app.json

@@ -1,5 +1,7 @@
1 1
 {
2 2
   "pages": [    
3
+
4
+    "pages/main/addItem",
3 5
     "pages/index/index",
4 6
     "pages/index/accredit",
5 7
     "pages/main/default",
@@ -9,7 +11,6 @@
9 11
     "pages/main/searchCard1",
10 12
     "pages/main/searchCard",
11 13
     "pages/main/add",
12
-    "pages/main/addItem",
13 14
     "pages/main/searchWeb2",
14 15
     "pages/main/searchWeb1",
15 16
     "pages/main/searchWeb",

+ 175 - 113
pages/main/addItem.js

@@ -7,6 +7,8 @@ var tempCursor = 0, btnName = "";
7 7
 var arrSoundMark = [];
8 8
 var isUpload = true;
9 9
 
10
+var isAndroid = false;
11
+
10 12
 var isEdit = true;
11 13
 
12 14
 Page({
@@ -21,7 +23,7 @@ Page({
21 23
     var id = options.id;
22 24
     var fieldid = options.fieldid;
23 25
     tempCursor = 0, btnName = "", arrSoundMark = [];
24
-    isEdit=true;
26
+    isEdit = true;
25 27
 
26 28
     var that = this;
27 29
     that.setData({
@@ -33,11 +35,16 @@ Page({
33 35
     wx.setNavigationBarTitle({
34 36
       title: '编辑 段落' + fieldid,
35 37
     });
38
+
39
+    var systemInfo = wx.getSystemInfoSync();
40
+    if (systemInfo.system && systemInfo.system.indexOf("Android") >= 0) {
41
+      isAndroid = true;
42
+    }
36 43
   },
37 44
   onShow: function () {
38
-    console.log("onShow:"+isEdit);
45
+    console.log("onShow:" + isEdit);
39 46
     var that = this;
40
-    if (isEdit){
47
+    if (isEdit) {
41 48
       var list = wx.getStorageSync("CardList");
42 49
 
43 50
       var card = {};
@@ -67,17 +74,10 @@ Page({
67 74
       }
68 75
     }
69 76
   },
70
-  bindinputField: function (e) {
71
-    console.log("bindinputField:" + isEdit);
72
-    if (isEdit) {
73
-      this.setData({
74
-        Field: e.detail.value,
75
-      });
76
-    }
77
-  },
78
-  addSymbol: function (e) {
79
-    console.log("addSymbol:" + isEdit);
80
-    btnName = e.currentTarget.dataset.id;
77
+  bindFormSubmit: function (e) {
78
+    console.log(e.detail.value);
79
+    console.log(e.detail.target.id);
80
+    btnName = e.detail.target.id;
81 81
     if (btnName == "[读]") {
82 82
       this.setData({
83 83
         SoundSign: "[/读]",
@@ -97,86 +97,173 @@ Page({
97 97
       this.setData({
98 98
         LineSign: "[线]",
99 99
       });
100
-    } 
101
-
102
-    if (!this.data.Focus){
103
-      this.data.Field=this.data.Field+btnName;
104
-      this.setData({
105
-        Field: this.data.Field,
106
-      });
107 100
     }
108
-    //console.log("addSymbol:" + this.data.Field);
109
-  },
110
-  onBindFocus:function(){
101
+    console.log("tempCursor:" + tempCursor);
102
+    if (tempCursor == undefined)
103
+      tempCursor = this.data["Field"].length;
104
+    var str1 = "", str2 = "";
105
+    if (this.data.Field.length > 0) {
106
+      str1 = this.data.Field.substr(0, tempCursor);
107
+      str2 = this.data.Field.substring(tempCursor, this.data.Field.length);
108
+    }
109
+    //console.log("str1:" + str1);
110
+    //console.log("str2:" + str2);
111
+    var cur = 1;
112
+    if (btnName == "[读]" || btnName == "[线]") {
113
+      cur = 3;
114
+    }
115
+    else if (btnName == "[/读]" || btnName == "[/线]") {
116
+      cur = 4;
117
+    }
118
+
119
+    this.data.Field = str1 + btnName + str2;
111 120
     this.setData({
112
-      Focus: true,
121
+      Field: this.data.Field,
122
+      //Focus:false,
123
+      Cursor: tempCursor + cur,
113 124
     });
125
+
126
+    btnName = "";
127
+
128
+  },
129
+  bindinputField: function (e) {
130
+    console.log("bindinputField:" + isEdit);
131
+    // if (isEdit) {
132
+    //   this.setData({
133
+    //     Field: e.detail.value,
134
+    //   });
135
+    // }
136
+  },
137
+  addSymbol: function (e) {
138
+    console.log("addSymbol:" + isEdit);
139
+    // btnName = e.currentTarget.dataset.id;
140
+    // if (btnName == "[读]") {
141
+    //   this.setData({
142
+    //     SoundSign: "[/读]",
143
+    //   });
144
+    // }
145
+    // else if (btnName == "[/读]") {
146
+    //   this.setData({
147
+    //     SoundSign: "[读]",
148
+    //   });
149
+    // }
150
+    // else if (btnName == "[线]") {
151
+    //   this.setData({
152
+    //     LineSign: "[/线]",
153
+    //   });
154
+    // }
155
+    // else if (btnName == "[/线]") {
156
+    //   this.setData({
157
+    //     LineSign: "[线]",
158
+    //   });
159
+    // } 
160
+
161
+    // if (!this.data.Focus){
162
+    //   this.data.Field=this.data.Field+btnName;
163
+    //   this.setData({
164
+    //     Field: this.data.Field,
165
+    //   });
166
+    // }
167
+  },
168
+  onBindFocus: function () {
169
+    console.log("onBindFocus:" + isEdit);
170
+    // this.setData({
171
+    //   Focus: true,
172
+    // });
114 173
   },
115 174
   onBindblur: function (e) {
116 175
     console.log("onBindblur:" + isEdit);
117
-    var that=this;
118
-    if (isEdit) {
119
-      that.androidFunction();
120
-
121
-      //console.log(e);
122
-      tempCursor = e.detail.cursor;
123
-      //console.log("tempCursor:" + tempCursor);
124
-      if (tempCursor == undefined)
125
-        tempCursor = this.data["Field"].length;
126
-      var str1 = "", str2 = "";
127
-      if (this.data.Field.length > 0) {
128
-        str1 = this.data.Field.substr(0, tempCursor);
129
-        str2 = this.data.Field.substring(tempCursor, this.data.Field.length);
130
-      }
131
-      //console.log("str1:" + str1);
132
-      //console.log("str2:" + str2);
133
-      var cur = 1;
134
-      if (btnName == "[读]" || btnName == "[线]") {
135
-        cur = 3;
136
-      }
137
-      else if (btnName == "[/读]" || btnName == "[/线]") {
138
-        cur = 4;
139
-      }
176
+    // var that=this;
177
+    // if (isEdit) {
178
+    //   that.androidFunction();
140 179
 
141
-      this.data.Field = str1 + btnName + str2;
142
-      this.setData({
143
-        Field: this.data.Field,
144
-        Focus:false,
145
-        Cursor: tempCursor + cur,
146
-      });
180
+    //   //console.log(e);
181
+    tempCursor = e.detail.cursor;
182
+    //   //console.log("tempCursor:" + tempCursor);
183
+    //   if (tempCursor == undefined)
184
+    //     tempCursor = this.data["Field"].length;
185
+    //   var str1 = "", str2 = "";
186
+    //   if (this.data.Field.length > 0) {
187
+    //     str1 = this.data.Field.substr(0, tempCursor);
188
+    //     str2 = this.data.Field.substring(tempCursor, this.data.Field.length);
189
+    //   }
190
+    //   //console.log("str1:" + str1);
191
+    //   //console.log("str2:" + str2);
192
+    //   var cur = 1;
193
+    //   if (btnName == "[读]" || btnName == "[线]") {
194
+    //     cur = 3;
195
+    //   }
196
+    //   else if (btnName == "[/读]" || btnName == "[/线]") {
197
+    //     cur = 4;
198
+    //   }
147 199
 
148
-      btnName = "";
200
+    //   this.data.Field = str1 + btnName + str2;
201
+    //   this.setData({
202
+    //     Field: this.data.Field,
203
+    //     Focus:false,
204
+    //     Cursor: tempCursor + cur,
205
+    //   });
149 206
 
150
-      
151
-    }
207
+    //   btnName = "";
208
+
209
+
210
+    // }
152 211
   },
153 212
   onSearch: function (e) {
154
-    wx.setStorageSync("TempFieldNumber", this.data.FieldNumber);
155
-    wx.navigateTo({
156
-      url: './searchWeb',
157
-    });
158
-    this.updateField();
213
+    // wx.setStorageSync("TempFieldNumber", this.data.FieldNumber);
214
+    // wx.navigateTo({
215
+    //   url: './searchWeb',
216
+    // });
217
+    // this.updateField();
159 218
   },
160 219
   clear: function () {
161 220
     console.log("clear:" + isEdit);
162
-    this.setData({
163
-      Field: "",
164
-      Focus: false,
165
-      Cursor: 0,
166
-    });
167
-    this.updateField();
221
+    // this.setData({
222
+    //   Field: "",
223
+    //   Focus: false,
224
+    //   Cursor: 0,
225
+    // });
226
+    // this.updateField();
168 227
   },
169
-  closeAddItem: function (e) {
170
-    var isSave = e.currentTarget.dataset.idsave;
171
-    if (isSave == "true") {
172
-      isUpload = false;
173
-      wx.removeStorageSync("TempCardInfoAddItem");
174
-      this.updateField();
175
-    }
176
-    wx.navigateBack({
177
-      delta: 1,
178
-    });
228
+
229
+  uploadImage: function () {
230
+    console.log("uploadImage:" + isEdit);
231
+    // var that=this;
232
+    // that.androidFunction();
233
+    // wx.chooseImage({
234
+    //   count: 1,
235
+    //   sizeType: ['compressed'],
236
+    //   sourceType: ['album', 'camera'],
237
+    //   success(res) {
238
+    //     // tempFilePath可以作为img标签的src属性显示图片
239
+    //     const tempFilePaths = res.tempFilePaths;
240
+    //     //console.log(tempFilePaths[0]);
241
+
242
+    //     that.data.Field = that.data.Field + "[图 url='" + tempFilePaths[0] + "'][/图]";
243
+
244
+    //     //console.log("uploadImageEnd:" + that.data.Field);
245
+
246
+    //     that.setData({
247
+    //       Field: that.data.Field,
248
+    //       Focus: false,
249
+    //     });
250
+    //     that.updateField();
251
+
252
+    //   },
253
+    //   fail:function(){
254
+    //   }
255
+    // });
179 256
   },
257
+
258
+  // androidFunction:function(){
259
+  //   isEdit=false;
260
+  //   var systemInfo = wx.getSystemInfoSync();
261
+  //   if (systemInfo.system && systemInfo.system.indexOf("Android") >= 0) {
262
+  //     setTimeout(function () {
263
+  //       isEdit = true;
264
+  //     }, 1000);
265
+  //   }
266
+  // },
180 267
   updateField: function (history) {
181 268
     var str = this.data.Field;
182 269
     str = main.decryptUrl(str);
@@ -199,43 +286,18 @@ Page({
199 286
     }
200 287
     wx.setStorageSync("CardList", list);
201 288
   },
202
-  uploadImage: function () {
203
-    console.log("uploadImage:" + isEdit);
204
-    var that=this;
205
-    that.androidFunction();
206
-    wx.chooseImage({
207
-      count: 1,
208
-      sizeType: ['compressed'],
209
-      sourceType: ['album', 'camera'],
210
-      success(res) {
211
-        // tempFilePath可以作为img标签的src属性显示图片
212
-        const tempFilePaths = res.tempFilePaths;
213
-        //console.log(tempFilePaths[0]);
214
-
215
-        that.data.Field = that.data.Field + "[图 url='" + tempFilePaths[0] + "'][/图]";
216
-
217
-        //console.log("uploadImageEnd:" + that.data.Field);
218
-
219
-        that.setData({
220
-          Field: that.data.Field,
221
-          Focus: false,
222
-        });
223
-        that.updateField();
224
-
225
-      },
226
-      fail:function(){
227
-      }
228
-    });
229
-  },
230
-  androidFunction:function(){
231
-    isEdit=false;
232
-    var systemInfo = wx.getSystemInfoSync();
233
-    if (systemInfo.system && systemInfo.system.indexOf("Android") >= 0) {
234
-      setTimeout(function () {
235
-        isEdit = true;
236
-      }, 1000);
289
+  closeAddItem: function (e) {
290
+    var isSave = e.currentTarget.dataset.idsave;
291
+    if (isSave == "true") {
292
+      isUpload = false;
293
+      wx.removeStorageSync("TempCardInfoAddItem");
294
+      this.updateField();
237 295
     }
296
+    wx.navigateBack({
297
+      delta: 1,
298
+    });
238 299
   },
300
+
239 301
   onShareAppMessage: function () {
240 302
     return {
241 303
       title: app.globalData.ShareTitle,

+ 58 - 46
pages/main/addItem.wxml

@@ -1,54 +1,66 @@
1 1
 <view class="container FlexColumn" style='height:{{Containnerheight}}rpx;'>
2
-  <view class="panelTag FlexRow">
3
-    <view class='left FlexRow'>
4
-      <view class="panelSave1 FlexRow" bindtap="onSearch">
5
-        <view class="add">+</view> 资料
6
-      </view>
7
-      <view class="panelSave2 panelSave1 FlexRow" bindtap="addSymbol" data-id="{{SoundSign}}" hidden="{{SoundSign=='[/读]'}}">
8
-        <image class="universalpic_read_begin_gray_20x20" src='../images/universalpic_read_begin_gray_20x20.png' />
9
-      </view>
10
-      <view class="panelSave3 panelSave1 FlexRow" bindtap="addSymbol" data-id="{{SoundSign}}" hidden="{{SoundSign=='[读]'}}">
11
-        <image class="universalpic_read_end_white_38x22" src='../images/universalpic_read_end_white_38x22.png' />
12
-      </view>
13
-      <view class="panelSave2 panelSave1 FlexRow" bindtap="addSymbol" data-id="{{LineSign}}" hidden="{{LineSign=='[/线]'}}">
14
-        <image class="universalpic_editbar_underline_gray_14x20" src='../images/universalpic_editbar_underline_gray_14x20.png' />
15
-      </view>
16
-      <view class="panelSave3 panelSave1 FlexRow" bindtap="addSymbol" data-id="{{LineSign}}" hidden="{{LineSign=='[线]'}}">
17
-        <image class="universalpic_underline_end_white_30x22" src='../images/universalpic_underline_end_white_30x22.png' />
2
+  <form bindsubmit='bindFormSubmit'>
3
+    <view class="panelTag FlexRow">
4
+      <view class='left FlexRow'>
5
+        <button class="panelSave1 FlexRow" form-type="submit" id="onSearch">
6
+          <view class="add">+</view> 资料
7
+        </button>
8
+        <button class="panelSave2 panelSave1 FlexRow" data-id="{{SoundSign}}" hidden="{{SoundSign=='[/读]'}}" form-type="submit" id="[读]">
9
+          <image class="universalpic_read_begin_gray_20x20" src='../images/universalpic_read_begin_gray_20x20.png' />
10
+        </button>
11
+        <button class="panelSave3 panelSave1 FlexRow" data-id="{{SoundSign}}" hidden="{{SoundSign=='[读]'}}" form-type="submit" id="[/读]">
12
+          <image class="universalpic_read_end_white_38x22" src='../images/universalpic_read_end_white_38x22.png' />
13
+        </button>
14
+        <button class="panelSave2 panelSave1 FlexRow" data-id="{{LineSign}}" hidden="{{LineSign=='[/线]'}}" form-type="submit" id="[线]">
15
+          <image class="universalpic_editbar_underline_gray_14x20" src='../images/universalpic_editbar_underline_gray_14x20.png' />
16
+        </button>
17
+        <button class="panelSave3 panelSave1 FlexRow" data-id="{{LineSign}}" hidden="{{LineSign=='[线]'}}" form-type="submit" id="[/线]">
18
+          <image class="universalpic_underline_end_white_30x22" src='../images/universalpic_underline_end_white_30x22.png' />
19
+        </button>
20
+        <button class="panelSave2 panelSave1 FlexRow" form-type="submit" id="uploadImage">
21
+          <image class="universalpic_picture_gray_26x26" src='../images/universalpic_picture_gray_26x26.png' />
22
+        </button>
23
+
18 24
       </view>
19
-      <view class="panelSave2 panelSave1 FlexRow" catchtap="uploadImage">
20
-        <image class="universalpic_picture_gray_26x26" src='../images/universalpic_picture_gray_26x26.png' />
25
+      <view class='right FlexRow'>
26
+        <button class="clear" form-type="submit" id="clear">清空</button>
21 27
       </view>
22
-
23 28
     </view>
24
-    <view class='right FlexRow'>
25
-      <view class="clear" catchtap="clear">清空</view>
29
+    <view class='lineFooter'></view>
30
+    <view class='panelInput'>
31
+      <textarea class="input" maxlength='-1' show-confirm-bar="true" value="{{Field}}" focus="{{Focus}}" cursor="{{Cursor}}" bindinput="bindinputField" bindblur="onBindblur" bindfocus="onBindFocus" data-id='{{FieldNumber}}' name="textarea" />
26 32
     </view>
27
-  </view>
28
-  <view class='lineFooter'></view>
29
-  <view class='panelInput'>
30
-    <textarea class="input" maxlength='-1' show-confirm-bar="true" value="{{Field}}" focus="{{Focus}}" cursor="{{Cursor}}" bindinput="bindinputField" bindblur="onBindblur" bindfocus="onBindFocus" data-id='{{FieldNumber}}' />
31
-  </view>
32
-  <cover-view class='lineFooter'></cover-view>
33
-  <cover-view class="panelTag0 panelTag FlexRow">
34
-    <cover-view class="btn0"></cover-view>
35
-    <cover-view class="btn1 FlexRow" bindtap="addSymbol" data-id="(     )">
36
-      <cover-image class="universalpic_editbar_brackets_gray" src='../images/universalpic_editbar_brackets_gray.png' />
37
-    </cover-view>
38
-    <cover-view class="btn1 FlexRow" bindtap="addSymbol" data-id="_____">
39
-      <cover-image class="universalpic_editbar_underline_gray" src='../images/universalpic_editbar_underline_gray.png' />
33
+    <cover-view class='lineFooter'></cover-view>
34
+    <cover-view class="panelTag0 panelTag FlexRow">
35
+      <cover-view class="btn0"></cover-view>
36
+      <cover-view class="btnPanel">
37
+        <button class="btn FlexRow" form-type="submit" id="(     )">
38
+          <cover-image class="universalpic_editbar_brackets_gray" src='../images/universalpic_editbar_brackets_gray.png' />
39
+        </button>
40
+      </cover-view>
41
+      <cover-view class="btnPanel">
42
+        <button class="btn FlexRow" form-type="submit" id="_____">
43
+          <cover-image class="universalpic_editbar_underline_gray" src='../images/universalpic_editbar_underline_gray.png' />
44
+        </button>
45
+      </cover-view>
46
+      <cover-view class="btnPanel" wx:for="{{BtnArray}}" wx:key="index">
47
+        <button class="btn FlexRow" form-type="submit" id="{{item}}" >
48
+          {{item}}
49
+        </button>
50
+      </cover-view>
51
+      <cover-view class="btnPanel">
52
+        <button class="btn FlexRow" form-type="submit" id="²">
53
+          <cover-image class="universalpic_editbar_sqr_gray" src='../images/universalpic_editbar_sqr_gray.png' />
54
+        </button>
55
+      </cover-view>
40 56
     </cover-view>
41
-    <cover-view class="btn" bindtap="addSymbol" wx:for="{{BtnArray}}" wx:key="index" data-id="{{item}}">{{item}}</cover-view>
42
-    <cover-view class="btn1 FlexRow" bindtap="addSymbol" data-id="²">
43
-      <cover-image class="universalpic_editbar_sqr_gray" src='../images/universalpic_editbar_sqr_gray.png' />
44
-    </cover-view>
45
-  </cover-view>
46
-  <cover-view class='lineFooter'></cover-view>
47
-  <cover-view class='panelBtn FlexRow'>
48
-    <cover-view class='text1' bindtap="closeAddItem" data-idsave="false">取消</cover-view>
49
-    <cover-view class='line1'></cover-view>
50
-    <cover-view class='text2 text1' bindtap="closeAddItem" data-idsave="true">确定</cover-view>
51
-  </cover-view>
52
-  <cover-view class='lineFooter'></cover-view>
53 57
 
58
+    <cover-view class='lineFooter'></cover-view>
59
+    <cover-view class='panelBtn FlexRow'>
60
+      <button class='text1' bindtap="closeAddItem" data-idsave="false">取消</button>
61
+      <cover-view class='line2'></cover-view>
62
+      <button class='text2 text1' bindtap="closeAddItem" data-idsave="true">确定</button>
63
+    </cover-view>
64
+    <cover-view class='lineFooter'></cover-view>
65
+  </form>
54 66
 </view>

+ 35 - 29
pages/main/addItem.wxss

@@ -23,20 +23,22 @@
23 23
 .panelSave1 {
24 24
   width: 148rpx;
25 25
   background-color: #fff;
26
-  border:1rpx solid #9B9B9B;
27
-  color:#787878;
26
+  border: 1rpx solid #9b9b9b;
27
+  color: #787878;
28 28
   text-align: center;
29 29
   height: 80rpx;
30 30
   line-height: 80rpx;
31 31
   border-radius: 10rpx;
32 32
   font-size: 28rpx;
33
+  padding-left: 0;
34
+  padding-right: 0;
33 35
 }
34 36
 
35 37
 .panelSave2 {
36 38
   width: 80rpx;
37 39
   height: 80rpx;
38 40
   background-color: #fff;
39
-  border:1rpx solid #9B9B9B;
41
+  border: 1rpx solid #9b9b9b;
40 42
   margin-left: 10rpx;
41 43
 }
42 44
 
@@ -44,8 +46,8 @@
44 46
   width: 80rpx;
45 47
   height: 80rpx;
46 48
   margin-left: 10rpx;
47
-  background-color: #0071EF;
48
-  border:1rpx solid #0071EF;
49
+  background-color: #0071ef;
50
+  border: 1rpx solid #0071ef;
49 51
 }
50 52
 
51 53
 .universalpic_read_begin_gray_20x20 {
@@ -53,22 +55,22 @@
53 55
   height: 20rpx;
54 56
 }
55 57
 
56
-.universalpic_read_end_white_38x22{
58
+.universalpic_read_end_white_38x22 {
57 59
   width: 38rpx;
58 60
   height: 22rpx;
59 61
 }
60 62
 
61
-.universalpic_editbar_underline_gray_14x20{
63
+.universalpic_editbar_underline_gray_14x20 {
62 64
   width: 14rpx;
63 65
   height: 20rpx;
64 66
 }
65 67
 
66
-.universalpic_underline_end_white_30x22{
68
+.universalpic_underline_end_white_30x22 {
67 69
   width: 31rpx;
68 70
   height: 22rpx;
69 71
 }
70 72
 
71
-.universalpic_picture_gray_26x26{
73
+.universalpic_picture_gray_26x26 {
72 74
   width: 26rpx;
73 75
   height: 26rpx;
74 76
 }
@@ -84,11 +86,13 @@
84 86
   height: 80rpx;
85 87
   color: #0071ef;
86 88
   background-color: #fff;
87
-  border:1rpx solid #9B9B9B;
89
+  border: 1rpx solid #9b9b9b;
88 90
   text-align: center;
89 91
   border-radius: 10rpx;
90 92
   line-height: 80rpx;
91 93
   font-size: 24rpx;
94
+  padding-left: 0;
95
+  padding-right: 0;
92 96
 }
93 97
 
94 98
 .line1 {
@@ -113,35 +117,35 @@
113 117
   width: 20rpx;
114 118
 }
115 119
 
120
+.panelTag .btnPanel{
121
+  width: 80rpx;
122
+  height: 80rpx;
123
+  margin-right: 10rpx;
124
+  border: 1rpx solid #9b9b9b;
125
+  border-radius: 10rpx;
126
+}
127
+
116 128
 .panelTag .btn {
117 129
   font-family: 'Roboto-Black';
118 130
   width: 80rpx;
119 131
   background-color: #fff;
120
-  border:1rpx solid #9B9B9B;
121
-  color:#787878;
122
-  border-radius: 10rpx;
132
+  color: #787878;
133
+  
123 134
   text-align: center;
124 135
   line-height: 80rpx;
125 136
   height: 80rpx;
126
-  margin-right: 10rpx;
127 137
   font-size: 36rpx;
138
+  
128 139
 }
129
-
130
-.panelTag .btn1 {
131
-  width: 80rpx;
132
-  height: 80rpx;
133
-  background-color: #fff;
134
-  border:1rpx solid #9B9B9B;
135
-  border-radius: 10rpx;
136
-  margin-right: 10rpx;
140
+.panelTag .btn[native] {
141
+  border: none;
137 142
 }
138
-
139 143
 .universalpic_editbar_brackets_gray {
140 144
   width: 34rpx;
141 145
   height: 26rpx;
142 146
 }
143 147
 
144
-.universalpic_editbar_underline_gray{
148
+.universalpic_editbar_underline_gray {
145 149
   width: 18rpx;
146 150
   height: 28rpx;
147 151
 }
@@ -163,7 +167,7 @@
163 167
 .input {
164 168
   margin: 30rpx 30rpx 0 30rpx;
165 169
   width: 690rpx;
166
-  height:220rpx;
170
+  height: 220rpx;
167 171
 }
168 172
 
169 173
 .panelBtn {
@@ -172,24 +176,26 @@
172 176
   z-index: 10;
173 177
 }
174 178
 
175
-.panelBtn .line1 {
179
+.panelBtn .line2 {
176 180
   width: 4rpx;
177 181
   height: 30rpx;
178 182
   background-color: #d2d2d2;
179 183
 }
180 184
 
181 185
 .panelBtn .text1 {
182
-  width: 374rpx;
186
+  width: 370rpx;
183 187
   line-height: 100rpx;
184 188
   text-align: center;
185 189
   font-size: 28rpx;
186 190
   color: #a20602;
191
+  padding-left: 0;
192
+  padding-right: 0;
187 193
 }
188 194
 
189 195
 .panelBtn .text2 {
190 196
   color: #0071ef;
191 197
 }
192 198
 
193
-.lineFooter{
199
+.lineFooter {
194 200
   z-index: 10;
195
-}
201
+}